The Extreme Value Theorem and Critical Points
Absolute and relative extrema
A relative extremum compares only with values nearby, on both sides of . So it occurs at a point inside the domain. An endpoint of a closed interval can't be a relative extremum under this definition, though it can be an absolute one. An absolute extremum at an interior point is also a relative one.
The Extreme Value Theorem
The theorem says the extrema exist. It doesn't say where they are, and either one can be at an endpoint. Each hypothesis is needed: drop either one, and the conclusion can fail.
On the left, is continuous, but the interval is open. For any in , some point between and gives a larger value of , so no value is the largest. On the right, the interval is closed, but jumps at . Its values get as close to as we like and never equal , so again no value is the largest. Each graph still has an absolute minimum: and .
Critical points
Suppose has a relative maximum at , so for every near . For , the quotient has a numerator and a positive denominator. So the quotient is , and its limit as is . For the denominator is negative, the quotient is , and its limit as is . Both one-sided limits equal , so and . Thus . A relative minimum works the same way, with the inequalities reversed.
So at a relative extremum, either or doesn't exist. Either way is a critical point: every relative extremum of occurs at a critical point of .
The converse is false: a critical point needn't be a relative extremum. For , , so is a critical point. But for and for , so is neither the largest nor the smallest value near .
The graph in Example 1 has three critical points. Its parabola has a horizontal tangent at the vertex, so . At and the graph has corners, so doesn't exist there. The critical points and are relative extrema, and isn't. On a closed interval the endpoints aren't counted as critical points. They're checked separately, as candidates for absolute extrema.
Finding critical points
Compute . Then solve , and find where doesn't exist. Keep only the numbers that lie in the domain of .