If y=f(x) is differentiable and its derivative f′(x) is itself differentiable, differentiating again gives the second order derivative:
dx2d2y=dxd(dxdy)
also written y′′, y2, or f′′(x). Nothing new is needed to compute it — every tool of the chapter (product rule, chain rule, implicit, parametric) simply gets applied a second time.
Quick specimens:y=x2+3x+2 gives y′=2x+3 and y′′=2; y=x20 gives y′′=20⋅19x18=380x18; y=logx gives y′=x1 and y′′=−x21.
The exam staple: proving differential relations
Board papers rarely ask for y′′ alone — they ask you to prove that y satisfies a relation involving y, y′ and y′′. The recipe: compute y′ and y′′, substitute into the left side, and watch everything cancel.
y=Asinx+Bcosx: here y′′=−Asinx−Bcosx=−y, so
y′′+y=0
y=3e2x+2e3x: each exponential ekx contributes k2 on double differentiation, and the combination satisfies
y′′−5y′+6y=0
(the numbers 2 and 3 are exactly the roots of k2−5k+6=0 — a useful pattern-check).
y=sin−1x: from y′=1−x21, one more differentiation and a clean-up gives
(1−x2)y′′−xy′=0
A powerful shortcut for relation proofs: after the first differentiation, clear the radicals or denominators, then differentiate the cleaned equation implicitly. For y=sin−1x: write 1−x2y′=1, differentiate both sides, and the target relation appears at once — no messy second quotient rule.
Parametric second derivatives — the trap
For x=f(t), y=g(t), the second derivative is notd2x/dt2d2y/dt2. Differentiate dxdy (a function of t) with respect to x via the chain rule:
dx2d2y=dtd(dxdy)⋅dx/dt1
— differentiate the slope w.r.t. the parameter, then divide by dtdx once more.
Solved Examples
Example 1 — A straight double differentiation
Find dx2d2y if y=x3+tanx.
Step 1 — first derivative:y′=3x2+sec2x.
Step 2 — second derivative (chain rule on sec2x):y′′=6x+2secx⋅secxtanx.
Answer:y′′=6x+2sec2xtanx.
Example 2 — The sine-cosine relation
If y=Asinx+Bcosx, prove that dx2d2y+y=0.
Step 1 — differentiate twice:y′=Acosx−Bsinx, then y′′=−Asinx−Bcosx.
Step 2 — recognise:y′′=−y exactly.
Answer:y′′+y=0. ∎ Both constants vanish from the relation — that is the point: every combination Asinx+Bcosx satisfies the same equation.
Example 3 — The exponential relation
If y=3e2x+2e3x, prove that dx2d2y−5dxdy+6y=0.
Step 1 — differentiate twice:y′=6e2x+6e3x and y′′=12e2x+18e3x.