Earlier in this chapter we stated that if a function
has a local extremum at a point
then
must be a critical point of
However, a function is not guaranteed to have a local extremum at a critical point. For example,
has a critical point at
since
is zero at
but
does not have a local extremum at
Using the results from the previous section, we are now able to determine whether a critical point of a function actually corresponds to a local extreme value. In this section, we also see how the second derivative provides information about the shape of a graph by describing whether the graph of a function curves upward or curves downward.
Corollary
of the Mean Value Theorem showed that if the derivative of a function is positive over an interval
then the function is increasing over
On the other hand, if the derivative of the function is negative over an interval
then the function is decreasing over
as shown in the following figure.
A continuous function
has a local maximum at point
if and only if
switches from increasing to decreasing at point
Similarly,
has a local minimum at
if and only if
switches from decreasing to increasing at
If
is a continuous function over an interval
containing
and differentiable over
except possibly at
the only way
can switch from increasing to decreasing (or vice versa) at point
is if
changes sign as
increases through
If
is differentiable at
the only way that
can change sign as
increases through
is if
Therefore, for a function
that is continuous over an interval
containing
and differentiable over
except possibly at
the only way
can switch from increasing to decreasing (or vice versa) is if
or
is undefined. Consequently, to locate local extrema for a function
we look for points
in the domain of
such that
or
is undefined. Recall that such points are called critical points of
Note that
need not have a local extrema at a critical point. The critical points are candidates for local extrema only. In [link], we show that if a continuous function
has a local extremum, it must occur at a critical point, but a function may not have a local extremum at a critical point. We show that if
has a local extremum at a critical point, then the sign of
switches as
increases through that point.
Using [link], we summarize the main results regarding local extrema.
has a local extremum, it must occur at a critical point
if and only if the derivative
switches sign as
increases through
we must determine the sign of
to the left and right of
This result is known as the first derivative test.
Suppose that
is a continuous function over an interval
containing a critical point
If
is differentiable over
except possibly at point
then
satisfies one of the following descriptions:
changes sign from positive when
to negative when
then
is a local maximum of
changes sign from negative when
to positive when
then
is a local minimum of
has the same sign for
and
then
is neither a local maximum nor a local minimum of
We can summarize the first derivative test as a strategy for locating local extrema.
Consider a function
that is continuous over an interval
and divide the interval
into smaller intervals using the critical points as endpoints.
in each of the subintervals. If
is continuous over a given subinterval (which is typically the case), then the sign of
in that subinterval does not change and, therefore, can be determined by choosing an arbitrary test point
in that subinterval and by evaluating the sign of
at that test point. Use the sign analysis to determine whether
is increasing or decreasing over that interval.
to determine whether
has a local maximum, a local minimum, or neither at each of the critical points.
Now let’s look at how to use this strategy to locate all local extrema for particular functions.
Use the first derivative test to find the location of all local extrema for
Use a graphing utility to confirm your results.
Step 1. The derivative is
To find the critical points, we need to find where
Factoring the polynomial, we conclude that the critical points must satisfy
Therefore, the critical points are
Now divide the interval
into the smaller intervals
Step 2. Since
is a continuous function, to determine the sign of
over each subinterval, it suffices to choose a point over each of the intervals
and determine the sign of
at each of these points. For example, let’s choose
as test points.
Interval | Test Point | Sign of |
at Test Point | Conclusion |
{: valign=”top”} | ———- |
is increasing. | |
{: valign=”top”} |
is decreasing. | |
{: valign=”top”} |
is increasing. | {: valign=”top”}{: .unnumbered summary=”This table has four rows and four columns. The first row is a header row, and it reads from left to right Interval, Test Point, Sign of f’(x) = 3(x −3)(x + 1) at Test Point, and Conclusion. Below the header, the first column reads (−∞, −1), (−1, 3), and (3, ∞). The second column reads x = −2, x = 0, and x = 4. The third column reads (+)(−)(−) = +, (+)(−)(+) = −, and (+)(+)(+) = +. The fourth column reads f is increasing, f is decreasing, and f is increasing.” data-label=””}
Step 3. Since
switches sign from positive to negative as
increases through
has a local maximum at
Since
switches sign from negative to positive as
increases through
has a local minimum at
These analytical results agree with the following graph.
Use the first derivative test to locate all local extrema for
has a local minimum at
and a local maximum at
Find all critical points of
and determine the signs of
over particular intervals determined by the critical points.
Use the first derivative test to find the location of all local extrema for
Use a graphing utility to confirm your results.
Step 1. The derivative is
The derivative
when
Therefore,
at
The derivative
is undefined at
Therefore, we have three critical points:
and
Consequently, divide the interval
into the smaller intervals
and
Step 2: Since
is continuous over each subinterval, it suffices to choose a test point
in each of the intervals from step
and determine the sign of
at each of these points. The points
are test points for these intervals.
Interval | Test Point | Sign of |
at Test Point | Conclusion |
{: valign=”top”} | ———- |
is decreasing. | |
{: valign=”top”} |
is increasing. | |
{: valign=”top”} |
is increasing. | |
{: valign=”top”} |
is decreasing. | {: valign=”top”}{: .unnumbered summary=”This table has five rows and four columns. The first row is a header row, and it reads from left to right Interval, Test Point, Sign of f’(x) = 5(1 – x4/3)/(3x2/3) at Test Point, and Conclusion. Below the header, the first column reads (−∞, −1), (−1, 0), (0, 1), and (1, ∞). The second column reads x = −2, x = −1/2, x = 1/2, and x = 2. The third column reads (+)(−)/(+) = −, (+)(+)/(+) = +, (+)(+)/(+) = +, and (+)(−)/(+) = −. The fourth column reads f is decreasing, f is increasing, f is increasing, and f is decreasing.” data-label=””}
Step 3: Since
is decreasing over the interval
and increasing over the interval
has a local minimum at
Since
is increasing over the interval
and the interval
does not have a local extremum at
Since
is increasing over the interval
and decreasing over the interval
has a local maximum at
The analytical results agree with the following graph.
Use the first derivative test to find all local extrema for
has no local extrema because
does not change sign at
The only critical point of
is
We now know how to determine where a function is increasing or decreasing. However, there is another issue to consider regarding the shape of the graph of a function. If the graph curves, does it curve upward or curve downward? This notion is called the concavity of the function.
[link](a) shows a function
with a graph that curves upward. As
increases, the slope of the tangent line increases. Thus, since the derivative increases as
increases,
is an increasing function. We say this function
is concave up. [link](b) shows a function
that curves downward. As
increases, the slope of the tangent line decreases. Since the derivative decreases as
increases,
is a decreasing function. We say this function
is concave down.
Let
be a function that is differentiable over an open interval
If
is increasing over
we say
is concave up over
If
is decreasing over
we say
is concave down over
In general, without having the graph of a function
how can we determine its concavity? By definition, a function
is concave up if
is increasing. From Corollary
we know that if
is a differentiable function, then
is increasing if its derivative
Therefore, a function
that is twice differentiable is concave up when
Similarly, a function
is concave down if
is decreasing. We know that a differentiable function
is decreasing if its derivative
Therefore, a twice-differentiable function
is concave down when
Applying this logic is known as the concavity test.
Let
be a function that is twice differentiable over an interval
for all
then
is concave up over
for all
then
is concave down over
We conclude that we can determine the concavity of a function
by looking at the second derivative of
In addition, we observe that a function
can switch concavity ([link]). However, a continuous function can switch concavity only at a point
if
or
is undefined. Consequently, to determine the intervals where a function
is concave up and concave down, we look for those values of
where
or
is undefined. When we have determined these points, we divide the domain of
into smaller intervals and determine the sign of
over each of these smaller intervals. If
changes sign as we pass through a point
then
changes concavity. It is important to remember that a function
may not change concavity at a point
even if
or
is undefined. If, however,
does change concavity at a point
and
is continuous at
we say the point
is an inflection point of
If
is continuous at
and
changes concavity at
the point
is an inflection point of
For the function
determine all intervals where
is concave up and all intervals where
is concave down. List all inflection points for
Use a graphing utility to confirm your results.
To determine concavity, we need to find the second derivative
The first derivative is
so the second derivative is
If the function changes concavity, it occurs either when
or
is undefined. Since
is defined for all real numbers
we need only find where
Solving the equation
we see that
is the only place where
could change concavity. We now test points over the intervals
and
to determine the concavity of
The points
and
are test points for these intervals.
Interval | Test Point | Sign of |
at Test Point | Conclusion |
{: valign=”top”} | ———- |
is concave down | |
{: valign=”top”} |
is concave up. | {: valign=”top”}{: .unnumbered summary=”This table has three rows and four columns. The first row is a header row, and it reads from left to right Interval, Test Point, Sign of f’’(x) = 6x – 12 at Test Point, and Conclusion. Below the header, the first column reads (−∞, 2) and (2, ∞). The second column reads x = 0 and x = 3. The third column reads − and +. The fourth column reads f is concave down and f is concave up.” data-label=””}
We conclude that
is concave down over the interval
and concave up over the interval
Since
changes concavity at
the point
is an inflection point. [link] confirms the analytical results.
For
find all intervals where
is concave up and all intervals where
is concave down.
is concave up over the interval
and concave down over the interval
Find where
We now summarize, in [link], the information that the first and second derivatives of a function
provide about the graph of
and illustrate this information in [link].
Sign of | Sign of | Is increasing or decreasing? | Concavity |
---|---|---|---|
Positive | Positive | Increasing | Concave up |
Positive | Negative | Increasing | Concave down |
Negative | Positive | Decreasing | Concave up |
Negative | Negative | Decreasing | Concave down |
The first derivative test provides an analytical tool for finding local extrema, but the second derivative can also be used to locate extreme values. Using the second derivative can sometimes be a simpler method than using the first derivative.
We know that if a continuous function has a local extrema, it must occur at a critical point. However, a function need not have a local extrema at a critical point. Here we examine how the second derivative test can be used to determine whether a function has a local extremum at a critical point. Let
be a twice-differentiable function such that
and
is continuous over an open interval
containing
Suppose
Since
is continuous over
for all
([link]). Then, by Corollary
is a decreasing function over
Since
we conclude that for all
if
and
if
Therefore, by the first derivative test,
has a local maximum at
On the other hand, suppose there exists a point
such that
but
Since
is continuous over an open interval
containing
then
for all
([link]). Then, by Corollary
is an increasing function over
Since
we conclude that for all
if
and
if
Therefore, by the first derivative test,
has a local minimum at
Suppose
is continuous over an interval containing
then
has a local minimum at
then
has a local maximum at
then the test is inconclusive.
Note that for case iii. when
then
may have a local maximum, local minimum, or neither at
For example, the functions
and
all have critical points at
In each case, the second derivative is zero at
However, the function
has a local minimum at
whereas the function
has a local maximum at
and the function
does not have a local extremum at
Let’s now look at how to use the second derivative test to determine whether
has a local maximum or local minimum at a critical point
where
Use the second derivative to find the location of all local extrema for
To apply the second derivative test, we first need to find critical points
where
The derivative is
Therefore,
when
To determine whether
has a local extrema at any of these points, we need to evaluate the sign of
at these points. The second derivative is
In the following table, we evaluate the second derivative at each of the critical points and use the second derivative test to determine whether
has a local maximum or local minimum at any of these points.
Conclusion | |
{: valign=”top”} | ———- |
Local maximum | |
{: valign=”top”} |
Second derivative test is inconclusive | |
{: valign=”top”} |
| Local minimum | {: valign=”top”}{: .unnumbered summary=”This table has four rows and three columns. The first row is a header row, and it reads x, f’’(x), and Conclusion. After the header, the first column reads negative square root of 3, 0, and square root of 3. The second column reads negative 30 times the square root of 3, 0, and 30 times the square root of 3. The third column reads Local maxiumum, Second derivative test is inconclusive, and Local minimum.” data-label=””}
By the second derivative test, we conclude that
has a local maximum at
and
has a local minimum at
The second derivative test is inconclusive at
To determine whether
has a local extrema at
we apply the first derivative test. To evaluate the sign of
for
and
let
and
be the two test points. Since
and
we conclude that
is decreasing on both intervals and, therefore,
does not have a local extrema at
as shown in the following graph.
Consider the function
The points
satisfy
Use the second derivative test to determine whether
has a local maximum or local minimum at those points.
has a local maximum at
and a local minimum at
We have now developed the tools we need to determine where a function is increasing and decreasing, as well as acquired an understanding of the basic shape of the graph. In the next section we discuss what happens to a function as
At that point, we have enough tools to provide accurate graphs of a large variety of functions.
is a critical point of
and
for
and
for
then
has a local maximum at
is a critical point of
and
for
and
for
then
has a local minimum at
over an interval
then
is concave up over
over an interval
then
is concave down over
and
then
has a local minimum at
and
then
has a local maximum at
and
then evaluate
at a test point
to the left of
and a test point
to the right of
to determine whether
has a local extremum at
If
is a critical point of
when is there no local maximum or minimum at
Explain.
For the function
is
both an inflection point and a local maximum/minimum?
It is not a local maximum/minimum because
does not change sign
For the function
is
an inflection point?
Is it possible for a point
to be both an inflection point and a local extrema of a twice differentiable function?
No
Why do you need continuity for the first derivative test? Come up with an example.
Explain whether a concave-down function has to cross
for some value of
False; for example,
Explain whether a polynomial of degree
can have an inflection point.
For the following exercises, analyze the graphs of
then list all intervals where
is increasing or decreasing.
Increasing for
and
decreasing for
and
Decreasing for
increasing for
Decreasing for
and
increasing for
and
and
For the following exercises, analyze the graphs of
then list all intervals where
is increasing and decreasing and
a. Increasing over
decreasing over
b. maxima at
and
minima at
and
and
a. Increasing over
decreasing over
b. Minimum at
For the following exercises, analyze the graphs of
then list all inflection points and intervals
that are concave up and concave down.
Concave up on all
no inflection points
Concave up on all
no inflection points
Concave up for
and
concave down for
inflection points at
and
For the following exercises, draw a graph that satisfies the given specifications for the domain
The function does not have to be continuous or differentiable.
over
over
over
over
for all
Answers will vary
over
local maximum at
local minima at
There is a local maximum at
local minimum at
and the graph is neither concave up nor concave down.
Answers will vary
There are local maxima at
the function is concave up for all
and the function remains positive for all
For the following exercises, determine
is increasing or decreasing and
over
a. Increasing over
decreasing over
b. Local maximum at
local minimum at
For the following exercises, determine a. intervals where
is concave up or concave down, and b. the inflection points of
a. Concave up for
concave down for
b. Inflection point at
For the following exercises, determine
is increasing or decreasing,
is concave up and concave down, and
a. Increasing over
and
decreasing over
b. Maximum at
minimum at
c. Concave up for
concave down for
d. Infection point at
a. Increasing over
and
decreasing over
b. Minimum at
c. Concave down for
concave up for
d. Inflection point at
a. Increasing over
decreasing over
b. Minimum at
c. Concave up for all
d. No inflection points
For the following exercises, determine
is increasing or decreasing,
is concave up and concave down, and
Sketch the curve, then use a calculator to compare your answer. If you cannot determine the exact answer analytically, use a calculator.
[T]
over
a. Increases over
decreases over
and
b. Minimum at
maximum at
c. Concave up for
concave down for
and
d. Inflection points at
[T]
over
[T]
over
a. Increasing for all
b. No local minimum or maximum c. Concave up for
concave down for
d. Inflection point at
[T]
[T]
a. Increasing for all
where defined b. No local minima or maxima c. Concave up for
concave down for
d. No inflection points in domain
[T]
over
over
a. Increasing over
decreasing over
b. Minimum at
maximum at
c. Concave up for
concave down for
d. Infection points at
a. Increasing over
decreasing over
b. Minimum at
c. Concave up for
concave down for
d. Inflection point at
For the following exercises, interpret the sentences in terms of
The population is growing more slowly. Here
is the population.
A bike accelerates faster, but a car goes faster. Here
Bike’s position minus Car’s position.
The airplane lands smoothly. Here
is the plane’s altitude.
Stock prices are at their peak. Here
is the stock price.
The economy is picking up speed. Here
is a measure of the economy, such as GDP.
For the following exercises, consider a third-degree polynomial
which has the properties
Determine whether the following statements are true or false. Justify your answer.
for some
for some
True, by the Mean Value Theorem
There is no absolute maximum at
If
has three roots, then it has
inflection point.
True, examine derivative
If
has one inflection point, then it has three real roots.
is differentiable over an interval
and
is decreasing over
then
is concave down over
is differentiable over an interval
and
is increasing over
then
is concave up over
is twice differentiable over an interval
if
over
then
is concave up over
if
over
then
is concave down over
be a continuous function over an interval
containing a critical point
such that
is differentiable over
except possibly at
if
changes sign from positive to negative as
increases through
then
has a local maximum at
if
changes sign from negative to positive as
increases through
then
has a local minimum at
if
does not change sign as
increases through
then
does not have a local extremum at
is continuous at
and
changes concavity at
the point
is an inflection point of
and
is continuous over an interval containing
if
then
has a local minimum at
if
then
has a local maximum at
if
then the test is inconclusive
You can also download for free at http://cnx.org/contents/9a1df55a-b167-4736-b5ad-15d996704270@5.1
Attribution: