We use derivatives to help locate extrema.
Extrema
Local extrema on a function are points on the graph where the -coordinate is larger (or smaller) than all other -coordinates on the graph at points ‘‘close to’’ .
- (a)
- A function has a local maximum at , if for every near .
- (b)
- A function has a local minimum at , if for every near .
A local extremum is either a local maximum or a local minimum.
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. In many applied problems we want to find the largest or smallest value that a function achieves (for example, we might want to find the minimum cost at which some task can be performed) and so identifying maximum and minimum points will be useful for applied problems as well.
Critical points
If is a point where reaches a local maximum or minimum, and if the derivative of exists at , then the graph has a tangent line and the tangent line must be horizontal. This is important enough to state as a theorem, though we will not prove it.
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, consider the plots of and ,
- 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 .
Since the derivative is zero or undefined at both local maximum and local minimum points, we need a way to determine which, if either, actually occurs. The most elementary approach is to test directly whether the coordinates near the potential maximum or minimum are above or below the coordinate at the point of interest.
It is not always easy to compute the value of a function at a particular point. The task is made easier by the availability of calculators and computers, but they have their own drawbacks: they do not always allow us to distinguish between values that are very close together. Nevertheless, because this method is conceptually simple and sometimes easy to perform, you should always consider it.
For , we see that . This time we can use and , and we find that , so there must be a local maximum at , see the plot below:
The first derivative test
The method of the previous section for deciding whether there is a local maximum or minimum at a critical point by testing ‘‘near-by’’ points is not always convenient. Instead, since we have already had to compute the derivative to find the critical points, we can use information about the derivative to decide. 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.
- If to the left of and to the right of , then is a local maximum.
- If to the left of and to the right of , then is a local minimum.
- If has the same sign to the left and right of , then is not a local extremum.
So the critical points (when ) are when , , and . Now we can check points between the critical points to find when is increasing and decreasing:
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 minima are at and , see the graphs of and .
Hence we have seen that if is zero and increasing at a point, then has a local minimum at the point. If is zero and decreasing at a 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.