Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

ch04 Ma1300

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

Chapter 4 Inverse Functions

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)

Intuitively, if f −1 is known to be differentiable (need proof), the formula given above


is obvious: Since f (f −1 (x)) = x, taking dx d
both sides using chain rule, we get
f 0 (f −1 (x))(f −1 )0 (x) = 1
3

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

We summarize basic properties of exponential functions: Let a, b > 0.


(1) f (x) = ax is differentiable everywhere.
(2) ax+y = ax ay , ax−y = ax /ay , (ax )y = axy , (ab)x = ax bx .
(3) If a > 1, ax is increasing in x, and
lim ax = ∞, lim ax = 0.
x→∞ x→−∞

If 0 < a < 1, ax is decreasing in x, and


lim ax = 0, lim ax = ∞.
x→∞ x→−∞

Ex. Let f (x) = ax for some a > 0. Show that


f 0 (x) = f 0 (0)ax . (4.1)
Hint: Use definition.
4

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→−∞

Using definition, we see


(ex )0 = 1.
x=0

Together with (4.1), we obtain

(ex )0 = (ex )0 · ex = ex .
x=0

Thus, we have following lovely formula


(ex )0 = ex . (4.2)

Ex. Find y 0 if y = e−4x sin 5x.

Ex. Find the absolute maximum of f (x) = xe−x .

e2x
Ex. Find lim .
x→∞ e2x + 1
5

4.3. Logarithmic function. Section 6.3 Exercise: 41, 47, 57, 61


This section is about a brief recall of log functions.
(1) f (x) = ax is inverse to f −1 (x) = loga x, i.e.
loga x = y ⇔ ay = x
(2) loga (ax ) = x, ∀x ∈ R; aloga x = x, ∀x > 0.
(3) loga (xy) = loga x + loga y;
x
loga ( ) = loga x − loga y;
y
loga (xr ) = r loga x.
(4) If a > 1, then loga x is increasing in x, and
lim loga x = ∞, lim+ loga x = −∞.
x→∞ x→0

If 0 < a < 1, then loga x is decreasing in x, and


lim loga x = −∞, lim+ loga x = ∞.
x→∞ x→0

In particular, log with base e is called natural logarithm and denoted by


loge x , ln x
for simplicity. So, ln e = loge e = 1.
Another popular formula is
ln x
loga x = .
ln a
In previous section, we learned (ex )0 = ex by (4.8). Now, we have by chain rule
(ax )0 = (ex ln a )0 = (ex ln a )(x ln a)0 = ax ln a.
Now, we have new formula
(ax )0 = ax ln a. (4.3)

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).

Ex. find y 0 where y = ln(x3 + 1)

d x+1
Ex. Find ln √ .
dx x−2
6

Ex. show that


(ln |x|)0 = 1/x, ∀x 6= 0. (4.5)

The derivative formula of general log function is


1
(loga x)0 = . (4.6)
x ln a
Ex. Prove (4.6).

Sometimes, one can simplify calculation of derivatives by following a trick of log


differentiation: For y = f (x)
(1) Take ln y = ln f (x) and simplify the right hand side.
d
(2) Take dx on both sides.
(3) Solve for y 0 .
3/4

x x2 + 1
Ex. Using above trick, find y 0 of y = .
(3x + 2)5

Ex. Show that, using log differentiation trick

(xn )0 = nxn−1 , ∀n ∈ R. (4.7)

Solution. Since xn is not necessarily positive, we need to take ln on absolute value of


BS, i.e. for y = xn , we have
ln |y| = n ln |x|.
Then follow the rest steps. 


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.)

4.5. Exponential growth and decay. sec 6.5 Exercise: 5, 9, 19


In this section, we study natural phenomena of quantity dynamics, for example
population growth, compounded interest, and so on.
Let’s say y(t) be the quantity at time t. It shows that many of quantity change
follows relation of the form

dy
= ky for some constant k (4.9)
dt

Ex. Show that,


(1) for any constant C, y(t) = Cekt satisfies (4.9).
(2) show that C = y(0).

Next result shows that y(t) given by above example is the only solution of (4.9)

Theorem 4.3. The only solution of (4.9) is the exponential function

y(t) = y(0)ekt . (4.10)

(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.

Ex. Find y 0 for


1
(1) y =
sin−1 x √
(2) y = x arctan x.

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

L’hospital’s rule. Suppose f and g are differentiable and g 0 (x) 6= 0 on an open


interval I that contains a (except possibly at a). Suppose that
lim f (x) = 0, and lim g(x) = 0
x→a x→a

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)

if the limit on the RHS exists (or is ±∞).

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.

Ex. (Type 0 · ∞) lim+ x ln x


x→0
11

Ex. (Type ∞ − ∞) limx→(π/2)− (sec x − tan x)

Ex. (Type 1∞ ) lim+ (1 + sin 4x)cot x


x→0

Ex. (Type 00 ) lim+ xx .


x→0

Ex. (Type ∞0 ) lim x1/x


x→∞

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.

You might also like