We now introduce the concavity of the graph of functions and then define the point of inflection. Next, we describe the second derivative test to find the local
maximum and local minimum.
The nature of f ' (x) can determine when the graph of a function is bending up or down. More precisely, when f ' (x) is increasing on
(a, b), the slope of the tangent line to the curve increases, and the graph bends upward. Similarly, when f ' (x) is decreasing on
(a, b), the slope of the tangent line to the curve decreases, and the graph bends downward.
Definition
Let f be differentiable on an open interval I. The graph of f is
1. concave up on I if f ' is increasing on the interval.
2. concave down on I if f ' is decreasing on the interval.
If f '' (x) > 0 for all x in the interval (a, b), then f '(x) is increasing on (a, b). So the graph
of f is concave up on (a, b).
Again, if f '' (x) < 0 for all x in the interval (a, b), then f ' (x) is decreasing on (a, b). So
the graph of f is concave down on (a, b).
Therefore we can use the second derivative to decide whether the function is concave up or concave down.
Test for Concavity
Let f be twice differentiable on an open interval I.
1. If f'' (x) > 0 for all x in I, then f is concave up on I.
2. If f''(x) < 0 for all x in I, then f is concave down on I.
Example 11.
Determine the open interval on which the graph of the function f (x) =
1⁄x2 + 1 is concave up or concave down. Solution f (x) =
1⁄x2 + 1 , f ' (x) = -
2x⁄(x2 + 1)2 .
We calculate that f '' (x) =
-2(x2 + 1)2 + 2x(2)(x2 + 1)(2x)⁄
(x2 + 1)4
= -2(x2 + 1)2 + 8x2(x2 + 1)⁄(x2 + 1)4
= 2(3x2 - 1)⁄(x2 + 1)3 f '' (x) is defined for all real number and f '' (x) = 0.
Hence, 2(3x2 - 1)⁄(x2 + 1)3 = 0
2(3x2 - 1) = 0
(x + 1⁄
√
3 ) (x -
1⁄
√
3 ) = 0.
Therefore x = ±
1⁄
√
3
Interval
x < -1⁄
√
3
-1⁄
√
3
< x < 1⁄
√
3
x > 1⁄
√
3
x + 1⁄
√
3
-
+
+
x - 1⁄
√
3
-
-
+
sign of f '' (x)
+
-
+
Behavior of f
concave up
concave down
concave up
We now describe a behavior of a point at which the concavity changes.
Consider the function f (x) = x3 .
For critical point, f ' (x) = 0,
3x2 = 0
Thus x = 0.
Now f '' (x) = 6x. So f '' (x) < 0 for x < 0 and f '' (x) > 0 for x > 0.
This show that the concavity changes at (0, 0) and the tangent to this curve crosses the curve at (0, 0).
Definition
A point where the graph of a function has a tangent line and where the concavity changes is a point of inflection. At a point of inflection, (c,
f (c)), either f '' (c) = 0 or f '' (c) is undefined.
Remark. We have an exceptional case that a point c is not inflection point even if f '' (c) = 0. For example, f (x) = (x -c)2k
where the integer k ≥ 2.
Example 12.
Determine the open interval on which the graph of following functions
(a) f (x) = x1⁄3
(b) f (x) = 9⁄88x11⁄3
is concave up or concave down. State their inflection points. Solution
(a) f (x) = x1⁄3 f ' (x) = 1⁄3x-2⁄3, f '' (x) = - 2⁄9x-5⁄
3 =
- 2⁄9x5⁄3.
Interval
x < 0
x = 0
x > 0
sign of f '' (x)
+
undefined
-
Behavior of f
concave up
inflection point
concave down
Therefore on x < 0 the graph of function is concave up and on x > 0 the graph of function is concave down.
The point (0, 0) is an inflection point.
(b) f (x) = 9⁄88x11⁄3 f ' (x) = 3⁄8x8⁄3, f '' (x) = x5⁄3.
Interval
x < 0
x = 0
x > 0
sign of f '' (x)
-
f '' (0) = 0
+
Behavior of f
concave down
inflection point
concave up
Therefore on x < 0 the graph of function is concave down and on x > 0 the graph of function is concave up. The point (0, 0) is
an inflection point.
The following example shows that concavity of the curve does not change at (0, 0) even if f '' (0) = 0.
Example 13.
Show that x = 0 is not inflection point of f (x) = x6. Solution
curve: f (x) = x6, f ' (x) = 6x5.
For critical points, f ' (x) = 0, namely x = 0.
Next, we consider f '' (x) = 30x4.
At x = 0, f '' (0) = 0.
We observed that f '' (x) > 0 for x > 0, and f '' (x) > 0 for x < 0,
so the second derivative does not change sign at x = 0.
Therefore, x = 0 is not inflection point of f (x) = x6.
Second Derivative Test
We now discuss the use of second derivative to determine whether a function is maximum or minimum without looking for sign changes in f ' at critical points.(see Figure in the previous definition).
Second Derivative Test for Local Maximum and Local Minimum
Suppose f '' is continuous on an open interval that contains x = c.
If f ' (c) = 0 and f '' (c) > 0, then f has a local minimum at x = c.
If f ' (c) = 0 and f '' (c) < 0, then f has a local maximum at x = c.
If f ' (c) = 0 and f '' (c) = 0, then the test fails. The function f may have a local maximum, a local minimum or
neither.
Example 14.
Find and classify the critical points of f (x) = x4 - 4x3 + 5. Solution
curve: f(x) = x4 - 4x3 + 5 f ' (x) = 4x3 - 12x2
= 4x2(x - 3).
For critical points, f ' (x) = 0, namely x = 0 and x = 3.
When x = 0, f (0) = 5, and when x = 3, f (3) = -22.
Therefore, the critical points are (0, 5) and (3, -22).
Next, f '' (x) = 12 x2 - 24x
= 12x(x - 2).
At x = 0, f '' (0) = 0. The second derivative test fails.
It is observed that f ' (x) < 0 when x < 0 and f ' (x) < 0 when 0 < x < 3.
Therefore (0, 5) is a point of inflection.
At x = 3, f '' (3) = 36.
Therefore (3, -22) is a local minimum.
Example 15.
Find the range of f (x) = ln x - x. Solution
curve: f (x) = ln x - x, f ' (x) =
1⁄x - 1. f '' (x) = - 1⁄x2.
For critical point, f ' (x) = 0, 1⁄x - 1 = 0.
Therefore x = 1
and f (1) = ln 1 - 1 = -1.
At x = 1, f '' (1) = -1 < 0.
Thus (1, -1) is a maximum point.
The range of f (x) is {y : y ≤ -1}.
Example 16.
Find the least amount of material needed to build an open cylindrical vessel with a capicity of 400π cm Solution
Let r = radius and h = height of cylindrical vessel. The volume of vessel is
πr2h = 400 π h = 400⁄r2.
Since vessel is open top, area of material for vessel is A = πr2 + 2πrh + 2πr400⁄r2
= πr2 + 800π⁄r, (r > 0).
Differentiating both sides with respect to r, we get dA⁄dr = 2πr -
800π ⁄r2.
For critical point, dA⁄dr = 0
2πr -
800π ⁄r2 = 0 r3 = 400 r =
∛
400 .
Next, d2A⁄dr2 = 2π +
1600π⁄r3.
When r =
∛
400 ,
d2A⁄dr2 = 2π +
4π > 0.
Therefore the area of material is the least when r =
∛
400 .
Therefore the least amount of material
= πr2800π⁄r
= 1200π⁄
∛
400 cm3.
Exercise 9.3
1. Determine the open intervals on which the graph of the following functions are concave up or concave down. State their points of inflection.
(a) f (x) = (x - 1)5, Solution f (x) = (x - 1)5 f '(x) = 5(x - 1)4 f "(x) = 20(x - 1)3 f" is defined for all real numbers and f" (x) = 0
20(x - 1)3 = 0
∴ x = 1
Interval
x < 1
x = 1
x > 1
x
-
f "(1) = 0
+
Behavior of f
Concave down
inflection point
concave up
(b) g (x) = x4 - 2x3 Solution g (x) = x4 - 2x3 g' (x) = 4x3 - 6x2 g" (x) = 12x2 - 12x g " (x) is defined for all real numbers and g " (x) = 0.
12x2 - 12x = 0 x2 - x = 0 x(x - 1) = 0 x = 0 or x = 1
Interval
x < 0
x = 0
0 < x < 1
x = 1
x > 1
x
-
+
x - 1
-
sign of g "
+
g " (0) = 0
-
g " (1) = 0
+
Behavior of g
concave up
concave down
concave up
(c) h (x) = sin x [π, -π] Solution h (x) = sin x [π, -π] h ' (x) = cos x h " (x) = -sin x h " (x) is defined on [-π , π] and h "(x) = 0
-sin x = 0 x = -π , 0, π
Interval
-π < x < 0
x = 0
0 < x < π
sin x
-
0
+
sign of g "
+
0
-
Behavior of g
Concave up
inflection point
concave down
2. Find and classify the critical points of the following functions.
(a) f (x) = x4 - 4x3 + 5 Solution
curve: f(x) = x4 - 4x3 + 5 f ' (x) = 4x3 - 12x2
= 4x2(x - 3).
For critical points, f ' (x) = 0, namely x = 0 and x = 3.
When x = 0, f (0) = 5, and when x = 3, f (3) = -22.
Therefore, the critical points are (0, 5) and (3, -22).
Next, f '' (x) = 12 x2 - 24x
= 12x(x - 2).
At x = 0, f '' (0) = 0. The second derivative test fails.
It is observed that f ' (x) < 0 when x < 0 and f ' (x) < 0 when 0 < x < 3.
Therefore (0, 5) is a point of inflection.
At x = 3, f '' (3) = 36.
Therefore (3, -22) is a local minimum.
(b) g (x) = x5 - 5x + 5 Solution g (x) = x5 - 5x + 5 g ' (x) = 5x4 - 5
For critical points, g ' (x) = 0
5x4 - 5 = 0 x4 = 1 x = -1 or x = 1 g(-1) = 9 g (1) = 1
The critical points are (-1, 9) and (1, 1). g " (x) = 20x3
At x = -1, g " (-1) = -20 < 0
∴ (-1, 9) is a local maximum.
At x = 1, g " (1) = 20 > 0
∴ (1, 1) is a local minimum.
(c) h (x) = xe-x Solution h (x) = xe-x h ' (x) = xe-x (-1) + e-x
= -xe-x + e-x
For critical points, h ' (x) = 0,
-xe-x + e-x = 0 e-x (-x + 1) = 0 e-x ≠ 0,
-x + 1 = 0 x = 1 h(1) = e-1 = 1⁄e
The critical point is (1, 1⁄e). h " (x) = -xe-x (-1) + e-x (-1) + e-x (-1)
= xe-x - 2e-x
At (1, 1⁄e), h " (1) = e-1 - 2e--1
= - 1⁄e < 0
∴ (1, 1⁄e) is a maximum point.
3. Find the range of f (x) = x - ex. Solution f (x) = x - ex f ' (x) = 1 - ex f " (x) = - ex
For critical points, f ' (x) = 0
1 - ex = 0 ex = 1 ex = 10 x = 0 f (0) = 0 - e0
= -1
The critical point is (0, -1).
At (0, -1), f " (0) = -1 < 0
∴ (0, -1) is a local maximum.
Range of f = {y: y ≤ -1}
4. If a piece of string of fixed length is made to enclose a rectangle, show that the enclosed area is the greatest when the rectangle is a square. Solution
Let a fixed length of string = ℓ cm.
Let the length of a rectangle = x cm
Let the breadth of a rectangle = y cm
∴ 23x + 2y = ℓ
2y = ℓ - 2x y = ℓ - 2x⁄2 y = ℓ⁄2 - x
Area = xy A = x(ℓ⁄2 - x)
= ℓ⁄2x - x2 dA⁄dx =
ℓ⁄2 - 2x d2A⁄dx2 = -2 dA⁄dx = 0, ℓ⁄2 - 2x = 0 x = ℓ⁄4 cm y = ℓ⁄2 - ℓ⁄4
= ℓ⁄4 cm
∴ The rectangle is a square. d2A⁄dx2 = -2 < 0
∴ The enclosed area is the greatest.
5. Find the minimum value of the sum of a positive number and its reciprocal. Solution
Let x be a positive number.
reciprocal of x = 1⁄x
sum = s = x + 1⁄x ds⁄dx = 1 -
1⁄x2 ds2⁄dx2 =
2⁄x3 ds⁄dx = 0 ⇒ 1 -
1⁄x2 = 0
- 1⁄x2 = -1 x2 = 1 x = 1 (∵ x is a positive)
when x = 1, ds2⁄dx2 =
2⁄1 = 2 > 0
Required minimum value = 1 + 1 = 2
6. A rectangular field is surrounded by a fence on three of its sides and a straight hedge on the fourth side. If the length of the fence is 320 meters, find the maximum area of the field enclosed. Solution
Let the length of a rectangle = x m
the breadth = y m.
2y + x = 320
2y = 320 - x y = 160 -
x⁄2
Area A = xy
= x(160 - x⁄2)
= 160x - x2⁄2 dA⁄dx = 160 - x d2A⁄dx2 = -1 dA⁄dx = 0 ⇒ 160 - x = 0 x = 160 m y = 160 - 80 = 80 m
when x = 160, d2A⁄dx2 = -1 < 0
∴ Maximum area of the field = 160 × 80
= 12800 m2
7. A rectangular box has a square base of side x cm. If the sum of one side of the square and height is 15 cm, express the volume of the box in terms of
x. Use this expression to determine the maximum volume of the box. Solution
Volume of the box V = x ⋅ x ⋅ (15 - x)
= 15 x2 - x3 dV⁄dx =
30x - 3x2 d2V⁄dx2
= 30 - 6x
When dV⁄dx = 0,
30x - 3x2 = 0
3x (10 - x) = 0 10 - x = 0 (∵ x > 0) x = 10 cm
When x = 10, d2V⁄dx2 = 30 - 6(10)
= -30 < 0
∴ The volume is maximum.
Maximum volume of the box = 10 × 10 × (15 - 10) = 500 cm3.
8. Two sides of triangle have a lengths x and y, and the angle between them is θ .
What volume of θ will maximize the triangle's area? Solution
Area of triangle A = 1⁄2bh A = 1⁄2xy sin θ dA⁄dθ =
1⁄2xy cos θ d2A⁄dθ2 =
- 1⁄2xy sin θ
When dA⁄dθ = 0, 1⁄2xy cos θ = 0
cos θ = 0 (∵ x, y > 0)
θ = π⁄2
When θ = π⁄2 , d2A⁄dθ2 =
- 1⁄2xy sin
π⁄2
= - 1⁄2xy < 0 (∵ x, y > 0)
∴ The triangle area is maximum.
Hence, θ = π⁄2 will maximize the triangle's area.