Maxima and Minima
The first derivative test
A critical point is a value where (or is undefined). To classify it, look at how the sign of changes as passes through :
| Sign of : left of , then right | is a |
|---|---|
| then | local maximum (rising, then falling) |
| then | local minimum (falling, then rising) |
| no change | neither, e.g. at |
The second derivative test
At a point where : if , it's a local maximum; if , it's a local minimum.
Worked example: local maximum of a cubic
Find the local maximum value of .
Solution: at . Checking the second derivative, :
At : , a local maximum, with value .
At : , a local minimum. So the local maximum value is 2.
The same cubic, by the first derivative test
is positive on , negative on and positive on . The sign goes to at (a local maximum) and to at (a local minimum), agreeing with the second derivative test.
When , the second derivative test gives no answer and the first derivative test is the way to decide. For example, has , but goes from to at , so it is a minimum.
Worked example: absolute extremes on a closed interval
Find the absolute maximum and minimum values of on .
Solution: On a closed interval, the absolute extremes occur either at a critical point inside the interval or at an endpoint. The only critical point in is . Evaluating at it and at both endpoints:
So the absolute maximum is (at , an endpoint) and the absolute minimum is (at ). Note that the endpoint value beats the local maximum here.
Worked example: an optimization problem
Find two positive numbers whose sum is 15 and whose sum of squares is as small as possible.
Solution: Let the numbers be and . Minimize:
at , and , confirming a minimum. So the two numbers are and , split evenly.
Common mistakes
- Assuming means an extreme. It only marks a candidate. has and no maximum or minimum there.
- Ignoring the endpoints. On a closed interval the absolute maximum or minimum can sit at an endpoint, as in the example above.
- Giving the location instead of the value. If asked for the maximum value, the answer is , not .
- Forgetting the constraint in an optimisation problem. Use it to write the quantity in one variable first, as did in the sum-of-squares example.