5.7 The second derivative

5.7 The second derivative

IB Maths: Analysis and Approaches SL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • The second derivative f′′(x)=ddxf′(x)f''(x)=\frac{d}{dx}f'(x), also written d2ydx2\frac{d^{2}y}{dx^{2}}.
  • f′′>0f''>0: the gradient is increasing. f′′<0f''<0: the gradient is decreasing.
  • The sign of f′f' decides whether ff increases; the sign of f′′f'' decides whether f′f' increases.
  • The greatest 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.

The second derivative

Differentiating f′(x)f'(x) again gives the second derivative, f′′(x)f''(x).

The second derivative is written f′′(x)f''(x) or d2ydx2\frac{d^{2}y}{dx^{2}}, read "d two y by d x squared".

For f(x)=x4−2x3+5xf(x)=x^{4}-2x^{3}+5x: f′(x)=4x3−6x2+5f'(x)=4x^{3}-6x^{2}+5 and f′′(x)=12x2−12xf''(x)=12x^{2}-12x.

All the rules from 5.6 still apply, so the chain, product or quotient rule may be needed twice.

−1−0.50.511.52−5510152025xyf(1) = 4f″(1) = 0f(x)f″(x)
f(x) = x⁴ − 2x³ + 5x (solid) and f″(x) = 12x² − 12x (dashed). f″ = 0 at x = 0 and x = 1, where the concavity of f changes.
  • First derivativef′(x)=dydxf'(x)=\dfrac{dy}{dx}
  • Second derivativef′′(x)=d2ydx2f''(x)=\dfrac{d^{2}y}{dx^{2}}

Worked example

Find d2ydx2\frac{d^{2}y}{dx^{2}} for y=e3x−6xy=e^{3x}-6x.

What is f′′(x)f''(x) when f(x)=x4−2x3+5xf(x)=x^{4}-2x^{3}+5x?

What it tells us

f′′(x)f''(x) is the rate of change of the gradient: positive means the gradient is increasing, negative means it is decreasing.

f′′(x)f''(x) is the rate of change of the gradient. If f′′(x)=0f''(x)=0, the gradient is momentarily not changing.

This says nothing directly about whether ff itself is increasing: that is decided by the sign of f′f'.

For y=e3x−6xy=e^{3x}-6x, 9e3x>09e^{3x}>0, so the gradient always increases, even though the curve decreases for x<13ln⁡2x<\frac13\ln2.

−1−0.8−0.6−0.4−0.200.20.40.60.812468xy(0.231, 0.614)y = e^(3x) − 6x
The curve falls then rises, but it bends upwards everywhere (f′′>0f''>0).

f′′>0f''>0

Gradient f′f':
Increasing
Shape:
Bends upwards

f′′<0f''<0

Gradient f′f':
Decreasing
Shape:
Bends downwards

At a point, f′(x)=5f'(x)=5 and f′′(x)=−2f''(x)=-2. Which statement is correct?

Linking f, f′ and f″

Each function is the gradient of the one before: zeros of f′f' are stationary points of ff; zeros of f′′f'' that change sign are steepest points of ff.

Where ff is increasing, f′f' is positive. 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' is a zero of f′′f'' where it changes sign: the steepest point of ff.

For f′(x)=(x+1)(x−2)2f'(x)=(x+1)(x-2)^{2}, f′′(x)=3x(x−2)f''(x)=3x(x-2). At x=0x=0, f′′f'' changes from ++ to −-, so f′f' has a maximum of 4.

−1.5−1−0.50.511.522.533.5−8−6−4−224681012xy(−1, 0)(0, 4)(2, 0)y = f′(x)
The graph of f′f': zero at x=−1x=-1, a maximum at x=0x=0, and a touch of the axis at x=2x=2 (so ff keeps increasing there).

The graph of f′f' has a local maximum at x=0x=0. What does this mean for ff at x=0x=0?

In context

P′(t)P'(t) is a growth rate and P′′(t)P''(t) says whether that growth is speeding up or slowing down.

If P(t)P(t) is a population, P′(t)P'(t) is its growth rate. The units of P′′P'' are (units of PP) per (unit of time) squared, such as fish per month per month.

Distance, velocity and acceleration are the classic trio: acceleration is the second derivative of displacement.

2468101214161820−100100200300400500600700xy(10, 600)(20, 0)P′(t) = 120t − 6t²
The growth rate P′(t)P'(t) peaks at t=10t=10 and returns to zero at t=20t=20.

Worked example

A fish population is P(t)=400+60t2−2t3P(t)=400+60t^{2}-2t^{3}, tt in months. Describe the growth at t=5t=5 and t=15t=15, and find when growth is greatest.

P′(t)>0P'(t)>0 and P′′(t)<0P''(t)<0 at a time tt. What is happening to the population?

Try an exam question

The curve y=x4−2x3y=x^{4}-2x^{3} has second derivative d2ydx2\dfrac{d^{2}y}{dx^{2}}. Find d2ydx2\dfrac{d^{2}y}{dx^{2}} and the values of xx for which the curve is concave-up.

[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