Professional Documents
Culture Documents
6.1
6.1.1
102
2. If f !! (x) < 0 then f ! (x) is decreasing. This means that the slope of the original
function is getting shallower (from left to right). The function curves downwards:
we say that it is concave down. See Figure 6.1(b).
6.1.2
The second derivative of a function provides information about the curvature of the graph
of the function, also called the concavity of the function. In Figure 6.1(a), f (x) is concave
up, and its second derivative (not shown) would be positive. In Figure 6.1(b), f (x) is
concave down, and second derivative would be negative.
(a)
(b)
f (x)
f (x)
x
f (x)
f (x)
Figure 6.1. In (a) the function is concave up, and its derivative increases (in the
positive direction). In (b), the function is concave down, and its derivative decreases.
Definition 6.1. A point of inflection of a function f (x) is a point x at which the concavity
of the function changes (Fig. 6.2).
Inflection point
f '' (x) = 0
f ''(x) >0
f '' (x) <0
concave
down
concave
up
Figure 6.2. An inflection point is a place where the concavity of a function changes.
We can deduce from the definition and previous remarks that at a point of inflection
the second derivative changes sign. This is illustrated in Figure 6.2. Note carefully: It is
103
not enough to show that f !! (x) = 0 to conclude that x is an inflection point. We summarize
the one-way nature of this relationship in the box and discuss it further in Example 6.2..
Inflection points
1. If the function y = f (x) has a point of inflection at x0 then f !! (x0 ) = 0.
2. If the function y = f (x) satisfies f !! (x0 ) = 0, we cannot conclude that it has a
point of inflection at x0 . We must actually check that f !! (x) changes sign at x0 .
Example 6.2 Consider the the functions (a) f1 (x) = x3 and (b) f2 (x) = x4 . Show that
for both functions, the second derivative is zero at the origin (f !! (0) = 0) but that only one
of these functions actually has an inflection point at x = 0.
Solution: The functions are
(a) y = f1 (x) = x3 ,
(b) y = f2 (x) = x4 .
(b)
x3
x4
Figure 6.3. The functions (a) f1 (x) = x3 and (b) y = f2 (x) = x4 both satisfy
f !! (0) = 0. However, only x3 has an inflection point at x = 0, whereas x4 has a local
minimum at that point. This stems from the fact that f2!! (x) does not change sign at x = 0.
point of x4 . In fact, it is a local minimum, as shown in Figure 6.3.
6.1.3
In the previous section, we defined an inflection point as a point on the graph of a function
at which the second derivative changes sign. But how do we detect if this sign change
occurs at a given point? Here we address this question and provide a few helpful tools.
We first state the following important result
104
Here we have completely factored the second derivative. Sign changes can only occur
when there are factors with odd powers, such as (x + 1) and (x 1). These change sign at
x = 1, 1, respectively - making both inflection points. There is NO sign change at x = 0,
since the factor x2 is always positive.
6.2.1
105
Zeros of a function
1
1
x1,2 = (3 32 4) = (3 5).
2
2
Thus, there is a total of three zeros in this case.
Example 6.7 Find zeros of the function y = f (x) = x3 x 3.
Solution: This polynomial does not factor, nor is it easy to apply a cubic formula (analogous to the quadratic formula) for such cases. However, we have seen in Example 5.11 that
Newtons method leads to an accurate approximation for a zero of this function.
6.2.2
Critical points
Definition 6.8. A critical point of the function f (x) is any point x at which the first
derivative is zero, i.e. f ! (x) = 0.
Figure 6.4. A critical point (place where f ! (x) = 0) can be a local maximum,
local minimum, or neither.
Clearly, this will occur whenever the slope of the tangent line to the graph of the
function is zero, i.e. the tangent line is horizontal. Figure 6.4 shows several possible shapes
of the graph of function close to a critical point. We will call the first of these (on the left)
a local maximum, the second a local minimum and the last two cases (which are bends in
the curve) inflection points.
Critical points play an important role in many scientific applications, as we demonstrate in an upcoming chapter. Hence, we seek criteria to determine whether a critical point
is a local maximum, minimum, or neither. We will develop such diagnoses in the next
section.
106
Example 6.9 Consider the function y = f (x) = x3 + 3x2 + ax + 1. For what range of
values of a are there no critical points?
Solution: We compute the first derivative f ! (x) = 3x2 + 6x + a. A critical point would
occur whenever 0 = f ! (x), which implies 0 = 3x2 + 6x + a. This is a quadratic equation
whose solutions are
6 36 4a 3
.
x1,2 =
6
There two real solutions unless 36 12a < 0. In that case, there are no real solutions.
Thus, there are no critical points when 36 12a < 0, which implies a > 3.
6.2.3
f (x)
local max
f (x)
x
f '(x)
local min
x
f ' (x)
x
f ''(x)
x
f ''(x)
Figure 6.5. Close to a local maximum, f (x) is concave down, f ! (x) is decreasing, so that f !! (x) is negative. Close to a local minimum, f (x) is concave up, f ! (x) is
increasing, so that f !! (x) is positive.
In Fig. 6.5 we contrast the behaviour of two functions (top row), each with a critical
point, and their first and second derivatives close to that point (second and third rows,
respectively). In both cases, the first derivative crosses the x axis since f ! (x) = 0 at a
critical point. Near the local maximum, the slope of f (x) transitions from positive to zero
(at the critical point) to negative27. This means that the f ! (x) is a decreasing function, as
indicated in Fig. 6.5. Since changes in the first derivative are measured by its derivative,
27 By
convention, we always read the graph from left to right, in the direction of increasing x.
107
i.e. by f !! (x), we can say, equivalently that the second derivative is negative at a local
maximum.
The converse is true near a local minimum, as shown on the right column in Figure 6.5. We conclude from this discussion that the following diagnoses distinguish a local
maximum from a local minimum:
Summary: first derivative
f ! (x) < 0
decreasing function
f ! (x0 ) = 0
critical point
at x0
f ! (x) > 0
increasing function
f !! (x0 ) = 0
check for
inflection point
at x0
!!
if f changes sign
f !! (x) > 0
curve concave up
x = x0
f (x0 ) = 0
!
x > x0
f ! (x) < 0
x = x0
f (x0 ) = 0
!
x > x0
f ! (x) > 0
Second derivative test: For x0 a critical point, the sign pattern of f !! (x0 )) reveals:
f !! (x0 ) < 0
f !! (x0 ) = 0
f !! (x0 ) > 0
local maximum
inconclusive
local minimum
Inflection points:
We look for points at which f !! (x0 ) = 0 and check that f !! changes sign at x0 . When both
these conditions are satisfied, we conclude that x0 is an inflection point.
108
1. We can easily find the zeros of the function. Solving B(x) = 0, we find
C(x2 x3 ) = 0,
x2 = x3
x = 0, 1.
2. Reasoning about the powers, we surmise that close to the origin, x2 dominates (producing a parabolic shape there) whereas, far away, x3 dominates, leading to the
shape of an inverted cubic. We show this in a preliminary sketch, Fig. 6.6.
B(x)
x
close to 0
far from 0
Figure 6.6. Figure for the function B(x) = C(x2 x3 ) in Example 6.10 showing
which power dominates.
109
2x3x2 = 0,
2x = 3x2
x = 0,
2
3
From the sketch in Figure 6.6 we already see that x = 0 is a local minimum, and
x = 2/3 a local maximum. (Confirmation of this fact will come from the second
derivative.)
4. From the second derivative, B !! (0) = 2 > 0 confirming that x = 0 is a local
minimum. Further, B !! (2/3) = 2 6 (2/3) = 2 < 0 so x = 2/3 is a local
maximum.
5. Now identifying where B !! (x) = 0, we find that
B !! (x) = C(2 6x) = 0,
when 2 6x = 0
x=
1
2
=
6
3
we also note that the second derivative changes sign here: i.e. for x < 1/3, B !! (x) >
0 and for x > 1/3, B !! (x) < 0. We may conclude that there is an inflection point at
x = 1/3. The final sketch, now labeled, is given in Figure 6.7.
B(x)
inflection
1/3
local max
2/3
local min
Figure 6.7. Figure for the function B(x) = C(x2 x3 ) in Example 6.10.
Example 6.11 Sketch the graph of the function y = f (x) = 8 x5 + 5 x4 20 x3
Solution: This example is more challenging, but similar ideas apply.
1. Consider the powers: The highest power is 8 x5 so that far from the origin we expect
a typical positive odd function behaviour. The lowest power is 20 x3 , which means
that close to zero, we would expect to see a negative cubic. This already indicates
to us that the function turns around, and so, must have some local maxima and
minima. We draw a rough sketch in Figure 6.8.
2. Zeros: Factoring the expression for y and then using the quadratic formula leads to
y = x3 (8x2 + 5x 20).
x = 0,
1
5
665
16 16
110
3
3
1
1
201,
201
+
16 16
16 16
1.92
0
zero
1.5
32.0
0
<0
max
1.07
0
inflection
0
0
0
0
0.69
0
inflection
1
7
0
>0
min
1.3
0
zero
The shape of the function, its first and second derivatives are shown in Figure 6.9.
111
35.0
y=f(x)
-10.0
-2.0
1.5
200.0
y=f(x)
-40.0
-2.0
400.0
1.5
y=f(x)
-800.0
-2.0
1.5
Figure 6.9. The function y = f (x) = 8 x5 + 5 x4 20 x3 , and its first and second
derivatives, f ! (x) and f !! (x).
6.3.1
A global maximum (also denoted absolute maximum) of a function y = f (x) over some
interval is the largest value that the function attains on that interval. Similarly a global
minimum (or absolute minimum) is the smallest value.
Comment: If the function is defined on a closed interval, we must check both the
local maxima and minima as well as the endpoints of the interval to determine where the
global maxima and minima occur.
Example 6.12 Consider the function y = f (x) =
2
x
112
1
+ 2x,
x2
f !! (x) = 4
1
+ 2.
x3
1
= 2x
x2
1
+ 2x = 0,
x2
x3 = 1
and the critical point is at x = 1. Observe that the second derivative at this point is
f !! (1) = 4
1
+ 2 = 6 > 0,
13
f (1) = 3
global minimum
f (4) = 16.5
We see that the global minimum occurs at x = 1. There are no local maxima. The
global maximum occurs at the left endpoint.
Exercises
113
Exercises
6.1. A zero of a function is a place where f (x) = 0.
(a) Find the zeros, local maxima, and minima of the polynomial y = f (x) =
x3 3x
(b) Find the local minima and maxima of the polynomial y = f (x) = (2/3)x3
3x2 + 4x.
(c) Determine whether each of the polynomials given in parts (a) and (b) have an
inflection point.
6.2. Find critical points, zeros, and inflection points of the function y = f (x) = x3 ax.
Then classify the types of critical points that you have found.
6.3. For each of the following functions, sketch the graph for 1 < x < 1, find
f ! (0), f ! (1), f ! (1) and identify any local minima and maxima.
(a) y = x2 ,
(b) y = x3 ,
(c) y = x4
(d) Using your observations above, when can you conclude that a function whose
derivative is zero at some point has a local maximum at that point?
6.4. Sketch a graph of the function y = f (x) = x4 2x3 , using both calculus and
methods of Chapter 1.
6.5. Find the global maxima and minima for the function in Problem 4 on the interval
0 x 3.
6.6. Find the absolute maximum and minimum values on the given interval:
(a) y = 2x2 on 3 x 3
(b) y = (x 5)2 on 0 x 6
(c) y = x2 x 6 on 1 x 3
1
1
(d) y = + x on 4 x .
x
2
6.7. A function f (x) has as its derivative f ! (x) = 2x2 3x
(a) In what regions is f increasing or decreasing?
114
6.12. Find the values of a, b, and c if the parabola y = ax2 + bx + c is tangent to the line
y = 2x + 3 at (2, 1) and has a critical point when x = 3.
6.13. Double Wells and Physics: In physics, a function such as
f (x) = x4 2x2
is often called a double well potential. Physicists like to think of this as a landscape with hills and valleys. They imagine a ball rolling along such a landscape:
with friction, the ball eventually comes to rest at the bottom of one of the valleys
in this potential. Sketch a picture of this landscape and use information about the
derivative of this function to predict where the ball might be found, i.e. where the
valley bottoms are located.
6.14. (From Final Exam, Math 100 Dec 1996) Find the first and second derivatives of the
function
x3
.
y = f (x) =
1 x2
Use information about the derivatives to determine any local maxima and minima,
regions where the curve is concave up or down, and any inflection points.
6.15. Find all the critical points of the function
y = f (x) = 2x3 + 3ax2 12a2 x + 1
and determine what kind of critical point each one is. Your answer should be given
in terms of the constant a, and you may assume that a > 0.
6.16. (From Final Exam Dec 1995) The function f (x) is given by
y = f (x) = x5 10kx4 + 25k 2 x3
where k is a positive constant.
(a) Find all the intervals on which f is either increasing or decreasing. Determine
all local maxima and minima.
(b) Determine intervals on which the graph is either concave up or concave down.
What are the inflection points of f (x) ?
6.17. Muscle shortening: In 1938 Av Hill proposed a mathematical model for the rate of
shortening of a muscle, v, (in cm/sec) when it is working against a load p (in gms).
His so called force-velocity curve is given by the relationship
(p + a)v = b(p0 p)
where a, b, p0 are positive constants.
(a) Sketch the shortening velocity versus the load, i.e., v as a function of p. (Note:
the best way to do this is to find the intercepts of the two axes, i.e. find the
value of v corresponding to p = 0 and vice versa.)
(b) Find the rate of change of the shortening velocity with respect to the load, i.e.
calculate dv/dp.
Exercises
115
(c) What is the largest load for which the muscle will contract? (Hint: A contracting muscle has a positive shortening velocity, whereas a muscle with a very
heavy load will stretch, rather than contract, i.e. will have a negative value of
v.)
6.18. Reaction kinetics: Chemists often describe the rate of a saturating chemical reaction using Michaelis-Menten (Rm ) or sigmoidal (Rs ) kinetics
Rm (c) =
Kc
,
kn + c
Rs (c) =
Kc2
kn2 + c2
where c is the concentration of the reactant, K > 0, kn > 0 are constants. R(c) is
the speed of the reaction as a function of the concentration of reactant.
(a) Sketch the two curves. To do this, you should analyze the behaviour for c = 0,
for small c, and for very large c. You will find a horizontal asymptote in both
cases. We refer to that asymptote as the maximal reaction speed. What is the
maximal reaction speed for each of the functions Rm , Rs ? (Note: express
your answer in terms of the constants K, kn .)
(b) Show that the value c = kn leads to a half-maximal reaction speed.
For the questions below, you may assume that K = 1 and kn = 1.
(c) Show that sigmoidal kinetics, but not Michaelis Menten kinetics has an inflection point.
(d) Explain how these curves would change if K is increased; if kn is increased.
6.19. Checking the endpoints: Find the absolute maximum and minimum values of the
function
1
f (x) = x2 + 2
x
on the interval [ 21 , 2]. Be sure to verify if any critical points are maxima or minima
and to check the endpoints of the interval.
116