MA2002 Chapter7
MA2002 Chapter7
[email protected] / [email protected]
Department of Mathematics
National University of Singapore
Office: S17-06-17 / S17-06-16
Tel: 6601-2430 / 6516-2937
1
Chapter 7: Inverse Functions and Transcendental Functions 2
/ 52
One-to-One Functions
√
✔ Let f (x) = 3
x and g(x) = 1/x.
y √ y
y= 3
x y = 1/x
b b
O x O x
One-to-One Functions
✔ Definition. Let f be a function with domain D.
✘ f is called a one-to-one function if
✓ a 6= b ⇒ f (a) 6= f (b) for any a, b ∈ D.
✔ Remarks.
✘ For statements P and Q, P ⇒ Q is a conditional statement.
✘ The contrapositive of P ⇒ Q is “not Q ⇒ not P ”.
✘ A conditional statement and its contrapositive are logically equivalent.
✔ Example. f is differentiable at a ⇒ f is continuous at a.
✘ It is equivalent to its contrapositive:
✓ f is discontinuous at a ⇒ f is not differentiable at a.
4 / 52
2
One-to-One Functions
✔ Definition. Let f be a function with domain D.
✘ f is called a one-to-one function if
✓ f (a) = f (b) ⇒ a = b for any a, b ∈ D.
✔ Examples.
√
✘ Let f (x) = x. The domain is R. For any a, b ∈ R,
3
√ √ √ √
✓ f (a) = f (b) ⇒ 3 a = b ⇒ ( 3 a)3 = ( b)3 ⇒ a = b.
3 3
✗ Therefore, f is one-to-one on R.
✘ Let g(x) = 1/x. The domain is R \ {0}. For any a, b ∈ R \ {0},
1 1
✓ g(a) = g(b) ⇒ 1/a = 1/b ⇒ = ⇒ a = b.
1/a 1/b
✗ Therefore, g is one-to-one on R \ {0}.
5 / 52
Inverse Functions
✔ Definition. Let f be a one-to-one function.
Let A be the domain of f , and B the range of f .
✓ For each y ∈ B, there is a unique x ∈ A such that f (x) = y.
✘ The inverse function of f , denoted by f −1 , is defined by
✓ f −1 (y) = x ⇔ y = f (x), for any x ∈ A and y ∈ B.
✗ B is the domain of f −1 , and A is the range of f −1 .
✔ Examples.
√
✘ Let f : R → R be defined by f (x) = 3
x.
✓ Then f −1
: R → R such that f −1
(x) = x3 .
✘ Let g : R \ {0} → R \ {0} be defined by g(x) = 1/x.
✓ Then g −1 : R \ {0} → R \ {0} such that g −1 (x) = 1/x.
6 / 52
3
Inverse Functions
✔ Remarks. Let f be one-to-one with domain A and range B.
✘ f −1 is one-to-one with domain B and range A.
✓ f is the inverse of f −1 : (f −1 )−1 = f .
✘ The −1 in f −1 is not an exponent.
✓ f −1 (x) is the value of the function f −1 at x.
✘ y = f (x) ⇔ x = f −1 (y) for any x ∈ A and y ∈ B.
✓ f −1 (f (x)) = x for any x ∈ A.
✓ f (f −1 (y)) = y for any y ∈ B.
✘ For any set S, let iS : S → S be the identity function on S,
✓ defined by iS (x) = x for any x ∈ S.
✗ f −1 ◦ f = iA and f ◦ f −1 = iB .
7 / 52
Inverse Functions
✔ Let f be a one-to-one function.
✘ It admits the inverse function f −1 .
1. Let y = f (x).
2. Solve the equation for x in terms of y: x = f −1 (y).
3. Interchange x and y to express f −1 as a function in variable x:
✗ y = f −1 (x).
✔ In the Cartesian plane R2 , interchanging x and y has the same effect as the reflection with
respect to the straight line y = x.
✘ The graph of f and the graph of f −1
are symmetric with respect to the line y = x.
8 / 52
4
Examples
✔ Let f (x) = x3 + 2. The domain is R and the range is R.
1. Let y = f (x) = x3 + 2.
√
2. Solve x in terms of y: x = 3 y − 2.
√
3. Interchange x and y: f −1 (x) = y = 3 x − 2.
y
y = f (x)
y = f −1 (x)
O 2 x
9 / 52
Examples
√
✔ Let g(x) = −1 − x. The domain is (−∞, −1], the range is [0, ∞).
√
1. Let y = g(x) = −1 − x.
2. Solve x in terms of y: x = −y 2 − 1.
3. Interchange x and y: g −1 (x) = y = −x2 − 1.
✓ The domain is [0, ∞) and the range is (−∞, −1].
y
y = g(x)
−1 O x
−1
y = g −1 (x)
10 / 52
5
Calculus of Inverse Functions
✔ Suppose that f is increasing on a set I, i.e., a < b ⇒ f (a) < f (b).
✘ Let a, b ∈ I such that f (a) = f (b).
✓ a < b ⇒ f (a) < f (b) ⇒ f (a) 6= f (b).
✓ a > b ⇒ f (a) > f (b) ⇒ f (a) 6= f (b).
It must be a = b. Hence, f is one-to-one.
Suppose that f is decreasing on a set I. Similarly, f is one-to-one.
✔ Let f (x) = 1/x. Then f is one-to-one on R \ {0}.
✘ 1 < 2 and f (1) > f (2). Then f is not increasing.
✘ −1 < 1 and f (−1) < f (1). Then f is not decreasing.
✓ f is continuous and decreasing on (0, ∞).
✓ f is continuous and decreasing on (−∞, 0).
11 / 52
12 / 52
6
Calculus of Inverse Functions
✔ Proof. Suppose f is continuous and one-to-one on an interval I.
✘ a < b and f (a) < f (b), and α < β and f (α) > f (β).
✘ Let g(x) = f (a + x(α − a)) − f (b + x(β − b)), 0 ≤ x ≤ 1.
✓ g is continuous on [0, 1],
✓ g(0) = f (a) − f (b) < 0, and g(1) = f (α) − f (β) > 0.
By Intermediate Value Theorem, there is c ∈ (0, 1) with g(c) = 0.
✓ f (a + c(α − a)) = f (b + c(β − b)).
✗ a + c(α − a) = b + c(β − b).
✗ (1 − c)a + cα = (1 − c)b + cβ.
✘ a < b, α < β and 0 < c < 1.
✓ (1 − c)a + cα < (1 − c)b + cβ, contradiction.
13 / 52
7
Calculus of Inverse Functions
✔ Theorem. Suppose f is one-to-one and continuous on an interval I.
✘ Then the inverse function f −1 is also continuous.
Proof. Suppose that f is increasing. Then f −1 is increasing.
✘ Let b be in the domain of f −1 . Let a = f −1 (b) ∈ I.
✘ Suppose b is not the right endpoint of the domain of f −1 .
✓ Aim: f −1 is continuous at b from the right: lim+ f −1 (y) = a.
y→b
15 / 52
8
Calculus of Inverse Functions
✔ Theorem. Suppose f is one-to-one and continuous on an interval I.
✘ Then the inverse function f −1 is also continuous.
Proof. Suppose that f is increasing. Then f −1 is increasing.
✘ Let b be in the domain of f −1 . Let a = f −1 (b) ∈ I.
✘ Suppose b is not the right endpoint of the domain of f −1 .
✓ Then f −1 is continuous at b from the right.
✘ Suppose b is not the left endpoint of the domain of f −1 .
✓ Similarly, f −1 is continuous at b from the left.
Therefore, f −1 is continuous on its domain.
✘ f −1 is continuous at every interior point of the domain.
✘ f −1 is continuous from one side at endpoint (if any) of the domain.
17 / 52
b
(a, b)
y = f −1 (x)
(b, a)
b
O x
9
Calculus of Inverse Functions
✔ Proof. Let y = f (x). Then x = f −1 (y).
f −1 (y) − f −1 (b) x−a
✘ (f −1 )′ (b) = lim = lim .
y→b y−b y→b f (x) − f (a)
dy dx dx 1
✔ Remark. f ′ (x) = and (f −1 )′ (y) = . Then = .
dx dy dy dy/dx
19 / 52
Example
✔ Let f (x) = x2 on [0, 2]. Find (f −1 )′ (2).
✘ Method 1:
√ 1 1
✓ f −1 (x) = x, (f −1 )′ (x) = √ and (f −1 )′ (2) = √ .
2 x 2 2
✘ Method 2:
1
✓ If f (a) = 2, then (f −1 )′ (2) = ′ , provided that f ′ (a) 6= 0.
f (a)
√ √ √
✓ a = 2, f (x) = 2x and f ( 2) = 2 2.
′ ′
1 1
✗ (f −1 )′ (2) = √ = √ .
f ( 2)
′ 2 2
✔ Remark. The second method allows us to find (f −1 )′ without the explicit form of f −1 .
20 / 52
10
Inverse Trigonometric Functions
✔ Let f (x) = sin x. It is not one-to-one on R.
y
y = sin−1 x
1
− π2 O π x
2
y = sin x
−1
21 / 52
11
Inverse Trigonometric Functions
✔ Let f (x) = cos x. It is not one-to-one on R.
y
3
2
y = cos−1 x
1
y = cos x
−π − π2 O π π x
2
−1
23 / 52
12
Inverse Trigonometric Functions
✔ Definition. Let x ∈ R.
✘ The unique number y ∈ (− π2 , π2 ) such that tan y = x is denoted by
✓ y = arctan x or y = tan−1 x.
Then tan−1 : R → (− π2 , π2 ) is the inverse tangent function.
y
y = tan x
π
2
y = tan−1 x
− π2 O π x
2
− π2
25 / 52
y = cot x
π
2
y = cot−1 x
O π π x
2
26 / 52
13
Inverse Trigonometric Functions
✔ Let y = tan−1 x. Then tan y = x.
d dy 1 1 1 1
✘ tan−1 x = = = 2
= 2
= .
dx dx dx/dy sec y 1 + tan y 1 + x2
✔ Let y = cot−1 x. Then cot y = x.
d dy 1 1 1 1
✘ cot−1 x = = = 2
=− 2
=− .
dx dx dx/dy − csc y 1 + cot y 1 + x2
14
Inverse Trigonometric Functions
✔ Let sec−1 x = y ∈ [0, π2 ) ∪ [π, 3π
2
). Then sec y = x and tan y ≥ 0.
d dy 1 1 1
✘ sec−1 x = = = = p .
dx dx dx/dy sec y tan y sec y sec2 y − 1
✔ Let csc−1 x = y ∈ (0, π2 ] ∪ (π, 3π
2
]. Then csc y = x and cot y ≥ 0.
d dy 1 −1 −1
✘ csc−1 x = = = = p .
dx dx dx/dy csc y cot y csc y csc2 y − 1
✔ Theorem. sec−1 and csc−1 are continuous on (−∞, −1] ∪ [1, ∞).
d 1 d 1
✘ sec−1 x = √ , csc−1 x = − √ , |x| > 1.
dx x x2 − 1 dx x x2 − 1
( π
2
if x ≥ 1,
✘ sec−1 x + csc−1 x = 5π
2
if x ≤ −1.
29 / 52
Logarithmic Function
✔ Definition. The natural logarithmic function is defined by
Z x
1
✘ ln x = dt, (x > 0).
1 t
y
1
y=
t
O 1 x t
30 / 52
15
Logarithmic Function
Z x
1
✔ ln x = dt, (x > 0).
1 t
y
y = ln x
1
O 1 2 3 4 5 6 x
−1
✔ Exercises.
✘ lim ln x = −∞, lim ln x = ∞, and the range of ln x is R.
x→0+ x→∞
31 / 52
Logarithmic Function
✔ Let x > 0 and a > 0. Then ln(ax) = ln a + ln x.
✘ Let f (x) = ln(ax) − ln x. Then f is differentiable on R+ .
d d 1 1
✓ f ′ (x) = ln(ax) − ln x = a · − = 0.
dx dx ax x
✗ Then f is constant on R+ .
✓ f (x) = f (1) ⇒ ln(ax) − ln x = ln a − ln 1 = ln a.
✔ Let x > 0 and r ∈ Q. Then ln(xr ) = r ln x.
✘ Let g(x) = ln(xr ) − r ln x. Then g is differentiable on R+ .
d d 1 r
✓ g ′ (x) = ln(xr ) − r ln x = rxr−1 · r − = 0.
dx dx x x
+
✗ Then g is constant on R .
✓ g(x) = g(1) ⇒ ln(xr ) − r ln x = ln 1 − r ln 1 = 0.
32 / 52
16
Logarithmic Function
Z
d 1 1
✔ ln x = (x > 0). Then dx = ln x + C, where x > 0.
dx x x
d 1 1
✘ Let x < 0. Then −x > 0 and ln(−x) = −1 · = .
dx −x x
Z
1
✓ dx = ln(−x) + C, where x < 0.
x
✔ Theorem. For any x 6= 0,
Z
d 1 1
✘ ln |x| = and dx = ln |x| + C.
dx x x
✔ Suppose a > 0 and b > 0, or a < 0 and b < 0.
Z b
1 x=b
✘ dx = ln |x| = ln |b| − ln |a|.
a x x=a
33 / 52
Examples
Z Z
sin x
✔ tan x dx = dx.
cos x
du
✘ Let u = cos x. Then = − sin x.
Z Z dx
−1
✓ tan x dx = du = − ln |u| + C = − ln |cos x| + C.
u
Z Z
sec x (sec x + tan x)
✔ sec x dx = dx.
sec x + tan x
du
✘ Let u = sec x + tan x. Then = sec x tan x + sec2 x.
Z Z dx
1
✓ sec x dx = du = ln |u| + C = ln |sec x + tan x| + C.
u
34 / 52
17
Logarithmic Differentiation
√
dy (x2 + 1) x + 3
✔ Find if y = for x > 1.
dx x−1
✘ y is the product of differentiable functions, so y is differentiable.
ln y = ln (x2 + 1)(x + 3)1/2 (x − 1)−1
= ln(x2 + 1) + ln[(x + 3)1/2 ] + ln[(x − 1)−1 ]
= ln(x2 + 1) + 12 ln(x + 3) − ln(x − 1).
✘ Differentiate with respect to x.
1 dy 2x 1 1 1
✓ = 2 + − .
y dx x +1 2 x+3 x−1
2 √
dy 2x 1 1 (x + 1) x + 3
✘ = + − .
dx x2 + 1 2(x + 3) x − 1 x−1
35 / 52
Logarithmic Differentiation
✔ Let y = [f1 (x)]r1 · · · [fn (x)]rn , r1 , . . . , rn ∈ Q, and
✘ f1 , . . . , fn are nonzero differentiable functions.
1. Take absolute value.
✓ |y| = |f1 (x)|r1 · · · |fn (x)|rn .
2. Take natural logarithm.
✓ ln |y| = r1 ln |f1 (x)| + · · · + rn ln |fn (x)|.
3. Differentiate with respect to x.
1 dy r1 f1′ (x) rn fn′ (x)
✓ = + ··· + .
y dx f1 (x) fn (x)
This method of finding derivative is called logarithmic differentiation.
36 / 52
18
Example
dy x cos x
✔ Find if y = √ , where y 6= 0.
dx csc x
1. |y| = |x| |cos x| |csc x|−1/2 .
2. ln |y| = ln |x| + ln |cos x| − 12 ln |csc x|.
1 dy 1 − sin x 1 − csc x cot x
3. = + − .
y dx x cos x 2 csc x
dy 1 1 x cos x
✓ = − tan x + cot x √ .
dx x 2 csc x
✔ Remark.
✘ The logarithmic differentiation is not applicable if y = 0.
37 / 52
Exponential Function
✔ Note that ln 2 > ln 1 = 0.
✘ There exists a rational number r > 1/ ln 2.
✔ Let f (x) = ln x. It is continuous on [1, 2r ].
✘ f (1) = ln 1 = 0 < 1 and f (2r ) = ln(2r ) = r ln 2 > 1.
✓ By Intermediate Value Theorem, there exists c ∈ (1, 2r ) with
✗ f (c) = ln c = 1.
✘ f is increasing on R+ ; so f is one-to-one.
✓ There exists a unique c ∈ R+ such that ln c = 1.
✔ Definition. The Euler’s number e is the number such that ln e = 1.
✘ e = 2.7182818284590452353602874713526624977572 · · · .
38 / 52
19
Exponential Function
✔ Let e be the Euler’s number, where ln e = 1. Then e0 = 1.
n copies
z }| {
n 1
✘ Let n ∈ N. Then e = e · e · · · · · e
and e−n = n .
e
√ √
✘ Let n ∈ N. There is a unique number e such that ( n e)n = e.
n
√
✓ Define e1/n = n e.
✘ Let r ∈ Q. Then r = m/n, where m ∈ Z and n ∈ N.
√ √
✓ Define er = em/n = ( n e)m = n em .
✔ Let f (x) = ln x. It is increasing on R+ with range R.
✘ Let f −1 : R → R+ be the inverse function of f .
✓ Let x ∈ Q. Then f (ex ) = ln(ex ) = x ln e = x.
✗ ex = f −1 (x).
39 / 52
Exponential Function
✔ Definition. Let x ∈ R. There is a unique y ∈ R+ so that ln y = x.
✘ It is denoted by y = exp x or y = ex .
Then exp : R → R+ is called the exponential function.
✔ Remark. Let r ∈ Q, say r = m/n with m ∈ Z and n ∈ N.
√ √
✘ er = ( n e)m = n em and er = ln−1 (r) = exp r.
✔ Let y = ex . Then x = ln y.
✘ ln(ex ) = x for x ∈ R and eln y = y for y ∈ R+ .
d x dy 1 1
✘ e = = = = y = ex .
dx dx dx/dy 1/y
✔ Theorem. The exponential function exp is differentiable on R.
d d x
✘ exp x = exp x or e = ex .
dx dx
40 / 52
20
Exponential Function
✔ exp and ln are inverse functions of each other.
y
y = exp x
1
O 1 y = ln xx
✔ Exercises.
✘ lim ex = 0 and lim ex = ∞.
x→−∞ x→∞
41 / 52
Exponential Function
✔ Let a > 0. Then ar is well-defined for r ∈ Q.
✘ ln(ar ) = r ln a ⇔ ar = exp(r ln a) = er ln a .
✔ Definition. The exponential function of base a > 0 is defined by
✘ ax = exp(x ln a) = ex ln a , x ∈ R.
✔ Remark. By definition,
✘ ln(ax ) = x ln a for all a > 0 and x ∈ R.
y
O x
42 / 52
21
Exponential Function
✔ Theorem. Let x, y ∈ R.
1. ex · ey = ex+y .
2. e−x = 1/ex .
3. (ex )y = exy .
Proof.
✘ ln(ex · ey ) = ln(ex ) + ln(ey ) = x + y.
✓ ex · ey = exp(x + y) = ex+y .
✘ e−x · ex = e(−x)+x = e0 = 1.
✓ e−x = 1/ex .
✘ Let a = ex . Then ln[(ex )y ] = ln(ay ) = y ln a = y ln(ex ) = yx.
✓ (ex )y = exp(yx) = exy .
43 / 52
Exponential Function
✔ Theorem. Let a > 0 and x, y ∈ R.
✘ ax ay = ax+y .
✘ a−x = 1/ax .
✘ (ax )y = axy .
d x
✘ a = ax ln a.
dx
Proof.
✘ ax ay = ex ln a ey ln a = ex ln a+y ln a = e(x+y) ln a = ax+y .
✘ a−x = e(−x) ln a = e−(x ln a) = 1/ex ln a = 1/ax .
✘ (ax )y = ey ln(a ) = ey·x ln a = exy·ln a = axy .
x
22
Exponential Function
✔ Theorem. For any a ∈ R, f (x) = xa is differentiable on R+ , and
d a
✘ x = axa−1 , (x > 0).
dx
Proof. Note that xa = ea ln x . Let u = a ln x. Then
d a d a ln x d u du d u a u
x = e = e = e = e
dx dx dx dx du x
a a ln x −1 a a−1
= e = a · x x = ax .
x
Z ln |x| + C, if a = −1,
a
✔ x dx = xa+1
+ C, if a 6= −1.
a+1
/ Q, then the domain of f (x) = xa is [0, ∞).
✘ If a ∈
45 / 52
Logarithmic Differentiation
d x
✔ Find x , (x > 0).
dx
✘ Let y = xx . Take natural logarithmic function:
✓ ln y = ln(xx ) = x ln x.
✘ Differentiate with respect to x:
1 dy d 1
✓ = (x ln x) = 1 · ln x + x · = ln x + 1.
y dx dx x
d x
✘ x = (ln x + 1)xx .
dx
✔ Let y = f (x)g(x) , where f, g are differentiable and f is positive.
dy
✘ can be found by logarithmic differentiation by (i) taking logarithmic function
dx
and (ii) differentiating with respect to x.
46 / 52
23
Exponential Function
✔ Theorem. e = lim (1 + x)1/x .
x→0
1/x 1
lim (1 + x) = lim exp ln(1 + x)
x→0 x→0 x
ln(1 + x)
= exp lim
x→0 x
!
d
ln(1 + x)
= exp lim dx d
x→0
dx
x
1/(1 + x)
= exp lim
x→0 1
1
= exp(1) = e = e.
47 / 52
Exponential Function
✔ Find lim f (x)g(x) , where f (x) > 0.
x→a
✔ Find lim+ xx .
x→0
x
lim x = lim+ exp(x ln x) = exp lim x ln x
x→0+ x→0 x→0+
!
d
ln x ln x
= exp lim+ = exp lim+ ddx
x→0 1/x x→0 (1/x)
dx
1/x
= exp lim+ 2
= exp lim+ (−x) = exp(0) = e0 = 1.
x→0 −1/x x→0
48 / 52
24
Hyperbolic Trigonometric Functions
✔ Definition.
✘ The hyperbolic sine function is defined by
ex − e−x
✓ sinh x = .
2
✘ The hyperbolic cosine function is defined by
ex + e−x
✓ cosh x = .
2
✔ Let x = cosh t and y = sinh t.
✘ Then x2 − y 2 = cosh2 t − sinh2 t = 1, x > 0.
✓ This represents the right branch of a hyperbola.
49 / 52
25
Hyperbolic Trigonometric Functions
d ex + e−x
✔ sinh x = cosh x = ≥ 1.
dx 2
✘ Then sinh is increasing on R with range R.
✓ sinh−1 : R → R is the inverse hyperbolic sine function.
✔ Let y = sinh−1 x. Then x = sinh y.
dy 1 1 1 1
✘ = = =p =√ .
dx dx/dy cosh y 2
1 + sinh y 1 + x2
✔ Theorem.
✘ sinh−1 : R → R is differentiable on R.
d 1
✘ sinh−1 x = √ , x ∈ R.
dx 1 + x2
51 / 52
26