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 dxdt β‰ˆ 14.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 β†’