A local extremum and a maximum or minimum are different things1. We see the difference with .
Since , there are three points where .
| decreasing | local min | increasing | local max | decreasing | local min | increasing |
The local maximum is and the local minimum is .
The important point here is that the local maximum is not the greatest value of the whole graph. Since as , this function has no maximum at all. The point is merely the highest in its own neighborhood.
A minimum, on the other hand, does exist. Both local minima equal , and that is the lowest value anywhere, so the minimum is . There is no harm in two different values of attaining it.
| Item | Local extremum | Maximum and minimum |
|---|---|---|
| Range compared against | a neighborhood of the point | the whole domain, or an interval |
| Values for this function | local max , local min | no maximum, minimum |
A local extremum is a comparison made nearby; a maximum or minimum is a comparison made overall. That is why finding a maximum or minimum means examining not only the points with but also the ends of the interval and the behavior at infinity.
On the answer is different.
| Candidate | ||
|---|---|---|
| Local minimum | ||
| Left end of the interval | ||
| Right end of the interval |
The maximum is and the minimum is . The point is not an extremum, but as an end of the interval it is a candidate for the maximum.
Factoring shows that the graph meets the -axis at and . Since is a double root, the curve touches the axis at the origin without crossing. On we have , so the graph dips below the axis.
The shape is a W. Being even it is symmetric about the -axis, with a small hill at the origin and two valleys at .
The quartic on the graph is , the cubic is the derivative, and the large dots are the local minima and together with the local maximum .