How to Find Extrema When the Second Derivative Is Zero
At a glance
- 1. Find critical points
For an interior point, check where the first derivative is zero or undefined.
- 2. Check the second derivative
If the second derivative is zero, the second-derivative test gives no classification.
- 3. Test nearby behavior
Check whether the first derivative changes sign across the point.
- 4. Use higher derivatives
If available, the first nonzero higher derivative can classify the critical point.
A zero second derivative does not tell you whether a function has a local maximum or minimum. It only means the usual second-derivative test cannot decide. To classify the point, check the function’s behavior on either side or use higher derivatives when their conditions are met.
What the second-derivative test says
For a twice-differentiable function, an interior local extremum can occur only at a critical point, where . If and , then is a local minimum. If , then is a local maximum.
When , neither conclusion follows. The graph’s concavity at that point may be insufficient to distinguish the possibilities. The test is inconclusive, not evidence that there is no extremum.
Also check that the point is critical in the first place. If but , then a differentiable function does not have a local extremum at the interior point .
Use the first-derivative sign test
The most direct method is to check the sign of just to the left and right of the critical point:
- If changes from negative to positive, the function changes from decreasing to increasing, so there is a local minimum.
- If changes from positive to negative, there is a local maximum.
- If has the same strict sign on both sides, there is no local extremum. If only keeps a weak sign and vanishes on an interval, a non-strict extremum may still occur, so compare nearby function values.
This test works even when , as long as you can determine the signs of nearby.
Worked examples at the same point
Consider three functions at . In each case, the first and second derivatives are both zero at the point:
| Function | First derivative | Behavior at 0 |
|---|---|---|
| Local minimum | ||
| Local maximum | ||
| Neither |
For , when and when . The function decreases and then increases, so is a local minimum. Its value is .
For , the derivative changes from positive to negative, so is a local maximum, with value .
For , the derivative is positive on both sides of zero. The function keeps increasing through the point, so there is no local extremum, even though .
These examples show why knowing only that the second derivative is zero is not enough.
Use higher derivatives when possible
Suppose , and the first nonzero derivative after is . If, in addition, the Taylor expansion at has the form
then:
- If is even and , there is a local minimum.
- If is even and , there is a local maximum.
- If is odd, there is no local maximum or minimum at .
For example, with , the first nonzero derivative at zero after is . Since the order is even, the point is a local minimum. For , the first nonzero derivative is the third derivative, of odd order, so there is no extremum. A sufficient condition for the Taylor expansion used here is that has continuous derivatives through order near .
When the derivative conditions are difficult to verify, the first-derivative sign test or direct comparison of nearby function values is often simpler.
Common mistakes
- Calling an inflection point automatically. A zero second derivative alone does not establish an inflection point either; concavity must change across the point.
- Calling the second-derivative test a failure of the function. The test is simply inconclusive. The function may still have a clear extremum.
- Checking only . First confirm that the point is critical. For a differentiable function at an interior local extremum, .
- Ignoring endpoints. The derivative tests described here classify interior points. For a continuous function on a closed interval, check the endpoints and all interior candidates, including points where the derivative is zero or does not exist, when finding absolute extrema.
References
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.