---
title: "Using the Second Derivative Test to Determine Extrema | FiveStudy"
description: "At a horizontal tangent, the bending decides. One substitution replaces a sign chart — when it works."
url: https://fivestudy.com/guides/ap-calculus-ab-5-7-using-the-second-derivative-test
---

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

# Using the Second Derivative Test to Determine Extrema

[Figure: FiveStudy]

FiveStudy

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

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

# The Second *Derivative Test*

At a horizontal tangent, the way the graph bends tells you whether you are at a peak or a valley. This guide shows the test, when it fails, and how a single critical point can settle an absolute extreme.

1. The test 2. Using it 3. When it is inconclusive 4. One critical point

The idea in one paragraph

Suppose \(f'(c) = 0\). If \(f''(c) \lt 0\), the graph is concave down at \(c\), so \(f\) has a **relative maximum** there. If \(f''(c) \gt 0\), concave up, so a **relative minimum**. If \(f''(c) = 0\), the test is **inconclusive**: use the first derivative test instead. The test only applies at points where \(f'(c) = 0\), not where \(f'\) is undefined.

## 1 The test

| At c with f′(c) = 0 | Shape | Conclusion |
| --- | --- | --- |
| \(f''(c) \lt 0\) | Cap (concave down) | Relative maximum |
| \(f''(c) \gt 0\) | Cup (concave up) | Relative minimum |
| \(f''(c) = 0\) | Could be anything | Inconclusive |

**Figure 1.** At a horizontal tangent, concave down (a cap) means the point is a peak, and concave up (a cup) means it is a valley. The sign of f″ at the point tells which.

## 2 Using it

Worked Example 1 Classify two critical points

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

1. 1

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

2. 2

   \(f''(x) = 6x - 6\). At \(-1\): \(f''(-1) = -12 \lt 0\), concave down. At 3: \(f''(3) = 12 \gt 0\), concave up.

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

Write it like this

“\(f'(-1) = 0\) and \(f''(-1) = -12 \lt 0\), so by the Second Derivative Test \(f\) has a relative maximum at \(x = -1\).”

Both facts are needed: the zero slope and the sign of the second derivative.

Worked Example 2 With an exponential

### \(g(x) = xe^{-x}\)

1. 1

   \(g'(x) = e^{-x}(1 - x) = 0\) only at \(x = 1\).

2. 2

   \(g''(x) = e^{-x}(x - 2)\), so \(g''(1) = -e^{-1} \lt 0\).

**Answer:** Relative maximum at \(x = 1\), value \(g(1) = e^{-1} \approx 0.368\).

Common Mistake 1 · Using the test where f′ is undefined

At a cusp like \(x^{2/3}\) at 0, \(f'\) does not exist, so there is no “\(f'(c) = 0\)” to start from. Use the first derivative test there.

## 3 When it is inconclusive

Worked Example 3 The test fails

### \(f(x) = x^4\), \(-x^4\), \(x^3\) at 0

1. 1

   Each has \(f'(0) = 0\) and \(f''(0) = 0\), so the second derivative test is inconclusive for all three.

2. 2

   First derivative test instead: \(4x^3\) goes from \(-\) to \(+\) (min); \(-4x^3\) goes from \(+\) to \(-\) (max); \(3x^2\) stays \(+\) (neither).

**Answer:** Inconclusive means “use another method,” not “no extremum.”

**Figure 2.** All three functions have f′(0) = 0 and f″(0) = 0, yet one has a minimum, one a maximum, and one neither. When f″(c) = 0, go back to the first derivative test.

Common Mistake 2 · Reading “inconclusive” as “not an extremum”

\(f''(0) = 0\) for \(x^4\), and \(x^4\) does have a minimum at 0. The second derivative test gives no answer; another method must decide.

## 4 One critical point

Worked Example 4 From one critical point to an absolute extreme

### \(h(x) = x + \dfrac{4}{x}\) on \((0, \infty)\)

1. 1

   \(h'(x) = 1 - \dfrac{4}{x^2} = 0\) at \(x = 2\) (only \(x \gt 0\) counts). It is the only critical point in the domain.

2. 2

   \(h''(x) = \dfrac{8}{x^3} \gt 0\) for all \(x \gt 0\), so \(h\) has a relative minimum at 2.

3. 3

   A continuous function on an interval with a single critical point that is a relative minimum has its absolute minimum there: the graph cannot come back down without creating another critical point.

**Answer:** Absolute minimum \(h(2) = 4\) on \((0, \infty)\).

Common Mistake 3 · Claiming an absolute extreme from a relative one

A relative minimum is only the lowest point nearby. The single-critical-point argument works because there is no other critical point on the interval. With two or more critical points, compare candidates instead.

### Quick reference

| Situation | Use |
| --- | --- |
| f′(c) = 0 and f″(c) easy to find | Second derivative test |
| f″(c) = 0 | First derivative test |
| f′(c) undefined | First derivative test |
| Only one critical point on an interval | Its relative extreme is the absolute extreme |

FiveStudy AP® Calculus AB · The second derivative test
