---
title: "Using the First Derivative Test to Determine Relative (Local) Extrema | FiveStudy"
description: "Not where f' is zero — where f' changes sign."
url: https://fivestudy.com/guides/ap-calculus-bc-5-4-using-the-first-derivative-test
---

[AP Calculus BC](https://fivestudy.com/ap-calculus-bc) · Study guide

# Using the First Derivative Test to Determine Relative (Local) Extrema

[Figure: FiveStudy]

FiveStudy

AP® Calculus BC · Unit 5 · Analytical Applications of Differentiation

AP® Calculus BC · Unit 5 · Analytical Applications of Differentiation

# The First *Derivative Test*

Not every critical point is a peak or a valley. This guide uses the sign of f′ on each side of a critical point to decide which it is, including at corners and cusps where f′ does not exist.

1. The test 2. Smooth turns and sharp turns 3. When there is no turn 4. From a graph of f′

The idea in one paragraph

At a critical point \(c\) of a continuous function: if \(f'\) changes from positive to negative, \(f\) has a **relative maximum** at \(c\); if it changes from negative to positive, a **relative minimum**; if it does not change sign, neither. The test works even where \(f'(c)\) does not exist, as long as \(f\) is continuous there. The value \(f'(c) = 0\) alone never proves an extremum: it is the sign change that does.

## 1 The test

| Sign of f′: left, right | At c |
| --- | --- |
| + then − | Relative maximum (rising, then falling) |
| − then + | Relative minimum (falling, then rising) |
| + then +, or − then − | No extremum |

Worked Example 1 Smooth turning points

### \(f(x) = x^3 - 3x^2 - 9x + 5\)

1. 1

   Critical points: \(f'(x) = 3(x - 3)(x + 1) = 0\) at \(x = -1\) and \(x = 3\).

2. 2

   Sign of \(f'\): \(+\) before \(-1\), \(-\) between, \(+\) after 3.

3. 3

   At \(x = -1\): \(+\) to \(-\), a relative maximum, \(f(-1) = 10\). At \(x = 3\): \(-\) to \(+\), a relative minimum, \(f(3) = -22\).

**Answer:** Relative maximum 10 at \(x = -1\); relative minimum \(-22\) at \(x = 3\).

Write it like this

“\(f'\) changes sign from positive to negative at \(x = -1\), so \(f\) has a relative maximum at \(x = -1\).”

Name the sign change and its direction. “\(f'(-1) = 0\), so it is a maximum” is not a valid reason.

Common Mistake 1 · Using f′ = 0 as the reason

\(f'(c) = 0\) only makes \(c\) a candidate. In Worked Example 3, \(h'(0) = 0\) and there is no extremum. The sign change is the reason.

## 2 Smooth turns and sharp turns

Worked Example 2 A cusp

### \(g(x) = x^{2/3}(x - 5)\)

1. 1

   \(g'(x) = \dfrac{5x - 10}{3x^{1/3}}\). Critical points: \(x = 2\) (top is 0) and \(x = 0\) (bottom is 0, and \(g(0)\) is defined).

2. 2

   Signs: for \(x \lt 0\), top and bottom are both negative: \(+\). On \((0, 2)\): top negative, bottom positive: \(-\). For \(x \gt 2\): both positive: \(+\).

3. 3

   At 0: \(+\) to \(-\), relative maximum, \(g(0) = 0\). At 2: \(-\) to \(+\), relative minimum, \(g(2) = 2^{2/3}(-3) \approx -4.762\).

**Answer:** Relative maximum 0 at \(x = 0\); relative minimum about \(-4.762\) at \(x = 2\).

**Figure 1.** At x = 0 the derivative changes from + to −, so g has a relative maximum, even though g′(0) does not exist. At x = 2 it changes from − to +, so g has a relative minimum.

## 3 When there is no turn

Worked Example 3 No sign change

### \(h(x) = x^4 - 4x^3\)

1. 1

   \(h'(x) = 4x^3 - 12x^2 = 4x^2(x - 3)\). Critical points: \(x = 0\) and \(x = 3\).

2. 2

   \(4x^2 \ge 0\) everywhere, so the sign comes from \(x - 3\): negative on \((-\infty, 0)\) and \((0, 3)\), positive after 3.

3. 3

   At 0: \(-\) to \(-\), no change: not an extremum. At 3: \(-\) to \(+\): relative minimum, \(h(3) = 81 - 108 = -27\).

**Answer:** Only one relative extremum: a minimum of \(-27\) at \(x = 3\).

**Figure 2.** h′(x) = 4x²(x − 3) is negative on both sides of 0 (the x² factor never changes sign), so h keeps decreasing through 0. Only x = 3, where h′ goes from − to +, is a relative extremum.

Common Mistake 2 · Forgetting squared factors

A factor like \(x^2\) or \((x - 5)^2\) is never negative, so it cannot flip the sign of \(f'\). Critical points that come only from an even power usually are not extrema.

## 4 From a graph of f′

Worked Example 4 From a graph of f′

### Reading crossings

The graph of \(f'\) crosses the x-axis going down at \(x = -1\) and going up at \(x = 3\), and touches the axis without crossing at \(x = 5\). Where does \(f\) have relative extrema?

1. 1

   Crossing from above to below: \(f'\) changes from \(+\) to \(-\), so \(f\) has a relative maximum at \(x = -1\).

2. 2

   Crossing from below to above: relative minimum at \(x = 3\).

3. 3

   Touching without crossing: no sign change, so no extremum at \(x = 5\).

**Answer:** Relative max at \(x = -1\), relative min at \(x = 3\), neither at \(x = 5\).

Common Mistake 3 · Reading f′’s peaks as f’s peaks

A high point on the graph of \(f'\) is where \(f\) is rising fastest, not where \(f\) is highest. The extrema of \(f\) are where \(f'\) *crosses* the axis.

### Quick reference

| Step | What to do |
| --- | --- |
| 1 | Find critical points: f′ = 0 or f′ undefined (with f defined) |
| 2 | Sign chart of f′ around each one |
| 3 | + to −: max; − to +: min; no change: neither |
| 4 | Report the value f(c) and where it occurs |

FiveStudy AP® Calculus BC · The first derivative test
