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 forget to include endpoints as critical points. Don’t forget that extrema can occur at the endpoints of a function, so you must consider the endpoints when searching for the locations of extrema.
- 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: