5.7 The second derivative

5.7 The second derivative

IB Maths: Analysis and Approaches HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • The second derivative is f′′(x)=ddxf′(x)f''(x)=\dfrac{\mathrm{d}}{\mathrm{d}x}f'(x), written f′′(x)f''(x) or d2ydx2\dfrac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}}.
  • f′′>0f''>0: the gradient is increasing. f′′<0f''<0: the gradient is decreasing.
  • The sign of f′f' decides whether ff is increasing; the sign of f′′f'' decides whether f′f' is increasing.
  • The maximum rate of change of ff is where f′′=0f''=0 and changes sign from ++ to −-.
  • In context f′′f'' is the rate of change of a rate, with squared time units.
−1−0.8−0.6−0.4−0.200.20.40.60.8124681012xyminimum (0.23, 0.61)y = e^(3x) − 6x
The curve falls then rises, but its gradient increases everywhere.

What is the second derivative?

Differentiate f′(x)f'(x) again. All the earlier rules still apply.

Differentiating f′(x)f'(x) gives the second derivative, written f′′(x)f''(x) or d2ydx2\dfrac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}}. The chain, product or quotient rule may be needed twice.

For example y=e3x−6xy=e^{3x}-6x gives dydx=3e3x−6\dfrac{\mathrm{d}y}{\mathrm{d}x}=3e^{3x}-6 and d2ydx2=9e3x\dfrac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}}=9e^{3x}. Simplify f′(x)f'(x) fully first to save errors.

−1.5−1−0.50.511.52−20−10102030xyf″(1) = 0f(x)f′(x)f″(x)
f(x) = x⁴ − 2x³ + 5x with f′(x) = 4x³ − 6x² + 5 and f″(x) = 12x² − 12x. f″(1) = 0.
  • f(x)=x4−2x3+5xf(x)=x^{4}-2x^{3}+5xf′(x)=4x3−6x2+5f'(x)=4x^{3}-6x^{2}+5
  • f′(x)f'(x)f′′(x)=12x2−12xf''(x)=12x^{2}-12x

If y=e3xy=e^{3x}, what is d2ydx2\dfrac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}}?

What it tells you

f′′(x)f''(x) is the rate of change of the gradient. It says nothing directly about whether ff itself is increasing.

  • f′′(x)>0f''(x)>0: the gradient is increasing.
  • f′′(x)<0f''(x)<0: the gradient is decreasing.
  • f′′(x)=0f''(x)=0: the gradient is momentarily not changing.

Whether ff is rising depends on the sign of f′f'. For y=e3x−6xy=e^{3x}-6x the rate of change of the gradient is 9e3x>09e^{3x}>0, so the gradient always increases, yet the curve falls for x<13ln⁡2≈0.23x<\frac{1}{3}\ln2\approx0.23 and rises after.

−1−0.8−0.6−0.4−0.200.20.40.60.811.2−55101520xyminimumf′ = 0f(x)f′(x)f″(x)
f(x) = e^(3x) − 6x. f″(x) = 9e^(3x) is always positive, so the gradient always increases; f falls then rises at its minimum, x ≈ 0.23.

Positive

f′f' tells you:
ff is increasing
f′′f'' tells you:
gradient is increasing (concave-up)

Negative

f′f' tells you:
ff is decreasing
f′′f'' tells you:
gradient is decreasing (concave-down)

At a point f′(x)=3f'(x)=3 and f′′(x)=−2f''(x)=-2. What is happening?

Linking f, f′ and f″

Each function describes the gradient of the one before it. A zero of f′f' is a stationary point of ff; a zero of f′′f'' that changes sign is where ff is steepest.

  • Where ff is increasing, f′f' is positive; where decreasing, f′f' is negative.
  • A stationary point of ff is a zero of f′f'.
  • Where f′f' is increasing, f′′f'' is positive. A maximum or minimum of f′f' (the steepest point of ff) is a zero of f′′f'' where it changes sign.

If f′(x)=(x+1)(x−2)2f'(x)=(x+1)(x-2)^{2}, the gradient function touches zero at x=2x=2 without changing sign, so ff keeps increasing. f′f' has a minimum of 0 there.

−1.5−1−0.50.511.522.533.5−8−6−4−224681012xy(−1, 0)(2, 0)(0, 4)y = f′(x)
f′ touches the axis at x = 2 and stays above it, so f never decreases after x = −1.

The graph of f′f' touches the xx-axis at x=2x=2 from above. What does ff do at x=2x=2?

In context: growth rates

If P′P' is a growth rate, P′′P'' says whether growth is speeding up or slowing down. Always check the sign of P′P' before commenting on PP.

If P(t)P(t) is a population, P′(t)P'(t) is its growth rate. For P(t)=400+60t2−2t3P(t)=400+60t^{2}-2t^{3}: P′′(5)=60>0P''(5)=60>0 (growth speeding up) and P′′(15)=−60<0P''(15)=-60<0 (growth slowing), but P′(15)=450>0P'(15)=450>0, so the population is still rising.

The growth rate is greatest where P′′=0P''=0 and changes from positive to negative, here t=10t=10 with P′(10)=600P'(10)=600 fish per month. Units of P′′P'' are fish per month per month. Acceleration is the second derivative of displacement.

2468101214161820−100100200300400500600xy(10, 600)(15, 450)P′(t) = 120t − 6t²
The growth rate peaks at t = 10, where P″ = 0.

For P(t)=400+60t2−2t3P(t)=400+60t^{2}-2t^{3}, what is P′′(t)P''(t)?

Try an exam question

A population of fish is modelled by P(t)=400+60t2−2t3P(t)=400+60t^{2}-2t^{3}, where tt is in months. Find P′′(t)P''(t), and hence find the time at which the growth rate is greatest.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find f′′(x)f''(x).

1 mark, marked against the mark scheme

Revision notes