Skip to content
IB Diploma ProgrammeSL & HL

Second derivative

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Second derivative notes as a printable PDF.

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

Read the notes

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

~12 min read

1. The second derivative

The second derivative is the derivative of the derivative. Differentiate f(x) to get f'(x), then differentiate f'(x) to get f''(x).

There are two notations, and both are used in IB papers. For y = f(x), write f''(x) or d²y/dx². A different letter changes nothing: A(x) has d²A/dx².

To find f''(a), find f''(x) first, then substitute x = a. On Paper 2 a graphic display calculator can find the derivatives, but show the method. In IB, the command term find asks for the working and state asks for the answer only.

f''(x) = d/dx(f'(x))

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

Worked example 14 marks

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

  1. 1

    f'(x) = 8x³ - 3x² + 5 (A1) [1]

  2. 2

    differentiates f'(x) again (M1) [1]

  3. 3

    f''(x) = 24x² - 6x (A1) [1]

  4. 4

    substitutes x = 1 into f''(x): f''(1) = 24 - 6 = 18 (A1) [1]

2. The sign of f″ and the gradient

f''(x) is the gradient of the graph of f'. So its sign tells you how the gradient of f is changing.

If f''(x) > 0, the gradient is increasing. If f''(x) < 0, the gradient is decreasing.

The sign of f'' says nothing about the sign of f or of f'. A gradient of -7 can still be increasing.

Worked example 13 marks

Let f(x) = x³ - 6x² + 5x. Determine whether the gradient of the graph of f is increasing or decreasing at x = 1.

  1. 1

    f'(x) = 3x² - 12x + 5, so f''(x) = 6x - 12 (A1) [1]

  2. 2

    substitutes x = 1 into f''(x): f''(1) = -6 (M1) [1]

  3. 3

    f''(1) < 0, therefore the gradient is decreasing at x = 1 (R1) [1]

3. Reading f, f′ and f″ together

Each graph is the gradient of the one before it. Where f'(x) = 0, the graph of f has a horizontal tangent. Where f' is rising, f'' is above the x-axis.

Going from f to f' to f'' you differentiate each time. For f(x) = x³ with x ≥ 0, the graph of f gets steeper. Its gradient function f'(x) = 3x² is rising, so f''(x) = 6x is positive.

Worked example 13 marks

The gradient function of a curve is f'(x) = 6 - 2x.(a) Find the value of x at which the tangent to the curve is horizontal. [1](b) Find f''(x), and state what it shows about the gradient of the curve. [2]

  1. 1

    (a) sets f'(x) = 0: 6 - 2x = 0, so x = 3 (A1) [1]

  2. 2

    (b) f''(x) = -2 (A1) [1]

  3. 3

    f''(x) < 0 for all x, therefore the gradient is decreasing (R1) [1]

4. Points of inflexion

At a point of inflexion of the graph of f, f''(x) = 0. To find one, set f''(x) = 0 and solve.

To show that a graph has no point of inflexion, show that f''(x) = 0 has no solution. Every step must be seen, ending with the statement you were given.

When f'' contains a factor such as e^(2x), say it is always positive. Then only the other factor can be zero.

point of inflexion at x = a ⇒ f''(a) = 0

Worked example 14 marks

Consider the function h(x) = (e^(2x) + x)/x, for x > 0. The second derivative of h is given by h''(x) = (2e^(2x)(2x² - 2x + 1))/x³.(d) Show that the graph of h does not have a point of inflexion. [4]

  1. 1

    sets h''(x) = 0 (or ≠ 0): 2e^(2x)(2x² - 2x + 1) = 0 (M1) [1]

  2. 2

    e^(2x) > 0 (or ≠ 0), therefore 2x² - 2x + 1 = 0 (R1) [1]

  3. 3

    attempts to find the discriminant M1 [1]

  4. 4

    b² - 4ac = (-2)² - 4(2)(1) = -4 < 0 A1 [1]

  5. 5

    therefore no point of inflexion, or h''(x) ≠ 0 AG

5. Using f″ = 0 to find constants

A question can give the x-coordinate or the y-coordinate of a point of inflexion and ask for unknown constants. Each fact gives one equation.

Setting f''(x) = 0 at the point gives one equation. The point lying on the graph gives another, by equating f(x) to the y-coordinate.

Solve the two equations together. For show that, your working must reach the values you were given.

f''(x₀) = 0 f(x₀) = y₀

Worked example 16 marks

Consider the function f(x) = ax³ + bx² + cx + d, where x ∈ R and where a, b, c and d are real constants. The graph of f has a point of inflexion at (-2, -2c + d + 24).(a) Show that a = 3/2 and b = 9. [6]

  1. 1

    finds f''(x) (seen anywhere): f'(x) = 3ax² + 2bx + c, so f''(x) = 6ax + 2b (A1) [1]

  2. 2

    recognises that f''(-2) = 0 (M1) [1]

  3. 3

    6a × (-2) + 2b = 0, so -12a + 2b = 0 or equivalent A1 [1]

  4. 4

    equates f(-2) to the y-coordinate: -8a + 4b - 2c + d = -2c + d + 24, so -2a + b = 6 A1 [1]

  5. 5

    valid attempt to solve the two linear equations in a and b only (M1) [1]

  6. 6

    correct work leading to a value of a, then b: b = 6a gives 4a = 6, so a = 3/2, b = 9 A1 [1]

  7. 7

    a = 3/2, b = 9 AG

6. Maximum or minimum? The f″ test

At a stationary point, f'(x) = 0. Then the sign of f'' decides its type.

If f''(x) > 0 there, the point is a (local) minimum. If f''(x) < 0, it is a (local) maximum. Write the sign next to the value, and then the conclusion. Paper 2 uses the same reasoning mark: d²A/dx² = 121 > 0, therefore A is a minimum.

The markscheme also credits the sign of f': negative to the left and positive to the right of the point. The command term justify needs the reason, not only the type.

f'(a) = 0, f''(a) > 0 ⇒ local minimum

f'(a) = 0, f''(a) < 0 ⇒ local maximum

Worked example 12 marks

Consider f(x) = ax³ + bx² + cx + d. The tangents to the graph of f at x = -3 and x = k are horizontal. Here k = -1 and f''(x) = 9x + 18.(b)(iii) State whether f has a local maximum or a local minimum at x = k, justifying your answer.

  1. 1

    EITHER f''(-1) = 9(-1) + 18 = 9 > 0 A1 [1]

  2. 2

    OR f'(x) is negative to the left, and positive to the right, of x = -1 (A1 instead of the line above)

  3. 3

    THEN (local) minimum at x = -1 A1 [1]

  4. 4

    the markscheme says: do not award A0A1, so the reason and the type are both needed

Recap

  • f''(x) is the derivative of f'(x). Notations: f''(x) and d²y/dx².
  • To find f''(a), find f''(x) first, then substitute x = a.
  • f''(x) > 0: the gradient is increasing. f''(x) < 0: the gradient is decreasing.
  • Each graph in f, f', f'' is the gradient of the one before it.
  • A point of inflexion has f''(x) = 0. No solution to f''(x) = 0 means no point of inflexion.
  • At a stationary point: f''>0 is a minimum, f''<0 is a maximum. Write the sign, then the conclusion.
  • Show the method. A correct answer with no working may earn no marks.

End-of-chapter exercise

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

  1. State f''(x) for f(x) = 5x² + 3x.1 mark
    Answer
    1. f'(x) = 10x + 3, so f''(x) = 10 (A1)

    Trap: Stopping at the first derivative gives 10x + 3.

  2. Do not use a calculator. Find d²y/dx² for y = x⁴ - 2/x, x ≠ 0.3 marks
    Answer
    1. Rewrite as y = x⁴ - 2x⁻¹ (M1)
    2. dy/dx = 4x³ + 2x⁻² (A1)
    3. d²y/dx² = 12x² - 4x⁻³ = 12x² - 4/x³ (A1)

    Trap: Losing the sign: 2x⁻² differentiates to -4x⁻³, not +4x⁻³.

  3. Do not use a calculator. Let f(x) = x⁴ - 3x² + 7x. Calculate f''(2).3 marks
    Answer
    1. f'(x) = 4x³ - 6x + 7 (A1)
    2. f''(x) = 12x² - 6 (A1)
    3. f''(2) = 12(4) - 6 = 42 (A1)

    Trap: Substituting x = 2 into f'(x) gives 27, the first derivative.

  4. On an interval, the second derivative of f is negative: f''(x) < 0. Which statement must be true on the interval? A. The graph of f is decreasing. B. The gradient of the graph of f is decreasing. C. The gradient of the graph of f is negative. D. The graph of f lies below the x-axis.1 mark
    Answer
    1. B (A1)
    2. A and C read f'' as if it were f'. D treats the sign of f'' as the sign of f.

    Trap: Reading the sign of f'' as the sign of f' or of f.

  5. Let f(x) = x³ - 6x² + 2x. Determine whether the gradient of the graph of f is increasing or decreasing at x = 3.3 marks
    Answer
    1. f'(x) = 3x² - 12x + 2, so f''(x) = 6x - 12 (A1)
    2. f''(3) = 18 - 12 = 6 (M1)
    3. f''(3) > 0, therefore the gradient is increasing at x = 3 (R1)

    Trap: f'(3) = -7 is negative, but a negative gradient can still be increasing. Use the sign of f''.

  6. Do not use a calculator. The gradient function of a curve is f'(x) = 3x² - 12x + 9. Find the x-coordinate of the point of inflexion.3 marks
    Answer
    1. f''(x) = 6x - 12 (A1)
    2. Set f''(x) = 0: 6x - 12 = 0 (M1)
    3. x = 2 (A1)

    Trap: Solving f'(x) = 0 gives x = 1 and x = 3. Those are stationary points.

  7. Do not use a calculator. Let f(x) = x⁴ + 2x² + x. Show that the graph of f has no point of inflexion.3 marks
    Answer
    1. f'(x) = 4x³ + 4x + 1, so f''(x) = 12x² + 4 (A1)
    2. Set f''(x) = 0: 12x² = -4, so x² = -1/3 (M1)
    3. x² ≥ 0 for every real x, so there is no solution (R1)
    4. Therefore the graph has no point of inflexion (AG)

    Trap: Checking f'(x) = 0 instead of f''(x) = 0.

  8. Do not use a calculator. Let f(x) = x³ - 3x² - 9x + 4. (a) Find f'(x), and hence the x-coordinates of the stationary points. [3] (b) Find f''(x). [1] (c) Use your answer to part (b) to determine the nature of each stationary point. [2]6 marks
    Answer
    1. (a)
    2. f'(x) = 3x² - 6x - 9 (A1)
    3. Set f'(x) = 0: 3(x - 3)(x + 1) = 0 (M1)
    4. x = -1 and x = 3 (A1)
    5. (b)
    6. f''(x) = 6x - 6 (A1)
    7. (c)
    8. f''(-1) = -12 < 0, therefore a local maximum at x = -1 (R1)
    9. f''(3) = 12 > 0, therefore a local minimum at x = 3 (R1)

    Trap: Reversing the rule: f''<0 is a maximum, f''>0 is a minimum.

  9. Do not use a calculator. Let f(x) = x³ + px² + qx + r, where p, q and r are real constants. The graph of f has a point of inflexion at (2, -1), and the tangent to the graph at x = 5 is horizontal. (a) Show that p = -6. [2] (b) Find the value of q and the value of r. [4] (c) Find the x-coordinate of the other stationary point of the graph of f, and determine whether it is a local maximum or a local minimum, justifying your answer. [4]10 marks
    Answer
    1. (a)
    2. f'(x) = 3x² + 2px + q, so f''(x) = 6x + 2p (A1)
    3. Recognise f''(2) = 0: 12 + 2p = 0 (M1)
    4. p = -6 (AG)
    5. (b)
    6. Recognise f'(5) = 0: 75 - 60 + q = 0 (M1)
    7. q = -15 (A1)
    8. Equate f(2) to -1: 8 - 24 - 30 + r = -1 (M1)
    9. r = 45 (A1)
    10. (c)
    11. Set f'(x) = 0: 3x² - 12x - 15 = 3(x - 5)(x + 1) = 0 (M1)
    12. x = -1 (A1)
    13. f''(-1) = -6 - 12 = -18 < 0 (A1)
    14. therefore a local maximum at x = -1 (A1)

    Trap: Using f'(2) = 0 at the point of inflexion instead of f''(2) = 0, or stating the type with no sign of f'': the markscheme does not award the type without the reason.

  10. A path along a ridge has height h metres above sea level after walking t km, where h(t) = t³ - 9t² + 15t + 40, for 0 ≤ t ≤ 6. (a) Find h'(t) and h''(t). [2] (b) Find the value of t for which h''(t) = 0. [2] (c) Justify that h'(t) is least at this value of t. [2] (d) Determine the gradient of the path at this point, in metres per km. [1]7 marks
    Answer
    1. (a)
    2. h'(t) = 3t² - 18t + 15 (A1)
    3. h''(t) = 6t - 18 (A1)
    4. (b)
    5. Set h''(t) = 0: 6t - 18 = 0 (M1)
    6. t = 3 (A1)
    7. (c)
    8. h''(t) < 0 for t < 3, so h' is decreasing (R1)
    9. h''(t) > 0 for t > 3, so h' is increasing. Therefore h' is least at t = 3 (R1)
    10. (d)
    11. h'(3) = 27 - 54 + 15 = -12 metres per km (A1)

    Trap: Setting h'(t) = 0 finds the flat points. The steepest descent is where h' is least, so use h''(t) = 0. The gradient is -12, not 12.

Say this, not that

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

Loses the markGets the mark
f''(-1) = 9, so it is a minimum.f''(-1) = 9 > 0, therefore a (local) minimum at x = -1.
f'(x) = 0, so there is a point of inflexion.recognises that f''(-2) = 0: a point of inflexion needs the second derivative.
h''(x) = 0 has no solution.e^(2x) > 0, so 2x² - 2x + 1 = 0, and b² - 4ac = -4 < 0.
A sign table showing only - and + either side of x = -1.f'(x) is negative to the left, and positive to the right, of x = -1: the markscheme says f'(x) must be seen.

Frequently asked questions

What is the second derivative of a function, and how do I find it?
The second derivative is the derivative of the derivative. Differentiate f(x) to get f'(x), then differentiate f'(x) to get f''(x). To find f''(a), find f''(x) first, then substitute x = a. Show the method, because find asks for the working.
What does the sign of the second derivative tell me about a graph?
The second derivative is the gradient of the graph of f'. If f''(x) > 0, the gradient of f is increasing. If f''(x) < 0, the gradient is decreasing. The sign of f'' says nothing about the sign of f or of f': a gradient of -7 can still be increasing.
How do I find a point of inflexion using the second derivative?
At a point of inflexion, f''(x) = 0. Set f''(x) = 0 and solve it. To show that a graph has no point of inflexion, show that f''(x) = 0 has no solution. When f'' has a factor such as e^(2x), say it is always positive, so only the other factor can be zero.
How do I find unknown constants when a graph has a point of inflexion at a given point?
Each fact gives one equation. Setting f''(x) = 0 at the point gives one equation. Equating f(x) to the y-coordinate of the point gives another. Solve the two equations together, and for show that, your working must reach the values you were given.
Why do I get the wrong x-coordinate for a point of inflexion?
A point of inflexion needs f''(x) = 0, not f'(x) = 0. Solving f'(x) = 0 finds where the graph has a horizontal tangent, which is a different point. Set f''(x) = 0 and solve it, then check that the value is an x-coordinate of the point you were given.
How do I tell whether a stationary point is a maximum or a minimum?
At a stationary point, f'(x) = 0. If f''(x) > 0 there, the point is a (local) minimum. If f''(x) < 0, it is a (local) maximum. Write the sign next to the value, then the conclusion. The markscheme also credits the sign of f', negative to the left and positive to the right of the point for a minimum.

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