MATH 223: Calculus II: Dr. Joseph K. Ansong
MATH 223: Calculus II: Dr. Joseph K. Ansong
2 J.K.A
Contents
1 Introduction 1
1.1 Review of Calculus I . . . . . . . . . . . . . . . . . . . . . . . 1
1.1.1 Maximum & Minimum Values . . . . . . . . . . . . . . 1
3 Inverse Functions 25
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.2 Reflective Property of Inverse Functions . . . . . . . . . . . . 28
3.3 Existence of an Inverse Function . . . . . . . . . . . . . . . . . 29
3.3.1 Finding Inverse Functions . . . . . . . . . . . . . . . . 30
3.4 Continuity and Differentiability of Inverse Functions . . . . . . 31
3
Math 223 : Calculus II J.K.A
4 J.K.A
Chapter 1
Introduction
Figure 1.1: Schematic plot showing the absolute maximum and minimum
positions.
1
Math 223 : Calculus II J.K.A
Example 1. See Figure 1.2. On the interval (a, c1 ), f (d1 ) is a local minimum
value; similarly f (c2 ) is a local minimum in the interval (d2 , d3 ). On (c1 , c2 ),
f (d2 ) is a local maximum.
Theorem 1 (The Extreme Value Theorem). If f is continuous on a
closed interval [a, b], then f attains an absolute maximum value f (c) for some
number c in [a, b] and an absolute minimum value f (d) for some number d
in [a, b].
NOTE: An extreme value can be taken on more than once, as illustrated
in Figure 1.3.
2 J.K.A
Math 223 : Calculus II J.K.A
Proof. Figure 1.6 gives an illustration of the two cases involved in the proof
of the theorem.
3 J.K.A
Math 223 : Calculus II J.K.A
4 J.K.A
Math 223 : Calculus II J.K.A
f 0 (c) = 0 =⇒ 2c − 4 = 0
=⇒ c = 2.
Sketch:
= (x − 1)(x − 3)
So the zeros are x = 1 and x = 3. See Figure 1.7a.
f (−1) = −1 + 1 = 0
f (1) = 1 − 1 = 0
=⇒ f (−1) = f (1)
f 0 (x) = 3x2 − 1
f 0 (c) = 0 =⇒ 3c2 − 1 = 0
1
=⇒ c2 =
√3
1 3
=⇒ c = ± √ = ± . (1.1)
3 3
(a) Use Rolle’s Theorem to show that there is some instant of time t = c
between 0 and 7 when h0 (c) = 0.
Solution.
h(t) = t3 (t − 7)4 ; 0 ≤ t ≤ 7.
5 J.K.A
Math 223 : Calculus II J.K.A
(b)
=⇒ t = 0, 3, 7.
The number c = 3 is in (0, 7).
The submarine is on the surface at t = 0 and returns after 7 minutes,
h(7) = 0. The submarine reaches a maximum depth of h(3) = 6912 at
t = 3 minutes. See Figure 1.8.
6 J.K.A
Math 223 : Calculus II J.K.A
Figure 1.8: (a) Schematic of submarine dive (b) Plot of the submarine func-
tion h(t) = t3 (t − 7)4 .
7 J.K.A
Math 223 : Calculus II J.K.A
8 J.K.A
Chapter 2
f (b) − f (a)
f 0 (c) = ;
b−a
Interpretation:
Case (a): From Figure 2.1, the slope of the secant line is
f (b) − f (a)
S=
b−a
and the slope of the tangent line, T , to the function f at c is f 0 (c). MVT
tells us that there is at least one point (c, f (c)) in the interval (a, b) such that
T is parallel to S.
Case (b): Note that if f (a) = f (b) then we recover Rolle’s Theorem.
Proof. The equation of a line with slope m and passing through (x1 , y1 ) is
given by
y − y1 = m(x − x1 ).
Now
f (b) − f (a)
m=S= .
b−a
9
Math 223 : Calculus II J.K.A
f (b) − f (a)
y − f (b) = (x − b)
b−a
f (b) − f (a)
=⇒ y = f (b) + (x − b)
b−a
Let D(x) be the function for the distance between f (x) and y such that
f (b) − f (a)
D(x) = f (x) − f (b) + (x − b)
b−a
Note that D(a) = 0 = D(b). Also, D(x) is continuous on [a, b] and differen-
tiable on (a, b), therefore we can apply Rolle’s Theorem that there is a c in
(a, b) such that D0 (c) = 0. Now,
f (b) − f (a)
D0 (x) = f 0 (x) −
b−a
So, D0 (x) = 0 implies that
f (b) − f (a)
f 0 (c) − =0
b−a
f (b) − f (a)
f 0 (c) =
b−a
10 J.K.A
Math 223 : Calculus II J.K.A
Example 4. Show that the function satisfies the hypotheses of the Mean
Value Theorem on the given interval, and find all values of c that satisfy the
conclusion of the theorem.
f (b) − f (a)
c ∈ [0, 2] : f 0 (c) =
b−a
f (2) − f (0)
=⇒ f 0 (x) = 2x =
2−0
5−1
=⇒ 2x = =2
2
=⇒ x = 1
∴ c = 1 ∈ [0, 2].
See illustration of this in Figure 2.2a.
(b) f (x) = x3 ; [−1, 1]
f (x) is a polynomial so MVT is satisfied.
f (b) − f (a)
f 0 (c) =
b−a
f (1) − f (−1)
=⇒ f 0 (x) = 3x2 =
1 − (−1)
1 − (−1)
=⇒ 3x2 = =1
2
1
=⇒ x2 =
3
1
=⇒ x = ± √ .
3
This is illustrated in Figure 2.2b.
Exercise. Use the graph of f to estimate the values of c that satisfy the
conclusion of the MVT for the given interval shown in Figure 2.3.
11 J.K.A
Math 223 : Calculus II J.K.A
Figure 2.3:
12 J.K.A
Math 223 : Calculus II J.K.A
(a) Find the average velocity of the maglev during the first 4 seconds of
the run.
(b) Find the number c in (0, 4) that satisfy the conclusion of the MVT.
f (b) − f (a)
(a) Average velocity = .
b−a
First 4 seconds implies the interval [0, 4], such that a = 0 and b = 4.
Thus
f (4) − f (0)
Average velocity =
4−0
64 − 0
=⇒ = 16 m/s
4
(b) Find c in (0, 4) such that
f (b) − f (a)
f 0 (c) =
b−a
Now, f 0 (t) = 8t. Thus 8c = 16 =⇒ c = 2.
(c) Since f 0 (t) measures the instantaneous velocity of the maglev at any
time t, the MVT tells us that at t = 2 s (between t = 0 and t = 4),
the maglev must attain an intantaneous velocity equal to the average
velocity over [0, 4].
Example 6. Let
n x2 , if x < 1
f (x) = (2.1)
2 − x, if x ≥ 1
13 J.K.A
Math 223 : Calculus II J.K.A
Solution.
n 2x, x<1
0
f (x) = (2.2)
−1, x≥1
Figure 2.4(b) shows the graph of f 0 (x). We note f does not satisfy the
hypothesis of the MVT since f 0 (x) does not exist at x = 1 which lies in [0, 2].
Example 7. Suppose that f (0) = −3 and f 0 (x) ≤ 5 for all values of x. The
inequality gives a restriction on the rate of growth of f , which then imposes
a restriction on the possible values of f . Use the MVT to determine how
large f (4) can possibly be.
Solution. Since we are given f 0 (x) ≤ 5, the function is differentiable and
therefore continuous on [0, 4].
f (b) − f (a)
f 0 (c) =
b−a
f (4) − f (0)
=⇒ f 0 (c) =
4−0
f (4) + 3
=⇒ f 0 (c) =
4
Since f 0 (x) ≤ 5, we have
f (4) + 3
≤5
4
=⇒ f (4) ≤ 17.
So the answer is 17.
14 J.K.A
Math 223 : Calculus II J.K.A
f (x2 ) − f (x1 )
f 0 (c) =
x2 − x1
=⇒ f (x2 ) − f (x1 ) = f 0 (c)(x2 − x1 )
But f 0 (x) = 0 for all x in (a, b).
=⇒ f 0 (c) = 0
15 J.K.A
Math 223 : Calculus II J.K.A
=⇒ f (x2 ) − f (x1 ) = 0
=⇒ f (x2 ) = f (x1 ).
f (x) − g(x) = c
=⇒ f (x) = g(x) + c.
16 J.K.A
Math 223 : Calculus II J.K.A
Proof. (a) Let x1 and x2 be any two numbers in the interval with x1 < x2 .
Given that f 0 (x) > 0, we know f is differentiable in [x1 , x2 ]. So by the
MVT there is a number c between x1 and x2 such that
f (x2 ) − f (x1 )
f 0 (c) =
x2 − x1
17 J.K.A
Math 223 : Calculus II J.K.A
therefore
f (x2 ) − f (x1 ) > 0
=⇒ f (x2 ) > f (x1 )
Therefore f is increasing.
1) Find all values x for which f 0 (x) = 0 or f 0 (x) does not exist (the critical
values). Use the critical values to partition the domain of f into open
intervals.
2) In each interval, select a test value c and determine the sign of f 0 (c).
x2
(2) f (x) = .
x−1
(3) f (x) = x3 − 3x2 + 2.
18 J.K.A
Math 223 : Calculus II J.K.A
Table 2.1: The intervals of increase and decrease for f (x) = −x3 + 3x2 + 1.
Figure 2.7: Increasing (+) and decreasing (−) parts of the function.
x2
(2) f (x) = .
x−1
(x − 1)(2x) − x2 · 1
f 0 (x) =
(x − 1)2
2x2 − 2x − x2
=
(x − 1)2
x2 − 2x x(x − 2)
=⇒ f 0 (x) = =
(x − 1)2 (x − 1)2
We note that f 0 (x) does not exist at x = 1. Now,
f 0 (x) = 0 =⇒ x = 0, 2.
So the critical values are 0, 1 and 2. Table 2.2 shows the intervals of
x2
increase and decrease. Figure 2.8a shows the graph of f (x) = ,
x−1
19 J.K.A
Math 223 : Calculus II J.K.A
x2
Table 2.2: The intervals of increase and decrease forf (x) = .
x−1
x2
Figure 2.8: Plots of (a) f (x) = x−1
and (b) f (x) = x3 − 3x2 + 2.
(3) f (x) = x3 − 3x2 + 2. Try solving this before looking at the solution.
f 0 (x) = 3x2 − 6x
f 0 (x) = 3x(x − 2)
f 0 (x) = 0 =⇒ x = 0, 2
The intervals of increase and decrease are displayed in Table 2.3 The
graph of f (x) = x3 − 3x2 + 2 is displayed in Figure 2.8b, showing the
intervals where the function is increasing and decreasing.
20 J.K.A
Math 223 : Calculus II J.K.A
Table 2.3: The intervals of increase and decrease for f (x) = x3 − 3x2 + 2.
f (b) − f (a)
f 0 (c) =
b−a
where a = 0 and b = x.
f (x) − f (0)
=⇒ = − sin c
x−0
cos x − 1
=⇒ = − sin c
x
But sin c ≤ 1 =⇒ − sin c ≥ −1
cos x − 1
=⇒ ≥ −1
x
=⇒ cos x − 1 ≥ −x
∴ cos x ≥ 1 − x
π
(b) tan x > x for 0 < x < . Let f (x) = tan x on [0, x] where 0 < x < π2 .
2
By the MVT
f (b) − f (a)
f 0 (c) =
b−a
21 J.K.A
Math 223 : Calculus II J.K.A
where a = 0 and b = x.
f (x) − f (0) tan x
=⇒ f 0 (c) = =
x−0 x
tan x
=⇒ sec2 c = , x>0
x
Note that
1
sec x = .
cos x
1
Thus, cos x < 1 =⇒ >1
cos x
=⇒ sec x > 1 =⇒ sec2 c > 1
tan x
=⇒ >1
x
π
∴ tan x > x, for 0 < x < .
2
Example 11. Suppose that 1 ≤ f 0 (x) ≤ 4 for all x in [2, 5]. Show that
3 ≤ f (5) − f (2) ≤ 12
Solution. 1 ≤ f 0 (x) ≤ 4 for all x in [2, 5]. Since f 0 (x) is finite, f is differen-
tiable and continuous on the given interval. By the MVT
f (b) − f (a)
f 0 (c) = , [2, 5]
b−a
f (5) − f (2)
1≤ ≤4
3
∴ 3 ≤ f (5) − f (2) ≤ 12
22 J.K.A
Math 223 : Calculus II J.K.A
(c) Use mathematical induction to prove that for x ≥ 0 and any positive
integer n,
x2 xn
ex ≥ 1 + x + + ··· +
2! n!
Solution. (a) Let f (x) = ex − (1 + x) and show that f (x) ≥ 0. Now
f (0) = e0 − (1 + 0) = 1 − 1 = 0, and f 0 (x) = ex − 1. Note that if x > 0,
ex > 1 =⇒ f 0 (x) > 0. Since f 0 (x) > 0 for x > 0, it implies that f (x) is
increasing for x > 0.
=⇒ f (x) > 0
=⇒ ex − (1 + x) > 0
=⇒ ex > 1 + x.
Thus,
ex ≥ 1 + x.
(b)
1
ex ≥ 1 + x + x2 for x ≥ 0
2
1
Let g(x) = ex − 1 + x + x2 , and show that g(x) ≥ 0.
2
For x = 0 :
g(0) = e0 − (1 + 0 + 0) = 0 =⇒ g(x) = 0
1
=⇒ ex = 1 + x + x2 when x = 0
2
For x > 0 :
g 0 (x) = ex − (0 + 1 + x)
=⇒ g 0 (x) = ex − (1 + x) = f (x)
from solution to (a). Since f (x) > 0 for x > 0, g 0 (x) > 0 for x > 0.
This implies that g(x) is increasing, and so
23 J.K.A
Math 223 : Calculus II J.K.A
1
=⇒ ex > 1 + x + x2
2
Thus,
1
ex ≥ 1 + x + x2 for x ≥ 0
2
(c) Let Sn be a statement about the positive integer n. Let
x2 xn
x
Sn (x) = e − 1 + x + + ··· +
2! n!
x2 xk
x
Sk (x) = e − 1 + x + + ··· + ≥0
2! k!
x2 xk+1
x
Sk+1 (x) = e − 1 + x + + ··· +
2! (k + 1)!
24 J.K.A
Chapter 3
Inverse Functions
3.1 Introduction
Consider the arrow diagrams in Figure 3.1.
Figure 3.1: Arrow diagrams. (a) one-to-one function (b) A function, but not
one-to-one (c) Not a function.
25
Math 223 : Calculus II J.K.A
g(2) = g(4) = c
or if
f (x1 ) = f (x2 ) =⇒ x1 = x2 .
Figure 3.2: The horizontal line test shows that (a) y = x3 is a one-to-one
function (b) y = x2 is not a one-to-one function.
26 J.K.A
Math 223 : Calculus II J.K.A
f −1 (x) = y ⇐⇒ f (y) = x
Cancellation Equations
Let g(x) be the inverse of f . That is, g(x) = f −1 (x). Then
Example 14. Show that f (x) = x1/3 and g(x) = x3 are inverses of each
other.
27 J.K.A
Math 223 : Calculus II J.K.A
Solution. 1/3
f [g(x)] = f (x3 ) = x3 =x
3
g [f (x)] = g(x1/3 ) = x1/3 =x
This implies that f and g are inverses of each other. That is
f −1 (x) = g(x) and g −1 (x) = f (x).
The graphs of f (x) and g(x) are displayed in Figure 3.4. Note that the graph
of x3 is a reflection of the graph of x1/3 about the line y = x.
28 J.K.A
Math 223 : Calculus II J.K.A
f (y) = f [g(x)] = x
29 J.K.A
Math 223 : Calculus II J.K.A
Therefore, f is one-to-one.
Now suppose f is one-to-one. For x ∈ B, there exist y ∈ A such that
f (y) = x. There is only one such y since f is one-to-one. Let
y = g(x)
=⇒ y 2 (2x − 3) = 1 =⇒ 2y 2 x − 3y 2 = 1
1 + 3y 2
=⇒ x =
2y 2
1 + 3x2
∴ f −1 (x) =
2x2
30 J.K.A
Math 223 : Calculus II J.K.A
1 + 3x
(b) y =
5 − 2x
=⇒ 5y − 2yx = 1 + 3x
=⇒ 3x + 2yx = 5y − 1
=⇒ x(3 + 2y) = 5y − 1
5y − 1
=⇒ x =
3 + 2y
5x − 1
∴ f −1 (x) =
3 + 2x
(c) y = ln (x + 3)
=⇒ x + 3 = ey
=⇒ x = ey − 3
∴ f −1 (x) = ex − 3
31 J.K.A
Math 223 : Calculus II J.K.A
Example 17. Let g denote the inverse of the function f . Show that the
point (a, b) (shown below) lies on the graph of f . Find g 0 (b).
=⇒ f (2) = 2(2) + 1 = 5
f (0) = 0 + 0 + 0 − 1 = −1
f 0 (x) = 5x4 + 6x + 1
=⇒ f 0 (0) = 0 + 0 + 1 = 1
∴ g 0 (−1) = 1
Exercise. (1) Suppose f (x) = x2 for x ∈ [0, ∞), and let g be the inverse
of f .
1
(a) Compute g 0 (x) using g 0 (x) =
f 0 [g(x)]
(b) Find g 0 (x) by first computing g(x).
32 J.K.A
Math 223 : Calculus II J.K.A
(3) Find f −1 (a) for the function f and the real number a.
(a) f (x) = x3 + x − 1; a = −1
(b) f (x) = 2x5 + 3x3 + 2; a = 2.
33 J.K.A
Math 223 : Calculus II J.K.A
√
∴ f −1 (x) = g(x) = x
0
√0
f (x) = 2x =⇒ f [g(x)] = 2 x
1
=⇒ g 0 (x) = √
2 x
√
(b) From g(x) = x
1 1
=⇒ g 0 (x) = x−1/2 = √
2 2 x
(2)
1
g 0 (4) =
f 0 [g(4)]
f (2) = 4 =⇒ f −1 (4) = g(4) = 2. From the first equation, we get
1 1
g 0 (4) = =
f 0 (2) 3
34 J.K.A