ch04 Ma1300
ch04 Ma1300
ch04 Ma1300
Contents
4. Inverse functions 1
4.1. Calculus of inverse functions 1
4.2. Derivatives of exponential function 3
4.3. Logarithmic function 5
4.4. Derivatives of logarithmic functions 5
4.5. Exponential growth and decay 7
4.6. Inverse trigonometric functions 8
4.7. Hyperbolic functions 9
4.8. L’hospital’s rule 9
4. Inverse functions
So far, we have learned
• limit
• derivative
• applications of derivatives
In this chapter,
(1) we shall use log and exponential functions to explore the relation of derivatives
between inverse functions. We may start with some basic questions, like (ln x)0
and (ex )0 .
(2) we will learn powerful l’hospital’s rule to solve for limit problem.
Note, we will avoid to involve all parts of this chapter related to integral (which will
be covered in subsequent course).
4.1. Calculus of inverse functions. Section 6.1 Exercise of Text: 24, 31, 39, 41
We first recall some basics of inverse functions.
A function f is called a one-to-one (1-1) function if it never takes on the same value
twice, i.e.
f (x1 ) 6= f (x2 ) whenever x1 6= x2 .
Q: How can one identify a 1-1 function?
Horizontal line test. A function is 1-1 if and only if no horizontal line intersects its
graph more than once.
Note that, Given a map f , one can identify if f is a function by using vertical line
test. Now, if it is a function, one can further identify if f is 1-1 function. If a function
is 1-1, then we can define its inverse function.
Definition. Let f : A → B be a 1-1 function with domain A and range B. then its
inverse function f −1 : B → A is defined by
f −1 (y) = x ⇔ f (x) = y
1
2
for any y ∈ B.
Here we summarize some properties of inverse functions:
(1) domain of f −1 = range of f ; domain of f = range of f −1 ;
(2) f −1 (y) = x ⇔ f (x) = y;
(3) f −1 (f (x)) = x, ∀x ∈ A, and f (f −1 (x)) = x, ∀x ∈ B;
(4) The graph of f −1 is obtained by reflecting the graph of f about the line y = x.
√
Ex. Given f (x) = −1 − x,
(1) find domain and range of f and f −1 .
(2) sketch graph of f and f −1 .
(3) find f −1
Theorem 4.1. If f is a 1-1 continuous function, then its inverse f −1 is also continu-
ous.
Theorem 4.2. If f is 1-1 differentiable function, and f 0 (f −1 (a)) 6= 0, then the inverse
function f −1 is differentiable at a and
1 1
(f −1 )0 (a) = 0 −1 = 0
f (f (a)) f (y) y=f −1 (a)
and it implies
1 1
(f −1 )0 (x) = = .
f 0 (f −1 (x)) f 0 (y) y=f −1 (x)
On the other hand, if we write y = f −1 (x), then f (y) = x, and in Leibniz notation,
we write
dy 1
= dx .
dx dy
Ex. Let f (x) = 2x + cos x.
(1) show that f −1 exists.
(2) find (f −1 )0 (1)
4.2. Derivatives of exponential function. Section 6.2 Exercise: 17, 27, 37, 49, 50,
55
We start with recall of exponential functions.
An exponential function is a function of the form
f (x) = ax .
We usually assume a > 0, and x is all real numbers. √
How can we evaluate ax for any x ∈ R? (Ex. 2 2 )
(1) For x = n be positive integer, an = a·a · · · a with n many factors; for x = −n be
n
positive integer (n is positive), a√ = (1/a) · (1/a) · · · (1/a) with n many factors
p/q q
(2) For x = p/q be rational, a = ap .
(3) For x be irrational, ax = lim ar .
Q3r→x
The natural number e can be defined in different ways in many books. We are
going to use following definition from Text:
Def. e is the number such that
eh − 1
lim = 1.
h→0 h
Using this definition, one can compute e numerically, e ≈ 2.71828 . . .
f (x) = ex is called natural exponential function. Note that e > 1 is constant, and
thus we have
lim ex = ∞, lim ex = 0.
x→∞ x→−∞
(ex )0 = (ex )0 · ex = ex .
x=0
e2x
Ex. Find lim .
x→∞ e2x + 1
5
4.4. Derivatives of logarithmic functions. Sec 6.4 Exercise: 3, 12, 21, 31, 43, 45,
49, 52, 53, 91
First formula is
1
(ln x)0 = . (4.4)
x
Ex. Prove (4.4).
d x+1
Ex. Find ln √ .
dx x−2
6
√
x
Ex. Differentiate y = x .
7
ex −1
Ex. By definition, e is a number satisfying limx→0 x
= 1. Show that, e can written
as differently:
1 n
e = lim (1 + x)1/x = lim (1 + ) . (4.8)
x→0 n→∞ n
(From this example, we now have three different representations of e.)
dy
= ky for some constant k (4.9)
dt
Next result shows that y(t) given by above example is the only solution of (4.9)
(1) If k > 0, then y(t) of (4.10) is called natural grow; and k is relative growth
rate.
(2) If k < 0, then y(t) of (4.10) is called natural decay; and k is relative decay
rate.
Ex.(Population growth) Suppose population follows law of natural growth. Use the
fact that population was 2560 million in 1950, and 3040 million in 1960,
(1) find relative growth rate
(2) estimate population in 2020.
8
Ex. Suppose certain substances decay with m(t) = m0 ekt . Half life is the time
length t̂, such that
1
m(t̂) = m0 .
2
Given that the half-life of radium-226 is 1590 years.
(1) A sample of radium-226 has a mass of 100mg, Find a formula for the mass the
sample that remains after t years.
(2) Find mass after 1000 years.
(3) When will the mass be reduced to 30mg.
Compound interest rate. Suppose initially the balance of bank account is v(0) =
1000 dollars.
(1) If annual compound interest rate r = 0.06, then v(t) = v(0)(1 + r)t .
(2) If semi-annual compound interest rate r = 0.06, then v(t) = v(0)(1 + 2r )2t .
(3) If nth-annual compound interest rate r = 0.06, then v(t) = v(0)(1 + nr )nt .
(4) If continuous annual compound interest rate r = 0.06, then v(t) = v(0)ert =
limn→∞ v(0)(1 + nr )nt .
Ex.
(1) How long will it take an investment to double in value if the interest rate is 6%
compounded continuously?
(2) What is the equivalent annual interest rate?
4.6. Inverse trigonometric functions. sec 6.6 Exercise: 25, 26, 29, 31, 37, 47, 49
We use formula
1 1
(f −1 )0 (x) = 0 −1 = 0
f (f (x)) f (y) y=f −1 (x)
to find derivatives of inverse trigonometric functions.
(1) Inverse sine function:
π π
(a) sin−1 x = y ⇔ sin y = x, for − ≤ y ≤ .
2 2
−1 0 1
(b) (sin x) = √ , −1 < x < 1.
1 − x2
(2) Inverse cosine function:
(a) cos−1 x = y ⇔ cos y = x, for 0 ≤ y ≤ π
9
1
(b) (cos−1 x)0 = − √ , −1 < x < 1.
1 − x2
(3) Inverse tangent function:
π π
(a) tan−1 x = y ⇔ tan y = x, for − < y < .
2 2
−1 0 1
(b) (tan x) = .
1 + x2
For other derivatives of inverse trigonometric functions, like csc−1 x, sec−1 x and
cot−1 x, are referred to Page 457 of Text.
4.7. Hyperbolic functions. In this section, hyperbolic functions, like sinh x, cosh x, tanh x,
are defined, and its derivatives are given, see Section 6.7. Exercise: 33, 35
Definitions of the hyperbolic functions:
ex − e−x
sinh x = ,
2
ex + e−x
cosh x = ,
2
sinh x
tanh x = .
cosh x
Derivatives of the hyperbolic functions:
d
sinh x = cosh x,
dx
d
cosh x = sinh x,
dx
d 1
tanh x = ,
dx cosh2 x
Try to prove the derivatives stated above.
4.8. L’hospital’s rule. sec 6.8 Exercise: 1, 21, 25, 32, 38, 43, 51, 55, 57, 81, 83, 89,
91, 93, 99.
Indeterminate form refers to limit problems of the types
∞ 0
, , 0 · ∞, ∞ − ∞, 00 , ∞0 , 1∞ .
∞ 0
∞ 0
One can directly use L’hospital’s rule to find limit of , .
∞ 0
10
or
lim f (x) = ±∞, and lim g(x) = ±∞
x→a x→a
0 ∞
(In other words, we have 0
or ∞
), Then
f (x) f 0 (x)
lim = lim 0
x→a g(x) x→a g (x)
ln x
Ex. (0/0 type) Find lim . Ex. Let n > 0.
x→1 x−1
ex
(1) (∞/∞ type) lim =?
x→∞ xn
(2) What can you conclude from above problem?
(3) What do you think of lim (ex − x2 − 2x) =?
x→∞
Note. It is very important to verify assumption of L’hospital’s rule before you use
it, i.e. verify the limit problem is of type 0/0 or ∞/∞.
sin x
Ex. What if you use L’hospital’s rule for lim− .
x→π 1 − cos x
For other types of indeterminate forms, we shall try to convert the problem to 0/0
or ∞/∞, then use L’hospital’s rule.
In order to prove L’hospital’s rule, one shall use Cauchy Mean Value Theorem, which
is generalization of MVT.
Theorem 4.4 (Cauchy’s Mean Value Theorem). Suppose that the functions f and g
are continuous on [a, b] and differentiable on (a, b), and g 0 (x) 6= 0 for all x ∈ (a, b).
Then, there ∃c ∈ (a, b) s.t.
f 0 (c) f (b) − f (a)
0
= .
g (c) g(b) − g(a)
f (b) − f (a)
Proof. Set h(x) = f (x)−f (a)− [g(x)−g(a)], then observe h(a) = h(b) = 0,
g(b) − g(a)
and use Rolle’s theorem.
Try to use L’hospital’s rule to prove that: suppose that f is continuous at a, and
that f 0 (x) exists for all x in some open interval containing a, except perhaps for x = a.
Suppose, moreover, that limx→a f 0 (x) exists. Then f 0 (a) also exists and
f 0 (a) = lim f 0 (x)
x→a
. In particular, f 0 is also continuous at a.
Remark: in general, f 0 may not be continuous at a if limx→a f 0 (x) does not
exist.