Example 17: Local extrema of
Find all points of local maxima and local minima of the function given by
.
, so is a point of local maxima.
, so is a point of local minima.
Hence is a point of local maxima, with local maximum value 5, and is a point of local minima, with local minimum value 1.
Want the reason behind every step, the basics and the checks?
A local maximum is the top of a hill: the graph rises up to it and falls after it, so changes from to . A local minimum is the bottom of a valley: changes from to . So we find the only places where can change sign (where ; here is differentiable everywhere) and look at the sign of just to the left and just to the right of each. That is the first derivative test.
- Given
- for all real .
- To find
- All points of local maxima and of local minima (and the local maximum and minimum values).
- Plan
- Differentiate and factorise; the critical points are where ; make a sign chart; apply Theorem 3 at each critical point; cross-check with the second derivative.
Basics you need
An interior point is a point of local maxima if there is an with for all in ; a point of local minima if there. "Local" means: compared only with nearby points. Lesson: maxima and minima
If has a local maximum or minimum at , then or is not differentiable at (Theorem 2). Such points are called critical points (Note before Theorem 3). Only critical points can be local extrema.
Let be continuous at a critical point . (i) If changes sign from positive to negative as increases through , then is a point of local maxima. (ii) If it changes from negative to positive, is a point of local minima. (iii) If it does not change sign, is neither (a point of inflection). Lesson: first and second derivative tests
is negative left of and positive right of ; multiply the signs of the factors. Basics: sign of a product
Solution
Differentiate and factorise
By the power, constant-multiple and sum rules,
using the difference of squares .
A factorised derivative shows at once where it is zero and what its sign is on each side, which is all the first derivative test needs.Find the critical points
is a polynomial, so it is differentiable at every real number: there are no critical points of the "not differentiable" kind. The others are where :
So are the only critical points, and by Theorem 2 the only points that could be local maxima or minima.
Theorem 2 narrows an infinite search to two points. It does not say these points are extrema (the Remark after Theorem 2 gives at 0 as a counterexample), so each must still be tested.Sign chart of
Sign chart (not to scale). is on , on and on . Points close to each critical point, as in the book's table:
Near Side Value of Sign right, say left, say right, say left, say The sign does not hold only at 1.1 or 0.9: by the factor signs, at every point of and at every point of and of . That is what "sufficiently close to and to the right/left of " in Theorem 3 requires.At : a point of local minima
As increases through 1, changes from negative (on ) to positive (on ). is continuous at 1. By Theorem 3(ii), is a point of local minima, and the local minimum value is
Falling until , rising after: the graph has a valley floor at . Indeed for all , so on the whole neighbourhood , exactly as Definition 4(b) asks.At : a point of local maxima
As increases through , changes from positive to negative. By Theorem 3(i), is a point of local maxima, and the local maximum value is
Rising until , falling after: a hilltop. Directly: for all , so on the neighbourhood .The graph of : green where rising (), rose where falling (). The hilltop and the valley floor are the local maximum and minimum. Vertical scale smaller than horizontal. Cross-check with the second derivative, and "local" versus "largest"
, so and . By the Second Derivative Test (Theorem 4) this again gives a local minimum at 1 and a local maximum at .
These are only local: and . In fact has no maximum or minimum value on all of , since a cubic takes arbitrarily large positive and negative values.
Definition 4 compares only with values on a small interval around . A hilltop need not be the highest point of the whole graph.
, critical points . is a point of local maxima, local maximum value ; is a point of local minima, local minimum value . There are no other local extrema. This agrees with the book's solution.
- Around : , , . The middle value is the smallest: a valley.
- Around : , , . The middle value is the largest: a hill.
- Stopping at . Solving gives candidates only; the sign change (or ) decides which is which, and whether each is an extremum at all.
- Mixing up the two cases. then is a maximum (up, then down); then is a minimum.
- Giving when the value is asked, or the reverse. The point of local maxima is ; the local maximum value is .
- Calling 5 the maximum value of . It is only a local maximum value; is bigger.
- First derivative test: critical points, then the sign of just left and just right of each.
- A factorised with a sign chart answers both "where is increasing" and "where are the local extrema" at once.
- Local extrema compare a point with its neighbours only.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Derivative of a polynomial; | Step 1 | Derivative rules; difference of squares |
| Local extremum implies or not differentiable; critical point | Step 2 | Theorem 2 and the Note before Theorem 3, Section 6.4 |
| Sign of a product of linear factors | Step 3 | Basics: sign of a product |
| Point of local maxima / minima | Steps 4–6 | Definition 4, Section 6.4 (Lesson) |
| First Derivative Test | Steps 4, 5 | Theorem 3, Section 6.4 (Lesson) |
| Second Derivative Test | Step 6 | Theorem 4, Section 6.4 |
| Values in the tables and check box | Steps 3–6; Check | Recomputed in the site's verification script |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →