Steply

The second derivative test

Calculus · 20 problems, easy to harder

▶ Watch the first one solved

How we do it

  1. Find f′(x)
  2. Solve f′(x) = 0
  3. Find f″(x)
  4. Test each point
  5. Check

The steps for Use the second derivative test on f(x) = x^2 - 6x + 1. Every solution names its steps, so you always know what comes next.

Worked examples

Use the second derivative test on f(x) = x^2 - 6x + 1 Easy

The question

Question: find the maximum and minimum points of f(x) = x² − 6x + 1 with the second derivative test.

f(x) = x2 − 6x + 1

1 Find f′(x)

Use the power rule on each term.

f′(x) = 2x^(2 − 1) − 6 × 1 + 0

Now we have f′(x) = 2x − 6.

= 2x − 6

2 Solve f′(x) = 0

At a turning point the graph is flat for a moment: the slope is 0.

So we solve f′(x) = 0.

f′(x) = 0
2x − 6 = 0

Take out the 2.

2(x − 3) = 0

So x = 3.

x = 3

3 Find f″(x)

f double prime is the derivative of f′.

It tells how the slope changes.

f″(x): the derivative of f′(x)

Use the power rule again, now on f′.

f″(x) = 2 × 1 + 0

Now we have f″(x) = 2.

= 2

If f″ is positive, the slope is growing: the curve bends up, like a cup.

Its bottom is a minimum.

If f″ is negative, it bends down, like a cap.

Its top is a maximum.

cup f″ > 0: a cup, a min
cap f″ < 0: a cap, a max

4 Test each point

At x = 3, f″ is 2: positive.

A cup.

So a minimum.

f″(3) = 2 > 0 cup min

Careful!

Positive f″ is a cup.

The bottom of a cup is a minimum, not a maximum.

Careful: not f″(3) > 0 → max ✗

Its y: put 3 into f.

We get −8.

f(3) = 32 − 6(3) + 1 = 9 − 18 + 1 = −8

So: a minimum at (3, −8).

= min (3, −8)

5 Check

Let's check with the graph.

A cup at the minimum.

Right!

Let's look back.

First: find f′(x).

Then: solve f′(x) = 0.

Then: find f″(x).

Then: test each point.

Last: check.

Answer
= min (3, −8)

▶ Watch it solved

Use the second derivative test on f(x) = x^3 - 3x Medium

The question

Question: find the maximum and minimum points of f(x) = x³ − 3x with the second derivative test.

f(x) = x3 − 3x

1 Find f′(x)

Use the power rule on each term.

f′(x) = 3x^(3 − 1) − 3 × 1

Now we have f′(x) = 3x² − 3.

= 3x2 − 3

2 Solve f′(x) = 0

At a turning point the graph is flat for a moment: the slope is 0.

So we solve f′(x) = 0.

f′(x) = 0
3x2 − 3 = 0

Take out the 3.

3(x2 − 1) = 0

x² − 1 is a difference of two squares: x² minus 1 squared.

So it is (x − 1)(x + 1).

3(x + 1)(x − 1) = 0
a² − b² = (a − b)(a + b), b = 1

A product is 0 only when one of its parts is 0.

a × b = 0 → a = 0 or b = 0

So x = −1 or x = 1.

x = −1 or x = 1

3 Find f″(x)

f double prime is the derivative of f′.

It tells how the slope changes.

f″(x): the derivative of f′(x)

Use the power rule again, now on f′.

f″(x) = 3 × 2x^(2 − 1) + 0

Now we have f″(x) = 6x.

= 6x

If f″ is positive, the slope is growing: the curve bends up, like a cup.

Its bottom is a minimum.

If f″ is negative, it bends down, like a cap.

Its top is a maximum.

cup f″ > 0: a cup, a min
cap f″ < 0: a cap, a max

4 Test each point

At x = −1, f″ is −6: negative.

A cap.

So a maximum.

f″(−1) = 6(−1) = −6 < 0 cap max

Careful!

Negative f″ is a cap.

The top of a cap is a maximum, not a minimum.

Careful: not f″(−1) < 0 → min ✗

At x = 1, f″ is 6: positive.

A cup.

So a minimum.

f″(1) = 6(1) = 6 > 0 cup min

Its y: put −1 into f.

We get 2.

f(−1) = (−1)3 − 3(−1) = −1 + 3 = 2

Its y: put 1 into f.

We get −2.

f(1) = 13 − 3(1) = 1 − 3 = −2

So: a maximum at (−1, 2), and a minimum at (1, −2).

= max (−1, 2), min (1, −2)

5 Check

Let's check with the graph.

A cap at the maximum, and a cup at the minimum.

Right!

Let's look back.

First: find f′(x).

Then: solve f′(x) = 0.

Then: find f″(x).

Then: test each point.

Last: check.

Answer
= max (−1, 2), min (1, −2)

▶ Watch it solved

Use the second derivative test on f(x) = x^3 - 3x^2 - 9x + 2 Harder

The question

Question: find the maximum and minimum points of f(x) = x³ − 3x² − 9x + 2 with the second derivative test.

f(x) = x3 − 3x2 − 9x + 2

1 Find f′(x)

Use the power rule on each term.

f′(x) = 3x^(3 − 1) − 3 × 2x^(2 − 1) − 9 × 1 + 0

Now we have f′(x) = 3x² − 6x − 9.

= 3x2 − 6x − 9

2 Solve f′(x) = 0

At a turning point the graph is flat for a moment: the slope is 0.

So we solve f′(x) = 0.

f′(x) = 0
3x2 − 6x − 9 = 0

Take out the 3.

3(x2 − 2x − 3) = 0

We need two numbers that multiply to −3 and add to −2: 1 and −3.

3(x + 1)(x − 3) = 0
1 × (−3) = −3, 1 + (−3) = −2

A product is 0 only when one of its parts is 0.

a × b = 0 → a = 0 or b = 0

So x = −1 or x = 3.

x = −1 or x = 3

3 Find f″(x)

f double prime is the derivative of f′.

It tells how the slope changes.

f″(x): the derivative of f′(x)

Use the power rule again, now on f′.

f″(x) = 3 × 2x^(2 − 1) − 6 × 1 + 0

Now we have f″(x) = 6x − 6.

= 6x − 6

If f″ is positive, the slope is growing: the curve bends up, like a cup.

Its bottom is a minimum.

If f″ is negative, it bends down, like a cap.

Its top is a maximum.

cup f″ > 0: a cup, a min
cap f″ < 0: a cap, a max

4 Test each point

At x = −1, f″ is −12: negative.

A cap.

So a maximum.

f″(−1) = 6(−1) − 6 = −6 − 6 = −12 < 0 cap max

Careful!

Negative f″ is a cap.

The top of a cap is a maximum, not a minimum.

Careful: not f″(−1) < 0 → min ✗

At x = 3, f″ is 12: positive.

A cup.

So a minimum.

f″(3) = 6(3) − 6 = 18 − 6 = 12 > 0 cup min

Its y: put −1 into f.

We get 7.

f(−1) = (−1)3 − 3(−1)2 − 9(−1) + 2 = −1 − 3 + 9 + 2 = 7

Its y: put 3 into f.

We get −25.

f(3) = 33 − 3(3)2 − 9(3) + 2 = 27 − 27 − 27 + 2 = −25

So: a maximum at (−1, 7), and a minimum at (3, −25).

= max (−1, 7), min (3, −25)

5 Check

Let's check with the graph.

A cap at the maximum, and a cup at the minimum.

Right!

Let's look back.

First: find f′(x).

Then: solve f′(x) = 0.

Then: find f″(x).

Then: test each point.

Last: check.

Answer
= max (−1, 7), min (3, −25)

▶ Watch it solved

Practice

Try each one, then open the answer. Stuck? Open the problem to watch every step.

Easy

  1. use the second derivative test on f(x) = x^2 - 6x + 1
    Answer
    = min (3, −8)
  2. use the second derivative test on f(x) = -x^2 + 4x
    Answer
    = max (2, 4)
  3. use the second derivative test on f(x) = x^2 + 2x - 3
    Answer
    = min (−1, −4)
  4. use the second derivative test on f(x) = 2x^2 - 8x + 5
    Answer
    = min (2, −3)
  5. use the second derivative test on f(x) = -x^2 - 6x
    Answer
    = max (−3, 9)
  6. use the second derivative test on f(x) = x^2 - 4x + 7
    Answer
    = min (2, 3)
  7. use the second derivative test on f(x) = -x^2 + 2x + 3
    Answer
    = max (1, 4)

Medium

  1. use the second derivative test on f(x) = x^3 - 3x
    Answer
    = max (−1, 2), min (1, −2)
  2. use the second derivative test on f(x) = x^3 - 12x
    Answer
    = max (−2, 16), min (2, −16)
  3. max and min of f(x) = x^3 - 6x^2 + 9x using the second derivative
    Answer
    = max (1, 4), min (3, 0)
  4. use the second derivative test on f(x) = -x^3 + 3x + 1
    Answer
    = min (−1, −1), max (1, 3)
  5. use the second derivative test on f(x) = x^3 - 3x^2
    Answer
    = max (0, 0), min (2, −4)
  6. use the second derivative test on f(x) = 2x^3 - 6x
    Answer
    = max (−1, 4), min (1, −4)
  7. use the second derivative test on f(x) = x^3 + 3x^2 - 9x
    Answer
    = max (−3, 27), min (1, −5)
  8. use the second derivative test on f(x) = -x^3 + 6x^2 - 9x
    Answer
    = min (1, −4), max (3, 0)

Harder

  1. use the second derivative test on f(x) = x^3 - 3x^2 - 9x + 2
    Answer
    = max (−1, 7), min (3, −25)
  2. use the second derivative test on f(x) = -2x^3 + 6x + 1
    Answer
    = min (−1, −3), max (1, 5)
  3. max and min of f(x) = 2x^3 + 3x^2 - 12x using the second derivative
    Answer
    = max (−2, 20), min (1, −7)
  4. use the second derivative test on f(x) = x^3 + 1
    Answer
    = no maximum or minimum
  5. use the second derivative test on f(x) = -x^3 + 2
    Answer
    = no maximum or minimum