AP® CALCULUS AB & BC · UNIT 5
First Derivative Test for Local Extrema
Find and justify local maxima and minima using derivative signs. Read graphs, classify corners and stationary points, and practice writing AP Calculus explanations.

1. Apply the First Derivative Test
A local maximum is a value that is at least as large as all nearby values of the function. A local minimum is a value that is at most as large as all nearby values. Relative and local mean the same thing here.
Local maximum
for all domain inputs sufficiently close to .
Local minimum
for all domain inputs sufficiently close to .
An interior critical number belongs to the domain of and satisfies or has no derivative there. The graph point is , and the extremum value, if one occurs, is .
For the First Derivative Test, check that is continuous at the interior input and differentiable on a small open interval on either side. Compare the sign of throughout those two intervals.
| Signs of | Direction of | Result at |
|---|---|---|
| Rises, then falls | Local maximum | |
| Falls, then rises | Local minimum | |
| Keeps rising | Neither | |
| Keeps falling | Neither |
Why the test works. A positive derivative gives strict increase and a negative derivative gives strict decrease. Continuity at connects the two trends to the value . The two sides of a peak both have smaller values, and the two sides of a valley both have larger values.
2. Build a sign chart and classify each candidate
- Check the original domain
Include only inputs where the function exists. Mark excluded inputs and any boundaries before testing signs.
- Find interior critical numbers
Differentiate and solve for zeros. Include interior inputs where the derivative fails and the function is defined.
- Justify the signs on both sides
Use factors, the graph of the derivative, or an interior test point when the derivative keeps its sign on the interval.
- Name the location and value
State how the signs change at each candidate. Evaluate the original function there if the question asks for the extremum value.
When is continuous and nonzero on a test interval, it keeps its sign there. Pick an easy input in that interval, then record the sign in the chart. A factored derivative can also show the sign directly.
Near a zero, a squared factor stays positive on both sides, while a cubed factor changes sign. Check that the other factors stay nonzero before using this shortcut.
3. Read local extrema from a derivative graph
Compare the graph of with its derivative. The dashed guides mark the two critical inputs on the same horizontal scale.
Original function
First derivative
Graph walkthrough
1 · Read the sign on each side
Near , the derivative graph is below the horizontal axis on both sides. Near , it is below on the left and above on the right.
2 · Classify the critical inputs
The negative signs on both sides of give continued decrease. The negative-to-positive change at gives a local minimum of there.
4. Five worked examples
Worked example 1
Classify the turns of a cubic
Find and classify the local extrema of .
1 · Find the critical numbers
The polynomial is differentiable everywhere. Its derivative is zero at and .
2 · Read the sign pattern
| Interval | Derivative evidence and trend |
|---|---|
Increasing | |
Decreasing | |
Increasing |
3 · Explain the two turns and give their heights
At , the derivative changes from positive to negative, giving a local maximum.
The local maximum value is .
At , it changes from negative to positive, giving a local minimum.
The local minimum value is .
Worked example 2
Classify a cusp and a stationary point
Find the local extrema of . Use the real cube root for the fractional power.
1 · Check where the derivative exists
For , the derivative is
It vanishes at . At , the function is continuous with . The difference quotient tends to from the left and from the right, so the derivative is undefined there.
2 · Test the three intervals
| Interval | Derivative evidence and trend |
|---|---|
Increasing | |
Decreasing | |
Increasing |
3 · Use continuity at the cusp and classify both
The positive-to-negative change at gives a local maximum of . The negative-to-positive change at gives a local minimum.
The local minimum value is approximately .
A local maximum at a cusp
Worked example 3
Read a horizontal tangent where the curve keeps rising
Use the First Derivative Test to analyze .
1 · Find the stationary input
2 · Read the signs to the left and right
| Interval | Derivative evidence and trend |
|---|---|
Increasing | |
Increasing |
3 · Classify the point from the same signs
The derivative stays positive on both sides of , so keeps rising and has no local extremum there. The horizontal tangent at occurs at a stationary inflection point.
Worked example 4
Compare a repeated zero and a simple zero
Classify the critical numbers of , the function shown in the paired graphs.
1 · Factor to find both critical numbers
The roots are and . The squared factor is positive away from , so determines the sign on each test interval.
2 · Confirm the derivative signs
| Interval | Derivative evidence and trend |
|---|---|
Decreasing | |
Decreasing | |
Increasing |
3 · Explain why only one input is a turn
At the curve continues decreasing through a horizontal tangent, so there is no extremum. At the derivative changes from negative to positive, giving a local minimum.
Worked example 5
Separate a local extremum from two vertical asymptotes
Find and classify the local extrema of .
1 · Record the domain and differentiate
The original denominator excludes and . The quotient rule gives the numerator , which simplifies to .
The only critical number is . The excluded inputs divide the sign chart into pieces.
2 · Read the signs on the four intervals
| Interval | Derivative evidence and trend |
|---|---|
Increasing | |
Increasing | |
Decreasing | |
Decreasing |
3 · Classify the defined critical point
The derivative changes from positive to negative at , so the middle branch has a local maximum of . The outer branches lie above , so this maximum is local.
Domain gaps and a local peak
5. Handle repeated roots, cusps, and endpoints
- Corners and cusps
- Check that the function is defined and continuous at the candidate. For , the negative derivative to the left and positive derivative to the right give a local minimum at .
- Repeated zeros
- Compare with . The squared factor gives positive signs on both sides of . The cubed factor gives a negative-to-positive change and a local minimum there.
- Endpoints
- The two-sided test classifies interior points. If a prompt includes endpoint extrema, compare values from the side within the domain. To find absolute extrema on a closed interval, include both endpoints among the candidates.
- Flat pieces and jumps
- The sign table requires a definite positive or negative sign on each side and continuity at the candidate. For a flat piece or a discontinuity, compare the value at the input directly with nearby function values.
Check continuity before naming a turn. If the left and right curves approach a height different from , the actual value can change the classification. The derivative signs describe the motion on each side.
6. Compare the extrema tests
| Method | What it determines |
|---|---|
| First Derivative Test Topic 5.4 | Classify interior local extrema using the signs of on either side of a continuous point. The derivative can fail at the point itself. |
| Candidates Test Topic 5.5 | Compare the original function at endpoints and interior critical numbers to find absolute extrema on a finite closed interval where the function is continuous. |
| Second Derivative Test Topic 5.7 | At an interior stationary point, a positive gives a local minimum and a negative gives a local maximum. If , try another method. |
7. Nine practice questions
Try each question before opening its notebook solution.
Practice 1. Classify the two turns of a cubic
Use the First Derivative Test for .
Show solution 1
Notebook solution
1 · Factor and check the signs
The signs are across the intervals split by and .
2 · Report both extrema
The change from positive to negative gives a local maximum at , where . The change from negative to positive gives a local minimum at , where .
Practice 2. Classify a quartic with three critical numbers
Use the First Derivative Test for .
Show solution 2
Notebook solution
1 · Split the number line
The critical numbers are , , and . The derivative signs from left to right are .
2 · Give the values of the two valleys and the peak
There are local minima of at and . At the change is positive to negative, giving a local maximum of .
Practice 3. Check both branches of a reciprocal sum
Use the First Derivative Test for .
Show solution 3
Notebook solution
1 · Find the two candidates and the domain gap
The critical numbers are and . The input separates the two branches.
2 · Explain the sign change at each candidate
At , the derivative changes from positive to negative, giving a local maximum of . At , it changes from negative to positive, giving a local minimum of .
Practice 4. Classify a cusp with the opposite turn
Use the First Derivative Test for .
Show solution 4
Notebook solution
1 · Differentiate away from zero
The derivative vanishes at . At , the difference quotient for nonzero is . Its one-sided limits are and , while .
2 · Follow the derivative signs
The signs are negative, positive, then negative across and . The cusp gives a local minimum of at . The next change gives a local maximum at .
Practice 5. Classify the turn of a rational function
Use the First Derivative Test for .
Show solution 5
Notebook solution
1 · Check the denominator and derivative
The original denominator is positive for every real input.
2 · Read the single sign change
The derivative is negative to the left of and positive to its right, giving a local minimum of .
Practice 6. Test a claim about a flat tangent
A student says that has no local extremum at because . Use the First Derivative Test to check the claim.
Show solution 6
Notebook solution
1 · Check both sides of zero
The derivative is negative for and positive for . Therefore has a local minimum of at .
Practice 7. Recognize when the sign table is inconclusive
Can the First Derivative Test sign table fail to classify a critical point? Explain.
Show solution 7
Notebook solution
1 · Consider a flat piece next to an increasing piece
The derivative is zero to the left of and positive to the right. The strict sign patterns leave this case open. Comparing the outputs directly gives a local minimum of , with equality on the flat side.
Practice 8. Classify using only a derivative formula
If for every real input, identify the locations of the local extrema of .
Show solution 8
Notebook solution
1 · Compare the simple and repeated zeros
At , the derivative changes from negative to positive, so has a local minimum there. At , the derivative is positive on both sides, so keeps increasing through that critical number.
2 · Report the location
The given derivative identifies as the location of the minimum. To state its value, you would also need a function value or a formula for .
Practice 9. Check the hypothesis in Fermat’s theorem
True or false: every local maximum at satisfies . Explain.
Show solution 9
Notebook solution
1 · Use a corner
False. The function has a local maximum at . Its left slope is and its right slope is , so the derivative at is undefined.
2 · State the condition
At an interior local extremum where is differentiable, the derivative must equal zero.
8. Write an AP-style justification
In a justification, state the derivative sign on each side and name the resulting change at the candidate. The sign chart organizes your evidence. Write how that evidence establishes the local extremum.
AP response model
1 · Name the two signs
In the cubic example, . This is positive on and negative on by the signs of the two factors.
2 · Connect the signs to the extremum
Since changes from positive to negative at , the continuous function has a local maximum there. Its value is .
- Check the original domain first. Test both sides of an interior candidate and keep excluded inputs out of the list of critical numbers.
- Label the derivative. On a graph of , read height relative to zero. A crossing of that axis can reveal a change in the direction of .
- Separate the input from the output. Give for the location. Substitute into the original function for the extremum value if the prompt asks for it.
- Match the prompt. A local maximum only compares nearby values. An absolute maximum compares all values on the specified domain or interval.
9. Frequently asked questions
Can a critical number have neither kind of local extremum?
Yes. For , the derivative is positive on both sides of . The function increases through its horizontal tangent.
Can a cusp be the location of a local extremum?
Yes. If the function is continuous at the cusp, use the derivative signs on its two sides. A positive-to-negative change gives a local maximum there.
Why do the vertical asymptotes split the sign chart?
An excluded input separates the domain into intervals. Check the sign on each interval and classify only inputs where the function has a value.
Does the First Derivative Test require a second derivative?
It uses the first derivative on the two sides of a candidate and continuity at that input.
How should I justify an extremum on an AP response?
Name the sign of on each side and explain how the change gives a local maximum or minimum. Give if the prompt asks for the value.
10. Continue studying calculus
Topic 5.3 shows how the first derivative determines intervals of increase and decrease. Topic 5.4 uses the switch between those behaviors to classify a local turn. Topic 5.5 extends the analysis to absolute extrema by comparing function values.