IB Maths AI HL Coupled & Second Order Differential Equations Paper 1 & 2 ~7 min read

Second Order Differential Equations

A second order equation involves d2xdt2. The key move is the substitution y = dxdt, which turns it into a coupled first-order system — so every technique from this unit applies. From there you can run Euler’s method for an approximation, or find the exact solution via eigenvalues.

📘 What you need to know

Reducing to a coupled system

The substitution y = dx/dt d2xdt2 = f(x, dxdt, t)  ⟶  dxdt = y,   dydt = f(x, y, t) ✓ the coupled-system tools are all in the booklet

🤔 Why does y = dxdt work?

Naming the first derivative as a new variable y immediately gives one equation, dxdt = y. Differentiating y gives the second derivative, which the original equation already expresses in terms of x, dxdt, and t — i.e. in terms of x, y, t. So the single 2nd-order equation splits cleanly into two 1st-order ones.

🧠 “Name the speed, get a pair”

Let y be the “speed” dxdt. One equation says position changes at that speed (dxdt = y); the other rearranges the original for dydt.

Worked example — Euler’s method

WE 1

Rewrite d2xdt2 + 2dxdt + x = 50cos t as a coupled system.

Let y = dxdt and rearrange for dydt.

d²xdt² = −x − 2dxdt + 50cos t dxdt = y,   dydt = −x − 2y + 50cos t
WE 2

Initially x = 2 and dxdt = −1. With h = 0.1, find x and dxdt at t = 0.5.

Apply the coupled Euler recursions over 5 steps (y = dxdt).

xn+1 = xn + 0.1 yn yn+1 = yn + 0.1(−xn − 2yn + 50cos tn)
n012345
tn00.10.20.30.40.5
xn21.92.33.09854.20435.5357
yn−147.98511.05813.31314.836
Answer: x(0.5) ≈ 5.54 and dxdt14.8 (3 s.f.).

Exact solutions

For the homogeneous form d2xdt2 + adxdt + bx = 0, the same substitution gives the matrix

01
−b−a
, whose eigenvalues solve the characteristic equation λ² + aλ + b = 0.

Exact solution (real, distinct, non-zero eigenvalues) x = Ceλ₁t + Deλ₂t,   where λ² + aλ + b = 0 ✓ follows from the booklet eigen-solution
Applying the conditions: you’ll usually be given x and dxdt at t = 0. Differentiate x = Ceλ₁t + Deλ₂t to get dxdt, then form two simultaneous equations for C and D.

Worked example — exact solution

Consider d2xdt2 + 3dxdt − 4x = 0, with x = 3 and dxdt = −2 initially.

WE 3

Rewrite it as a coupled system.

Let y = dxdt and rearrange.

d²xdt² = 4x − 3dxdt dxdt = y,   dydt = 4x − 3y
WE 4

The matrix

01
4−3
has eigenvalues 1 and −4. Write the general solution for x.

Each eigenvalue gives one exponential term.

λ = 1, −4 (also the roots of λ² + 3λ − 4 = 0) x = C et + D e−4t
WE 5

Use the initial conditions to find the exact solution.

Differentiate for dxdt, then apply x(0) = 3 and dxdt(0) = −2.

dxdt = C et − 4D e−4t x(0): C + D = 3;   x′(0): C − 4D = −2 C = 2, D = 1 x = 2et + e−4t

💡 Top tips

⚠ Common mistakes

That wraps up Coupled & Second Order Differential Equations. The unit grew from one matrix idea — = Mx — into a complete picture: exact solutions from eigenvalues and eigenvectors, phase portraits showing every trajectory, equilibrium points classified by eigenvalue signs, and sketched trajectories from a starting condition. Second order equations join the same family through the substitution y = dxdt — whether you solve them exactly or step through them with Euler, they’re coupled systems in disguise.

Need help with Coupled & Second Order Differential Equations?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session →