Resources For Teachers For Tutors For Students & Parents Pricing
Year 12 Methods (Unit 3 & 4) The second derivative and applications

The second derivative and acceleration

20 practice questions 0 video lessons Theory + worked examples

In Year 12 Mathematical Methods (Queensland, QCAA), the second derivative \(f''(x)=\dfrac{d}{dx}\big(f'(x)\big)\) is the derivative of the first derivative — the rate of change of the gradient. Its sign gives the concavity (\(f''>0\) concave up, \(f''<0\) concave down), and for motion in a straight line the acceleration is the second derivative of displacement, \(a(t)=x''(t)\).

The second derivative of \(y=f(x)\) is what you get by differentiating twice: first \(f'(x)\), then \(f''(x)=\dfrac{d}{dx}\big(f'(x)\big)\). It is also written \(y''\) or \(\dfrac{d^{2}y}{dx^{2}}\). Because \(f'(x)\) is the gradient, \(f''(x)\) measures the rate of change of the gradient — how quickly the slope is changing.

The sign of \(f''\) describes the concavity of the graph. Where \(f''(x)>0\) the curve is concave up (curving upward, like a valley); where \(f''(x)<0\) it is concave down (curving downward, like a hill). A point of inflection is where the concavity changes, so \(f''(x)=0\) there and the sign of \(f''\) switches.

In kinematics, if \(x(t)\) is the displacement of a particle then the velocity is \(v(t)=x'(t)\) and the acceleration is \(a(t)=x''(t)\). So acceleration is the second derivative of displacement with respect to time — the rate of change of the velocity.

Key idea. Differentiate twice. The sign of \(f''\) gives concavity (\(f''>0\) up, \(f''<0\) down); in motion, acceleration \(a(t)=x''(t)\).
Concave up curve with positive second derivativeAn upward-curving valley-shaped curve; the second derivative is positive, so the curve is concave up. f''>0
\(f''(x)>0\): the curve is concave up
Concave down curve with negative second derivativeA downward-curving hill-shaped curve; the second derivative is negative, so the curve is concave down. f''<0
\(f''(x)<0\): the curve is concave down
Reading the shape. Concave up holds water; concave down spills it. Between the two, where the concavity switches, is a point of inflection (\(f''=0\)).

The second derivative is the derivative of the first derivative:

\[f''(x)=\frac{d}{dx}\big(f'(x)\big)=\frac{d^{2}y}{dx^{2}}\]
f(x)

Concavity from the sign of the second derivative:

\[f''(x)>0 \Rightarrow \text{concave up} \qquad f''(x)<0 \Rightarrow \text{concave down}\]
f(x)>0

Acceleration is the second derivative of displacement:

\[v(t)=x'(t) \qquad a(t)=x''(t)=v'(t)\]
a(t)=x(t)
Useful second derivatives. \(\dfrac{d^{2}}{dx^{2}}e^{kx}=k^{2}e^{kx}\); \(\dfrac{d^{2}}{dx^{2}}\sin kx=-k^{2}\sin kx\); \(\dfrac{d^{2}}{dx^{2}}\ln x=-\dfrac{1}{x^{2}}\).

How to work with the second derivative

  1. Differentiate once, then again. Find \(f'(x)\), then differentiate that to get \(f''(x)\). Apply the chain, product or quotient rule each time as needed.
  2. Evaluate if asked. To find \(f''(a)\), substitute \(x=a\) into the second derivative (not the original function).
  3. For motion, differentiate the displacement twice. Velocity \(v(t)=x'(t)\); acceleration \(a(t)=x''(t)\). Set \(a(t)=0\) to find when the acceleration is zero.
  4. For concavity, test the sign of \(f''\). Solve \(f''(x)>0\) for the concave-up interval and \(f''(x)<0\) for concave down; a change of sign at \(f''=0\) is a point of inflection.
Watch the units. If displacement is in metres and time in seconds, velocity is in \(\text{m/s}\) and acceleration in \(\text{m/s}^{2}\).
Example 1 — Second derivative of a polynomial
If \(f(x)=2x^{3}-5x^{2}+7x-1\), find \(f''(x)\).
Solution

Differentiate twice.

\(f'(x)\)\(=\)\(6x^{2}-10x+7\)
\(f''(x)\)\(=\)\(12x-10\)

So \(f''(x)=12x-10\).

f(x)=12x-10
Example 2 — Second derivative of \(e^{3x}\)
Find the second derivative of \(f(x)=e^{3x}\).
Solution

The chain rule brings down a factor of \(3\) each time.

\(f'(x)\)\(=\)\(3e^{3x}\)
\(f''(x)\)\(=\)\(9e^{3x}\)

So \(f''(x)=9e^{3x}\).

9e3x
Example 3 — Acceleration from displacement
A particle has displacement \(x(t)=t^{3}-6t^{2}+9t\) metres after \(t\) seconds. Find the acceleration \(a(t)\) and the time at which it is zero.
Solution

Differentiate twice, then set \(a(t)=0\).

\(v(t)=x'(t)\)\(=\)\(3t^{2}-12t+9\)
\(a(t)=x''(t)\)\(=\)\(6t-12\)
\(6t-12\)\(=\)\(0 \Rightarrow t=2\)

The acceleration is \(a(t)=6t-12~\text{m/s}^{2}\), zero at \(t=2~\text{s}\).

a(t)=6t-12
Example 4 — Concavity and inflection
For \(y=x^{3}-3x^{2}+2\), find where the curve is concave up and locate the point of inflection.
Solution

The sign of \(f''\) gives the concavity.

\(f'(x)\)\(=\)\(3x^{2}-6x\)
\(f''(x)\)\(=\)\(6x-6\)
\(6x-6\)\(>\)\(0 \Rightarrow x>1\)

Concave up for \(x>1\), concave down for \(x<1\); inflection at \((1,0)\).

f(x)=6x-6

Common pitfalls

Differentiate twice, not once. The second derivative needs two rounds of differentiation. Stopping at \(f'(x)\) is the most common slip.
Do not confuse \(f'\) with \(f''\). The first derivative is the gradient (or velocity); the second derivative is the rate of change of the gradient (or acceleration). When a question asks for acceleration, use \(x''(t)\), not \(x'(t)\).
Mind the sign of concavity. \(f''>0\) is concave up and \(f''<0\) is concave down — it is easy to reverse them. And \(f''=0\) is only a candidate inflection: check that the concavity actually changes.

Frequently asked questions

What is the second derivative?

The derivative of the first derivative: differentiate once for \(f'(x)\), then again for \(f''(x)\). It is the rate of change of the gradient.

How is acceleration related to the second derivative?

For displacement \(x(t)\), velocity is \(v(t)=x'(t)\) and acceleration is \(a(t)=x''(t)\) — differentiate the displacement twice.

How does the second derivative tell you about concavity?

Its sign: \(f''>0\) is concave up, \(f''<0\) is concave down. A change of sign at \(f''=0\) is a point of inflection.

What does f''(x) = 0 mean?

A possible point of inflection (concavity may change), or in motion the instant the acceleration is zero. Confirm an inflection by checking the concavity switches.

How do you differentiate e^x, ln x or a trig function twice?

Apply the chain rule each time, e.g. \(\dfrac{d^{2}}{dx^{2}}e^{3x}=9e^{3x}\), \(\dfrac{d^{2}}{dx^{2}}\sin 2x=-4\sin 2x\), \(\dfrac{d^{2}}{dx^{2}}\ln x=-\dfrac{1}{x^{2}}\).

What is the difference between the first and second derivative?

\(f'\) is the gradient (velocity); \(f''\) is the rate of change of the gradient (acceleration). Two differentiations are needed for the second.

Create a free accountTrack your progress and save your work as you go.
Create free account