Skip to content

Mathematics · Ch 5 — Continuity and Differentiability

Second Order Derivative

5.7

Second Order Derivative

5.7 Second Order Derivative

From a Rate to a Rate of Change

For y=f(x)y = f(x), the first derivative dydx=f′(x)\dfrac{dy}{dx} = f'(x) tells us how fast yy changes as xx changes. But f′(x)f'(x) is itself just another function of xx — so we can ask the same question about it: how fast is f′(x)f'(x) changing? Differentiating f′(x)f'(x) once more with respect to xx answers that. On the left-hand side this is written as

ddx(dydx)\frac{d}{dx}\left(\frac{dy}{dx}\right)

and the result is called the second order derivative of yy with respect to xx.

The Four Notations

You will see the second derivative written in several equivalent ways across textbooks and exam papers — they all mean the same thing:

  • d2ydx2\dfrac{d^2y}{dx^2} — the most common form, built by applying ddx\dfrac{d}{dx} twice
  • f′′(x)f''(x) — when y=f(x)y = f(x), read as "f double prime of x"
  • D2yD^2y — using the operator notation D=ddxD = \dfrac{d}{dx}
  • y′′y'' or y2y_2 — compact shorthand used when the variable is unambiguous
Note

d2ydx2\dfrac{d^2y}{dx^2} is read "dee two y by dee x squared." The superscript 2 tells you this is the derivative taken twice — it is not (dydx)2\left(\dfrac{dy}{dx}\right)^2. Squaring the first derivative and taking the second derivative are two completely different operations that happen to look similar on paper.

A Worked Micro-Example

To see the mechanics, take y=x3y = x^3.

  1. First derivative: dydx=3x2\dfrac{dy}{dx} = 3x^2.
  2. Now differentiate that result again with respect to xx: ddx(3x2)=6x\dfrac{d}{dx}(3x^2) = 6x.
  3. So d2ydx2=6x\dfrac{d^2y}{dx^2} = 6x.

There is no new rule here — the second derivative just applies the ordinary rules of differentiation (power, product, chain) to the first derivative, as you would to any function of xx. Simplify dydx\dfrac{dy}{dx} fully before differentiating it again; a messy first derivative makes the second pass far more error-prone.

What It Actually Tells You

If the first derivative measures a rate of change, the second derivative measures the rate of change of that rate — how quickly the rate itself is speeding up, slowing down, or reversing. The classic example is motion: if s(t)s(t) is a particle's position at time tt, dsdt\dfrac{ds}{dt} is its velocity, and d2sdt2\dfrac{d^2s}{dt^2} is its acceleration — the rate at which the velocity is changing. The same idea applies to any y=f(x)y = f(x): the second derivative describes how the curve is bending, which is why it becomes the key tool for testing concavity and locating maxima/minima in the next chapter.

Higher Order Derivatives

Nothing special happens at the second derivative. If d2ydx2\dfrac{d^2y}{dx^2} is itself differentiable, differentiating it again gives the third order derivative d3ydx3\dfrac{d^3y}{dx^3} (or y′′′y'''), and repeating gives the fourth, fifth, and so on. In general, the nnth order derivative comes from differentiating yy successively nn times, provided every intermediate derivative is itself differentiable.

Important Differential Relations Established …