Lesson 5 of 8 · 16 min

The second derivative test

Classify stationary points as local maxima or minima from the sign of the second derivative, and fall back on the first derivative test when the second derivative is zero.

What you will be able to do

  • Use the sign of f′′(a)f''(a) at a stationary point x=ax = a to decide whether it is a local maximum or a local minimum.
  • Recognise when the test fails (f′′(a)=0f''(a) = 0) and use a sign table of f′(x)f'(x) instead.
  • Justify the nature of a stationary point in writing, the way the exam expects.

In Unit 2 you decided the nature of a stationary point by checking the sign of f′(x)f'(x) either side of it. That works, but it needs two extra calculations and some care choosing test points. Concavity gives a quicker route.

At a stationary point the tangent is horizontal. If the curve is concave up there, it bends up away from that tangent on both sides: the point is a minimum. If it is concave down, it bends down on both sides: a maximum.

Interactive

Concavity at the turning points

For any a>0a > 0, f(x)=x3−axf(x) = x^3 - ax has turning points at x=±a3x = \pm\sqrt{\frac{a}{3}}, and f′′(x)=6xf''(x) = 6x (the dashed line). At the left turning point f′′f'' is negative: a maximum. At the right one f′′f'' is positive: a minimum. What happens when a=0a = 0?

Key idea

The second derivative test

Suppose f′(a)=0f'(a) = 0.

  • If f′′(a)<0f''(a) < 0, the graph is concave down at x=ax = a: local maximum.
  • If f′′(a)>0f''(a) > 0, the graph is concave up at x=ax = a: local minimum.
  • If f′′(a)=0f''(a) = 0, the test gives no conclusion. Use the first derivative test.

Worked example

Classify the stationary points of f(x)=2x3−9x2+12x−4f(x) = 2x^3 - 9x^2 + 12x - 4

  • Simple familiar
  • Technology free

Determine the coordinates of the stationary points of f(x)=2x3−9x2+12x−4f(x) = 2x^3 - 9x^2 + 12x - 4, and use the second derivative test to determine their nature.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Solve f′(x)=0f'(x) = 0 and find the yy-coordinates.

  2. Evaluate f′′f'' at each stationary point.

  3. Negative: maximum. Positive: minimum. Zero: use a sign table.

Watch out for

  • Reversing the test. Negative second derivative means concave down, which is a maximum.

  • Substituting into f′f' for the test: f′(1)=0f'(1) = 0 by definition, so it tells you nothing.

f(x)=x3−12xf(x) = x^3 - 12x has a stationary point at x=2x = 2. Use the second derivative test to determine its nature.

Choose one answer

First derivative test

Find the sign of f′(x)f'(x) just left and right of x=ax = a.

  • ++ then −-: local maximum
  • −- then ++: local minimum
  • same sign both sides: stationary point of inflection

Always works, but needs two evaluations.

Second derivative test

Find the sign of f′′(a)f''(a).

  • f′′(a)<0f''(a) < 0: local maximum
  • f′′(a)>0f''(a) > 0: local minimum
  • f′′(a)=0f''(a) = 0: no conclusion

One evaluation, but you need f′′f'', and it can fail.

When the test fails. If f′′(a)=0f''(a) = 0, the stationary point could be anything. All three of y=x4y = x^4 (a minimum), y=−x4y = -x^4 (a maximum) and y=x3y = x^3 (a stationary point of inflection) have f′(0)=0f'(0) = 0 and f′′(0)=0f''(0) = 0. You have to go back to the sign of f′(x)f'(x).

Worked example

When the second derivative test fails

  • Complex familiar
  • Technology free

Determine the nature of each stationary point of f(x)=x4−4x3f(x) = x^4 - 4x^3.

6 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Try the second derivative test first.

  2. If f′′(a)=0f''(a) = 0, check the sign of f′(x)f'(x) either side of aa.

  3. Same sign both sides: stationary point of inflection.

Watch out for

  • Concluding "point of inflection" just because f′′(0)=0f''(0) = 0. You must show the change of concavity, or use the first derivative test.

  • Choosing test points beyond another stationary point, such as x=4x = 4 when testing x=0x = 0.

At a stationary point x=ax = a of a function ff, f′′(a)=0f''(a) = 0, f′(x)<0f'(x) < 0 just to the left of aa, and f′(x)<0f'(x) < 0 just to the right. What is the nature of the stationary point?

Choose one answer

Exam tip

Writing a justification

A full-marks justification names the test, gives the value, and states the conclusion:

"f′′(1)=−6<0f''(1) = -6 < 0, so by the second derivative test, (1,1)(1, 1) is a local maximum."

Writing only "maximum" or "f′′f'' is negative" usually loses the mark.

Common mistake

Negative means maximum

Students often reverse the test. Picture y=−x2y = -x^2: f′′(x)=−2<0f''(x) = -2 < 0 and its vertex is a maximum. Negative second derivative, cap shape, maximum.

Summary

  • At a stationary point x=ax = a: f′′(a)<0f''(a) < 0 gives a local maximum; f′′(a)>0f''(a) > 0 gives a local minimum.

  • If f′′(a)=0f''(a) = 0, the second derivative test fails. Use the sign of f′(x)f'(x) either side.

  • y=x4y = x^4, y=−x4y = -x^4 and y=x3y = x^3 all have f′′(0)=0f''(0) = 0 but different kinds of stationary point.

  • In a justification, name the test, show the value of f′′(a)f''(a) and its sign, and state the conclusion with coordinates.

Finished the lesson?

Try the 2 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 5 of 80% read

Save your progress with a free account