Second order derivatives

Differentiate once and you learn how fast yy is changing; differentiate again and you learn how that rate of change is itself changing. That second act of differentiation is the mathematical signature of curvature, of concavity, and — if yy tracks a moving particle's position — of acceleration. This is the final topic under Continuity, Differentiability and Differentiation in the Calculus unit, and the syllabus deliberately caps the ladder here: you differentiate an explicit, implicit, or parametric relation twice, never three times. The techniques are not new — chain rule, product rule, implicit differentiation, the two-step parametric trick — but applying them a second time, to an already-differentiated expression, is where the algebra gets messy and marks are lost. Master that repetition and you are set up perfectly for the second-derivative test on maxima and minima later in the same unit.

The core insight

The second derivative d2ydx2\dfrac{d^2y}{dx^2} is found by differentiating dydx\dfrac{dy}{dx} a second time with respect to xx, and its sign tells you whether the curve bends upward or downward at that point.

The core idea

If y=f(x)y = f(x), the first derivative dydx\dfrac{dy}{dx} (also written y′y' or f′(x)f'(x)) is the instantaneous rate of change of yy. Differentiating that expression again, still with respect to xx, gives the second derivative:

d2ydx2=ddx(dydx),also written y′′ or f′′(x)\frac{d^2y}{dx^2} = \frac{d}{dx}\left(\frac{dy}{dx}\right), \quad \text{also written } y'' \text{ or } f''(x)

where: y′′y'' and f′′(x)f''(x) are alternative notations for the same quantity, and the process is simply "differentiate, then differentiate the result."

Explicit functions. Apply whatever rule produced dydx\dfrac{dy}{dx} — product, quotient, or chain rule — a second time to that new expression. Nothing conceptually new happens; the algebra is just longer.

Implicit relations. First find dydx\dfrac{dy}{dx}, which will typically contain both xx and yy. Differentiate that expression again with respect to xx, applying the chain rule to every yy-term, and substitute the already-known dydx\dfrac{dy}{dx} expression back in wherever it reappears, so the final answer is written purely in terms of xx and yy.

Parametric equations. For x=x(t)x = x(t), y=y(t)y = y(t), the second derivative is emphatically not d2y/dt2d2x/dt2\dfrac{d^2y/dt^2}{d^2x/dt^2}. It is obtained by differentiating dydx\dfrac{dy}{dx} itself (a function of tt) with respect to tt, then dividing by dxdt\dfrac{dx}{dt} a second time:

d2ydx2=ddt(dydx)dxdt\frac{d^2y}{dx^2} = \frac{\dfrac{d}{dt}\left(\dfrac{dy}{dx}\right)}{\dfrac{dx}{dt}}

where: the numerator is the tt-derivative of the already-found dydx\dfrac{dy}{dx}, and the denominator is the original dxdt\dfrac{dx}{dt} — the division by dxdt\dfrac{dx}{dt} is applied a second time, not the second tt-derivatives divided directly. Geometrically, dydx\dfrac{dy}{dx} gives the slope of the tangent at a point, while d2ydx2\dfrac{d^2y}{dx^2} tells you how that slope is itself changing as xx increases — whether the curve is cupping upward (concave up, y′′>0y'' > 0) or bending downward (concave down, y′′<0y'' < 0). This is exactly the sign test used later for local maxima and minima: a positive second derivative at a critical point means the curve cups upward there, so the point is a local minimum, and a negative second derivative means a local maximum. Physically, if yy is the position of a particle at time xx, then d2ydx2\dfrac{d^2y}{dx^2} is its acceleration, the rate of change of velocity itself — the first derivative of position gives velocity, and differentiating once more gives how quickly that velocity is itself changing. It helps to keep the three cases mentally separate before you start writing algebra. An explicit function needs nothing beyond repeating whatever rule built the first derivative. An implicit relation needs an extra bookkeeping step — carrying dydx\dfrac{dy}{dx} forward and re-substituting it. A parametric pair needs the two-stage "differentiate with respect to tt, then divide by dxdt\dfrac{dx}{dt}" procedure, never a direct ratio of second tt-derivatives. Recognising which of the three you are looking at, before touching the algebra, saves most of the marks that otherwise get lost to a wrong method applied confidently.

