You are about to erase your work on this activity. Are you sure you want to do this?
Updated Version Available
There is an updated version of this activity. If you update to the most recent version of this activity, then your current progress on this activity will be erased. Regardless, your record of completion will remain. How would you like to proceed?
Mathematical Expression Editor
We use derivatives to help locate extrema.
Whether we are interested in a function as a purely mathematical object or in
connection with some application to the real world, it is often useful to know
what the graph of the function looks like. We can obtain a good picture of
the graph using certain crucial information provided by derivatives of the
function.
Extrema
A local extremum of a function is a point on the graph of where the -coordinate is
larger (or smaller) than all other -coordinates of points on the graph whose
-coordinates are “close to” .
(a)
A function has a local maximum at , if for every in some open interval
I containing .
(b)
A function has a local minimum at , if for every in some open interval
I containing .
A local extremum is either a local maximum or a local minimum.
In our next example, we clarify the definition of a local minimum.
Consider the graph
of a function :
Identify the local extrema of and give an explanation.
In the figure above the
function has a local minimum at, because we can find an open interval (marked in
the figure) that contains the number and for all numbers in the following statement
is true:
Local maximum and minimum points are quite distinctive on the graph of a
function, and are, therefore, useful in understanding the shape of the graph.
Many problems in real world and in different scientific fields turn out to be
about finding the smallest (or largest) value that a function achieves (for
example, we might want to find the minimum cost at which some task can be
performed).
Critical points
Consider the graph of the function .
The function has four local extremums: at , , and . Notice that the function is not
differentiable at and . Notice that and .
After this example, the following theorem should not come as a surprise.
Fermat’s Theorem If has a local extremum at and is differentiable at , then
.
Does Fermat’s Theorem say that if , then has a local extrema at ?
yesno
Consider , , but does not have a local maximum or minimum at .
Fermat’s Theorem says that the only points at which a function can have a local
maximum or minimum are points at which the derivative is zero or the derivative is
undefined. As an illustration of the first scenario, consider the plots of and .
Make a correct choice that completes the sentence below.
At the point , the function has
a local maximuma local minimumno local extremum
Select the correct statement.
is undefined
Make a correct choice that completes the sentence below.
At the point , the function has
a local maximuma local minimumno local extremum
Select the correct statement.
is undefined
Make a correct choice that completes the sentence below.
At the point , the function has
a local maximuma local minimumno local extremum
Select the correct statement.
is undefined
As an illustration of the second scenario, consider the plots of and :
Make a correct choice that completes the sentence below.
At the point , the function has
a local maximuma local minimumno local extremum
Select the correct statement.
is undefined
Make a correct choice that completes the sentence below.
At the point , the function has
a local maximuma local minimumno local extremum
Select the correct statement.
is undefined
This brings us to our next definition.
Assume that a function is defined on an open interval I that contains a point . Then
we say that the function has a critical point at if Notice, if a function has a
critical point at , then the number is inside some open interval , and is in the
domain of .
When looking for local maximum and minimum points, be careful not to make two
sorts of mistakes:
You may forget that a maximum or minimum can occur where the
derivative does not exist, and so forget to check whether the derivative
exists everywhere.
You might assume that any place that the derivative is zero is a local maximum
or minimum point, but this is not true, consider the plots of and .
While , there is neither a maximum nor minimum at .
Since both local maximum and local minimum occur at a critical point, when
we locate a critical point, we need to determine which, if either, actually
occurs.
Find all local maximum and minimum points for the function .
Write
We can easily express as a product of its factors which implies that the
function has only two critical points, and . Notice that the derivative
is a polynomial, and polynomials do not change signs except possibly at
their zeros. This implies that derivative does not change the sign on
the intervals , , and , because these intervals do not contain any zeros of
.
Select the correct statement about the sign of on the intervals and .
on and on .
on and on . on and on . on and on
If we know the sign of the derivative on an interval, we also know whether
the function is increasing or decreasing on that interval. This will help us
determine whether the function has a local extremum at the critical point where .
At the critical point where , the function has
no local extremum, because is increasing on and increasing on . a local
maximum, because is increasing on and decreasing on . a local minimum,
because is decreasing on and increasing on . no local extremum, because is
decreasing on and decreasing on .
Select the correct statement about the sign of on the intervals and .
on and on . on and on . on and on . on and on .
Again, the sign of the derivative on an interval determines whether the function is
increasing or decreasing on that interval. This will help us determine whether the
function has a local extremum at the critical point where .
At the critical point where , the function has
no local extremum, because is increasing on and increasing on . a local
maximum, because is increasing on and decreasing on . a local minimum,
because is decreasing on and increasing on . no local extremum, because is
decreasing on and decreasing on .
Do your answers agree with the graphs of and given in the picture below?
The first derivative test
We will further explore and refine the method of the previous section for deciding
whether there is a local maximum or minimum at a critical point. Recall that
If on an interval, then is increasing on that interval.
If on an interval, then is decreasing on that interval.
So how exactly does the derivative tell us whether there is a maximum, minimum, or
neither at a point? Use the first derivative test.
First Derivative Test Suppose that is continuous on an open interval, and that has a
critical point at , for some value in that interval.
If to the left of and to the right of , then the function has a local
maximum at .
If to the left of and to the right of , then the function has a local
minimum at .
If has the same sign to the left and right of , then the function has no
local extremum at .
Consider the function Find the intervals on which is increasing, the intervals on
which is decreasing and identify the local extrema of .
Start by computing Now we need to find on what intervals is positive and what intervals
it is negative. To do this, solve Factor
So the critical points (when ) are when , , and . Since the derivative, , is a
polynomial, it does not change the sign on intervals between its zeros, i.e.,
between the critical points. Now we can check the sign of at some points
between the critical points to find where is positive and where negative:
From this we can make a sign table:
Hence is increasing on and and is decreasing on and . Moreover, from the first
derivative test, the local maximum is at while the local minimums are at and
.
This can be confirmed by checking the graphs of and .
Hence we have seen that if is zero at a point and increasing on an interval containing
that point, then has a local minimum at the point. If is zero at a point and
decreasing on an interval containing that point, then has a local maximum at the
point. Thus, we see that we can gain information about by studying how changes.
This leads us to our next section.
Inflection points
If we are trying to understand the shape of the graph of a function, knowing where it
is concave up and concave down helps us get a more accurate picture. It is worth
summarizing what we have already seen into a single theorem.
Test for Concavity Suppose that exists on an interval.
(a)
If on an interval, then is concave up on that interval.
(b)
If on an interval, then is concave down on that interval.
Of particular interest are points at which the concavity changes from up to down or
down to up.
If is continuous at and its concavity changes either from up to down or down to up
at , then has an inflection point at .
It is instructive to see some examples of inflection points:
It is also instructive to see some nonexamples of inflection points:
We identify inflection points by first finding such that is zero or undefined and then
checking to see whether does in fact go from positive to negative or negative to
positive at these points.
Even if , the point determined by might not be an inflection point.
Describe the concavity of .
To start, compute the first and second derivative of with respect to ,
Since , there is potentially an inflection point at . But, for any , . Hence there is no
inflection point at . The curve is concave up for all and remains concave up for all
.
Describe the concavity of .
To start, compute the first and second derivative of with respect to , Since , there is
potentially an inflection point at . Using test points, we note the concavity does
change from down to up, hence there is an inflection point at . The curve
is concave down for all and concave up for all , see the graphs of and .
Note that we need to compute and analyze the second derivative to understand
concavity, so we may as well try to use the second derivative test for maxima
and minima. If for some reason this fails we can then try one of the other
tests.
The second derivative test
Recall the first derivative test:
If for all that are near and to the left of and for all that are near and
to the right of , then the function has a local maximum at .
If for all that are near and to the left of and for all that are near and
to the right of , then the function has a local minimum at .
Assume that a function has a critical point at and that . If happens to be
decreasing on some interval containing , then it changes from positive to negative at .
Therefore, if is negative on some interval that contains , then is definitely
decreasing, so there is a local maximum at the point in question. On the other hand,
if is increasing, then it changes from negative to positive at . Therefore, if is positive
on an interval that contains , then is definitely increasing, so there is a local
minimum at the point in question. We summarize this as the second derivative
test.
Second Derivative Test Suppose that is continuous on an open interval and that for
some value of in that interval.
If , then has a local maximum at .
If , then has a local minimum at .
If , then the test is inconclusive. In this case, may or may not have a local
extremum at .
The second derivative test is often the easiest way to identify local maximum and
minimum points. Sometimes the test fails and sometimes the second derivative is
quite difficult to evaluate. In such cases we must fall back on one of the previous
tests.
Once again, consider the function Use the second derivative test to locate the local
extrema of .
Start by computing Using the same technique as we used before, we find that Now
we’ll attempt to use the second derivative test, Hence we see that has a local
minimum at , a local maximum at , and a local minimum at , see below for a plot of
and :
If , what does the second derivative test tell us?
The function has a local
extremum at .The function does not have a local extremum at .It
gives no information on whether the function has a local extremum at .