Function and Its Inverse: Notation, Graph, and Identities, Study notes of Calculus

The basics of functions, including function notation, graphs, composition, identity functions, and inverse functions. It explains how to find the inverse of a function and provides examples and exercises.

Typology: Study notes

2021/2022

Uploaded on 08/01/2022

hal_s95
hal_s95 🇵🇭

4.4

(655)

10K documents

1 / 16

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Function
Function notation
Graph of function
Composition of functions
Identity function
Inverse function
Table of Contents
JJ II
JI
Page 1of 16
Back
Print Version
Home Page
2. Function
2.1. Function notation
The equation
f(x) = x2+ 3
defines a function ffrom the set Rof real numbers to itself (written f:RR). This
function accepts an input value xand returns an output value f(x), which, according to
the equation, is obtained by squaring the input value and adding 3. For instance, when the
input is 5, the output is f(5), which is 28.
One way to study a given function is to make a table of input values xversus output values
f(x), here illustrated for the function f(x) = x2+ 3:
f(x) 7 4 3 4 7
x21012
Input values can be chosen to be anything, but they are usually chosen to be convenient
numbers (often integers) close to the region of interest (often not far from 0).
A Venn diagram provides a useful way to think about a function. Pictured below is a Venn
diagram representation of the function f(x) = x2+ 3. It shows a general input value x
being mapped to the corresponding output value f(x) as well as how this mapping works
for the chosen inputs.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Function and Its Inverse: Notation, Graph, and Identities and more Study notes Calculus in PDF only on Docsity!

Function notation Graph of function Composition of functions Identity function Inverse function

Table of Contents

JJ II

J I

Page 1 of 16

Back

Print Version

Home Page

2. Function

2.1. Function notation

The equation f (x) = x^2 + 3 defines a function f from the set R of real numbers to itself (written f : R → R). This function accepts an input value x and returns an output value f (x), which, according to the equation, is obtained by squaring the input value and adding 3. For instance, when the input is 5, the output is f (5), which is 28.

One way to study a given function is to make a table of input values x versus output values f (x), here illustrated for the function f (x) = x^2 + 3:

f (x) 7 4 3 4 7

x − 2 − 1 0 1 2

Input values can be chosen to be anything, but they are usually chosen to be convenient numbers (often integers) close to the region of interest (often not far from 0).

A Venn diagram provides a useful way to think about a function. Pictured below is a Venn diagram representation of the function f (x) = x^2 + 3. It shows a general input value x being mapped to the corresponding output value f (x) as well as how this mapping works for the chosen inputs.

Function notation Graph of function Composition of functions Identity function Inverse function

Table of Contents

JJ II

J I

Page 2 of 16

Back

Print Version

Home Page

The bubble on the left represents the domain of f (here, R), which is the set of input values. The bubble on the right represents the codomain of f (here, R), which is a set containing the output values.

The range of f is the set of all values that actually occur as outputs. Here, the range is the set [3, ∞) of all numbers greater than or equal to 3 (the smallest x^2 can be is 0).

If a function f has domain A and codomain B we write f : A → B and say that f is a function from A to B. Strictly speaking, in order to define a function, one must specify the domain and the codomain as we did above when we said that f was a function from the set R of real numbers to itself. However, if a function is given by means of a formula, like f (x) = x^2 + 3, we assume that the domain is taken to be the set of all real numbers x for which the expression on the right makes sense (usually meaning no division by 0 or even roots of negative numbers), and the codomain is taken to be the set of all real numbers.

Function notation Graph of function Composition of functions Identity function Inverse function

Table of Contents

JJ II

J I

Page 4 of 16

Back

Print Version

Home Page

(c) Since the square root of a negative number is undefined, the formula requires x − 1 ≥ 0. But division by zero is also undefined, so there is the further requirement x− 1 6 = 0. Putting these together, we get x − 1 > 0, which is the same as saying x > 1. Therefore, the domain of f is (1, ∞), the set of all real numbers greater than 1.

Incidentally, the codomain of f in the example is taken to be R as usual. It is usually not an easy task to find the range of a function, and that is the case in this example. An accurate graph of the function (see 2.2) usually helps considerably; we will find that calculus provides a means for producing accurate graphs.