Figure
Two curve arcs showing concave up with positive second derivative and concave down with negative second derivative
Sign of the second derivative sets the direction of bending concave up, y'' greater than 0 slope increases left to right concave down, y'' less than 0 slope decreases left to right

The parametric formula, derived

The parametric second-derivative rule is easy to misremember as a ratio of second tt-derivatives, so it is worth seeing exactly why that shortcut fails and what replaces it.

Derivation AWhy the parametric second derivative is not d two y over dt two divided by d two x over dt two

The goal is to show, using only the chain rule already established for the first parametric derivative, that d2ydx2\dfrac{d^2y}{dx^2} must be built by differentiating dydx\dfrac{dy}{dx} with respect to tt and then dividing by dxdt\dfrac{dx}{dt} a second time, and that this is generally a different quantity from the naive ratio d2y/dt2d2x/dt2\dfrac{d^2y/dt^2}{d^2x/dt^2}.

Step 1. Start from the definition. By definition, d2ydx2\dfrac{d^2y}{dx^2} means "differentiate dydx\dfrac{dy}{dx} with respect to xx," where dydx\dfrac{dy}{dx} is itself the function dy/dtdx/dt\dfrac{dy/dt}{dx/dt} built from the two given parametric derivatives. So the object we must differentiate with respect to xx is g(t)=dydxg(t) = \dfrac{dy}{dx}, a function known only in terms of the parameter tt.

Step 2. Differentiate a tt-function with respect to xx using the chain rule. Since gg depends on xx only through tt, the chain rule gives dgdx=dgdt⋅dtdx\dfrac{dg}{dx} = \dfrac{dg}{dt}\cdot\dfrac{dt}{dx}. This is the same chain-rule pattern used to get the first parametric derivative in the first place, just applied to gg instead of to yy.

Step 3. Rewrite dtdx\dfrac{dt}{dx} as 1/dxdt1\big/\dfrac{dx}{dt}, since tt and xx are inverse functions of one another along the curve. Substituting gives d2ydx2=dgdt⋅1dx/dt=ddt(dydx)dxdt\dfrac{d^2y}{dx^2} = \dfrac{dg}{dt}\cdot\dfrac{1}{dx/dt} = \dfrac{\dfrac{d}{dt}\left(\dfrac{dy}{dx}\right)}{\dfrac{dx}{dt}}, exactly the formula stated above: differentiate dydx\dfrac{dy}{dx} with respect to tt, then divide once more by dxdt\dfrac{dx}{dt}.

Step 4. Confirm the naive shortcut is a different quantity. The expression d2ydx2\dfrac{d^2y}{dx^2} is built from three separate operations — form dydx\dfrac{dy}{dx}, differentiate it with respect to tt, divide by dxdt\dfrac{dx}{dt} — none of which is "differentiate yy twice with respect to tt" or "differentiate xx twice with respect to tt" in isolation. So d2y/dt2d2x/dt2\dfrac{d^2y/dt^2}{d^2x/dt^2} has no reason to equal d2ydx2\dfrac{d^2y}{dx^2}, and in general it does not; the correct route always passes through dydx\dfrac{dy}{dx} first.

Worked example

Find d2ydx2\dfrac{d^2y}{dx^2} if y=e2xsin⁡3xy = e^{2x}\sin3x.

Step 1. Find the first derivative using the product rule (and chain rule on each factor). dydx=2e2xsin⁡3x+e2x⋅3cos⁡3x=e2x(2sin⁡3x+3cos⁡3x)\dfrac{dy}{dx} = 2e^{2x}\sin3x + e^{2x}\cdot3\cos3x = e^{2x}(2\sin3x+3\cos3x).

