Chapter 4
Chapter 4
Chapter 4
Department of Mathematics
Lectures for Applied Mathematics
Solution. To find the slope of the tangent line at the point P(1, 1), we use Equation (4.1) with a = 1,
obtaining
f (1 + h) − f (1)
m = lim
h→0 h
2
(1 + h) − 1 h(2 + h)
= lim = lim =2
h→0 h h→0 h
To find an equation of the tangent line, we use the point-slope form of an equation of a line to obtain
y − f (a) = m(x − a) ⇒ y − 1 = 2(x − 1)
⇒ y = 2x − 1
■ Example 4.1.2 Find the equation of the line tangent to the graph of f (x) = 1x at x = 2. ■
Solution. Let ℓ be the given line. To find the slope of ℓ, we write its equation in the slope-intercept form,
which is
4
y = −2x +
3
Therefore, the slope of ℓ is −2 and the slope of the desired normal line is also −2 because the two lines
are parallel. √ √
f (x) − f (a) x−3− a−3
m = lim = lim
x→a x−a x→a x−a
√ √ √ √
x−3− a−3 x−3− a−3
= lim √ √
x→a x−a x−3+ a−3
(x − 3) − (a − 3) 1 1
= lim √ √ = lim √ √ = √
x→a (x − a) x−3+ a−3 x→a x − 3 + a − 3 2 a−3
Because the normal line at a point is perpendicular to the tangent line at that
√ point, the product of their
slopes is −1. Hence, the slope of the normal line√at (a, f (a)) is given by −2 a − 3. Since the slope of the
desired line is −2, so we solve the equation −2 a − 3 = −2 ⇒ a = 4. Therefore, the desired line is the
line through point (4, 1) on the curve and has a slope of −2. Using the point-slope form of an equation of
a line we obtain,
y = −2(x − 4) + 1 ⇒ y = −2x + 9
Definition 4.1.3 — Derivative. The derivative of a function f with respect to x is the function f ′
defined by the rule
f (x + h) − f (x)
f ′ (x) = lim (4.2)
h→0 h
The domain of f ′ consists of all values of x for which the limit exists.
f (x) − f (a)
f ′ (x) = lim . (4.3)
x→a x−a
Solution. We can use either Equation (4.2) or (4.3) to get the same value.
Using Equation (4.2), we substitute the two values of the function into the equation to obtain
f (2 + h) − f (2)
f ′ (2) = lim
h→0 h
(3(2 + h)2 − 4(2 + h) + 1) − 5 h(3h + 8)
= lim = lim = 8
h→0 h h→0 h
Again using Equation (4.3), we substitute the given function and value directly into the equation
f (x) − f (2) (3x2 − 4x + 1) − 5
f ′ (x) = lim = lim
x→2 x−2 x→2 x−2
(x − 2)(3x + 2)
= lim = lim (3x + 2) = 8
x→2 x−2 x→2
√
■ Example 4.1.5 Find the derivative of f (x) = x ■
h 1 1
= lim √ √ = lim √ √ = √
h→0 h x+h+ x h→0 x+h+ x 2 x
−2x − h −2x x
= lim p √ =√ √ = −√
h→0 5 − (x2 + 2xh + h2 ) + 5 − x2 5 − x2 + 5 − x2 5 − x2
√ √ √ √
Since f ′ (x) exists for − 5 < x < 5, then the domain of f ′ (x) is (− 5, 5).
2. The slope m of the tangent line to the graph of f (x) at x = −1 is
−(−1) 1
f ′ (−1) = p =
5 − (−1)2 2
x−2 dy
■ Example 4.1.7 Let y = . Find ■
1−x dx
Solution.
(x+h)−2 x−2
dy f (x + h) − f (x) 1−(x+h) − 1−x
= lim = lim
dx h→0 h h→0 h
−x + x + h − xh − 2 + 2x − [−x2 + 2x − xh + 2h + x − 2]
2
= lim
h→0 h(1 − x − h)(1 − x)
−h −1
= lim =
h→0 h(1 − x − h)(1 − x) (1 − x)2
■ Example 4.1.8 Calculate the instantaneous velocity at time t = 5 of an automobile whose position at
time t seconds is given by g(t) = t 3 + 4t 2 + 10 feet. ■
Solution. We know that the required instantaneous velocity is g′ (5). So that we calculate
g(5 + h) − g(5)
g′ (5) = lim
h→0 h
(5 + h)3 + 4(5 + h)2 + 10 − [53 + 4(5)2 + 10]
= lim
h→0 h
2
115h + 19h + h 3
= lim = lim 115 + 19h + h2 = 115
h→0 h h→0
We conclude that the instantaneous velocity of the moving body at time t = 5 is g′ (5) = 115 f t/sec.
■ Example 4.1.9 A rubber balloon is losing air steadily. At time t minutes the balloon contains
75 − 10t 2 + t cubic inches of air. What is the rate of loss of air in the balloon at time t = 1? ■
Theorem 4.1.1 — Differentiability Implies Continuity. Let f be a function and a be in its domain. If f
is differentiable at a, then f is continuous at a.
Proof. If f is differentiable at a, then f ′ (a) exists and, if x is in the domain of f and x ̸= a, we need to
show that f (x) is continuous at a by showing that lim f (x) = f (a). Thus,
x→a
f (x) − f (a)
lim f (x) = lim f (x) − f (a) + f (a) = lim · (x − a) + f (a)
x→a x→a x→a x−a
f (x) − f (a)
= lim · lim (x − a) + lim f (a) = f ′ (a) · 0 + f (a) = f (a)
x→a x−a x→a x→a
and this shows that f is continuous at a, as asserted. ■
We have just proven that differentiability implies continuity, but now let’s consider some situations in
which a continuous function fails to be differentiable.
• The function f (x) = |x| is continuous everywhere; however, f ′ (0) is doesn’t exist.
f (x) − f (0) |x| − |0| |x|
f ′ (0) = lim = lim = lim .
x→0 x−0 x→0 x − 0 x→0 x
This limit does not exist because
|x| |x|
lim = −1 and lim =1
x→0 − x x→0 + x
√
• Consider the function f (x) = 3 x √
′
3
x−0 1
f (0) = lim = lim √3 2
= +∞.
x→0 x − 0 x→0 x
Thus f ′ (0) does not exist.
■ Example 4.1.10 — A Piece-wise Function that is Continuous and Differentiable. A toy company
wants to design a track for a toy car that starts out along a parabolic curve and then converts to a straight
(
1 2
x + bx + c, if x < −10
line. The function that describes the track is to have the form f (x) = 101
− 4 x + 25 , if x ≥ −10
where x and f (x) are in inches. For the car to move smoothly along the track, the function f (x) must be
both continuous and differentiable at −10. Find values of b and c that make f (x) both continuous and
differentiable. ■
−(x + 10) 1
= lim = −
x→−10+ 4(x + 10) 4
Theorem 4.1.4 — The Constant Multiple Rule. If f is a differentiable function and c is a constant, then
d d
[c f (x)] = c [ f (x)]
dx dx
Theorem 4.1.5 — The Sum Rule. If f and g are differentiable functions, then
d d d
[ f (x) ± g(x)] = [ f (x)] ± [g(x)] = f ′ (x) ± g′ (x)
dx dx dx
Solution.
′ d h 6 4 3 2
i
f (x) = 2x + 3x − 4x + x − 5x + 9
dx
d d d d d d
= 2 (x6 ) + 3 (x4 ) − 4 (x3 ) + (x2 ) − 5 (x) + (9)
dx dx dx dx dx dx
5 3 2
= 12x + 12x − 12x + 2x − 5
Theorem 4.1.6 — The Product Rule. Let f (x) and g(x) be differentiable functions. Then
d d d
[ f (x)g(x)] = g(x) [ f (x)] + f (x) [g(x)] = f ′ (x)g(x) + g′ (x) f (x)
dx dx dx
Solution.
√ d d √
f ′ (x) =( x − 2x) (x2 − 1) + (x2 − 1) ( x − 2x)
dx dx
√ √
2 d d
=( x − 2x)(2x) + (x − 1) ( x) − (2x)
dx dx
√ √ x2 − 1
1
=2x x − 4x2 + (x2 − 1) √ −2 = 2 x − 6x2 + √ + 2
2 x 2 x
Theorem 4.1.7 — The Quotient Rule. If f and g are differentiable functions and g(x) ̸= 0, then
f ′ (x)g(x) − g′ (x) f (x)
d f (x)
= 2 .
dx g(x) g(x)
x2 − x
■ Example 4.1.15 Find the derivative of f (x) = 3 ■
x +1
Solution.
d d
d x2 − x (x3 + 1) dx (x2 − x) − (x2 − x) dx (x3 + 1)
′
f (x) = =
dx x3 + 1 (x3 + 1)2
(x3 + 1)(2x − 1) − (x2 − x)(3x2 ) (2x4 − x3 + 2x − 1) − (3x4 − 3x3 )
= =
(x3 + 1)2 (x3 + 1)2
−x4 + 2x3 + 2x − 1
=
(x3 + 1)2
■ Example 4.1.16 Find the derivative of h(x) = (2x + 1)5 (3x − 2)7 ■
Solution. First apply the product rule, then apply the chain rule to each term of the product.
d d
h′ (x) = (2x + 1)5 · (3x − 2)7 + (3x − 2)7 · (2x + 1)5
dx dx
= 5(2x + 1) · 2(3x − 2) + 7(3x − 2)6 · 3 · (2x + 1)5
4 7
dy
■ Example 4.1.17 Find if y = u3 − u2 + u + 1 and u = x3 + 1 ■
dx
Solution.
dy dy du
= = (3u2 − 2u + 1)(3x2 )
dx du dx
= 3x2 (3x6 + 4x3 + 2)
x+2
■ Example 4.2.1 Use the inverse function theorem to find the derivative of g(x) = . ■
x
x+2 2
Solution. The inverse of g(x) = is f (x) = . We will use Equation (4.2.1) and begin by finding
x x−1
−2 ′ −2 −2 x2
f ′ (x). Thus, f ′ (x) =
and f g(x) = = 2
= − .
(x − 1)2 (g(x) − 1)2 2
x+2
−1
x
Proof. We
πuseπ the inverse function theorem to find the −1 derivative of g(x) = sin−1 x Since for x in the
interval − 2 , 2 , f (x) = sin x is the inverse of g(x) = sin x begin by finding f ′ (x). Since f ′ (x) = cos x
and p
f ′ g(x) = cos sin−1 x = 1 − x2
we see that
d 1 1
g′ (x) = sin−1 x = ′
=√
dx f g(x) 1 − x2
■
R The domain of coth x and cschx is x ̸= 0 while the domain of the other hyperbolic functions is all real
numbers.
We proof the first and left the others as an exercise for the students. Let y = sinh−1 x. Then
ey − e−y
x = sinh y =
2
−y
⇒e − 2x − e = 0 ⇒ e2y − 2xey − 1 = 0
y
p
Using the quadratic formula, we have ey = x ± x2 + 1.
Proof. The derivatives of the inverse hyperbolic functions can be found by using the inverse functions
method or differentiating the logarithmic function directly. Let y = sinh−1 x, so sinh y = x. Then
d
sinh y = cosh(y) · y′ = 1,
dx
1 1 1
and so y′ = =p =√ .
cosh y 2
1 + sinh y 1 + x2
And
d d p
(cosh−1 x) = ln x + x2 − 1
dx dx
1 x
= √ 1+ √
x + x2 − 1 x2 − 1 !
√
1 x2 − 1 + x
= √ √
x + x2 − 1 x2 − 1
1
=√
x2 − 1
■
■ Example 4.3.3 The position of a particle moving along a straight line is given by
s = f (t) = 2t 3 − 15t 2 + 24t, t ≥ 0
where t is measured in seconds and s in feet.
(a) Find an expression giving the velocity of the particle at any time t. What are the velocity and
speed of the particle when t = 2?
(b) Determine the position of the particle when it is stationary.
(c) Find the acceleration function of the particle. What is the acceleration of the particle when t = 2?
(d) When is the acceleration zero? Positive? Negative?
■
dy
■ Example 4.3.4 If 2x2 y2 − 3x3 + 5y3 + 6xy2 = 5, find . ■
dx
dy π
■ Example 4.3.5 Find at ( , π), if x sin y − y cos 2x = 2x ■
dx 2
dy 4
Solution. =
dx 2 − π
■ Example 4.3.6 Find an equation of the tangent line to the bifolium 4x4 + 8x2 y2 − 25x2 y + 4y4 = 0 at
the point (2, 1). ■
dy dy
Solution. The slope of the tangent line to the bifolium at any point (x, y) is given by . To compute ,
dx dx
we differentiate both sides of the equation with respect to x to obtain
d d
4x4 + 8x2 y2 − 25x2 y + 4y4 =
0
dx dx
dy dy dy
⇒ 16x3 + 16x2 y + 16xy2 − 25x2 − 50xy + 16y3 = 0
dx dx dx
dy
By substituting x = 2 and y = 1 into the last equation, we obtain = 3. Using the slope-intercept form
dx
for an equation of a line, we see that an equation of the tangent line is y = 3x − 5
■ Example 4.3.7 Find y′ implicitly for y4 + x4 = 16. Then find the value of y′′ at the point (−2, 0). ■
x3
Solution. 4y3 y′ + 4x3 = 0 ⇒ y′
= − 3 .To find y′′ we differentiate this expression for y′ using the Quotient
y
Rule and remembering that y is a function of x:
3 2 3 3 2 ′ 3x 2 y3 − 3x2 y3 − x3
d x 3x y − 3x y y y3
y′′ = − 3 =− 6
=− 6
dy y y y
2 4
3x (x + y )4 2
3x (16) 48x 2
=− 7
=− 7
=− 7
y y y
■ Example 4.4.1 A rocket is launched so that it rises vertically. A camera is positioned 5000ft from
the launch pad. When the rocket is 1000 f t above the launch pad, its velocity is 600 f t/sec. Find the
necessary rate of change of the camera’s angle as a function of time so that it stays focused on the rocket.
■
Figure 4.1: A camera is positioned 5000 ft from the launch pad of the rocket.
Let h denote the height of the rocket above the launch pad and θ be the angle between the camera lens
and the ground.
Step 2. We are trying to find the rate of change in the angle of the camera with respect to time when
the rocket is 1000 ft off the ground. That is, we need to find dθdt when h = 1000 f t. At that time, we know
dh
the velocity of the rocket is dt = 600 f t/sec.
Step 3. Now we need to find an equation relating the two quantities that are changing with respect to
time: h and θ . How can we create such an equation? Using the fact that we have drawn a right triangle, it
is natural to think about trigonometric functions. Recall that tan θ is the ratio of the length of the opposite
side of the triangle to the length of the adjacent side. Thus, we have
h
tan θ = .
5000
This gives us the equation
h = 5000 tan θ .
Step 4. Differentiating this equation with respect to time t, we obtain
dh dθ
= 5000 sec2 θ .
dt dt
Step 5. We want to find dθ dh
dt when h = 1000 f t. At this time, we know that dt = 600 f t/sec. We need to
determine sec2 θ . Recall that sec θ is the ratio of the length of the hypotenuse to the length of the adjacent
side. We know the length of the adjacent side is 5000 f t. To determine the length of the hypotenuse, we use
the Pythagorean theorem, where the length of one leg is 5000 f t, the length of the other leg is h = 1000 f t,
and the length of the hypotenuse is c feet as shown in the following figure.
We see that
10002 + 50002 = c2
and we conclude that the hypotenuse is √
c = 1000 26 ft.
Therefore, when h = 1000, we have
√ !2
1000 26 26
sec2 θ = = .
5000 25
Recall from step 4 that the equation relating dθ
dt to our known values is
dh dθ
= 5000 sec2 θ .
dt dt
26
When h = 1000 f t, we know that dh 2
dt = 600 and sec θ = 25 . Substituting these values into the previous
equation, we arrive at the equation
26 dθ
600 = 5000 .
25 dt
dθ 3
Therefore, = rad/sec.
dt 26
■ Example 4.4.2 Water is draining from the bottom of a cone-shaped funnel at the rate of 0.03 ft3 /sec.
The height of the funnel is 2 ft and the radius at the top of the funnel is 1 ft. At what rate is the height of
the water in the funnel changing when the height of the water is 12 ft? ■
Let h denote the height of the water in the funnel, r denote the radius of the water at its surface, and V
denote the volume of the water.
1
Step 2: We need to determine dh dV
dt when h = 2 ft. We know that dt = −0.03 ft/sec.
Step 3: The volume of water in the cone is
1
V = πr2 h.
3
From the figure, we see that we have similar triangles. Therefore, the ratio of the sides in the two triangles
is the same. Therefore, hr = 21 or r = h2 . Using this fact, the equation for volume can be simplified to
2
1 h π
V= π h = h3 .
3 2 12
Step 4: Applying the chain rule while differentiating both sides of this equation with respect to time t, we
obtain
dV π dh
= h2 .
dt 4 dt
1
Step 5: We want to find dh
dt when h = 2 ft. Since water is leaving at the rate of 0.03 ft3 /sec, we know that
dV 3
dt = −0.03 ft /sec. Therefore, 2
π 1 dh
−0.03 = ,
4 2 dt
which implies
π dh
−0.03 = .
16 dt
It follows that
dh 0.48
=− = −0.153 ft/sec.
dt π
Figure 4.2: Abs min f (a), abs max f (d), loc min f (c) , f (e), loc max f (b), f (d)
Theorem 4.4.1 — Fermath’s Theorem. If f has a relative extremum at c, then either f ′ (c) = 0 or f ′ (c)
does not exist.
Definition 4.4.3 — Critical Number of a function. A critical number of a function f is any number c
in the domain of f at which f (c) = 0 or f ′ does not exist.
2
′ x3 − 1
Solution. f = 2 . Then the critical numbers are −1, 0, and 1.
x3
Theorem 4.4.2 — The Extreme Value Theorem. Let f be continuous on a closed, bounded interval
[a, b]. Then f has a maximum and a minimum value on [a, b].
■Example 4.4.4 For each of the following functions, find the absolute maximum and absolute minimum
over the specified interval and state where those values occur.
(a) f (x) = 3x4 − 4x3 − 8 on [−1, 2]
(b) f (x) = x2 − 3x2/3 on [0, 2]
(c) f (x) = 2 cos x − x on [0, 2π]
■
(0, 2π). We have f ′ (x) = −2 sin x − 1 = 0 Observe that f ′ (x)is continuous on (0, 2π). Next, setting
f ′ (x) = 0gives
1
−2 sin x − 1 = 0 ⇒ sin x = −
2
Thus, x = 7π 11π 7π 11π
6 or 6 .(Remember x lies in (0, 2π).) So 6 or 6 are the only critical numbers of f in
(0, 2π).
Next, we compute the values of f at these critical numbers as well as at the endpoints 0 and 2π.
These values are
7π √ 7π
f (0) =2, f (2π) = 2 − 2π = −4.28, f ( ) = − 3 − = −5.40,
6 6
11π √ 7π
f( ) = 3− = −4.03.
6 6
Thus, f attains the absolute maximum value of 2 at 0 and the absolute minimum value of approxi-
mately −5.4 at 7π6 .
Figure 4.3: Rolle’s Theorem says that a differentiable curve has at least one horizontal tangent between
any two points where it crosses a horizontal line. It may have just one (a), or it may have more (b).
Solution. (a) The polynomial function f is continuous and differentiable on (−∞, ∞) . In particular, it
is continuous on [−1, 1] and differentiable on (−1, 1) . Furthermore, f (−1) = (−1)3 − (−1) = 0
and f (1) = 13 − 1 = 0 and the hypotheses of Rolle’s theorem are satisfied.
(b) Rolle’s Theorem guarantees that there exists at least one number c in (−1, 1) such that f ′ (c) = 0.
But f ′ (x) = 3x2 − 1, so to find c , we solve √
2 3
3c − 1 = 0 ⇒ c = ±
3
Theorem 4.4.4 — The Mean Value Theorem. Let f be continuous on [a, b] and differentiable on (a, b).
Then there exists at least one number c in (a, b) such that
f (b) − f (a)
f ′ (c) = (4.4)
b−a
Solution. (a) f is a polynomial function, so it is continuous and differentiable on (−∞, ∞).In particular,
it is continuous on [−1, 1] and differentiable on (−1, 1). So the hypotheses of the Mean Value
Theorem are satisfied.
(b) f ′ (x) = 3x2 − 10x − 3, so f ′ (c) = 3c2 − 10c − 3. With a = 1 and b = 3 , Equation (4.4) gives
f (3) − f (1)
f ′ (c) =
3−1
−27 − (−7)
3c2 − 10c − 3 =
3−1
2
3c − 10c − 3 = − 10 ⇒ (3c − 7)(c − 1)
7 7
c = 1 or c = So there are two numbers, c1 = 1 and c2 = in (1, 3) that satisfy Equation (4.4).
3 3
■ Example 4.4.7 Suppose a ball is dropped from a height of 200 ft. Its position at time t is s(t) =
−16t 2 + 200. Find the time t when the instantaneous velocity of the ball equals its average velocity. ■
■ Example 4.4.8 Determine the intervals where the function f (x) = 2x3 + 3x2 − 12x − 3 is increasing
and where it is decreasing. ■
Solution. First we find the derivative of f f ′ (x) = 6x2 + 6x − 12 = 6(x + 2)(x − 1) from which we see that
f ′ is continuous everywhere and has zeros at −2 and 1. These zeros of f partition the domain of f into
the intervals (−∞, −2), (−2, 1) and (1, ∞). To determine the sign of f ′ (x) on each of these intervals, we
use sign chart
It follows that f ′ (x) > 0 for x in (−∞, −2) and (1, ∞), and f ′ (x) < 0 for x in (−2, 1). Therefore the
Theorem above implies that f is increasing on (−∞, −2] and [1, ∞) and is decreasing on [−2, 1].
■ Example 4.4.9 Let f (x) = x2 ex . Determine the intervals on which f is increasing and those on which
it is decreasing. ■
Since ex > 0 for all x, the table needs no separate entry for ex . It follows from the table that f is
increasing on (−∞, −2] and [0, ∞), and is decreasing on [−2, 0].
Caution: Theorem 4.4.5 says that if f (x) > 0 ( f (x) < 0) for all x in an interval I, then f is increasing
(decreasing) on I. The fact that I is an interval is critical. In the following example, f has a negative
derivative throughout its domain, but is not decreasing on its domain-which is not an interval.
1
■ Example 4.4.10 Let f (x) = . Show that f ′ (x) < 0 for all x in the domain of f . Then determine
x
whether f is decreasing on its domain. ■
Solution. Since f ′ (x) = − x12 , it follows that f ′ (x) < 0 for all x in the domain of f . However, f is not
decreasing on its domain because for each x in (−∞, 0) and each z in (0, ∞), the inequality f (x) < f (z)
holds. However, f is decreasing on each of the intervals (−∞, 0) and (0, ∞) separately
Theorem 4.4.6 — The First Derivative Test. Let f be differentiable on an open interval about the number
c except possibly at c, where f is continuous.
1. If f ′ changes sign from positive to negative at c, then f has a relative maximum value at c.
2. If f ′ changes sign from negative to positive at c, then f has a relative minimum value at c.
■ Example 4.4.11 Let f (x) = 4x3 + 9x2 − 12x + 3. Show that f has a relative maximum value at −2
and a relative minimum value a 12 . ■
Solution. First we find the derivative of f : f ′ (x) = 12x3 + 18x − 12 = 6(2x3 + 3x − 2) = 6(2x − 1)(x + 2).
To determine where f changes sign, we assemble the chart below.
Consequently f changes from positive to negative at −2 and from negative to positive at 12 . Thus the
First Derivative Test implies that f has a relative maximum value at −2 and f has a relative minimum
value at 21 .
1 3
■ Example 4.4.12 Let f (x) = x − 3x. Find the relative extreme values of f . ■
4
3 3 3
Solution. The derivative is given by f ′ (x) = x2 − 3 = (x2 − 4) = (x + 2)(x − 2). The pertinent
4 4 4
information about the sign of f ′ (x) is summarized in the chart below.
1
Consequently f changes from positive to negative at −2 and from negative to positive at . Thus the
2
First Derivative Test implies that f has a relative maximum value at −2 and f has a relative minimum
1
value at . We conclude that f is increasing on (−∞, −2] and on [2, ∞) and is decreasing on [−2, 2].
2
Furthermore, f changes from positive to negative at −2 and from negative to positive at 2. Therefore by
the First Derivative Test, f (−2) = 4 is a relative maximum value and f (2) = −4 is a relative minimum
value of f .
Theorem 4.4.7 — The Second Derivative Test. Assume that f ′ (c) = 0 and that f ′′ (c) exists
a. If f ′′ (c) < 0, then f (c) is a relative maximum value of f .
b. If f ′′ (c) > 0, then f (c) is a relative minimum value of f .
If f ′′ (c) = 0, then from this test alone we cannot draw any conclusions about a relative extreme
value of f at c.
■ Example 4.4.13 Let f (x) = x3 − 3x − 2. Using the Second Derivative Test, find the relative extreme
values of f . ■
■ Example 4.4.14 Let f (x) = 3x4 − 4x3 . Find the relative extreme values of f . ■
■ Example 4.4.15 Let f (x) = 3x4 − 4x3 . Find the intervals on which the graph of f is concave upward
and those on which it is concave downward. ■
Using the sign of f (x) along with Theorem 4.4.8, we deduce that the graph of f is concave upward on
(−∞, 0) and on ( 23 , ∞) and is concave downward on (0, 23 ).
■ Example 4.4.16 Let f (x) = 4x3 − 6x2 − 9x. Find the intervals on which the graph of f is concave
upward and those on which it is concave downward. ■
■ Example 4.4.17 Let f (x) = x4 − 6x2 + 8x + 10. Find the inflection points of the graph of f . ■
Observe that f ′′ (1) = f ′′ (−1) = 0 and that f ′′ changes sign at both 1 and −1. It follows that
(1, f (1)) = (1, 13) and (−1, f (−1)) = (−1, −3) are inflection points.
■ Example 4.4.18 Let f (x) = sin x for −2π ≤ x ≤ 2π. Find the inflection points of the graph of f and
discuss its concavity. ■
(x + 1)2
■ Example 4.4.19 Using the Graphing Strategy, Sketch the graph of f (x) = . ■
1 + x2
Solution. 1. The domain of f is −∞, ∞ and there are no symmetries about either axis or the origin.
2. find f and f ′′
′
(x + 1)2
f (x) = x intercept (−1, 0), y intercept (0, 1)
1 + x2
(x + 1)2 · 2(x + 1) − (x + 1)2 · 2x
f ′ (x) = 2
(1 + x2 )
2(1 − x)2
= 2
critical points : x = −1, x = 1
(1 + x2 )
(x2 + 1)2 · 2(−2x) − 2(1 − x2 )[2(1 + x2 ) · 2x]
f ′′ (x) = 4
(1 + x2 )
4x x2 − 3
= 3
(1 + x2 )
3. Behavior at critical points. The critical points occur only at x = ±1 where f ′ (x) = 0 (Step 2) since
f ′ exists everywhere over the domain of f . At x = −1, f ′′ (−1) = 1 > 0 yielding a relative minimum
by the Second Derivative Test. At yielding a relative maximum by the Second Derivative Test.
4. Increasing and decreasing. We see that on the interval (−∞, −1) the derivative f ′ (x) < 0 and the
curve is decreasing. On the interval (−1, 1), f ′ (x) > 0 and the curve is increasing; it is decreasing
on (1, ∞) where f ′ (x) < 0 again.
5. Inflection points. Notice that the denominator√of the second √ derivative (Step 2) is always positive.
The second derivative f ′′ is zero when x = −√ 3, 0 and 3. The√second derivative changes √ sign
at each of these points: √ negative on (−∞, − 3), positive on (− 3, 0), negative on (0, 3), and
positive again on ( √3, ∞). Thus each point√is a point of inflection. The√curve is concave down on
the interval
√ (−∞, − 3), concave up on (− 3, 0), concave down on (0, 3), and concave up again
on ( 3, ∞).
6. Asymptotes. We see that f (x) → 1+ as x → ∞ and that f (x) → 1− as x → −∞ Thus, the line
y = 1 is a horizontal asymptote. Since f decreases on (−∞, −1) and then increases on (−1, 1),
we know that f (−1) = 0 is a local minimum. Although f decreases on (1, ∞) it never crosses the
horizontal asymptote y = 1 on that interval (it approaches the asymptote from above). So the graph
never becomes negative, and f (−1) = 0 is an absolute minimum as well. Likewise, f (1) = 2 is an
absolute maximum because the graph never crosses the asymptote y = 1 on the interval (−∞, −1)
approaching it from below. Therefore, there are no vertical asymptotes (the range of f is 0 ≤ y ≤ 2)
7. The graph of f is sketched in Figure 4.4. Notice how the graph is concave down as it approaches
the horizontal asymptote y = 1 as x → −∞ and concave up in its approach to y = 1 as x → ∞.
(x + 1)2
Figure 4.4: The graph of f (x) =
1 + x2
x2
■ Example 4.4.20 Sketch the graph of y = 2 ■
x −1
■ Example 4.5.1 Evaluate each of the following limits by applying L’Hôpital’s rule.
Solution. (a) Since the numerator 1 − cos x → 0 and the denominator x → 0, we can apply L’Hôpital’s
rule to evaluate this limit. We have
d
1 − cos x 1 − cos x lim sin x 0
sin x x→0
lim = lim dx = lim = = = 0.
x→0 x x→0 d x→0 1 lim 1 1
x x→0
dx
(b) As x → 1, the numerator sin(πx) → 0 and the denominator ln(x) → 0. Therefore, we can apply
L’Hôpital’s rule. We obtain
sin(πx) π cos(πx)
lim = lim
x→1 ln x x→1 1/x
= lim (πx) cos(πx) .
x→1
= (π · 1)(−1) = −π
(c) Here lim ln x = −∞ and lim cot x = ∞. Therefore, we can apply L’Hôpital’s rule and obtain
x→0+ x→0+
ln x 1/x 1 sin2 x
lim = lim = lim = lim .
x→0+ cot x x→0+ − csc2 x x→0+ −x csc2 x x→0+ −x
Now lim sin2 x = 0 and lim −x = 0 so apply L’Hôpital’s rule again. We find
x→0+ x→0+
sin2 x 2 sin x cos x 0
lim = lim = = 0.
x→0+ −x x→0+ −1 −1
We conclude that
ln x
lim = 0.
x→0+ cot x
(d) As x → 0, both the numerator and denominator approach zero. Therefore, we can apply L’Hôpital’s
rule. We obtain
sin x − x cos x − 1
lim 2
= lim .
x→0 x x→0 2x
Since the numerator and denominator of this new quotient both approach zero as x → 0, we apply
L’Hôpital’s rule again.
cos x − 1 − sin x
lim = lim = 0.
x→0 2x x→0 2
Therefore, we conclude that
sin x − x
lim = 0.
x→0 x2
(e) lim (x3 ) = ∞ and lim (e2x ) = ∞. Then it is an indeterminate form of the type ∞/∞ and we apply
x→∞ x→∞
L’Hôpital’s rule.
1 1 (tan x) − x2
Solution. We have − = . As x → 0+ , tan x−x2 → 0 and x2 tan x → 0. Therefore, we can
x2 tan x x2 tan x
(tan x) − x2 (sec2 x) − 2x
apply L’Hôpital’s rule to obtain lim = lim . As x → 0+ , (sec2 x)−2x → 1
x→0+ x2 tan x x→0+ x2 sec2 x + 2x tan x
and x2 sec2 x + 2x tan x → 0. Since the denominator is positive as x approaches zero from the right, we
(sec2 x) − 2x
conclude that lim 2 2 = ∞.
x→0+ x sec x + 2xtan x
1 1
Therefore, lim 2
− = ∞.
x→0+ x tan x
Solution. First, rewrite the function x ln x as a quotient to apply L’Hôpital’s rule. If we write
ln x
x ln x =
1/x
1
we see that ln x → −∞ as x → 0+ and → ∞ as x → 0+ . Therefore, we can apply L’Hôpital’s rule and
x
obtain
d
ln x ln x 1/x
lim = lim dx = lim = lim (−x) = 0.
x→0+ 1/x x→0+ d x→0+ −1/x2 x→0+
1/x
dx
We conclude that lim x ln x = 0.
x→0+
1 ln x
Solution. Let y = x1/x . Then,ln(x1/x ) = ln x = .
x x
ln x
We need to evaluate lim
x→∞ x
Applying L’Hôpital’s rule, we obtain
ln x 1/x
lim ln y = lim = lim = 0.
x→∞ x→∞ x x→∞ 1
Therefore, lim ln y = 0. Since the natural logarithm function is continuous, we conclude that
x→∞
ln lim y = 0,
x→∞
which leads to
lim x1/x = lim y = eln(limx→∞ y) = e0 = 1.
x→∞ x→∞
1 x
sin x x
■ Example 4.5.5 Evaluate (a) lim x (b) lim x (c) lim 1 + ■
x→0+ x→0+ x→∞ x
References
1. Ellis R, Gulick D. Calculus with Analytic Geometry: Sixth Edition, Cengage Learning, 2006.
2. Stewart J. Caculus: Early Transcendentals, Senventh Edition. Cengage Learning. 2012.
3. Thomas GB, Weir MD, Hass J, Heil C, Behn A. Thomas’ calculus: Early transcendentals. Boston:
Pearson; 2010.
4. https://math.libretexts.org/Bookshelves/Calculus/