2.2. Graph of function

Let f be a function (by which we always mean a function from some subset of R to R). The graph of f is the set of all points (x, f (x)) with x in the domain of f.

2.2.1 Example Sketch the graph of the function f given by f (x) = x^2.

Solution We are to depict all points in the plane of the form (x, f (x)) (that is, (x, x^2 )), with x in the domain of f , which is R. We make a table of inputs versus outputs for some conveniently chosen input values, plot those points, and then connect them to form the graph:

Function notation Graph of function Composition of functions Identity function Inverse function

Table of Contents

JJ II

J I

Page 5 of 16

Back

Print Version

Home Page

x f (x)

− 2 4 − 1 1 0 0 1 1 2 4

This method of plotting points and connecting them to form the graph brings up a question: How do we know that the graph proceeds smoothly between the points we plotted and does not have, say, ripples? It turns out that calculus gives the answer; it shows that the graph is in fact smooth. We will see why later, but for now we will take it on faith that this is the case.

The graph of the function f (x) = x^2 is the same as the graph of the equation y = x^2 (so, replace f (x) by y). The graph of y = x^2 is the set of all points (x, y) that satisfy the equation. More generally, the graph of a function f is the graph of the equation y = f (x).

2.2.2 Example Sketch the graph of the function f given by

f (x) =

1 − x, x ≤ 0 2 , x > 0.

Function notation Graph of function Composition of functions Identity function Inverse function

Table of Contents

JJ II

J I

Page 7 of 16

Back

Print Version

Home Page

2.3. Composition of functions

The function f (x) = (2x + 3)^2 can be thought of as being built up from the two simpler functions g(x) = 2x + 3 and h(x) = x^2 : f (x) = (2x + 3)^2 = (g(x))^2 = h(g(x)).

For a given input x, the function g produces the output g(x). With this output used as input, the function h produces the output h(g(x)). According to the equation above, the function f has the same effect as this two-step process.

The composition of the functions g and h is the function h ◦ g given by (h ◦ g)(x) = h(g(x)).

Here is a Venn diagram depiction of the composition h ◦ g:

For the particular functions defined above, we have the relationship f = h ◦ g (which means that f (x) = (h ◦ g)(x) for all x).

Function notation Graph of function Composition of functions Identity function Inverse function

Table of Contents

JJ II

J I

Page 8 of 16

Back

Print Version

Home Page

2.3.1 Example Find (h ◦ g)(x), given that g(x) = x + 1 and h(x) =

x − 2 x.

Solution We have (h ◦ g)(x) = h(g(x)) =

g(x) − 2 g(x) =

x + 1 − 2(x + 1).

In the example, g has domain R, while h ◦ g has domain [− 1 , ∞). This shows that the domain of a composition can be smaller than the domain of the first function applied.

2.4. Identity function

The simplest function is the identity function ε defined by ε(x) = x. Given the input value x, it returns the output value x, so, in effect, it does nothing. The graph of this function is the graph of the equation y = x (the 45◦^ line through the origin).

For any function f , we have ε ◦ f = f and f ◦ ε = f , since (ε ◦ f )(x) = ε(f (x)) = f (x) and (f ◦ ε)(x) = f (ε(x)) = f (x). With composition ◦ viewed as a sort of multiplication, these equations show that ε acts like a multiplicative identity (like the number 1). This is why ε is called the identity function.

2.5. Inverse function

Let f (x) = x^3 and g(x) = 3

x. These functions satisfy g(f (x)) = x and f (g(x)) = x, since

g(f (x)) = 3

f (x) =

x^3 = x and f (g(x)) = (g(x))^3 = ( 3

x)^3 = x.

Function notation Graph of function Composition of functions Identity function Inverse function

Table of Contents

JJ II

J I

Page 10 of 16

Back

Print Version

Home Page

Solution

(a) The square root function is the inverse of the squaring function with reduced domain [0, ∞), so

√ 4 is the number in the interval [0,^ ∞) that you square to get 4. Therefore, 4 = 2.

(b) Here, we are searching for all real numbers x satisfying the equation. The answer is x = ±2.

This example is intended to serve as an illustration in a familiar setting of an analogous example given later in the less-familiar setting of inverse trigonometric functions (see Ex- ample 4.4.1). Also, it is intended to correct the common misconception that

