Calculus1eng w8
Calculus1eng w8
or that
lim f (x) = ±∞ and lim g(x) = ±∞
x→a x→a
0 ∞
(In other words, we have an indeterminate form of type 0 or ∞. )
Then
f (x) f 0 (x)
lim = lim 0
x→a g(x) x→a g (x)
NOTE
L’Hospital’s Rule is also valid for one-sided limits and for limits at infinity
or negative infinity.
Example 1
ln x
Find lim .
x→1 x − 1
Solution.
Since
lim ln x = ln 1 = 0 and lim (x − 1) = 0
x→1 x→1
Example 2
ex
Calculate lim .
x→∞ x2
Solution.
We have
lim ex = ∞ and lim x2 = ∞
x→∞ x→∞
Example 3
ln x
Calculate lim √ .
x→∞ 3 x
Solution.
√
Since ln x → ∞ and 3
x → ∞ as x → ∞, L’Hospital’s Rule applies:
1
ln x x
lim √ = lim
x→∞ 3 x x→∞ 1 x−2/3
3
Notice that the limit on the right side is now indeterminate of type 00 . But
instead of applying L’Hospital’s Rule a second time as we did in previous
example, we simplify the expression and see that a second application is
unnecessary:
1
ln x x 3
lim √ = lim = lim √ =0
x→∞ 3 x x→∞ 1 x−2/3 x→∞ 3 x
3
Example 4
tan x − x
Find lim .
x→0 x3
Solution.
Noting that both tan x − x → 0 and x3 → 0 as x → 0, we use
L’Hospital’s Rule:
tan x − x sec2 x − 1
lim = lim
x→0 x3 x→0 3x2
Since the limit on the right side is still indeterminate of type 00 , we apply
L’Hospital’s Rule again:
Solution (cont.)
Again both numerator and denominator approach, so a third application of
L’Hospital’s Rule is necessary. Putting together all three steps, we get
Example 5
sin x
Find lim .
x→π − 1 − cos x
Solution.
If we blindly attempted to use l’Hospital’s Rule, we would get
sin x cos x
lim = lim = −∞
x→π − 1 − cos x x→π− sin x
This is wrong!
Solution (cont.)
sin x
lim
x→π − 1 − cos x
Although the numerator sin x → 0 as x → π − , notice that the
denominator 1 − cos x does not approach 0, L’Hospital’s Rule can’t be
applied here.
The required limit is, in fact, easy to find because the function is
continuous and the denominator is nonzero at π:
sin x sin π 0
lim = = =0
x→π − 1 − cos x 1 − cos π 1 − (−1)
Indeterminate Products
If, lim f (x) = 0 and lim g(x) = ∞(or − ∞) then it isn’t clear what
x→a x→a
the value of lim f (x)g(x), if any, will be.
x→a
This kind of limit is called an indeterminate form of type 0 · ∞.
We can deal with it by writing the product f · g as a quotient:
f g
f ·g = or f ·g =
1/g 1/f
0 ∞
This converts the given limit into an indeterminate form of type 0 or ∞ so
that we can use L’Hospital’s Rule.
Example 6
Evaluate lim x ln x.
x→0+
Solution.
The given limit is indeterminate because, as x → 0+ the first factor (x)
approaches 0 while the second factor (ln x) approaches −∞.
Writing x = 1/(1/x), we have 1/x → ∞ as x → 0+ .
So L’Hospital’s Rule gives
1
ln x
lim x ln x = lim = lim x
x→0+ x→0+ 1/x x→0+ −1
x2
= lim (−x) = 0.
x→0+
Note
In solving this example another possible option would have been to write
x
lim x ln x = lim .
x→0+ x→0+ 1/ ln x
Indeterminate Differences
Example 7
Compute lim (sec x − tan x).
x→(π/2)−
Solution.
First notice that sec x → ∞ and tan x → ∞ as x → (π/2)− , so the limit
is indeterminate. Here we use a common denominator:
1 sin x
lim (sec x − tan x) = lim −
x→(π/2)− x→(π/2)− cos x cos x
1 − sin x
= lim
x→(π/2) − cos x
− cos x
= lim =0
x→(π/2)− − sin x
Indeterminate Powers
lim [f (x)]g(x) .
x→a
Each of these three cases can be treated either by taking the natural
logarithm:
Example 8
Calculate lim (1 + sin 4x)cot x
x→0+
Solution.
First notice that as x → 0+ , we have
y = (1 + sin 4x)cot x
Then
Solution (cont.)
ln(1 + sin 4x) 0
lim ln y = lim indeterminate
x→0 + x→0 + tan x 0
so L’Hospital’s Rule gives
4 cos 4x
1+sin 4x
= lim = 4.
x→0+ sec2 x
So far we have computed the limit of ln y, but what we want is the limit
of y. To find this we use the fact that y = eln y :
Example 9
Find lim xx .
x→0+
Solution.
Notice that this limit is indeterminate since 0x = 0 for any x > 0 but
x0 = 1 for any x 6= 0.
We could proceed by writing the function as an exponential:
xx = (eln x )x = ex ln x .
Optimization Problems
EXAMPLE 1 A farmer has 2400 ft of fencing and wants to fence off a rectangular field
Solution. that borders a straight river. He needs no fence along the river. What are the dimen-
sions of the field that has the largest area?
In order to get a feeling for what is happening in this problem, let’s
Understand the problem
■ SOLUTION In order to get a feeling for what is happening in this problem let’s experi-
experiment
Analogy: Trywith
■ some special
special cases cases.
ment with some specialFigure shows
cases. Figure 1 (not to three possible
scale) shows ways
three possible ways ofof
Draw diagrams
■ laying out the 2400 ft of fencing. We see that when we try shallow, wide fields or
laying out the 2400 m ofdeep,fencing. narrow fields, we get relatively small areas. It seems plausible that there is
some intermediate configuration that produces the largest area.
1000 400
1000 1000
2200 700 700
100 100
y We want to e
expressing it
x A x
length of the
FIGURE 2
MAT 1001 Calculus I 23 / 39
Indeterminate Forms and L’Hospital’s Rule Optimization Problems
Solution (cont.)
Then we express A in terms of x and y
A = xy
Solution (cont.)
So the function that we wish to maximize is
EXAMPLE 2 A cylin
that will minimize
SOLUTION Draw the
h (both in centimete
total surface area o
the sides are made
r
surface area is
FIGURE 3
To eliminate h
2πr be 1000 cm3. Thus
MAT 1001 Calculus I 26 / 39
SOLUTION
SOLUTIONDraw
Draw thethediad
Indeterminate Forms and L’Hospital’s Rule Optimization Problems
h h(both
(bothin in
centimeters).
centimeter
total
total
surface
surface area
areaofot
Solution (cont.) thethe
sides
sidesarearemade
madefro
In order to minimize the cost ofr the surface
surface area
area
r metal, we minimize the total surface
is is
area of the cylinder (top, bottom, and sides). From Figure we see that the
sides are made fromFIGURE
aFIGURE
3 3
rectangular sheet with dimensions 2πr and h.
ToToeliminate
eliminate h we
hw
3 3
2πr2πr be be
1000
1000 cmcm . Thus
. Thus
r r
which
whichgives h苷
gives h苷
100
10
h h
A
Therefore,
Therefore,thethe
functio
func
Area
Area
2{πr@}
2{πr@} Area
Area
(2πr)h
(2πr)h
FIGURE
FIGURE
4 4 ToTo
find
find
thethe
critical
critical
nu
MAT 1001 Calculus I 27 / 39
Indeterminate Forms and L’Hospital’s Rule Optimization Problems
Solution (cont.)
So the surface area is
A = 2πr2 + 2πrh
To eliminate h we use the fact that the volume is given as 1 L which we
take to be 1000 cm3 . Thus
πr2 h = 1000
which gives
1000
h= .
(πr2 )
Substitution of this into the expression for Agives
2 1000 2000
A = 2πr + 2πr 2
= 2πr2 + .
πr r
Solution (cont.)
Therefore, the function that we want to minimize is
2000
A(r) = 2πr2 + r > 0.
r
To find the critical numbers, we differentiate
Solution (cont.)
Since the domain of A is (0, ∞) we can’t use the argument of previous
example concerning endpoints. q
But we can observe that A0 (r) < 0 for r < 3 500 0
π and A (r) > 0 for
q
r > 3 500
π , so A is decreasing for all r to the left of the critical number
and increasing
q for all r to the right.
3 500
Thus, r = π must give rise to an absolute minimum.
Solution (cont.)
q
3 500
The value of h corresponding to r = π
r
1000 1000 3 500
h= 2
= 2/3
=2 = 2r.
πr π(500/π) π
q
Thus, to minimize the cost of the can, the radius should be 3 500
π cm and
the height should be equal to twice the radius, namely, the diameter.
Example 12
Find the point on the parabola y 2 = 2x that is closest to the point (1, 4).
and su
Solution. EXAMP
y SOLUTIO
¥=2x
(1, 4)
(Altern
Instead
FIGURE 6
(You s
MAT 1001 Calculus I the mi
34 / 39
Indeterminate Forms and L’Hospital’s Rule Optimization Problems
Solution (cont.)
But if, (x, y) lies on the parabola, then x = y 2 /2 so the expression for
dbecomes s 2
1 2
d= y − 1 + (y − 4)2 .
2
√
(Alternatively, we could have substituted y = 2x to get d in terms of x
alone.)
Instead of minimizing d, we minimize its square:
2
2 1 2
d = f (y) = y − 1 + (y − 4)2 .
2
(You should convince yourself that the minimum of d occurs at the same
point as the minimum of d2 , but d2 is easier to work with.)
Solution (cont.)
Differentiating, we obtain
1 2
f 0 (y) = 2 y − 1 y + 2(y − 4) = y 3 − 8
2
so f 0 (y) = 0 when y = 2.
Observe that f 0 (y) < 0 when y < 2 and f 0 (y) > 0 when y > 2.
So by the First Derivative Test for Absolute Extreme Values, the absolute
minimum occurs when y = 2.
(Or we could simply say that because of the geometric nature of the
problem, it’s obvious that there is a closest point but not a farthest point.)
The corresponding value of x is x = y 2 /2 = 2.
Thus, the point on y 2 = 2x closest to (1, 4) is (2, 2).
Example 13
312 ■ CHAPTER 4 APPLICATIONS OF DIFFERENTIATION
Find the area of the largest rectangle that can be inscribed in a semicircle
of radius r.
EXAMPLE 5 Find the
Solution. of radius r.
Let’s take the semicircle to be the upper half of the circle x2 + y 2 = r2
Resources / Module 5 SOLUTION 1 Let’s tak
with center the origin. Then /the word
Max and Mininscribed means that the rectangle
/ Startand
of Max andvertices
Min
with center the orig
has two vertices on the semicircle two on the x-axis as shown
vertices on the sem
in Figure.
y Let 共x, y兲 be the
of lengths 2x and y
(x, y) To eliminate y we u
2x y y 苷 sr 2 x 2. Thu
_r 0 r x
The domain of this
MAT 1001 FIGURE 9 Calculus I 37 / 39
Indeterminate Forms and L’Hospital’s Rule Optimization Problems
Solution (cont.)
Let (x, y) be the vertex that lies in the first quadrant. Then th rectangle
has sides of lengths 2x and y, so its area is
A = 2xy
Solution (cont.)
Its derivative is
p 2x2 2(r2 − 2x2 )
A0 = 2 r2 − x2 − √ = √
r 2 − x2 r 2 − x2
√
which is 0 when 2x2 = r2 , that is, x = r/ 2 (since x ≥ 0). this value of
x gives a maximum value of A since A(0) = 0 and A(r) = 0. Therefore,
the area of the largest inscribed rectangle is
r
r2
r r
A √ = 2√ r2 − = r2 .
2 2 2