Skip to content
IB Diploma ProgrammeSL & HL

Second derivative test

Mathematics: Applications and Interpretation SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Second derivative test notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Second derivative test notes as text: skim, search, and jump between subtopics.

~12 min read

1. The second derivative

The second derivative is the derivative of the first derivative: differentiate twice.

It is written f''(x) or d²y/dx². Both notations mean the same thing. It measures how the gradient is changing.

f''(x) = d/dxbigl(f'(x)bigr)

d²y/dx² = d/dx(dy/dx)

Worked example 14 marks

Let f(x) = 2x⁴ - 5x³ + 3x. Find f''(x) and calculate f''(2).

  1. 1

    M1: differentiate once: f'(x) = 8x³ - 15x² + 3 [1]

  2. 2

    A1: differentiate again: f''(x) = 24x² - 30x [1]

  3. 3

    M1: substitute x = 2: f''(2) = 24 × 4 - 30 × 2 [1]

  4. 4

    A1: f''(2) = 36 [1]

2. Concave-up and concave-down

A graph is concave-up where f''(x) > 0: the gradient is increasing. A graph is concave-down where f''(x) < 0: the gradient is decreasing.

These words describe the bend of the curve, not whether it rises or falls.

Worked example 14 marks

Let f(x) = x³ - 6x² + 5x. Determine the values of x for which the graph of f is concave-up and the values for which it is concave-down.

  1. 1

    M1: differentiate twice: f'(x) = 3x² - 12x + 5 [1]

  2. 2

    A1: f''(x) = 6x - 12 [1]

  3. 3

    M1: concave-up where f''(x) > 0: 6x - 12 > 0 [1]

  4. 4

    A1: concave-up for x > 2 and concave-down for x < 2 [1]

3. The second derivative test

At a stationary point f'(x) = 0. Solve f'(x) = 0, then substitute each x into f''(x). If f''(x) > 0 the point is a minimum. If f''(x) < 0 it is a maximum.

If f''(x) = 0 the test is inconclusive. Use another method, such as the sign of f'(x) either side of the point.

f'(x) = 0 at a stationary point

f''(x) > 0 ⇒ minimum

f''(x) < 0 ⇒ maximum

Worked example 17 marks

Let f(x) = x³ - 6x² + 9x. Use the second derivative test to determine the coordinates and nature of the stationary points of the graph of f.

  1. 1

    M1: f'(x) = 3x² - 12x + 9 [1]

  2. 2

    M1: stationary points where f'(x) = 0: x² - 4x + 3 = 0 [1]

  3. 3

    A1: x = 1 and x = 3 [1]

  4. 4

    A1: f''(x) = 6x - 12 [1]

  5. 5

    R1: f''(1) = -6 < 0, so x = 1 is a maximum [1]

  6. 6

    R1: f''(3) = 6 > 0, so x = 3 is a minimum [1]

  7. 7

    A1: f(1) = 1 - 6 + 9 = 4 and f(3) = 27 - 54 + 27 = 0: maximum (1, 4), minimum (3, 0) [1]

4. Points of inflexion

A point of inflexion is a point where the concavity changes, from concave-up to concave-down or the reverse.

At a point of inflexion f''(x) = 0 and f''(x) changes sign. The condition f''(x) = 0 alone is not enough. For f(x) = (x - 2)⁴ we have f''(x) = 12(x - 2)², so f''(2) = 0. But f''(x) ≥ 0 on both sides, the graph is concave-up throughout, and there is no point of inflexion.

f''(x) = 0 and f''(x) changes sign

Worked example 15 marks

Let y = x⁴ - 4x³. Determine the x-coordinates of the points of inflexion of the graph. Justify your answer.

  1. 1

    M1: dy/dx = 4x³ - 12x² [1]

  2. 2

    A1: d²y/dx² = 12x² - 24x [1]

  3. 3

    M1: set 12x² - 24x = 0, so 12x(x - 2) = 0 [1]

  4. 4

    A1: x = 0 and x = 2 [1]

  5. 5

    R1: d²y/dx² changes sign at each: positive for x < 0, negative for 0 < x < 2, positive for x > 2 [1]

5. Concavity and rate of change in context

In a model the variable is often time, and the first derivative is the rate of change. Where the graph is concave-up the rate of change is increasing. Where it is concave-down the rate of change is decreasing.

A point of inflexion where f'' changes from positive to negative is where the rate of change has a local maximum: it is greatest there. Where f'' changes from negative to positive the rate of change is least.

With a GDC, graph y = f''(x) and find its zero, then check the sign change. Or graph y = f'(x) and find its maximum or minimum point.

Worked example 15 marks

The height H cm of a sapling t weeks after planting is modelled by H = -0.02t³ + 0.6t² + 2t, for 0 ≤ t ≤ 20.

(a) Find d²H/dt².

(b) Determine the value of t at which the height is increasing most rapidly. Justify your answer.

  1. 1

    M1: dH/dt = -0.06t² + 1.2t + 2 [1]

  2. 2

    A1: d²H/dt² = -0.12t + 1.2 [1]

  3. 3

    M1: set -0.12t + 1.2 = 0, or graph it on the GDC and find the zero [1]

  4. 4

    A1: t = 10 weeks [1]

  5. 5

    R1: d²H/dt² changes from positive to negative, so the rate of growth is greatest at t = 10 [1]

Recap

  • The second derivative is f''(x) or d²y/dx²: differentiate twice.
  • f''(x) > 0 means concave-up. f''(x) < 0 means concave-down.
  • Test a stationary point: solve f'(x) = 0, then substitute into f''(x). Positive is a minimum, negative is a maximum.
  • If f''(x) = 0 the test is inconclusive.
  • A point of inflexion needs f''(x) = 0 and a change of sign in f''(x).
  • In context, a point of inflexion is where the rate of change has a local maximum or minimum.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State the sign of f''(x) at a point where the graph of f is concave-down.1 mark
    Answer
    1. Negative, f''(x) < 0 [1].

    Trap: Naming the sign for concave-up. Concave-down is negative and concave-up is positive.

  2. Do not use a calculator. Let f(x) = x³ - 12x. Which of these is the value of f''(2)? A. -16 B. 0 C. 6 D. 121 mark
    Answer
    1. D. f'(x) = 3x² - 12, so f''(x) = 6x and f''(2) = 12 [1].
    2. A is f(2) = 8 - 24. B is f'(2) = 12 - 12. C is the coefficient 6 in f''(x) = 6x with x = 2 not substituted.

    Trap: Stopping at f'(2) = 0, or substituting x = 2 into f instead of f''.

  3. Do not use a calculator. Let y = 2x⁵ - 3x² + 7/x. Find d²y/dx².3 marks
    Answer
    1. Write y = 2x⁵ - 3x² + 7x⁻¹.
    2. dy/dx = 10x⁴ - 6x - 7x⁻² [2].
    3. d²y/dx² = 40x³ - 6 + 14x⁻³ [1].

    Trap: Losing the sign on the last term: differentiating -7x⁻² gives +14x⁻³.

  4. Show that the graph of y = x³ - 3x² + 4x is concave-up for x > 1 and concave-down for x < 1.4 marks
    Answer
    1. dy/dx = 3x² - 6x + 4 [1].
    2. d²y/dx² = 6x - 6 = 6(x - 1) [1].
    3. For x > 1, 6(x - 1) > 0, so concave-up [1].
    4. For x < 1, 6(x - 1) < 0, so concave-down [1].

    Trap: Using dy/dx. Here 3x² - 6x + 4 > 0 for every x, since 36 - 48 < 0, so the graph always rises, yet it is concave-down for x < 1.

  5. Do not use a calculator. Let f(x) = x³ - 3x² - 9x + 2. Find the x-coordinates of the stationary points of the graph and use the second derivative test to determine their nature.5 marks
    Answer
    1. f'(x) = 3x² - 6x - 9 = 3(x - 3)(x + 1) [1].
    2. f'(x) = 0 gives x = 3 and x = -1 [1].
    3. f''(x) = 6x - 6 [1].
    4. f''(3) = 12 > 0, so a minimum at x = 3 [1].
    5. f''(-1) = -12 < 0, so a maximum at x = -1 [1].

    Trap: Solving f''(x) = 0 to find the stationary points. That gives x = 1, which is where the concavity changes, not where f'(x) = 0.

  6. Do not use a calculator. Pia says that the graph of f(x) = x⁶ has a point of inflexion at x = 0 because f''(0) = 0. Determine whether Pia is correct.4 marks
    Answer
    1. f'(x) = 6x⁵ and f''(x) = 30x⁴ [1].
    2. f''(0) = 0 [1].
    3. f''(x) = 30x⁴ > 0 for x ≠ 0, so f''(x) does not change sign [1].
    4. The graph is concave-up either side of x = 0, so there is no point of inflexion. Pia is not correct [1].

    Trap: Taking f''(0) = 0 as proof of a point of inflexion. The sign of f''(x) must change.

  7. Do not use a calculator. Let y = x⁴ - 6x². Determine the x-coordinates of the points of inflexion of the graph. Justify your answer.5 marks
    Answer
    1. dy/dx = 4x³ - 12x [1].
    2. d²y/dx² = 12x² - 12 = 12(x - 1)(x + 1) [1].
    3. Setting this to 0 gives x = 1 and x = -1 [1].
    4. For x < -1 it is positive, for -1 < x < 1 negative, for x > 1 positive [1].
    5. The sign changes at each, so both are points of inflexion [1].

    Trap: Stopping at d²y/dx² = 0 without showing the sign changes.

  8. The curve y = x³ + ax² + 12x has a point of inflexion at x = 2. (a) Find the value of a. (b) For this value of a, show that the second derivative test cannot decide the nature of the stationary point at x = 2.6 marks
    Answer
    1. (a)
    2. d²y/dx² = 6x + 2a [1].
    3. At x = 2: 12 + 2a = 0, so a = -6 [2].
    4. d²y/dx² = 6x - 12 changes sign at x = 2, so it is a point of inflexion [1].
    5. (b)
    6. dy/dx = 3x² - 12x + 12 = 3(x - 2)², which is 0 at x = 2 [1].
    7. d²y/dx² = 0 at x = 2, so the test is inconclusive [1].

    Trap: Reading d²y/dx² = 0 as a maximum or a minimum. When it is 0 the test is inconclusive.

  9. The number of active players N thousand of an online game, t months after its launch, is modelled by N = -t³ + 15t² + 40, for 0 ≤ t ≤ 12. (a) Find dN/dt and d²N/dt². (b) Use the second derivative test to show that N has a maximum at t = 10, and find the number of active players at this time. (c) Determine the time at which the number of active players is increasing most rapidly, and find this rate. Justify your answer.8 marks
    Answer
    1. (a)
    2. dN/dt = -3t² + 30t [1] and d²N/dt² = -6t + 30 [1].
    3. (b)
    4. dN/dt = -3t(t - 10) = 0 gives t = 0 or t = 10 [1].
    5. d²N/dt² = -60 + 30 = -30 < 0 at t = 10, so a maximum [1].
    6. N(10) = -1000 + 1500 + 40 = 540, so 540 thousand players [1].
    7. (c)
    8. -6t + 30 = 0 gives t = 5 [1].
    9. d²N/dt² changes from positive to negative at t = 5, so dN/dt is a maximum there [1].
    10. dN/dt = -75 + 150 = 75: the number increases most rapidly at t = 5 months, at 75 thousand players per month [1].

    Trap: Answering t = 10 for (c): there N is greatest and its rate of increase is 0.

  10. A town's population P thousand, t years after 2000, is modelled by P = 0.01t³ - 0.3t² + 3t + 20, for 0 ≤ t ≤ 30. (a) Find d²P/dt². (b) Show that the graph of P has a point of inflexion at t = 10 and find its coordinates. (c) Interpret the point of inflexion in the context of the model.7 marks
    Answer
    1. (a)
    2. dP/dt = 0.03t² - 0.6t + 3 [1], so d²P/dt² = 0.06t - 0.6 [1].
    3. (b)
    4. 0.06t - 0.6 = 0 gives t = 10 [1].
    5. d²P/dt² = 0.06(t - 10) is negative for t < 10 and positive for t > 10 [1].
    6. P(10) = 10 - 30 + 30 + 20 = 30, so the point is (10, 30) [1].
    7. (c)
    8. Before t = 10 the graph is concave-down, so the rate of growth is decreasing. After it, concave-up, so the rate of growth is increasing [1].
    9. The rate of growth is least at t = 10, where dP/dt = 0, in the year 2010 when the population is 30 thousand [1].

    Trap: Saying the population falls while the graph is concave-down. Here dP/dt = 0.03(t - 10)² ≥ 0, so it never falls.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
f''(x) = 0, so there is a point of inflexion.f''(x) = 0 and f''(x) changes sign, so there is a point of inflexion
f''(1) = -6 < 0, so it is a minimum.f''(1) = -6 < 0, so it is a maximum
f''(x) = 0, so it is a maximum or a minimum.f''(x) = 0: the test is inconclusive, so check the sign of f'(x) either side
The curve is concave when f''(x) is positive.Concave-up where f''(x) > 0, concave-down where f''(x) < 0

Frequently asked questions

What is the second derivative, and how do you find it?
The second derivative is the derivative of the first derivative, so you differentiate twice. It is written f''(x) or d²y/dx², and it measures how the gradient is changing. For f(x) = 2x⁴ - 5x³ + 3x, f'(x) = 8x³ - 15x² + 3 and f''(x) = 24x² - 30x, so f''(2) = 36.
How do you tell whether a graph is concave-up or concave-down?
A graph is concave-up where f''(x) > 0, when the gradient is increasing, and concave-down where f''(x) < 0, when the gradient is decreasing. These words describe the bend of the curve, not whether it rises or falls. For f(x) = x³ - 6x² + 5x, f''(x) = 6x - 12, so the graph is concave-up for x > 2 and concave-down for x < 2.
How does the second derivative test decide whether a stationary point is a maximum or a minimum?
At a stationary point f'(x) = 0. Substitute each x into f''(x): if f''(x) > 0 the point is a minimum, and if f''(x) < 0 it is a maximum. If f''(x) = 0 the test is inconclusive, so check the sign of f'(x) either side. For f(x) = x³ - 6x² + 9x, the maximum is (1, 4) and the minimum is (3, 0).
How do you find the points of inflexion of a curve?
Solve f''(x) = 0, then check that f''(x) changes sign at each solution, because a point of inflexion is where the concavity changes. For y = x⁴ - 4x³, d²y/dx² = 12x² - 24x = 12x(x - 2), which changes sign at x = 0 and x = 2. Justify your answer by stating those signs.
What does the second derivative tell you about a rate of change in a real model?
Where the graph is concave-up the rate of change is increasing, and where it is concave-down the rate of change is decreasing. If f'' changes from positive to negative at a point of inflexion, the rate of change is greatest there. For the sapling height H = -0.02t³ + 0.6t² + 2t, d²H/dt² = -0.12t + 1.2 changes from positive to negative at t = 10 weeks.
Why does f''(x) = 0 not prove there is a point of inflexion?
A point of inflexion needs f''(x) = 0 and a change of sign in f''(x). For f(x) = x⁶, f''(x) = 30x⁴, so f''(0) = 0 but f''(x) > 0 for x ≠ 0. The graph is concave-up on both sides of x = 0, so there is no point of inflexion there.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters