First Derivative Test
The derivative tells you the slope of a graph at every point. Positive slope means the graph is going up; negative slope means it’s going down. So just from the sign of you can say where a function rises, where it falls, and where it turns around. The first derivative test turns this into a reliable way to find relative maximums and minimums, and it’s the justification AP graders expect most often.
Key ideas
Section titled “Key ideas”Increasing and decreasing
Section titled “Increasing and decreasing”On an interval:
- If , then is increasing.
- If , then is decreasing.
This follows from the Mean Value Theorem: if is positive everywhere between two points, the average rate of change between them is positive too, so the right-hand point is higher.
Sign charts
Section titled “Sign charts”can only change sign at a critical point (where or is undefined) or where itself is undefined. So:
- Find the critical points, plus any -values not in the domain of .
- Mark them on a number line. They split it into intervals.
- Pick a test value in each interval and find the sign of there. (Only the sign matters, so the factored form of is the easiest to use.)
- Read off: means increasing, means decreasing.
The first derivative test
Section titled “The first derivative test”Let be a critical point of a continuous function .
| As passes from left to right, changes from… | At , has a… |
|---|---|
| positive to negative | relative maximum |
| negative to positive | relative minimum |
| doesn’t change sign | neither |
Picture it: up then down is a hilltop; down then up is a valley; up then up (or down then down) is just a pause.
Justification sentences for the AP exam
Section titled “Justification sentences for the AP exam”AP graders want the reason tied to , at the specific -value:
- ” changes from positive to negative at , so has a relative maximum at .”
- ” on , so is increasing on .”
- ” does not change sign at , so has no relative extremum there.”
Avoid vague phrases like “the slope goes up and down” or “it” without naming or . Write about the function you’re given: if the question gives the graph of , talk about the sign of , not the shape of a graph of you haven’t been shown.
Worked examples
Section titled “Worked examples”Example 1: A cubic
Section titled “Example 1: A cubic”Let . Find the intervals where is increasing and decreasing, and find all relative extrema.
Solution.
Critical points: and . Test each interval:
| Interval | Test value | is | |
|---|---|---|---|
| increasing | |||
| decreasing | |||
| increasing |
is increasing on and , and decreasing on .
changes from positive to negative at , so has a relative maximum there: .
changes from negative to positive at , so has a relative minimum there: .
Example 2: A critical point that isn’t an extremum
Section titled “Example 2: A critical point that isn’t an extremum”Find the relative extrema of .
Solution.
Critical points: and . The factor is never negative, so the sign of depends only on :
| Interval | |||
|---|---|---|---|
| Sign of |
does not change sign at , so there’s no extremum there (the graph flattens out, then keeps falling). changes from negative to positive at , so has a relative minimum: .
Example 3: A break in the domain
Section titled “Example 3: A break in the domain”Let . Find the intervals of increase and decrease and the relative extrema.
Solution. The domain is all .
Critical points: . Also put on the chart, since is undefined there (it is not a critical point).
| Interval | ||||
|---|---|---|---|---|
| Sign of |
is increasing on and , and decreasing on and . Write these as two separate intervals: isn’t defined at , so you can’t say “decreasing on ”.
Relative maximum at ( changes from to ): .
Relative minimum at ( changes from to ): .
(Yes, the relative maximum is lower than the relative minimum. That’s possible because the graph breaks apart at .)
Example 4: Given only f′
Section titled “Example 4: Given only f′”A function is differentiable, with . Find the -values of all relative extrema of , and justify your answers.
Solution. Critical points: , , . The factor is never negative, so it doesn’t affect the sign.
| Interval | ||||
|---|---|---|---|---|
| Sign of |
- changes from positive to negative at , so has a relative maximum at .
- changes from negative to positive at , so has a relative minimum at .
- does not change sign at , so has no relative extremum at .
You don’t know itself, so you can’t find the -values, and the question doesn’t ask for them.
Common mistakes
Section titled “Common mistakes”Saying “f′ = 0, so it’s a maximum.” A zero derivative only makes a candidate. You need the sign change to classify it, as Example 2 shows.
Leaving undefined points off the sign chart. In Example 3, skipping would give the wrong picture. Put every critical point and every point where is undefined on the number line.
Joining intervals across a break. “Decreasing on ” is wrong in Example 3, because isn’t in the domain. List the intervals separately: and .
Using the sign of f instead of f′. Where the graph of is above the axis tells you nothing about increasing or decreasing. It’s the sign of that matters. This trips people up most when a question gives the graph of .
Weak justifications. “Because the graph goes up and then down” earns no credit on the AP exam. Name the derivative, the sign change, and the -value.
Giving a point when an x-value is asked for (or vice versa). “At what ” wants . “Find the relative maximum value” wants .
Practice
Section titled “Practice”1. (Warm-up) Let . Find where is increasing and decreasing, and find its relative extremum.
Solution
, which is negative for and positive for .
is decreasing on and increasing on . changes from negative to positive at , so there’s a relative minimum: .
2. (Warm-up) A function is differentiable, and changes from negative to positive at . What does have at ? Write the justification sentence.
Solution
A relative minimum. ” changes from negative to positive at , so has a relative minimum at .”
3. (Warm-up) Let . Find the intervals of increase and decrease, and the relative extrema.
Solution
.
| Interval | |||
|---|---|---|---|
| Sign of |
is decreasing on and , and increasing on .
Relative minimum at ( to ): . Relative maximum at ( to ): .
4. (Core) Let . Find the intervals of increase and decrease and the relative extremum.
Solution
By the product rule:
always, so the sign comes from : positive for , negative for .
is increasing on and decreasing on . changes from positive to negative at , so has a relative maximum: .
5. (Core) Let , so . Find the relative extrema.
Solution
Critical points: (where is undefined but exists) and .
| Interval | |||
|---|---|---|---|
| Sign of |
changes from positive to negative at : relative maximum, .
changes from negative to positive at : relative minimum, .
6. (Core) Let . Find the intervals of increase and decrease and the relative extrema.
Solution
The domain is .
Critical points: and . Also mark (not in the domain). The denominator is positive, so the sign comes from :
| Interval | ||||
|---|---|---|---|---|
| Sign of |
Increasing on and ; decreasing on and .
Relative maximum at : . Relative minimum at : .
7. (Core) Let on (radians). Find the -values of the relative extrema and the relative extreme values.
Solution
gives , so or .
Test values: at , ; at , ; at , .
changes from positive to negative at : relative maximum,
changes from negative to positive at : relative minimum,
8. (Core) A function has derivative . At what -values does have a relative maximum or minimum? Justify your answer.
Solution
Critical points: , , . The factor doesn’t affect the sign; has the same sign as .
| Interval | ||||
|---|---|---|---|---|
| Sign of |
- changes from positive to negative at , so has a relative maximum at .
- changes from negative to positive at , so has a relative minimum at .
- does not change sign at , so there is no relative extremum there.
9. (Challenge) Show that is decreasing on its whole domain, and explain why it has no relative extrema.
Solution
The numerator is never positive, and the denominator is always positive, so for all , with only at . A single point where doesn’t stop from decreasing, so is decreasing on .
The only critical point is , and doesn’t change sign there (negative on both sides), so has no relative extrema.
10. (Challenge) Find the value of so that has a relative maximum at . Then find the relative maximum value.
Solution
. A relative maximum at needs : , so .
Check with the first derivative test: is positive for and negative on . It changes from positive to negative at , so it really is a relative maximum.
.