a is ± the number you square to get a. Rather,

a is the number ≥ 0 that you square to get a. The issue of ± comes up only in solving equations like in (b).

A function f is injective if it never sends two inputs to the same output (i.e., its graph passes the horizontal line test). If f is injective, then it has an inverse function that sends an output of f back to the (unique) input that produced the output.

Definition of inverse function. Let f : A → B be an injective function with range B. The function f −^1 : B → A defined by

f −^1 (y) = x ⇐⇒ f (x) = y (1)

is called the inverse of the function f.

Inverse function identities. With notation as above

Function notation Graph of function Composition of functions Identity function Inverse function

Table of Contents

JJ II

J I

Page 11 of 16

Back

Print Version

Home Page

(i) f −^1 (f (x)) = x for all x in A,

(ii) f (f −^1 (x)) = x for all x in B.

If a function is not injective, then it does not have an inverse, but we can reduce its domain in order to achieve an injective function just as we did for the squaring function. This process is illustrated here using Venn diagrams:

2.5.2 Example Let f (x) =

|x + 2| 3

(a) Explain why f has no inverse as is.

(b) From here on, assume that the domain of f has been reduced to [− 2 , ∞). Then the function f : [− 2 , ∞) → [0, ∞) is injective and its range is [0, ∞) so that it has an inverse f −^1 : [0, ∞) → [− 2 , ∞). Find a formula for the function f −^1.

Function notation Graph of function Composition of functions Identity function Inverse function

Table of Contents

JJ II

J I

Page 13 of 16

Back

Print Version

Home Page

multiplication and ε viewed as a multiplicative identity (as in 2.4), these equations say that f −^1 is a multiplicative inverse of f. This is the reason for the notation f −^1 as well as the terminology “inverse function.”

The trigonometric functions (see 4.2) are not injective, but we will reduce their domains in order to achieve injective functions, just as we did for the squaring function, and this will enable us to define the inverse trigonometric functions (see 4.4).

Graph of inverse function. The graph of the function f (x) = x^2 , with domain reduced to [0, ∞), is shown below together with the graph of its inverse function f −^1 (x) =

x.

We see that the graph of f −^1 is the reflection of the graph of f across the 45◦^ line y = x. If the graph of f is drawn, and the paper is folded along the dotted line before the ink dries, then the graph of f −^1 is produced (albeit, in a different color here).

This is a general property relating the graph of a function f to the graph of its inverse f −^1 (if such exists). It amounts to saying that the point (x, y) is on the graph of f if and only

Function notation Graph of function Composition of functions Identity function Inverse function

Table of Contents

JJ II

J I

Page 14 of 16

Back

Print Version

Home Page

if the point (y, x) is on the graph of f −^1 , and this is precisely what (1) says.

2.5.3 Example Let f be as in Example 2.5.2, with domain [− 2 , ∞). Sketch the graph of f together with the graph of f −^1.

Solution As noted in the earlier example, for x in the domain [− 2 , ∞), the function f is given by f (x) = (x + 2)/3. The graph of f is the same as the graph of the equation y = (x + 2)/3 = 13 x + 23 , which is a line with slope 13 and y-intercept 23. The graph of the inverse f −^1 is obtained by reflecting across the 45◦^ line y = x:

(By the earlier example, f −^1 (x) = 3x − 2, the graph of which is the same as that of y = 3x − 2, a line with slope 3 and y-intercept −2. This agrees with the graph of f −^1 as shown above.)

Function notation Graph of function Composition of functions Identity function Inverse function

Table of Contents

JJ II

J I

Page 16 of 16

Back

Print Version

Home Page

2 – 4 Let f (x) = (x − 1)^2 − 1.

(a) Explain why f has no inverse as is.

(b) From here on, assume that the domain of f has been reduced to [1, ∞). Then the function f : [1, ∞) → [− 1 , ∞) is injective and its range is [− 1 , ∞) so that it has an inverse f −^1 : [− 1 , ∞) → [1, ∞). Sketch the graph of f together with the graph of f −^1.

(c) Find a formula for the function f −^1.

(d) Verify that f and f −^1 satisfy the inverse function identities (i) and (ii) (see 2.5).