AP® CALCULUS AB & BC · UNIT 5
Second Derivative Test for Local Extrema
Classify local maxima and minima at stationary points. Read the second derivative, justify each result, and handle cases where the test gives no conclusion.

1. Apply the Second Derivative Test
The Second Derivative Test classifies an interior stationary point. Start with a function differentiable on an open interval around and check that . Then evaluate the second derivative at that input.
| Second derivative at | Conclusion |
|---|---|
| Local minimum at | |
| Local maximum at | |
| or undefined | Use another method to classify the point |
After classifying the input , evaluate if the prompt asks for the extremum value. The test uses one value of for each stationary point.
Check the slope first. If is undefined, the Second Derivative Test does not apply. For a continuous corner or cusp, the signs of on the two sides may still classify it.
2. Why the test works
At a stationary input , . The definition of the second derivative becomes
If this limit is positive, the quotient is positive for sufficiently small nonzero . For negative , is negative. For positive , it is positive. So falls into and rises away from it, giving a local minimum. A negative limit reverses these signs and gives a local maximum.
In a smooth example where the second derivative keeps its sign near the point, this looks like a valley or a peak with a horizontal tangent.
3. Classify each stationary input
- Check the domain and find stationary inputs
Solve for zeros of the first derivative within the domain. Identify any corner or cusp for a separate check.
- Evaluate the second derivative
Substitute each stationary input into the second derivative. A positive result gives a local minimum and a negative result gives a local maximum.
- Switch methods if needed
When the test gives no conclusion, check the signs of the first derivative around a continuous point or compare nearby function values.
- State the location and the value
Name the local maximum or minimum and its input. Evaluate the original function if the question asks for its value.
4. Connect stationary points to the second derivative
The left plot shows the cubic from Example 1. The right plot shows its second derivative. Both use the same input scale. The dashed guides align the stationary inputs and .
Original function
Second derivative
Graph walkthrough
1 · Find the horizontal tangents on the original graph
Both marked inputs have . Only those stationary inputs enter the Second Derivative Test.
2 · Read the second-derivative value at each input
The negative value at gives a local maximum. The positive value at gives a local minimum.
5. Five worked examples
Worked example 1
Classify the two turns of a cubic
Classify the critical points of .
1 · Find the stationary inputs
The polynomial is differentiable everywhere. Its stationary inputs are and .
2 · Substitute into the second derivative
| Input | and result |
|---|---|
Local maximum | |
Local minimum |
3 · Evaluate the original function
The local maximum is , and the local minimum is .
Worked example 2
Switch to the First Derivative Test when curvature is zero
Classify the stationary point of .
1 · Check both derivatives at zero
The only stationary input is , where . The Second Derivative Test is inconclusive.
2 · Read the slope on either side
The derivative is negative for and positive for . The sign change gives a local minimum of .
A minimum with zero second derivative
Worked example 3
Use different tests at different stationary inputs
Classify the critical points of .
1 · Find both stationary inputs
The stationary inputs are and .
2 · Compare the second-derivative results
| Input | and result |
|---|---|
Inconclusive | |
Local minimum |
3 · Finish the classification of both inputs
Near , is positive on either side and is negative. The first derivative is negative on both sides, so the curve keeps falling through . At , the positive second derivative gives a local minimum of .
Worked example 4
Evaluate exact trig values on one period
Classify the interior critical points of on , in radians.
1 · Solve for the stationary inputs
Sine equals cosine at and in this interval.
2 · Evaluate the second derivative
| Input | and result |
|---|---|
Local maximum | |
Local minimum |
At each input, sine and cosine have equal magnitude . Both are positive at the first input and negative at the second.
3 · Report the exact heights
The local maximum is at . The local minimum is at .
Worked example 5
Classify stationary points on separate rational branches
Classify the critical points of on its domain.
1 · Record the exclusion and differentiate
The original domain excludes . The quotient rule gives
The stationary inputs are and . For the next derivative, the same first derivative can be written as .
2 · Evaluate the second derivative on the two branches
| Input | and result |
|---|---|
Local maximum | |
Local minimum |
3 · Report the local extrema
The local maximum is . The local minimum is . The excluded input separates the two branches.
Two extrema on different domain intervals
6. Handle inconclusive and undefined cases
A zero second derivative at a stationary point leaves several possibilities. Compare the actual behavior of these functions around .
| Function | Behavior near zero |
|---|---|
| The derivative is positive on both sides. The graph keeps rising through zero. | |
| The derivative changes from negative to positive. The graph has a local minimum. | |
| The derivative changes from positive to negative. The graph has a local maximum. |
- Undefined first derivative
- For , the slopes to either side of are and . Continuity and the change of sign give a local minimum.
- Undefined second derivative
- For with the real cube root, , but is undefined. The first derivative is negative to the left and positive to the right, giving a local minimum.
- Endpoint or missing input
- The two-sided local test applies to interior stationary points. Compare endpoint values when the problem asks for absolute extrema on a closed interval. Keep excluded inputs out of the list of candidates.
The First Derivative Test uses continuity at the candidate and definite signs on either side. Where signs alone leave the classification open, compare the function’s value with nearby values.
7. Connect a local extremum to an absolute extremum
On a single interval of its domain, suppose is continuous and has exactly one interior critical number. If that input is already known to give a local extremum, it also gives the corresponding absolute extremum on the interval.
From local to absolute
1 · Verify the conditions across the whole interval
In Example 2, is continuous on . Its derivative vanishes only at and is defined everywhere.
2 · Use the established local minimum
The First Derivative Test gives a local minimum at . Since this is the only critical number on the interval, is also the absolute minimum.
Apply this reasoning on the specified interval. For Example 5, each rational branch is a separate interval. On a finite closed interval with multiple critical numbers, use the Candidates Test to compare values at the critical numbers and the endpoints.
8. Seven practice questions
Try each question before opening its notebook solution.
Practice 1. Classify two stationary points of a cubic
Use the Second Derivative Test for .
Show solution 1
Notebook solution
1 · Find the stationary inputs
The stationary inputs are and .
2 · Evaluate the test at both inputs
Since , there is a local maximum of . Since , there is a local minimum of .
Practice 2. Use the sign at each stationary input
Use the Second Derivative Test for .
Show solution 2
Notebook solution
1 · Factor the derivative
2 · Classify both critical numbers
At , , giving a local maximum of . At , , giving a local minimum of .
Practice 3. Check the second derivative at all three inputs
Use the Second Derivative Test for .
Show solution 3
Notebook solution
1 · Find all stationary inputs
The three stationary inputs are , , and .
2 · Use the negative value at zero and the positive values at the other inputs
| Input | and result |
|---|---|
Local minimum | |
Local maximum | |
Local minimum |
The local maximum is . The local minima each have value , at and .
Practice 4. Analyze an inconclusive fifth-power example
Apply the Second Derivative Test to at its stationary point. How can you finish the classification?
Show solution 4
Notebook solution
1 · Check both derivatives
Both derivatives are zero at , so the Second Derivative Test is inconclusive.
2 · Use the first derivative signs
The first derivative is positive on both sides of zero. The curve keeps rising through , so there is no local extremum there.
Practice 5. Decide which test works at a corner
Can you use the Second Derivative Test for at ? Explain.
Show solution 5
Notebook solution
1 · Check the slopes at the corner
The left slope is and the right slope is , so does not exist. The Second Derivative Test requires .
2 · Use the sign change
The first derivative changes from negative to positive at the continuous corner. Therefore is a local minimum.
Practice 6. Explain why the test works
Why does a nonzero second derivative classify a stationary point? Connect the answer to the graph’s bend.
Show solution 6
Notebook solution
1 · Start with the horizontal tangent
The slope is zero at the stationary input. A positive second derivative there gives negative slopes just to the left and positive slopes just to the right. The curve falls into the point and rises out of it. A negative second derivative reverses the slope signs and gives a peak.
Practice 7. Find an extremum when the test is inconclusive
Give an example with at a stationary point where a local extremum still occurs.
Show solution 7
Notebook solution
1 · Give the two derivative values
For , and . The Second Derivative Test is inconclusive.
2 · Compare function values
For every , . Since , the function has a local minimum there.
9. Write an AP-style justification
A complete justification identifies the stationary input, gives the value of the second derivative there, and connects its sign to the local classification. If the test gives no conclusion, show the evidence from another method.
AP response model
1 · Show the two required derivative values
In the first example, and .
2 · State the conclusion and the value
By the Second Derivative Test, has a local maximum at . Its value is .
- Use the test at a stationary input. Check before reading .
- Classify each input separately. In the same problem, one input may need the First Derivative Test and another may need just one second-derivative evaluation.
- Use for the height. The derivative values justify the classification. The original function gives the extremum value.
10. Frequently asked questions
What does a positive second derivative mean at a stationary point?
If and at an interior point where the test applies, has a local minimum there.
Does a zero second derivative rule out a local extremum?
It leaves the classification open. The function still has a local minimum at zero.
Can the Second Derivative Test classify a cusp?
A cusp may have an undefined first derivative. In that case, check continuity and the signs of the first derivative to each side.
Can a local minimum also be an absolute minimum?
Yes. One sufficient condition is continuity on the interval and exactly one interior critical number, where the local minimum occurs.
Should I substitute into the function or its second derivative?
Use to classify the stationary point and to find its height.
11. Continue studying calculus
Topic 5.4 classifies local extrema from signs of the first derivative. Topic 5.6 develops concavity, which helps explain the second-derivative rule. Topic 5.8 uses both derivatives when sketching a curve.