Step 2. Differentiate again, applying the product rule to e2xe^{2x} and (2sin⁡3x+3cos⁡3x)(2\sin3x+3\cos3x). d2ydx2=2e2x(2sin⁡3x+3cos⁡3x)+e2x(6cos⁡3x−9sin⁡3x)\dfrac{d^2y}{dx^2} = 2e^{2x}(2\sin3x+3\cos3x) + e^{2x}(6\cos3x-9\sin3x).

Step 3. Expand and collect like terms. d2ydx2=e2x[(4sin⁡3x+6cos⁡3x)+(6cos⁡3x−9sin⁡3x)]=e2x(12cos⁡3x−5sin⁡3x)\dfrac{d^2y}{dx^2} = e^{2x}\big[(4\sin3x+6\cos3x) + (6\cos3x-9\sin3x)\big] = e^{2x}(12\cos3x - 5\sin3x).

Final answer: d2ydx2=e2x(12cos⁡3x−5sin⁡3x)\boxed{\dfrac{d^2y}{dx^2} = e^{2x}(12\cos3x-5\sin3x)}.

Competitive stretch

For the parabola x=at2x = at^2, y=2aty = 2at: Step 1. dxdt=2at\dfrac{dx}{dt} = 2at, dydt=2a\dfrac{dy}{dt} = 2a, so dydx=2a2at=1t\dfrac{dy}{dx} = \dfrac{2a}{2at} = \dfrac{1}{t}. Step 2. Differentiate with respect to tt: ddt(1t)=−1t2\dfrac{d}{dt}\left(\dfrac{1}{t}\right) = -\dfrac{1}{t^2}. Step 3. Divide by dxdt\dfrac{dx}{dt} again: d2ydx2=−1/t22at=−12at3\dfrac{d^2y}{dx^2} = \dfrac{-1/t^2}{2at} = -\dfrac{1}{2at^3}. This matches the derivation above exactly — no shortcut through d2y/dt2d^2y/dt^2 was used or needed.

Common traps

  • Computing the parametric second derivative as d2y/dt2d2x/dt2\dfrac{d^2y/dt^2}{d^2x/dt^2} — invalid, as the derivation above shows; you must go through dydx\dfrac{dy}{dx} first.
  • Leaving an implicit second derivative with a leftover dydx\dfrac{dy}{dx} term instead of substituting the first-derivative expression back in.
  • Sign errors from repeated product or chain rule applications — expand fully and collect terms rather than combining mentally.
  • Skipping straight to the second derivative of an implicit relation without first simplifying dydx\dfrac{dy}{dx} — the algebra becomes far harder to manage.

Ask the tutor: if the parametric formula or the implicit-substitution step still feels shaky, ask the AI tutor to walk through one more fully worked example side by side with you.

Why can't I just divide the second t-derivatives to get the parametric second derivative?

Because d2ydx2\dfrac{d^2y}{dx^2} is defined as differentiating dydx\dfrac{dy}{dx} with respect to xx, not as differentiating yy and xx separately twice with respect to tt. The derivation shows the correct chain is: form dydx\dfrac{dy}{dx} first, differentiate that whole expression with respect to tt, then divide by dxdt\dfrac{dx}{dt} once more. The naive ratio skips the crucial step of building dydx\dfrac{dy}{dx} first, so it generally gives a different, wrong number.

Why does an implicit second derivative still contain dy/dx sometimes?

When you differentiate the implicit first-derivative expression a second time, any yy-term produces a new dydx\dfrac{dy}{dx} through the chain rule, since yy is a function of xx. To get a fully simplified answer purely in terms of xx and yy, you must substitute the already-known expression for dydx\dfrac{dy}{dx} back in wherever it reappears — leaving it in place is usually marked as incomplete.

Will I ever need a third derivative in this syllabus?

No. The syllabus explicitly restricts successive differentiation to the second order only, so you will never be asked for d3ydx3\dfrac{d^3y}{dx^3} in this course. What you do need is comfort applying the product, quotient, and chain rules a second time on an already-differentiated expression, since that repeated differentiation is usually algebraically messier than the first pass and is exactly where marks are lost.

Before this

Where this leads