5.1 Extrema and the Mean-Value Theorem 223
10. Sketch the graph of a function that is continuous on the
closed interval [2, 1] and has a global maximum and a global
minimum in the interior of the interval.
11. Sketch the graph of a function that is continuous on the open
interval (0, 1) and has a global maximum but does not have a
global minimum.
12. Sketch the graph of a function that is continuous on the
closed interval [0, 4], except at x = 2, and has neither a global
maximum nor a global minimum in its domain.
In Problems 1318, use a graphing calculator or spreadsheet to
plot the function and determine all local and global extrema.
13. f (x x) = 4 , x [ 1 , 4)
14. f (x) = 3x 5, x (2, 1)
15. f (x x) =
2
2, x [ 1 , 1]
16. f (x) = (x 2)
2
, x [0, 3]
17. f (x x) = x ln , x [1, 5]
18. f (x) = x
2
x, x [0, 1]
In Problems 1926, find c such that f
(c) = 0 and determine
whether f (x) has a local extremum at x = c.
19. f (x x) =
2
20. f (x) = (x 4)
2
21.
f (x) = x x e
2
22. f ( ) =
x
2
23. 24.
f (x x) =
3
f (x e) =
x
3
25. 26.f (x) = (x + 1)
2
f (x) = (x + 1)
3
27. Show that f (x) = |x x| has a local minimum at x = 0 but f ( )
is not differentiable at x = 0.
28. Show that f (x) = |x 1| has a local minimum at x = 1 but
f (x) is not differentiable at x = 1.
29. Show that f (x) = |x
2
4| has local maxima at x = 2 and
x = 2 but f (x) is not differentiable at x = 2 or x = 2.
30. Show that f (x) = |x
2
1| has local minima at x = 1 and
x = 1 but f (x) is not differentiable at x = 1 or x = 1.
31. Graph
f
(x) = (1 |x|)
2
, 1 x 2
and determine all local and global extrema on [1, 2].
32. Graph
f
(x x) = (| | 2)
3
, 3 x 3
and determine all local and global extrema on [3, 3].
33. Population Growth Suppose the size of a population at time t
is N(t) and its growth rate is given by the logistic growth model
dN
dt
= rN
1
N
K
, t 0
where r and K are positive constants.
(a)
Graph the growth rate of the population
dN
dt
as a function of
population size, N, assuming that r = 2 and K = 100, and find
the population size for which the growth rate is maximal.
(b) Show that whatever the value of the parameters N and ,K
f (N) = rN(1 N/K), N 0, is differentiable for N > 0, and
compute f
(N).
(c) If r = 2 and K = 100, show that f
(N) = 0 if N is equal
to the fastest growing population size, (you calculated the size in
part (a)).
34. Population Growth Suppose that the size of a population at
time t is N(t) and its growth rate is given by the logistic growth
model
dN
dt
= rN
1
N
K
, t 0
where r and K are positive constants. For a population whose size
changes with time, we can define a per capita reproductive rate
R
(N) by: R(N) =
1
N
dN
dt
(a) Show that
R
(N) = r
1
N
K
(b) Graph R(N) as a function of N for N 0 when 2 andr =
K = 100, and find the population size for which the reproductive
rate is maximal.
35. Suppose f (x) = x
3
, x [0, 1].
(a) Find the slope of the secant line connecting the points
(x y, ) = (0, 0) and (1, 1).
(b) Find a number c (0, 1) such that f
(c) is equal to the slope
of the secant line you computed in (a), and explain why such a
number must exist in (0 1).,
36. Suppose f (x) = e
x
, x [0, 1].
(a) Find the slope of the secant line connecting the points
(x y, ) = (0, 1) and (1, e).
(b) Find a number c (0, 1) such that f
(c) is equal to the slope
of the secant line you computed in (a), and explain why such a
number must exist in (0 1).,
37. Suppose that f (x) = x
2
, x [ 1 , 1].
(a) Find the slope of the secant line connecting the points
( (x y, ) = 1, 1) and (1, 1).
(b) Find a number c (1, 1) such that f
(c) is equal to the slope
of the secant line you computed in (a), and explain why such a
number must exist in (1, 1).
38. Suppose that f (x) = ln x, x [1, e].
(a) Find the slope of the secant line connecting the points
(x y, ) = (1, 0) and (e, 1).
(b) Find a number c (1, e) such that f
(c) is equal to the slope
of the secant line you computed in (a), and explain why such a
number must exist in (1, e).
39. Suppose that f (x) = x
2
+ 2. Explain why there exists a
point c in the interval (1, 2) such that f
(c) = 1.
40. Suppose that f (x) = x
3
. Explain why there exists a point inc
the interval (1, 1) such that f
(c) = 1.
41. Suppose that ). Explain why there exists af (x) = x(2 x
point c in the interval (0, 2) such that f
(c) = 0.
42. Suppose that f (x) = x
4
(5 x). Explain why there exists a
point c in the interval (0, 5) such that f
(c) = 0.
43. Suppose that f (x) = x
2
, x [a b, ].
(a) Compute the slope of the secant line through the points
( (a, f a)) and (b, f (b)).
224 Chapter 5 Applications of Differentiation
(b) Find the point ) such that the slope of the tangentc (a, b
line to the graph of (f at (c, f c)) is equal to the slope of the se-
cant line determined in (a). How do you know that such a point
exists? Show that c is the midpoint of the interval (a, b); that is,
show that c = ( )a + b /2.
44. Assume that f is continuous on [a, b] and differentiable on
( ( (a, b). Show that if f a) < f b), then f
is positive at some point
between a and .b
45. Assume that f is continuous on [a, b] and differentiable on
(a, b). Show that if f
(x) > 0 for all x (a, b), then f ( (a) < f b).
46. Assume that f is continuous on [0, 1] and differentiable on
(0, 1). Assume that f
(1/2) = 0, show by sketching the graph of
a function (f x) that satisfies all of these conditions (you do not
need to write down the equation of the function) that it is not
necessary that f (0) = f (1).
47. A car moves in a straight line. At time t (measured in sec-
onds), its position (measured in meters) is
s
(t) =
1
10
t
2
, 0 t 10
(a) Find its average velocity between t = 0 and t = 10.
(b) Find its instantaneous velocity for 10).t (0,
(c) At what time is the instantaneous velocity of the car equal to
its average velocity?
48. A car moves in a straight line. At time t (measured in sec-
onds), its position (measured in meters) is
s
(t) =
1
100
t
3
, 0 t 10
(a) Find its average velocity between t = 0 and t = 10.
(b) Find its instantaneous velocity for 10).t (0,
(c) At what time is the instantaneous velocity of the car equal to
its average velocity?
49. Prof. Roper drives to work in stop-and-go traffic. His speed
measured in miles per hour (mph) is given by the following func-
tion of time, t, measured in minutes
v(t) = 30 + 20 sin(t/ .5)
The total journey time is 1 hour. Explain using the MVT why the
total distance that he travels in this hour is somewhere between
10 and 50 miles.
50. Prof. Roper runs with his dog Molly. Their speed varies a lot
over the course of the run, following the graph shown in Fig-
ure 5.20. Their total run time is 90 minutes. Explain using the
y(t)
t
1
8
90
Figure 5.20 Speed of Prof. Roper
and Molly on their run (Problem
50). v(t) is measured in mph and t
is measured in minutes.
MVT why the total distance that Prof. Roper and Molly travel is
somewhere between 1.5 miles and 12 miles.
51. Denote the size of a population at time t by N(t), and assume
that N(0) = 50 and |dN/dt| 20 for all t [0, 5]. What can you
say about N(5)? [Hint: Remember also that it is impossible for
the number of organisms to become negative].
52. Denote the total biomass in a given area of soil at time byt
B B(t), and assume that (0) = 3 and 1 for all|dB/dt| t [0, 3].
What can you say about B(3)?
53. Suppose that f is differentiable for all x R and, further-
more, that f satisfies f (0) = 0 and 1 f
(x) 2 for all x > 0.
(a) Use Corollary 1 of the MVT to show that
x f (x ) 2x
for all x 0.
(b) Use your result in (a) to explain why f (1) cannot be equal
to 3.
(c) Find an upper and a lower bound for the value of f (1).
54. Suppose that f is differentiable for all x R with 3f (2) =
and f
(x) = 0 for all x R. Find f (x).
55. Suppose that f (x) = e
|x|
, x [ 2 , 2].
(a) Show that f (2) = f (2).
(b) Compute f
(x), where defined.
(c) Show that there is no number c ( 2 , 2) such that f
(c) = 0.
(d) Explain why your results in (a) and (c) do not contradict
Rolles theorem.
(e) Use a graphing calculator to sketch the graph of (f x).
56. Population Growth In Chapter 4 we learned that
f
(x) = e
rx
satisfies the differential equation
df
dx
= r f ( )x
with f (0) = 1. This exercise will show that ( ) is in fact the onlyf x
solution. Suppose that is a constant andr f is a differentiable
function satisfying
df
dx
= r f (x) (5.4)
for all x R, and f (0) = 1. The following steps will show that
f (x) = e
rx
, x R, is the only solution of (5.4).
(a) Define the function
F
(x) = f ( )x e
rx
, x R
Use the product rule to show that
F
(x) = e
rx
[ f
(x) r f (x)]
(b) Use (a) and (5.4) to show that F
(x) = 0 for all x R.
(c) Use Corollary 2 to show that F (x) is a constant and, hence,
F F(x) = (0) = 1.
(d) Show that (c) implies that
1
= f ( )x e
rx
,
and therefore,
f
(x) = e
rx
5.3 Extrema and Inection Points 241
EXAMPLE 4 Show that the function
f
(x) =
1
2
x
3
3
2
x
2
+ 2 1x + , x R
has an inflection point at x = 1.
Solution
The graph of f (x) is shown in Figure 5.46. We compute the first two derivatives:
f
(x) =
3
2
x
2
3 2x +
f
( 3x) = x 3 = 3( 1)x
Since
f
( (x) is positive for x > 1 and negative for x < 1, f
x) changes sign at x = 1.
We therefore conclude that f (x) has an inflection point at x = 1.
r
If a function
f is twice differentiable, it is concave up if f
> 0 and concave down
if
f
< 0. At an inflection point, f
must therefore change sign; that is, the second
derivative must be 0 at an inflection point. More formally,
Second derivative test for inflection points. If f (x) is twice differentiable and has
an inflection point at
x = c, then f
(c) = 0.
In
flection
p
oin
t
(1, 2)
y 5 f( )x
8
y
432121 x
24
6
4
2
22
Figure 5.46 The function
f
(x) =
1
2
x
3
3
2
x
2
+ +2x 1 has an
inflection point at x = 1.
f 0(0) 5 0
22 2
y
x
21 10
Concave
up
8
6
4
2
7
5
3
1
f(x) 5 x
4
Figure 5.47 If f ( thenx) = x
4
f
(0) = 0 but x = 0 is not an
inflection point.
Note that
f
(c) = 0 is a necessary, but not sufficient, condition for the existence of
an inflection point of a twice-differentiable function. It is similar to Fermats Theorem
(from Section 5.1) for finding candidate local extremum points. The second derivative
test can only be used to find candidate inflection points; to determine whether a candi-
date is an inflection point, we must check whether the second derivative changes sign.
For instance,
f (x) = x
4
has f
(0) (= 0, but the function f x) = x
4
is concave up (see
Figure 5.47), so there is no inflection point at x = 0.
Section 5.3 Problems
5.3.1
Find the local maxima and minima of each of the functions in
Problems 117. Determine whether each function has local max-
ima and minima and find their coordinates. For each funct ion,
find the intervals on which it is increasing and the intervals on
which it is decreasing.
1.
y = (x 1)
2
, 2 x 3 2. y =
x + 1, 1 x 2
3.
y =
(2x 1), 1/2 x 2 4. y = ln
x
x
+1
, x > 0
5. y = xe
x
, 0 x 1 6. y = |x
2
25| , 5 x 8
7. y = x
3
3x
2
+ 3x + 3, x R 8. y x= x
3
3x + 1, R
9.
y = e
x
2
, 1 x 1 10. y x= cos(π x
2
), 1 1
242 Chapter 5 Applications of Differentiation
11. R 12.y x= e
|x|
, y x= sin 2π x, 0 1
13.
y =
1
3
x
3
+
1
2
x
2
+ 2, x R
14.
y =
1
3
x
3
x
2
+ +x 1, x R
15. y = x
2
(1 x), x R
16.
y = (x 1)
1/3
, x 1 17. y x=
1 + x
2
, R
18. [This problem illustrates the fact that f
(c) = 0 is not a suffi-
cient condition for the existence of a local extremum of a differ-
entiable function.] Show that the function (f x) = x
3
has a hor-
izontal tangent at 0; that is, show thatx = f
(0) = 0, but ( )f
x
does not change sign at 0 and, hence, (x = f x) does not have a
local extremum at x = 0.
19. Explain the first-derivative criterion for local extrema lo-
cated at the right endpoint of the domain of a function. That is, if
f (x) is defined on a domain [a, b], and is differentiable on some
interval containing x = b, show that x = b is a local maximum
point if f
(b) > 0 and a local minimum point if (f
b) < 0.
20. Suppose that f (x) is differentiable on (R, with f x) > 0 for
x x R. Show that if f (x) has a local maximum at = c, then
g(x) = ln (f x) also has a local maximum at .x = c
21. Suppose that f (x) is differentiable on ( )R. Show that if f x
has a local maximum at x = c, then g(x) = e
f (x)
also has a local
maximum at .x = c
5.3.2
In Problems 2227, determine all inflection points.
22. f (x) = x
3
2, x R 23. f ( (x) = x 3)
5
, x R
24.
f (x) = e
x
2
, x 0 25. f (x) = xe
x
, x 0
26.
f (x) =
x
x
+1
, x 0 27. f (x) =
x
2
x
2
+1
28.
f (x) = tan x,
π
2
< x <
π
2
29. f (x) = x ln x, x > 0
30. [This problem illustrates the fact that f
(c) = 0 is not a suf-
ficient condition for an inflection point of a twice-differentiable
function.] Show that the function f (x) = x
4
has f
(0) = 0 but
that f
(x) does not change sign at 0 and, hence, ( ) doesx = f x
not have an inflection point at x = 0.
31. Logistic Equation Suppose that the size of a population at
time t is denoted by N(t) and satisf ies
N
(t) =
100
1
+ 3e
2t
for t 0.
(a) Show that N(0) = 25.
(b) Show that N(t) is strictly increasing.
(c) Show that
lim
t
N(t) = 100
(d) Show that N( (t) has an inflection point when N t) = 50that
is, when the size of the population is at half its maximum value.
32. Hills Function for Hemoglobin Binding Hills equation for the
oxygen saturation of blood states that the level of oxygen satura-
tion (fraction of hemoglobin molecules that are bound to oxygen)
in blood can be represented by a function:
f
(P) =
P
n
P
n
+ 30
n
where P is the oxygen concentration around the blood (P 0)
and n is a parameter that varies between different species.
(a) Assume that n = 1. Show that (f P) is an increasing function
of P and that (f P) 1 as P .
(b) Assuming that 1 show thatn = f (P) has no inflection points.
Is it concave up or concave down everywhere?
(c) Knowing that (f P ) has no inflection points, could you deduce
which way the curve bends (whether it is concave up or concave
down) without calculating f
(P)?
(d) For most mammals n is close to 3. Assuming that n = 3 show
that (f P) is an increasing function of and that (P f P) 1 as
P .
(e) Assuming that 3, show thatn = f (P) has an inflection point,
and that it goes from concave up to concave down at this inflec-
tion point.
(f) Using a graphing calculator plot (f P) for n = 1 and n = 3.
How do the two curves look different?
33. Drug Absorption A two-compartment model of how drugs are
absorbed into the body predicts that the amount of drug in the
blood will vary with time according to the following function:
M
(t) = a(e
kt
e
3kt
), t 0
where a > 0 and k > 0 are parameters that vary depending on
the patient and the type of drug being administered. For parts
(a)(c) of this question you should assume that a = 1.
(a) Show that M(t) 0 as t .
(b) Show that the function M(t) has a single local maximum, and
find the maximum concentration of drug in the patients blood.
(c) Show that the M(t) has a single inflection point (which you
should find). Does the function go from concave up to concave
down at this inflection point or vice versa?
(d) Would any of your answers to (a)(c) be changed if a were
not equal to 1. Which answers?
5.4 Optimization
In Sections 5.1 and 5.3 we showed how calculus can be used to find the extrema of
functions. Calculating extrema is often useful: For example if the function represents
how the crop yield in a field depends on the amount of fertilizer that is added, then
the global maximum of the function tells us how much fertilizer needs to be added to
maximize yields. These kinds of problems are called optimization problems: by maxi-
mizing the yield function we find the optimal amount of fertilizer to add. Optimization
can be used to design experiments of treatments, for example, by predicting the opti-
mal amount of drug to give to a patient. Optimization can also be used to understand
5.5 LHˆ
opitals Rule 253
(d) Show that when x = ˆ
x, the right-hand side of Equation (5.18)
can be simplified so that:
d
2
w
dx
2
x=ˆ
x
= R
f
(ˆ
x)
ˆ
x
So for any function f (x) that is concave down at ˆ
x, w
(ˆ
x) < 0,
which means that w(x) has a local maximum at ˆ
x.
28. Murrays Law for Plants This problem is based on McCulloh et
al. (2003). The plant xylem is a transport network within plants
that forms a network like the blood vessels of animals. The xylem
transports water from the roots, up the plant stem to its leaves.
Unlike blood vessels, in some plants the xylem vessels are not
single tubes, but are made up of bundles of smaller tubes. Larger
xylem vessels contain more tubes, smaller vessels contain fewer
tubes. Because vessels are made of smaller tubes, the way that
transport costs depend on vessel radius is different for the xylem
than for the blood vessels of an animal. Specifically, it can be
shown that the cost of transporting water at a flow rate f (mea-
sured in milliliters/s) in a xylem vessel of radius r and length
(both measured in cm) is given by the function
T
(r) = 0.071
f
2
r
2
T
r
2
where r
T
is the radius of one of the tubes within the xylem vessel
(you may assume that r
T
= 5 × 10
2
cm).
(a) Assume that the cost of building the xylem vessel is still pro-
portional to its volume:
M
(r) = bπ r
2
where b is the metabolic cost of building and maintaining 1 cm
3
of xylem vessel. If the plant controls xylem vessel radius to min-
imize the total cost ), derive a formula relating xylemT( (r) + M r
radius r to flow rate f . Your formula will include b as an unknown
coefficient.
(b) If a xylem vessel of radius R branches into two smaller ves-
sels of radii r
1
and , and all vessels minimize the total cost ofr
2
transport and maintenance, show that the xylem vessel radii are
related by Murrays law for plants:
R
2
= r
2
1
+ r
2
2
29. Evaluating Different Maintenance Cost Functions in Murrays
Law When we derived Murrays law in Examples 4 and 5, we as-
sumed that the cost of building and maintaining a blood vessel
is proportional to the volume of the vessel (that is, we defined a
quantity b, to be the cost of building and maintaining 1 cm
3
of
blood vessel). But this is not the only possibility. Another possi-
bility is that the cost of building a vessel will be proportional to
its surface area, and not to its volume. The idea here is that a wall
needs to be built around the vessel, and the cost of building the
vessel wall is much higher than the cost of filling it with blood.
Under this assumption, the cost of building and maintaining a
vessel of radius r and length is:
M(r) = 2πcr
where c is the cost of maintaining a 1 cm
2
area of vessel wall.
(Hint: 2πr is the surface area, not including end-caps for a cylin-
der of length and radius r.)
(a) Using the same function for the cost of transport within the
vessel as was given in Example 4:
T
(r) = 0.071
f
2
r
4
and assuming that the organism controls vessel radius to min-
imize the total cost of transport and maintenance T ( (r) + M r),
derive a formula relating blood vessel radius . Yourr to flow rate f
formula will include c as an unknown coefficient.
(b) If a blood vessel of radius R branches into two smaller ves-
sels of radii r
1
and r
2
, and all vessels minimize the total cost of
transport and maintenance, show that the blood vessel radii are
related by a modified form of Murrays law:
R
5/2
= r
5 2/
1
+ r
5 2/
2
5.5 LHˆ
opitals Rule
LH ˆ
opitals rule gives us a way to calculate the limits of fractions in which both the
numerator and the denominator tend to 0. (lH ˆ
opital is pronounced lop-it-al.) The rule
also works when both the numerator and the denominator tend to infinity. Sometimes
we can use algebraic or trigonometric manipulations to find the limitfor instance:
lim
x3
x
2
9
x
3
= lim
x
3
(x + 3) = 6 Factorize x
2
9 = ( 3)(x + x 3) and cancel (x 3)
lim
x
x
1
+ x
= lim
x
1
1
x
+ 1
= 1 Divide numerator and denominator by x
Using algebraic manipulations, however, is not always possible, as in the following
example:
lim
x0
e
x
1
x
(5.19)
Here, both numerator and denominator tend to 0 as x 0 (see Figure 5.58.). There
is no way of algebraically simplifying the ratio. Instead, we linearize both numerator
f(x) 5 e
x
2 1
g x x( ) 5
y
x
1
2
21
1 22122
Figure 5.58 Both the numerator and
denominator in Equation (5.19) go
to 0 as x 0.
and denominator. Recall from Section 4.11 that the linear approximation of a function
f (x) at x = a is defined as
f f
(x) (a) + f
( )a)(x a
254 Chapter 5 Applications of Differentiation
If
f ( (x) = e
x
1, then f
x) = e
x
, and so f (0) (0)= 0 and f
= 1. That is, the linear
approximation of the numerator at x = 0 is
f (x) 0 + (1)(x 0) = x
The denominator is already a linear function, namely, g(x) = x. So when we linearize
both numerator and denominator functions we get
e
x
1
x
x
x
= 1. So based on the
linearization, we predict that the limiting value of
e
x
1
x
as x 0 is 1. This value is
supported by a graph of the function (Figure 5.59).
y
x
1
2
21
1 22122
e
x
2 1
x
f(x) 5
Figure 5.59
Plotting f (x) =
e
x
1
x
shows that the function tends to 1 as
x 0.
y
x
Tangent line
slope g9(a)
Tangent line
slope f9(a)
y x 5 f( )
y
5
g
(
x
)
a
Figure 5.60 Illustration of
lH ˆ
opitals rule applied to two
functions that vanish at x = a.
To see clearly what we have just done, we look at the general case
lim
x a
f ( )x
g( )x
and assume that both
lim
x
a
f (x) = 0 and lim
x
a
g( 0x) =
(See Figure 5.60.) Using a linear approximation as before, we find that, for x close
to a,
f ( )x
g
(x)
f (a) + f
( )a)(x a
g
(a) + g
(a)(x a)
Since f (a) = g(a) = 0 and x = a, the right-hand side is equal to
f
( )a)(x a
g
(a)(x a)
=
f
( )a
g
( )a
provided that
f
( )a
g
(a)
is defined. This calculation is one case of lH ˆ
opitals rule, which
allows the limit of
f ( )x
g
(x)
to be calculated from
f
( )x
g
(x)
. We will only state the rule here; its
proof is beyond the scope of this book.
LH ˆ
opitals Rule Suppose that f and g are differentiable functions and that
lim
x
a
f (x) = lim
x
a
g( 0x) =
or
lim
x
a
f (x) = lim
x
a
g(x) =
Then
lim
x a
f ( )x
g
(x)
= lim
x a
f
( )x
g
( )x
provided this limit exists.
LH ˆ
opitals rule works for a = + or as well, and it also applies to one-sided
limits. Using lH ˆ
opitals rule, we can redo the three examples we just presented. In
each case, the ratio
f ( )a
g
(a)
is an indeterminate expression: either it is
0
0
or
. We apply
lH ˆ
opitals rule in each case: We differentiate both numerator and denominator and
then take the limit of
f
( )x
g
(x)
as x a. LH ˆ
opitals rule then gives
lim
x3
x
2
9
x
3
= lim
x3
2x
1
= 6
lim
x
x
1
+ x
= lim
x
1
1
= 1
lim
x0
e
x
1
x
= lim
x0
e
x
1
= 1
5.5 LHˆ
opitals Rule 255
In fact LH ˆ
opitals rule can be applied to calculate the true limits for seven kinds
of indeterminate expressions:
0
0
,
, 0 · , , 0
0
, 1
, or
0
.
We present examples for each kind of limit. Sometimes (see Example 3) lH ˆ
opitals
rule needs to be applied more than once to calculate a particular limit.
EXAMPLE 1 0/0 Evaluate lim
x2
x
6
64
x
2
4
.
Solution
This limit is of the form
0
0
, since 2
6
64 = 0 and 2
2
4 = 0. Applying lH ˆ
opitals rule
yields
lim
x2
x
6
64
x
2
4
= lim
x2
6
x
5
2
x
=
6 × 2
5
2
× 2
= (6)(2
3
) = 48.
r
EXAMPLE 2 0/0 Evaluate lim
x0
1
cos
2
x
sin
x
.
Solution
This limit is of the form
0
0
, since 1 cos
2
0 = =0 and sin 0 0. Applying lH ˆ
opitals rule
yields
lim
x0
1
cos
2
x
sin
x
= lim
x0
2 cos x sin x
cos
x
= lim
x
0
(2 sin x) = 0.
In fact this is another limit that can be calculated without lH ˆ
opitals rule, since
1
cos
2
x = sin
2
x, so
1cos
2
x
sin
x
= sin x.
r
EXAMPLE 3 0/0 Evaluate lim
x0
1 cos x
x
2
.
Solution
As this example shows we may need to apply lHˆ
opitals rule more than once to find a
particular limit. In this example, the limit is of the form
0
0
since 1cos 0 = 0 and 0
2
= 0.
Applying lH ˆ
opitals rule yields lim
x0
1cos x
x
2
= lim
x0
sin x
2
x
which is still of the form
0
0
.
You may remember from Section 3.4 that lim
x0
sin x
x
= 1. However, even if we do not
remember this result we may rederive if by applying lHˆ
opitals rule again. Differen-
tiating the numerator and denominator one more time we obtain:
lim
x0
1 cos x
x
2
= lim
x0
sin x
2
x
= lim
x0
cos x
2
=
1
2
.
r
EXAMPLE 4 / Evaluate lim
x
ln x
x
.
Solution
This limit is of the form
. We can again apply lH ˆ
opitals rule:
lim
x
ln x
x
= lim
x
1
x
1
= lim
x
1
x
= 0
r
EXAMPLE 5 / Evaluate lim
x
x
3
3x + 1
3 2
x
3
x
2
.
Solution
This limit that we previously encountered in Section 3.3 is of the form
and can be
calculated by applying lHˆ
opitals rule:
lim
x
x
3
3x + 1
3 2
x
3
x
2
= lim
x
3 3
x
2
9 4x
2
x
which is still of the form
so we apply lHˆ
opitals rule to the new ratio, to obtain:
lim
x
3 3
x
2
9 4
x
2
x
= lim
x
6x
18x 4
256 Chapter 5 Applications of Differentiation
Since this is still of the form
, we can apply lH ˆ
opitals rule yet again. We now find
that
lim
x
6x
18
x 4
= lim
x
6
18
=
1
3
In fact we could have found the answer without using lH ˆ
opitals rule by following the
rules in Section 3.3. Divide both numerator and denominator by
x
3
to obtain:
lim
x
x
3
3x + 1
3 2
x
3
x
2
= lim
x
x
2
+
1
x
3
)
(3
2
x
)
=
1
3
,
because terms
3
x
2
,
1
x
3
, etc., all 0.
r
EXAMPLE 6 / Evaluate lim
x
e
x
x
.
Solution
This limit is of the form
. The example will show that lH ˆ
opitals rule has no problems
detecting when a limit is infinite.
lim
x
e
x
x
= lim
x
e
x
1
= (limit does not exist)
r
0 · LH ˆ
opitals rule can sometimes be applied to limits of the form
lim
x
a
f ( )x g( )x
where
lim
x
a
f (x) = 0 and lim
x
a
g(x) = .
To apply lH ˆ
opitals rule to these limits write them in one of the two forms:
lim
x
a
f ( )x g(x) = lim
x a
f ( )x
1
g
(x)
= lim
x a
g( )x
1
f ( )x
.
In the first case, the ratio is
0
0
, while in the second case the ratio is
. Usually only
one of the two methods for rewriting the expression actually makes the limit easier to
evaluate, as the following example shows:
EXAMPLE 7 0 · Evaluate lim .
x0
+
x ln x
Solution
This is a one-sided limit, but lHˆ
opitals rule still applies. ln 0x is not defined for x
so we must approach x = 0 from the right. The limit is of the form (0)( ). We apply
lH ˆ
opitals rule after rewriting it in the form
:
lim
x
0
+
x ln limx =
x
0
+
ln x
1
x
= lim
x
0
+
1
x
1
x
2
= lim
x
0
+
1
x
x
2
1
= lim
x
0
+
( 0x) =
If we had written the limit in the form
lim
x
0
+
x
1
ln x
and then applied lHˆ
opitals rule, we would have obtained
lim
x
0
+
x
1
ln
x
= lim
x
0
+
1
(
1)(ln x)
2
1
x
= lim
x
0
+
x x(ln )
2
which is more complicated than the initial expression. In general you may need to try
both ways of rewriting expressions of the form 0 · to find an expression you can
evaluate.
r
5.5 LHˆ
opitals Rule 257
EXAMPLE 8
0 · Evaluate lim
x
xe
x
2
/2
.
Solution
This limit is of the form 0 · . We have two choices. We can rewrite the limit as
lim
x
xe
x
2
/2
= lim
x
x
e
x
2
/2
= lim
x
1
xe
x
2
/2
= 0
applying lH ˆ
opitals rule at the second step. Or we could have written:
lim
x
xe
x
2
/2
= lim
x
e
x
2
/2
1
x
= lim
x
xe
x
2
/2
1
x
2
In the second case applying lH ˆ
opitals rule produces a more complicated limit than
the one we were initially given to calculate.
r
Suppose we want to calculate:
lim
x
a
( f (x) g(x))
where f (a) = and g(a) = , so that our limit looks like . LH
ˆ
opitals rule
can sometimes be applied in this case if we factorize the expression either as:
lim
x
a
f (x)
1
g( )x
f
(x)
or lim
x
a
g(x)
f ( )x
g
(x)
1
(5.20)
If the limit is then of the form ·0 it can then be evaluated using lH ˆ
opitals rule. Just
as in the previous case, you may need to try both ways of rewriting f (x) g(x) to find
one to which lHˆ
opitals rule may be more readily applied.
EXAMPLE 9 Evaluate
lim
x
(x
x
2
+ x).
Solution
This limit is of the form . We can write the limit as the difference between two
functions
f (x) = x, g(x) =
x
2
+ x x. Since f ( ) is the simpler function, we factor it out
to get
lim
x
(x
x
2
+ x) = lim
x
x
1
1 +
1
x
This is of the form 0. We can transform it to the form
·
0
0
and then apply lH ˆ
opitals
rule:
lim
x
x
1
1 +
1
x
= lim
x
1
1 +
1
x
1
x
= lim
x
1
2
(1 +
1
x
)
1/2
(
1
x
2
)
1
x
2
Apply chain rule with u = 1 +
1
x
= lim
x
1
2
1 +
1
x
=
1
2
r
When trying to calculate limits of the form remember to check that the
factorized expression (5.20) actually is of the form 0 · before applying lH ˆ
opitals
rule. As the next example shows, it is not guaranteed that the factorized expression
will be of this form.
258 Chapter 5 Applications of Differentiation
EXAMPLE 10 Evaluate lim
x+
( )x ln x .
Solution
Our limit takes the form of the difference between the functions f (x) = x and g(x) =
ln x. Since x is the simpler function we factorize it out to obtain:
lim
x
+
(x ln x) = lim
x
+
x
1
ln x
x
The first factor has limit . However, the limit of the second factor is actually 1, since:
lim
x
+
1
ln x
x
= 1 lim
x+
ln x
x
= =1 0 1 lim
x
ln x
x
= 0, from Example 4
So the product of the two factors has a limit of the form ·1. The limit is therefore
or undefined.
0
0
, 1
,
0
Suppose we want to evaluate
lim
x
a
[ f (x)]
g( )x
when ( f ( )a , g(a)) = (0, 0), (1 ), or (, , 0). The key to solving such limits is to rewrite
them as exponentials:
lim
x
a
[ f (x)]
g(x)
= lim
x
a
exp
ln [ f (x)]
g(x)
= lim
x
a
exp [g( (x) · ln f x)]
=
exp
lim
x
a
(g( (x) · ln f x))
The last step, in which we interchanged lim and exp, uses the fact that the exponential
function is continuous. Rewriting the limit in this way transforms
0
0
into exp [ ]0 · ()
0
into exp [0 ·
]
1
into exp [ [ ] · ln 1] = exp · 0
Since we know how to deal with limits of the form 0 · , we are in good shape again.
EXAMPLE 11
0
0
Evaluate lim
x0
+
x
x
.
Solution
This limit is of the form 0
0
; we rewrite the limit first:
lim
x
0
+
x
x
= lim
x
0
+
exp[ln x
x
] = lim
x
0
+
exp[x ln x]
=
exp
lim
x
0
+
(x ln x)
In Example 7 we showed lim
x0
+
(x ln x) = 0. Hence,
lim
x
0
+
x
x
= exp
lim
x
0
+
(x ln x) 1
= exp[0] =
(See Figure 5.61.)
r
x
y
0
0 2
1
3
2
1
y 5 x
x
Figure 5.61 The function y = x
x
converges to 1 as x 0.
EXAMPLE 12 1
Evaluate lim
x0
(1 + x) .
1/x
Solution
Since lim
x0
(1 + x) = 1 and lim
x0
1
x
= , this limit is of the form 1
. We rewrite
it as
lim
x
0
(1 + x)
1/x
= lim
x
0
exp
1
x
ln(1 + x)
= exp
lim
x
0
1
x
ln(1 + x)
5.5 LHˆ
opitals Rule 259
The exponentiated function is of the form ·0 (since ln 1 0). We evaluate the limit=
of this function by writing it in the form
0
0
and then applying lH ˆ
opitals rule:
lim
x
0
ln(1 + x)
x
= lim
x
0
1
1+x
1
= 1.
Therefore, lim
x0
(1 + x)
1/x
= exp(1) = e.
r
Section 5.5 Problems
Find the limits in Problems 160; not all limits require use of
lH ˆ
opitals rul e.
1. lim
x5
x
2
25
x
5
2. lim
x2
x 2
x
2
4
3. lim
x2
3 5 2x
2
+ x
x
+ 2
4. lim
x1
x + 1
x
2
2x 3
5. lim
x0
3
2x + 9
2
x
6. lim
x0
2 2x + 4
x
7. lim
x
0
x
2
ln limx 8.
x
ln x
x
2
9. lim
x
ln limx
x 10.
x
x x
+ 3
11. lim
x
0
+
x
ln(
x + 1)
12. lim
x
ln x
x
13. lim
x
ln(ln x)
x
14. lim
x
ln(ln x)
ln x
15. lim
x0
5 1
x
7
x
1
16. lim
x0
2 1
x
3 1
x
17. lim
x0
3 1
x
2
x
1
18. lim
x0
2 1
x
5 1
x
19. lim
x
e x
x
1
e x
x
2
20. lim
x0
e
x
1
3
e
2x
x
21. lim
x
(ln x)
2
x
2
22. lim
x
x
7
e
x
23. lim
x0
sin x
x
24. lim
x0
sin x
x
2
25. lim
x
xe
x
26. lim
x
x
2
e
x
27. lim
x
x
5
e
x
28. lim
x
x
n
e
x
, n N
29. lim
x
0
+
x ln limx 30.
x
0
+
x
α
ln x, α > 0 is any
positive constant
31. lim
x+
ln x
x
1/2
32. lim
x+
ln x
x
α
, α > 0 is any
positive constant
33. lim
x
+
e
x
x
3
34. lim
x
+
(e
x
x
n
), n N
35. lim
x
x sin
1
x
36. lim
x
x
2
sin
1
x
2
37. lim
x
0
+
(e
x
1
x
) 38. lim
x
(x
x
2
+ 1)
39. lim
x
0
+
1
sin
x
1
x
40. lim
x0
x
2
+ x x
4
x
41. lim
x
0
+
x
2x
42. lim
x
0
+
x
x
2
43. lim
x
x
1/x
44. lim
x
(1 + e
x
)
1/x
45. lim
x
1 +
3
x
x
46. lim
x
1 +
5
x
x
47. lim
x
1
2
x
x
48. lim
x
1 +
3
x
2
x
49. lim
x
x
1
+ x
x
50. lim
x
(1 + x)
1/x
51. lim
x
0
xe
x
52. lim
x
0
+
e
x
x
53. lim
x
1
(ln(1 x)
1
x
1
) 54. lim
x
(π/2)
sin x
cos x
55. lim
x1
x
2
1
x
+ 1
56. lim
x0
1 cos x
x
57. lim
x
xe
x
58. lim
x
0
+
1
x
1
x
59. lim
x+
x + 1
x
60. lim
x
x + 1
x
+ 2
x
61. Use lH ˆ
opitals rule to find
lim
x0
a
x
1
b
x
1
where 0.a, b >
62. Use lH ˆ
opitals rule to find
lim
x
1 +
c
x
x
where c is a constant.
63. For p > 0, determine the values of p for which the following
limit is either 1 or : or a constant that is neither 1 nor
lim
x
1 +
1
x
p
x
64. Cell Division Time The Gamma distribution is used as a model
for the amount of time taken for a cell to undergo a certain
number of divisions. According to the Gamma distribution the
likelihood that it takes t hours for the cell to complete all of its
divisions is proportional to:
f
(t) = t
p
e
t
where p > 1 is a constant that depends on the number of
cells that are dividing, and on the conditions that the cells are
growing in.
260 Chapter 5 Applications of Differentiation
(a) Show that for all values of p, f (t) 0 as t .
(b) For what values of p does f (t) converge to a finite value as
t 0?
65. Lifespan Modeling The Weibull distribution is used to model
the lifespan of organisms. According to the Weibull distribution,
the likelihood that an animal dies at the age of t is proportional
to:
f
(t) = t
k1
exp
t
k
, t 0
where k > 0 is a constant that depends on the type of organism
being studied, and on the environment that it is living in.
(a) Show that for all values of k, f (t) 0 as t .
(b) For what values of k does f (t) converge to a finite value as
t 0?
66. Show that
lim
x
ln x
x
p
= 0
for any number p > 0. This shows that the logarithmic function
grows more slowly than any positive power of x as x .
67. Species Diversity Chapter 3 introduced the Shannon diversity
index for the diversity of a habitat. If a population contains two
different species of animals, and they are present in the propor-
tions p and 1 p respectively, then the Shannon diversity index
for the population is given by the formula:
H(p) = p ln p (1 p) ln(1 p) , 0 < p < 1
(a) Show that if H(0) = 0 and H(1) = 0, then the function )H(p
is continuous at p = 0 and p = 1. (Hint: This is equivalent to
showing that lim
p0+
H(p) )= 0 and lim
p1
H(p = 0.)
(b) Show that the global maximum diversity over the interval
0 p 1 occurs when p = 1/2.
68. The height in feet of a tree as a function of the trees agey x
in years is given by
y
= 121e
17/x
for x > 0
(a) Determine (1) the rate of growth when x 0
+
and (2) the
limit of the height as x .
(b) Find the age at which the growth rate is maximal.
(c) Show that the height of the tree is an increasing function of
age. At what age is the height increasing at an accelerating rate
and at what age at a decelerating rate?
5.6 Graphing and Asymptotes
Calculus tools can be used to draw the graph of a function. Being able to graph a
function may feel like a redundant skill since graphing calculators or spreadsheets can
be used to plot any function. But there are many cases where the function that we
are interested in has one (or more) unknown constants. For example, some insects
(e.g., locusts and cicadas) undergo explosive population growth and then decay. One
possible mathematical model for the population growth and decay is
N
(t) = Mt
2
e
mt
where M and m are positive constants. We may not initially know what the values
of M and m are. They will typically depend on the species that you are modeling.
However, even if you do not know what the values of M and m are, you may wish to
know whether the model qualitatively describes the scenario that we have described
of a population that rapidly grows and then decays. One way to do this is to plot the
function N(t) for a particular choice of values of , using either a spreadsheetM and m
or a graphics calculator. We show such a plot in Figure 5.62, using parameters M = 100
and 1.m = 0.
0 10060 804020
10,000
8000
6000
4000
2000
t
y
y e 5 100t
2 20.1t
12,000
0
Figure 5.62 Population growth
predicted by the model N(t) =
Mt
2
e
mt
with M = 100 and m = 0.1.
The population appears to grow, reach a maximum, and then decay. But is this
behavior a feature of the model only for this particular choice of coefficients? And
how do the features of the graph, including the maximum population size and the
time taken for the population to grow to its maximum size, depend quantitatively on
M and m?
We can make observations about the effect of changing these coefficients upon the
way that the population grows and decays by making plots for a few different values of
M and m. We see in Figure 5.63 that if 200, the maximumM is increased, say to M =
population increases but the time that the population takes to reach its maximum size
remains the same.
0 10060 804020
10,000
8000
6000
4000
2000
t
y
M 5 200
M 5 100
12,000
0
Figure 5.63 Comparing the
population growth predicted by the
model N(t) = Mt
2
e
mt
for M = 200
with 0M = 100. m = .1 for both
curves.
On the other hand, if is increased butm M remains the same, then the population
reaches its maximum size more quickly, and starts to decay earlier. The maximum
population size also decreases (see Figure 5.64).
But we dont know from making these plots whether these observations are al-
ways true. For example, does increasing m always decrease the maximum population

Preview text:

5.1 Extrema and the Mean-Value Theorem 223
10. Sketch the graph of a function that is continuous on the
(c) If r = 2 and K = 100, show that f (N) = 0 if N is equal
closed interval [−2, 1] and has a global maximum and a global
to the fastest growing population size, (you calculated the size in
minimum in the interior of the interval. part (a)).
11. Sketch the graph of a function that is continuous on the open
34. Population Growth Suppose that the size of a population at
interval (0, 1) and has a global maximum but does not have a
time t is N(t) and its growth rate is given by the logistic growth global minimum. model  
12. Sketch the graph of a function that is continuous on the dN N = rN 1 − , t ≥ 0
closed interval [0, 4], except at x = 2, and has neither a global dt K
maximum nor a global minimum in its domain.
where r and K are positive constants. For a population whose size
changes with time, we can define a per capita reproductive rate 5.1.2
R(N) by: R(N) = 1 dN N dt
In Problems 13–18, use a graphing calculator or spreadsheet to (a) Show that
plot the function and determine all local and global extrema.N
R(N) = r 1 −
13. f (x) = 4 − x, x ∈ [−1, 4) K
14. f (x) = 3x − 5, x ∈ (−2, 1)
(b) Graph R(N) as a function of N for N ≥ 0 when r = 2 and
15. f (x) = x2 − 2, x ∈ [−1, 1]
K = 100, and find the population size for which the reproductive rate is maximal.
16. f (x) = (x − 2)2, x ∈ [0, 3]
17. f (x) = x ln x, x ∈ [1, 5] 5.1.3
18. f (x) = x2 − x, x ∈ [0, 1]
35. Suppose f (x) = x3, x ∈ [0, 1].
In Problems 19–26, find c such that f (c) = 0 and determine
(a) Find the slope of the secant line connecting the points
whether f (x) has a local extremum at x = c.
(x, y) = (0, 0) and (1, 1).
19. f (x) = x2
20. f (x) = (x − 4)2
(b) Find a number c ∈ (0, 1) such that f (c) is equal to the slope
21. f (x) = −x2
22. f (x) = ex2
of the secant line you computed in (a), and explain why such a number must exist in (0, 1).
23. f (x) = x3
24. f (x) = ex3
36. Suppose f (x) 25. f (x)
= ex, x ∈ [0, 1]. = (x + 1)2
26. f (x) = (x + 1)3
(a) Find the slope of the secant line connecting the points
27. Show that f (x) = |x| has a local minimum at x = 0 but f (x) (x, y)
is not differentiable at x = (0, 1) and (1, e). = 0.
(b) Find a number c
28. Show that f (x)
∈ (0, 1) such that f (c) is equal to the slope
= |x − 1| has a local minimum at x = 1 but
of the secant line you computed in (a), and explain why such a
f (x) is not differentiable at x = 1. number must exist in (0, 1).
29. Show that f (x) = −|x2 − 4| has local maxima at x = 2 and
37. Suppose that f (x) , 1]. x
= x2, x ∈ [−1
= −2 but f (x) is not differentiable at x = 2 or x = −2.
(a) Find the slope of the secant line connecting the points
30. Show that f (x) = |x2 − 1| has local minima at x = 1 and
(x, y) = (−1, 1) and (1, 1).
x = −1 but f (x) is not differentiable at x = 1 or x = −1.
(b) Find a number c ∈ (−1, 1) such that f (c) is equal to the slope 31. Graph
of the secant line you computed in (a), and explain why such a
f (x) = (1 − |x|)2, −1 ≤ x ≤ 2
number must exist in (−1, 1).
38. Suppose that f (x) = ln x, x ∈ [1, e].
and determine all local and global extrema on [−1, 2].
(a) Find the slope of the secant line connecting the points 32. Graph
(x, y) = (1, 0) and (e, 1).
f (x) = (|x| − 2)3, −3 ≤ x ≤ 3
(b) Find a number c ∈ (1, e) such that f (c) is equal to the slope
of the secant line you computed in (a), and explain why such a
and determine all local and global extrema on [−3, 3].
number must exist in (1, e).
33. Population Growth Suppose the size of a population at time t
39. Suppose that f (x)
is N(t) and its growth rate is given by the logistic growth model
= −x2 + 2. Explain why there exists a
point c in the interval (−1, 2) such that f (c) = −1. dNN
40. Suppose that f (x) c = rN 1 − , t ≥ 0
= x3. Explain why there exists a point in dt K
the interval (−1, 1) such that f (c) = 1.
where r and K are positive constants.
41. Suppose that f (x) = x(2 − x). Explain why there exists a
point c in the interval (0, 2) such that f (c) = 0.
(a) Graph the growth rate of the population dN as a function of dt
population size, N, assuming that r
42. Suppose that f (x)
= 2 and K = 100, and find
= x4(5 − x). Explain why there exists a
the population size for which the growth rate is maximal.
point c in the interval (0, 5) such that f (c) = 0.
(b) Show that whatever the value of the parameters ]. N and K,
43. Suppose that f (x) = x2, x ∈ [a, b
f (N) = rN(1 − N/K), N ≥ 0, is differentiable for N > 0, and
(a) Compute the slope of the secant line through the points
compute f (N).
(a, f (a)) and (b, f (b)).
224 Chapter 5 Applications of Differentiation
(b) Find the point c ∈ (a, b) such that the slope of the tangent
MVT why the total distance that Prof. Roper and Molly travel is
line to the graph of f at (c, f (c)) is equal to the slope of the se-
somewhere between 1.5 miles and 12 miles.
cant line determined in (a). How do you know that such a point
51. Denote the size of a population at time t by N(t), and assume
exists? Show that c is the midpoint of the interval (a, b); that is,
that N(0) = 50 and |dN/dt| ≤ 20 for all t ∈ [0, 5]. What can you
show that c = (a + b)/2.
say about N(5)? [Hint: Remember also that it is impossible for
44. Assume that f is continuous on [a, b] and differentiable on
the number of organisms to become negative].
(a, b). Show that if f (a) < f (b), then f  is positive at some point
52. Denote the total biomass in a given area of soil at time t by between a and b.
B(t), and assume that B(0) = 3 and |dB/dt| ≤ 1 for all t ∈ [0, 3].
45. Assume that f is continuous on [a, b] and differentiable on
What can you say about B(3)?
(a, b). Show that if f (x) > 0 for all x ∈ (a, b), then f (a) < f (b).
53. Suppose that f is differentiable for all x R and, further-
46. Assume that f is continuous on [0, 1] and differentiable on
more, that f satisfies f (0) = 0 and 1 ≤ f (x) ≤ 2 for all x > 0.
(0, 1). Assume that f (1/2) = 0, show by sketching the graph of
(a) Use Corollary 1 of the MVT to show that
a function f (x) that satisfies all of these conditions (you do not
need to write down the equation of the function) that it is not
x f (x) ≤ 2x
necessary that f (0) = f (1). for all x ≥ 0.
47. A car moves in a straight line. At time t (measured in sec-
(b) Use your result in (a) to explain why f (1) cannot be equal
onds), its position (measured in meters) is to 3. 1
(c) Find an upper and a lower bound for the value of f (1). s(t) =
t2, 0 ≤ t ≤ 10 10
54. Suppose that f is differentiable for all x R with f (2) = 3
(a) Find its average velocity between t = 0 and t = 10.
and f (x) = 0 for all x R. Find f (x).
(b) Find its instantaneous velocity for t ∈ (0, 10).
55. Suppose that f (x) = e−|x|, x ∈ [−2, 2].
(c) At what time is the instantaneous velocity of the car equal to
(a) Show that f (−2) = f (2). its average velocity?
(b) Compute f (x), where defined.
48. A car moves in a straight line. At time t (measured in sec-
(c) Show that there is no number c ∈ (−2, 2) such that f (c) = 0.
onds), its position (measured in meters) is
(d) Explain why your results in (a) and (c) do not contradict 1 Rolle’s theorem. s(t) =
t3, 0 ≤ t ≤ 10 100
(e) Use a graphing calculator to sketch the graph of f (x).
(a) Find its average velocity between t = 0 and t = 10.
56. Population Growth In Chapter 4 we learned that
(b) Find its instantaneous velocity for t ∈ (0, 10).
f (x) = erx
(c) At what time is the instantaneous velocity of the car equal to
satisfies the differential equation its average velocity? df
49. Prof. Roper drives to work in stop-and-go traffic. His speed = r f (x)
measured in miles per hour (mph) is given by the following func- dx
tion of time, t, measured in minutes
with f (0) = 1. This exercise will show that f (x) is in fact the only
solution. Suppose that r is a constant and f is a differentiable
v(t ) = 30 + 20 sin(t/5 . ) function satisfying
The total journey time is 1 hour. Explain using the MVT why the
df = rf(x) (5.4)
total distance that he travels in this hour is somewhere between dx 10 and 50 miles.
for all x R, and f (0) = 1. The following steps will show that
50. Prof. Roper runs with his dog Molly. Their speed varies a lot
f (x) = erx, x R, is the only solution of (5.4).
over the course of the run, following the graph shown in Fig- (a) Define the function
ure 5.20. Their total run time is 90 minutes. Explain using the
F (x) = f (x)erx, x R y(t)
Use the product rule to show that 8
F (x) = erx[ f (x) − r f (x)]
(b) Use (a) and (5.4) to show that F (x) = 0 for all x R.
(c) Use Corollary 2 to show that F (x) is a constant and, hence,
F (x) = F (0) = 1. 1
(d) Show that (c) implies that 90 t
Figure 5.20 Speed of Prof. Roper
1 = f (x)erx,
and Molly on their run (Problem and therefore,
50). v(t) is measured in mph and t is measured in minutes.
f (x) = erx
5.3 Extrema and Inflection Points 241 EXAMPLE 4 Show that the function 1 3
f (x) = x3 − x2 + 2x + 1, x R 2 2
has an inflection point at x = 1. Solution
The graph of f (x) is shown in Figure 5.46. We compute the first two derivatives: 3
f (x) = x2 − 3x + 2 2
f (x) = 3x − 3 = 3(x − 1)
Since f (x) is positive for x > 1 and negative for x < 1, f (x) changes sign at x = 1.
We therefore conclude that f (x) has an inflection point at x = 1. r
If a function f is twice differentiable, it is concave up if f  > 0 and concave down
if f  < 0. At an inflection point, f  must therefore change sign; that is, the second
derivative must be 0 at an inflection point. More formally,
Second derivative test for inflection points. If f (x) is twice differentiable and has
an inflection point at x = c, then f (c) = 0. y 8 y 5 f (x) 6 y
f (x) 5 x4 4 8 Inflection poin t 7 2 6 (1, 2) 5 4 21 1 2 3 4 x Concave 3 f 0 up 22 (0) 5 0 2 1 24 22 21 0 1 2 x
Figure 5.46 The function
Figure 5.47 If f (x) = x4 then
f (x) = 1 x3
x2 + 2x + 1 has an
f (0) = 0 but x = 0 is not an 2 − 32
inflection point at x = 1. inflection point.
Note that f (c) = 0 is a necessary, but not sufficient, condition for the existence of
an inflection point of a twice-differentiable function. It is similar to Fermat’s Theorem
(from Section 5.1) for finding candidate local extremum points. The second derivative
test can only be used to find candidate inflection points; to determine whether a candi-
date is an inflection point, we must check whether the second derivative changes sign.
For instance, f (x) = x4 has f (0) = 0, but the function f (x) = x4 is concave up (see
Figure 5.47), so there is no inflection point at x = 0. Section 5.3 Problems 5.3.1
1. y = (x − 1)2, −2 ≤ x ≤ 3
2. y = x + 1, 1 ≤ x ≤ 2  
Find the local maxima and minima of each of the functions in
3. y = (2x − 1), 1/2 ≤ x ≤ 2
4. y = ln  x , x > 0 x+1
Problems 1–17. Determine whether each function has local max-
5. y = xex, 0 ≤ x ≤ 1
6. y = |x2 − 25|, −5 ≤ x ≤ 8
ima and minima and find their coordinates. For each function,
find the intervals on which it is increasing and the intervals on

7. y = x3 − 3x2 + 3x + 3, x R
8. y = x3 − 3x + 1, x R
which it is decreasing.
9. y = ex2, −1 ≤ x ≤ 1
10. y = cos(πx2), −1 ≤ x ≤ 1
242 Chapter 5 Applications of Differentiation
11. y = e−|x|, x R
12. y = sin 2πx, 0 ≤ x ≤ 1 (c) Show that
13. y = 1 x3
x2 + 2, x R lim 3 + 12 N(t) = 100 t→∞
14. y = 1 x3 x 1, x 3 − x2 + + ∈ R
(d) Show that N(t) has an inflection point when N(t) = 50—that
15. y = x2(1 − x), x R
is, when the size of the population is at half its maximum value. √
16. y = (x − 1)1/3, x ≥ 1
17. y = 1 + x2, x R
32. Hill’s Function for Hemoglobin Binding Hill’s equation for the
18. [This problem illustrates the fact that f (c) = 0 is not a suffi-
oxygen saturation of blood states that the level of oxygen satura-
cient condition for the existence of a local extremum of a differ-
tion (fraction of hemoglobin molecules that are bound to oxygen)
entiable function.] Show that the function f (x) = x3 has a hor-
in blood can be represented by a function:
izontal tangent at x = 0; that is, show that f (0) = 0, but f (x) Pn f (P)
does not change sign at x =
= 0 and, hence, f (x) does not have a Pn + 30n
local extremum at x = 0.
where P is the oxygen concentration around the blood (P ≥ 0)
19. Explain the first-derivative criterion for local extrema lo-
and n is a parameter that varies between different species.
cated at the right endpoint of the domain of a function. That is, if
(a) Assume that n = 1. Show that f (P) is an increasing function
f (x) is defined on a domain [a, b], and is differentiable on some
of P and that f (P) → 1 as P → ∞.
interval containing x = b, show that x = b is a local maximum
point if f (b) > 0 and a local minimum point if f (b) < 0.
(b) Assuming that n = 1 show that f (P) has no inflection points.
Is it concave up or concave down everywhere?
20. Suppose that f (x) is differentiable on R, with f (x) > 0 for
x R. Show that if f (x) has a local maximum at x = c, then
(c) Knowing that f (P) has no inflection points, could you deduce
g(x) = ln f (x) also has a local maximum at x = c.
which way the curve bends (whether it is concave up or concave
down) without calculating f (P)?
21. Suppose that f (x) is differentiable on R. Show that if f (x)
has a local maximum at x = c, then g(x) = ef(x) also has a local
(d) For most mammals n is close to 3. Assuming that n = 3 show
maximum at x = c.
that f (P) is an increasing function of P and that f (P) → 1 as P → ∞. 5.3.2
(e) Assuming that n = 3, show that f (P) has an inflection point,
In Problems 22–27, determine all inflection points.
and that it goes from concave up to concave down at this inflec- tion point.
22. f (x) = x3 − 2, x R
23. f (x) = (x − 3)5, x R
(f) Using a graphing calculator plot f (P) for n = 1 and n = 3.
24. f (x) = ex2, x ≥ 0
25. f (x) = xex, x ≥ 0
How do the two curves look different?
26. f (x) = x , x ≥ 0
27. f (x) = x2 x+1 x2+1
33. Drug Absorption A two-compartment model of how drugs are π π
absorbed into the body predicts that the amount of drug in the
28. f (x) = tan x, − < x < 2 2
blood will vary with time according to the following function:
29. f (x) = x ln x, x > 0
M(t) = a(ekt e−3kt), t ≥ 0
30. [This problem illustrates the fact that f (c) = 0 is not a suf-
where a > 0 and k > 0 are parameters that vary depending on
ficient condition for an inflection point of a twice-differentiable
the patient and the type of drug being administered. For parts
function.] Show that the function f (x) = x4 has f (0) = 0 but
(a)–(c) of this question you should assume that a = 1.
that f (x) does not change sign at x = 0 and, hence, f (x) does
not have an inflection point at x = 0.
(a) Show that M(t) → 0 as t → ∞.
31. Logistic Equation Suppose that the size of a population at
(b) Show that the function M(t) has a single local maximum, and
time t is denoted by N(t) and satisf ies
find the maximum concentration of drug in the patient’s blood. 100
(c) Show that the M(t) has a single inflection point (which you
N(t) = 1 + 3e−2t
should find). Does the function go from concave up to concave for t ≥ 0.
down at this inflection point or vice versa?
(a) Show that N(0) = 25.
(d) Would any of your answers to (a)–(c) be changed if a were
(b) Show that N(t) is strictly increasing. not equal to 1. Which answers? 5.4 Optimization
In Sections 5.1 and 5.3 we showed how calculus can be used to find the extrema of
functions. Calculating extrema is often useful: For example if the function represents
how the crop yield in a field depends on the amount of fertilizer that is added, then
the global maximum of the function tells us how much fertilizer needs to be added to
maximize yields. These kinds of problems are called optimization problems: by maxi-
mizing the yield function we find the optimal amount of fertilizer to add. Optimization
can be used to design experiments of treatments, for example, by predicting the opti-
mal amount of drug to give to a patient. Optimization can also be used to understand 5.5 L’Hˆ opital’s Rule 253
(d) Show that when x = ˆx, the right-hand side of Equation (5.18)
transport and maintenance, show that the xylem vessel radii are can be simplified so that:
related by Murray’s law for plants: d2  w f ( ˆx) R2  = R = r21 + r22 dx2 x ˆ =ˆ x x
29. Evaluating Different Maintenance Cost Functions in Murray’s
So for any function f (x) that is concave down at ˆx, w( ˆx) < 0,
Law When we derived Murray’s law in Examples 4 and 5, we as-
which means that w(x) has a local maximum at ˆx.
sumed that the cost of building and maintaining a blood vessel
28. Murray’s Law for Plants This problem is based on McCulloh et
is proportional to the volume of the vessel (that is, we defined a
al. (2003). The plant xylem is a transport network within plants
quantity b, to be the cost of building and maintaining 1 cm3 of
that forms a network like the blood vessels of animals. The xylem
blood vessel). But this is not the only possibility. Another possi-
transports water from the roots, up the plant stem to its leaves.
bility is that the cost of building a vessel will be proportional to
Unlike blood vessels, in some plants the xylem vessels are not
its surface area, and not to its volume. The idea here is that a wall
single tubes, but are made up of bundles of smaller tubes. Larger
needs to be built around the vessel, and the cost of building the
xylem vessels contain more tubes, smaller vessels contain fewer
vessel wall is much higher than the cost of filling it with blood.
tubes. Because vessels are made of smaller tubes, the way that
Under this assumption, the cost of building and maintaining a
transport costs depend on vessel radius is different for the xylem
vessel of radius r and length  is:
than for the blood vessels of an animal. Specifically, it can be
M(r) = 2πcr
shown that the cost of transporting water at a flow rate f (mea-
sured in milliliters/s) in a xylem vessel of radius r and length 
where c is the cost of maintaining a 1 cm2 area of vessel wall.
(both measured in cm) is given by the function
(Hint: 2π r is the surface area, not including end-caps for a cylin- f 2
der of length  and radius r.) 
T (r) = 0.071 r2 r2
(a) Using the same function for the cost of transport within the T where r
vessel as was given in Example 4:
T is the radius of one of the tubes within the xylem vessel
(you may assume that rT = 5 × 10−2 cm). f 2 T (r) = 0.071
(a) Assume that the cost of building the xylem vessel is still pro- r4 portional to its volume:
and assuming that the organism controls vessel radius to min-
M(r) = bπr2
imize the total cost of transport and maintenance T (r) + M(r),
where b is the metabolic cost of building and maintaining 1 cm3
derive a formula relating blood vessel radius r to flow rate f . Your
of xylem vessel. If the plant controls xylem vessel radius to min-
formula will include c as an unknown coefficient.
imize the total cost T (r) + M(r), derive a formula relating xylem
(b) If a blood vessel of radius R branches into two smaller ves-
radius r to flow rate f . Your formula will include b as an unknown
sels of radii r1 and r2, and all vessels minimize the total cost of coefficient.
transport and maintenance, show that the blood vessel radii are
related by a modified form of Murray’s law:
(b) If a xylem vessel of radius R branches into two smaller ves- sels of radii r / /
1 and r2, and all vessels minimize the total cost of R5/2 = r5 2 1 + r5 2 2 5.5 L’Hˆopital’s Rule
L’H ˆopital’s rule gives us a way to calculate the limits of fractions in which both the
numerator and the denominator tend to 0. (l’H ˆopital is pronounced lop-it-al.) The rule
also works when both the numerator and the denominator tend to infinity. Sometimes
we can use algebraic or trigonometric manipulations to find the limit—for instance: x2 − 9 lim = lim (x + 3) = 6
Factorize x2 − 9 = (x + 3)(x − 3) and cancel (x − 3) x→3 x − 3 x→3 x 1 lim = lim = 1
Divide numerator and denominator by x y x→∞ 1
f (x) 5 ex 2 1 + x x→∞ 1 + 1 x 2
Using algebraic manipulations, however, is not always possible, as in the following g(x) 5 x example: 1 ex − 1 lim (5.19) x→0 x 2 2 2 1 1 2 x
Here, both numerator and denominator tend to 0 as x → 0 (see Figure 5.58.). There 21
is no way of algebraically simplifying the ratio. Instead, we linearize both numerator
and denominator. Recall from Section 4.11 that the linear approximation of a function
Figure 5.58 Both the numerator and
f (x) at x = a is defined as
denominator in Equation (5.19) go to 0 as x → 0.
f (x) ≈ f (a) + f (a)(x a)
254 Chapter 5 Applications of Differentiation y
If f (x) = ex − 1, then f (x) = ex, and so f (0) = 0 and f (0) = 1. That is, the linear
approximation of the numerator at x = 0 is 2 ex 2 1
f (x) ≈ 0 + (1)(x − 0) = x 1 f (x) 5 x
The denominator is already a linear function, namely, g(x) = x. So when we linearize
both numerator and denominator functions we getex−1 ≈ x = 1. So based on the 2 2 x x 2 1 1 2 x
linearization, we predict that the limiting value of ex−1 as x → 0 is 1. This value is x 21
supported by a graph of the function (Figure 5.59).
To see clearly what we have just done, we look at the general case
Figure 5.59 Plotting f (x) = ex−1 x f (x)
shows that the function tends to 1 as lim x → 0.
xa g(x) and assume that both lim f (x) = 0 and lim g(x) = 0 y xa xa Tangent line Tangent line
(See Figure 5.60.) Using a linear approximation as before, we find that, for x close slope g9(a) slope f9(a) to a, f (x)
f (a) + f (a)(x a) ≈ g(x) g(a) y 5 g
+ g(a)(x a) (x ) y 5 f (x)
Since f (a) = g(a) = 0 and x = a, the right-hand side is equal to a x
f (a)(x a) f (a) =
g(a)(x a) g(a) a
Figure 5.60 Illustration of
provided that f( ) is defined. This calculation is one case of l’H ˆopital’s rule, which g(a)
l’H ˆopital’s rule applied to two
allows the limit of f(x) to be calculated from f(x). We will only state the rule here; its
functions that vanish at x = a. g(x) g(x)
proof is beyond the scope of this book.
L’H ˆopital’s Rule Suppose that f and g are differentiable functions and that
lim f (x) = limg(x) = 0 xa xa or
lim f (x) = lim g(x) = ∞ xa xa Then f (x) f (x) lim = lim
xa g(x)
xa g(x) provided this limit exists.
L’H ˆopital’s rule works for a = +∞ or −∞ as well, and it also applies to one-sided
limits. Using l’H ˆopital’s rule, we can redo the three examples we just presented. In
each case, the ratio f(a) is an indeterminate expression: either it is 0 or ∞ . We apply g(a) 0 ∞
l’H ˆopital’s rule in each case: We differentiate both numerator and denominator and
then take the limit of f(x) as x a. L’H ˆopital’s rule then gives g(x) x2 − 9 2x lim = lim = 6 x→3 x − 3 x→3 1 x 1 lim = lim = 1 x→∞ 1 + x x→∞ 1 ex − 1 ex lim = lim = 1 x→0 x x→0 1 5.5 L’Hˆ opital’s Rule 255
In fact L’H ˆopital’s rule can be applied to calculate the true limits for seven kinds of indeterminate expressions: 0 ∞ , , 0 · ∞, ∞ − ∞, 00, 1∞, or ∞0. 0 ∞
We present examples for each kind of limit. Sometimes (see Example 3) l’H ˆopital’s
rule needs to be applied more than once to calculate a particular limit. EXAMPLE 1 x6 − 64 0/0 Evaluate lim . x→2 x2 − 4 Solution
This limit is of the form 0 , since 26 0
− 64 = 0 and 22 − 4 = 0. Applying l’H ˆ opital’s rule yields x6 − 64 6x5 6 × 25 lim = lim = = (6)(23) = 48. r x→2 x2 − 4 x→2 2x 2 × 2 EXAMPLE 2 1 − cos2 x 0/0 Evaluate lim . x→0 sin x Solution
This limit is of the form 0, since 1 0 and sin 0
0. Applying l’H ˆopital’s rule 0 − cos2 0 = = yields 1 − cos2 x 2 cos x sin x lim = lim = lim (2 sin x) = 0. x→0 sin x x→0 cos x x→0
In fact this is another limit that can be calculated without l’H ˆopital’s rule, since
1 − cos2 x = sin2 x, so 1−cos2 x sin = sin x. r x 1 EXAMPLE 3 − cos x 0/0 Evaluate lim . x→0 x2 Solution
As this example shows we may need to apply l’Hˆ
opital’s rule more than once to find a
particular limit. In this example, the limit is of the form 0 since 1 0 −cos 0 = 0 and 02 = 0.
Applying l’H ˆopital’s rule yields lim 1−cos x sin x x→0 which is still of the form 0 . x2 = limx→0 2x 0
You may remember from Section 3.4 that lim sin x x→0
= 1. However, even if we do not x
remember this result we may rederive if by applying l’H ˆopital’s rule again. Differen-
tiating the numerator and denominator one more time we obtain: 1 − cos x sin x cos x 1 lim = lim = lim = . r x→0 x2 x→0 2x x→0 2 2 ln x EXAMPLE 4 ∞/∞ Evaluate lim . x→∞ x Solution
This limit is of the form ∞. We can again apply l’H ˆopital’s rule: ∞ ln x 1 1 lim = lim x = lim = 0 r x→∞ x x→∞ 1 x→∞ x EXAMPLE 5 x3 − 3x + 1 ∞/∞ Evaluate lim .
x→∞ 3x3 − 2x2 Solution
This limit that we previously encountered in Section 3.3 is of the form ∞ and can be ∞
calculated by applying l’H ˆopital’s rule: x3 − 3x + 1 3x2 − 3 lim = lim
x→∞ 3x3 − 2x2
x→∞ 9x2 − 4x
which is still of the form ∞ so we apply l’H ˆopital’s rule to the new ratio, to obtain: ∞ 3x2 − 3 6x lim = lim
x→∞ 9x2 − 4x
x→∞ 18x − 4
256 Chapter 5 Applications of Differentiation
Since this is still of the form ∞, we can apply l’H ˆopital’s rule yet again. We now find ∞ that 6x 6 1 lim = lim =
x→∞ 18x − 4 x→∞ 18 3
In fact we could have found the answer without using l’H ˆ
opital’s rule by following the
rules in Section 3.3. Divide both numerator and denominator by x3 to obtain: x3 − 3x + 1 (1 − 3 ) 1 lim = lim x2 + 1 x3 = ,
x→∞ 3x3 − 2x2 x→∞ (3 − 2) 3 x
because terms 3 , 1 , etc., all → 0. r x2 x3 EXAMPLE 6 ex ∞/∞ Evaluate lim . x→∞ x Solution
This limit is of the form ∞ . The example will show that l’H ˆopital’s rule has no problems ∞
detecting when a limit is infinite. ex ex lim = lim = ∞ (limit does not exist) r x→∞ x x→∞ 1
0 · ∞ L’H ˆopital’s rule can sometimes be applied to limits of the form
lim f (x)g(x) xa where lim f (x) = 0 and lim g(x) = ∞. xa xa
To apply l’H ˆopital’s rule to these limits write them in one of the two forms: f (x) g(x)
lim f (x)g(x) = lim = lim . xa xa 1 xa 1 g(x) f (x)
In the first case, the ratio is 0, while in the second case the ratio is ∞ . Usually only 0 ∞
one of the two methods for rewriting the expression actually makes the limit easier to
evaluate, as the following example shows: EXAMPLE 7
0 ·∞ Evaluate limx . →0+ x ln x Solution
This is a one-sided limit, but l’H ˆ
opital’s rule still applies. ln x is not defined for x ≤ 0
so we must approach x = 0 from the right. The limit is of the form (0)(− ) ∞ . We apply
l’H ˆopital’s rule after rewriting it in the form ∞: ∞ ln x 1 lim x ln x = lim = lim x x→0+ x→0+ 1 x→0+ − 1 x x2 1  x2  = lim − = lim (−x) = 0 x→0+ x 1 x→0+
If we had written the limit in the form x lim x→0+ 1 ln x and then applied l’H ˆ
opital’s rule, we would have obtained x 1 lim  = lim
= lim −x(ln x)2 x→0+ 1 x x→0+ ln →0+ ( x
−1)(ln x)−2 1x
which is more complicated than the initial expression. In general you may need to try
both ways of rewriting expressions of the form 0 · ∞ to find an expression you can evaluate. r 5.5 L’Hˆ opital’s Rule 257 EXAMPLE 8
0 ·∞ Evaluate limx→∞ xex2/2. Solution
This limit is of the form 0 · ∞. We have two choices. We can rewrite the limit as x 1
lim xex2/2 = lim = lim = 0 x→∞ x→∞ ex2/2 x→∞ xex2/2
applying l’H ˆopital’s rule at the second step. Or we could have written: ex2/2 −xex2/2
lim xex2/2 = lim = lim x→∞ x→∞ 1 x→∞ x − 1x2
In the second case applying l’H ˆopital’s rule produces a more complicated limit than
the one we were initially given to calculate. r
∞ − ∞ Suppose we want to calculate:
lim ( f (x) − g(x)) xa
where f (a) = ∞ and g(a) = ∞, so that our limit looks like ∞ − ∞. L’H ˆopital’s rule
can sometimes be applied in this case if we factorize the expression either as:  g(x)   f (x)  lim f (x) 1 − or lim g(x) − 1 (5.20) xa f (x) xa g(x)
If the limit is then of the form ∞ · 0 it can then be evaluated using l’H ˆopital’s rule. Just
as in the previous case, you may need to try both ways of rewriting f (x) − g(x) to find
one to which l’H ˆopital’s rule may be more readily applied. EXAMPLE 9 ∞ − ∞ Evaluate 
lim (x x2 + x). x→∞ Solution
This limit is of the form ∞ − ∞. We can write the limit as the difference between two √
functions f (x) = x, g(x) = x2 + x. Since f (x) is the simpler function, we factor it out to get      1
lim (x x2 + x) = lim x 1 − 1 + x→∞ x→∞ x
This is of the form ∞ · 0. We can transform it to the form 0 and then apply l’H ˆ opital’s 0 rule:     1 1 − 1 + 1 lim x 1 x − 1 + = lim x→∞ x x→∞ 1 x − 1 (1 )−1/2( ) 2 + 1x − 1 = lim x2
Apply chain rule with u = 1 + 1x x→∞ − 1x2 −1 1 = lim  = − r x→∞ 2 1 + 1 2 x
When trying to calculate limits of the form ∞ − ∞ remember to check that the
factorized expression (5.20) actually is of the form 0 · ∞ before applying l’H ˆopital’s
rule. As the next example shows, it is not guaranteed that the factorized expression will be of this form.
258 Chapter 5 Applications of Differentiation EXAMPLE 10
∞ − ∞ Evaluate limx→+∞ (x − ln x). Solution
Our limit takes the form of the difference between the functions f (x) = x and g(x) =
ln x. Since x is the simpler function we factorize it out to obtain:  ln x
lim (x − ln x) = lim x 1 − x→+∞ x→+∞ x
The first factor has limit ∞. However, the limit of the second factor is actually 1, since:  ln x  ln x lim 1 − = 1 − lim = 1 − 0 = 1 lim ln x x→+∞ x x x = 0, from Example 4 →+∞ x x→∞
So the product of the two factors has a limit of the form ∞·1. The limit is therefore ∞ or undefined.
00, 1∞, ∞0 Suppose we want to evaluate
lim [ f (x)]g(x) xa
when ( f (a), g(a)) = (0, 0), (1, ∞), or (∞, 0). The key to solving such limits is to rewrite them as exponentials:  
lim [ f (x)]g(x) = lim exp ln [ f (x)]g(x) xa xa y
= lim exp [g(x) · ln f (x)] xa   3
= exp lim (g(x) · ln f (x)) xa y 5 x x 2
The last step, in which we interchanged lim and exp, uses the fact that the exponential
function is continuous. Rewriting the limit in this way transforms 1 00 into exp [0 · (−∞)] ∞0 into exp [0 · ∞] 0 0 1 2 x 1∞ into
exp [∞ · ln 1] = exp [∞ · 0]
Figure 5.61 The function y = xx
converges to 1 as x → 0.
Since we know how to deal with limits of the form 0 · ∞, we are in good shape again. EXAMPLE 11
00 Evaluate limx→0+ xx. Solution
This limit is of the form 00; we rewrite the limit first:
lim xx = lim exp[ln xx] = lim exp[x ln x] x→0+ x→0+ x→0+  
= exp lim (x ln x) x→0+
In Example 7 we showed limx→0+(x ln x) = 0. Hence,  
lim xx = exp lim (x ln x) = exp[0] = 1 x→0+ x→0+ (See Figure 5.61.) r EXAMPLE 12 1∞ Evaluate lim 1/x x→0(1 + x) . Solution Since lim 1
x→0 (1 + x) = 1 and limx→0
= ∞, this limit is of the form 1∞. We rewrite x it as  1    1 
lim(1 + x)1/x = lim exp ln(1 + x) = exp lim ln(1 + x) x→0 x→0 x x→0 x 5.5 L’Hˆ opital’s Rule 259
The exponentiated function is of the form ∞ · 0 (since ln 1 = 0). We evaluate the limit
of this function by writing it in the form 0 and then applying l’H ˆopital’s rule: 0    ln(1  1 + x) lim = lim 1+x = 1. x→0 x x→0 1
Therefore, limx→0(1 + x)1/x = exp(1) = e. r Section 5.5 Problems √
Find the limits in Problems 1–60; not all limits require use of  1 1
x2 + x4 − x 39. lim 40. lim
l’H ˆopital’s rule.x→0+ sin x x x→0 x x2 − 25 x − 2 1. lim 2. lim
41. lim x2x 42. lim xx2 x x →5 x − 5 x→2 x2 − 4 x→0+ →0+ 3x2 + 5x − 2 x + 1
43. lim x1/x
44. lim (1 + ex)1/x 3. lim 4. lim x→∞ x→∞ x→−2 x + 2
x→−1 x2 − 2x − 3  3x  5x √ √ 45. lim 1 + 46. lim 1 + 3 − 2x + 9 2x + 4 − 2 x→∞ x x→∞ x 5. lim 6. lim  x  x x→0 2x x→0 x 2 3 47. lim 1 − 48. lim 1 + ln x x→∞ x x→∞ x2
7. lim x2 ln x 8. lim x→0 x→∞ x2  x x √ √ √ 49. lim
50. lim (1 + x)1/x
9. lim ln x x 10. lim x x + 3 x→∞ 1 + x x→∞ x→∞ x→∞ √ ex x ln x 51. lim xex 52. lim 11. lim 12. lim √ x→0 x→0+ x x→0+ ln(x + 1) x→∞ x 1 sin x
53. lim (ln(1 − x) − ) 54. lim ln(ln x) ln(ln x) x→1− x − 1
x→(π/2)− cos x 13. lim 14. lim x→∞ x x→∞ ln x x2 − 1 1 − cos x 55. lim 56. lim 5x − 1 2x − 1 x→1 x + 1 x→0 x 15. lim 16. lim   x→0 7x − 1 x→0 3x − 1 1 1 57. lim xex 58. lim − √ x→−∞ x x 3−x x − 1 2−x − 1 →0+ 17. lim 18. lim √xxx x→0 2x − 1 x→0 5x − 1 + 1 + 1 59. lim √ 60. lim x→+∞ x x→∞ x + 2 ex − 1 − x ex − 1 19. lim 20. lim
61. Use l’H ˆopital’s rule to find x→∞ ex x2
x→0 3e2x x ax − 1 (ln x)2 x7 lim 21. lim 22. lim x→0 bx − 1 x→∞ x2 x→∞ ex
where a, b > 0. sin x sin x 23. lim 24. lim
62. Use l’H ˆopital’s rule to find x→0 x x→0 x2  c x lim 1 +
25. lim xex
26. lim x2ex x→∞ x x→∞ x→∞ where c is a constant.
27. lim x5ex
28. lim xnex, n N
63. For p > 0, determine the values of p for which the following x→∞ x→∞
limit is either 1 or ∞ or a constant that is neither 1 nor ∞: √ 29. lim x ln x
30. lim xα ln x, α > 0 is any  x x→0+ x→0+ 1 positive constant lim 1 + x→∞ xp ln x ln x 31. lim 32. lim , α > 0 is any
64. Cell Division Time The Gamma distribution is used as a model x→+∞ x1/2 x→+∞ xα positive constant
for the amount of time taken for a cell to undergo a certain
number of divisions. According to the Gamma distribution the
33. lim ex x3
34. lim (ex xn), n N
likelihood that it takes t hours for the cell to complete all of its x→+∞ x→+∞ divisions is proportional to: √ 1 1 35. lim x sin 36. lim x2 sin
f (t) = t pet x→∞ x x→∞ x2
where p > −1 is a constant that depends on the number of 1 
37. lim (ex − )
38. lim (x x2 + 1)
cells that are dividing, and on the conditions that the cells are x→0+ x x→∞ growing in.
260 Chapter 5 Applications of Differentiation
(a) Show that for all values of p, f (t) → 0 as t → ∞.
different species of animals, and they are present in the propor-
(b) For what values of p does f (t) converge to a finite value as
tions p and 1 − p respectively, then the Shannon diversity index t
for the population is given by the formula: → 0?
65. Lifespan Modeling The Weibull distribution is used to model
H(p) = −p ln p − (1 − p) ln(1 − p) , 0 < p < 1
the lifespan of organisms. According to the Weibull distribution,
the likelihood that an animal dies at the age of t is proportional
(a) Show that if H(0) = 0 and H(1) = 0, then the function H(p) to:
is continuous at p = 0 and p = 1. (Hint: This is equivalent to showing that lim = 0 and lim
f (t) = tk−1 exp −tk , t ≥ 0
p→0+ H( p) p )
→1− H( p = 0.)
(b) Show that the global maximum diversity over the interval
where k > 0 is a constant that depends on the type of organism
0 ≤ p ≤ 1 occurs when p = 1/2.
being studied, and on the environment that it is living in.
68. The height y in feet of a tree as a function of the tree’s age x
(a) Show that for all values of k, f (t) → 0 as t → ∞. in years is given by
(b) For what values of k does f (t) converge to a finite value as t → 0?
y = 121e−17/x for x > 0 66. Show that ln x
(a) Determine (1) the rate of growth when x lim → 0+ and (2) the = 0 x→∞ xp
limit of the height as x → ∞.
for any number p > 0. This shows that the logarithmic function
(b) Find the age at which the growth rate is maximal.
grows more slowly than any positive power of x as x → ∞.
(c) Show that the height of the tree is an increasing function of
67. Species Diversity Chapter 3 introduced the Shannon diversity
age. At what age is the height increasing at an accelerating rate
index for the diversity of a habitat. If a population contains two
and at what age at a decelerating rate? 5.6 Graphing and Asymptotes
Calculus tools can be used to draw the graph of a function. Being able to graph a
function may feel like a redundant skill since graphing calculators or spreadsheets can
be used to plot any function. But there are many cases where the function that we y
are interested in has one (or more) unknown constants. For example, some insects 12,000
(e.g., locusts and cicadas) undergo explosive population growth and then decay. One 10,000
possible mathematical model for the population growth and decay is 8000 20.1t 6000
y 5 100t 2e
N(t) = Mt2emt 4000 2000
where M and m are positive constants. We may not initially know what the values 0
of M and m are. They will typically depend on the species that you are modeling. 0 20 40 60 80 100 t
However, even if you do not know what the values of M and m are, you may wish to
know whether the model qualitatively describes the scenario that we have described
Figure 5.62 Population growth
predicted by the model N(t) =
of a population that rapidly grows and then decays. One way to do this is to plot the
Mt2emt with M = 100 and m = 0.1.
function N(t) for a particular choice of values of M and m, using either a spreadsheet
or a graphics calculator. We show such a plot in Figure 5.62, using parameters M = 100 and m = 0.1.
The population appears to grow, reach a maximum, and then decay. But is this y
behavior a feature of the model only for this particular choice of coefficients? And 12,000
how do the features of the graph, including the maximum population size and the
time taken for the population to grow to its maximum size, depend quantitatively on 10,000 M and m? 8000 M 5 200
We can make observations about the effect of changing these coefficients upon the 6000
way that the population grows and decays by making plots for a few different values of 4000
M and m. We see in Figure 5.63 that if M is increased, say to M = 200, the maximum 2000 M 5 100
population increases but the time that the population takes to reach its maximum size 0 0 20 40 60 80 100 t remains the same.
On the other hand, if m is increased but M remains the same, then the population
Figure 5.63 Comparing the
population growth predicted by the
reaches its maximum size more quickly, and starts to decay earlier. The maximum
model N(t) = Mt2emt for M = 200
population size also decreases (see Figure 5.64).
with M = 100. m = 0.1 for both
But we don’t know from making these plots whether these observations are al- curves.
ways true. For example, does increasing m always decrease the maximum population