A levels Further Mathematics · Core pure
First and second order differential equations
1First order: the integrating factor
A first order linear differential equation has the form
$$\frac{dy}{dx} + P(x)y = Q(x)$$
Multiply through by the integrating factor $I = e^{\int P\,dx}$. The left side becomes the derivative of a product:
$$\frac{d}{dx}(Iy) = IQ \quad \Rightarrow \quad Iy = \int IQ\,dx$$
Integrating factor
- Solve $\dfrac{dy}{dx} + \dfrac{2y}{x} = x$ for $x > 0$.
- $I = e^{\int 2/x\,dx} = e^{2\ln x} = x^2$.
- $\dfrac{d}{dx}(x^2y) = x^3$, so $x^2y = \dfrac{x^4}{4} + c$.
- $y = \dfrac{x^2}{4} + \dfrac{c}{x^2}$.
The equation must be in standard form (coefficient of $\frac{dy}{dx}$ equal to 1) before finding $I$.
Check yourself
What is the integrating factor for dy/dx + 3y = eˣ?
Show the answer
e^(3x)
e^(∫3 dx).
2Second order: the auxiliary equation
A second order linear equation with constant coefficients:
$$a\frac{d^2y}{dx^2} + b\frac{dy}{dx} + cy = f(x)$$
When $f(x) = 0$ (homogeneous), try $y = e^{mx}$. This gives the auxiliary equation $am^2 + bm + c = 0$.
- Two real roots $m_1, m_2$: $y = Ae^{m_1x} + Be^{m_2x}$
- Repeated root $m$: $y = (A + Bx)e^{mx}$
- Complex roots $p \pm qi$: $y = e^{px}(A\cos qx + B\sin qx)$
Three cases
- $y'' - 5y' + 6y = 0$: $m = 2, 3$, so $y = Ae^{2x} + Be^{3x}$.
- $y'' + 4y' + 4y = 0$: $m = -2$ (repeated), so $y = (A + Bx)e^{-2x}$.
- $y'' + 2y' + 5y = 0$: $m = -1 \pm 2i$, so $y = e^{-x}(A\cos 2x + B\sin 2x)$.
Check yourself
What is the general solution when the auxiliary equation has a repeated root m?
Show the answer
y = (A + Bx)e^(mx)
The extra x gives a second independent solution.
3Particular integrals
For $f(x) \neq 0$, the general solution is
$$y = \text{complementary function (CF)} + \text{particular integral (PI)}$$
The CF solves the homogeneous equation. The PI is any one solution of the full equation; guess its form from $f(x)$:
- $f(x) = k$: try $y = \lambda$
- $f(x) = ax + b$: try $y = \lambda x + \mu$
- $f(x) = ke^{px}$: try $y = \lambda e^{px}$
- $f(x) = k\cos\omega x$ or $k\sin\omega x$: try $y = \lambda\cos\omega x + \mu\sin\omega x$
If the trial form is already part of the CF, multiply it by $x$.
A polynomial right side
- $y'' - 5y' + 6y = 6x$. Try $y = \lambda x + \mu$: $-5\lambda + 6\lambda x + 6\mu = 6x$.
- $\lambda = 1$, and $6\mu - 5 = 0$ so $\mu = \frac{5}{6}$.
- $y = Ae^{2x} + Be^{3x} + x + \frac{5}{6}$.
Check yourself
The CF is Ae^(2x) + Be^(3x) and f(x) = e^(2x). What trial PI should you use?
Show the answer
λx e^(2x)
e^(2x) is already in the CF.
4Using boundary conditions
Two conditions are needed to find $A$ and $B$. Apply them to the full general solution (CF + PI), not just the CF.
Initial conditions
- Solve $y'' - 5y' + 6y = 12$, with $y = 0$ and $y' = 0$ when $x = 0$.
- PI: $y = 2$. General solution: $y = Ae^{2x} + Be^{3x} + 2$.
- $x = 0$: $A + B + 2 = 0$. Differentiate: $y' = 2Ae^{2x} + 3Be^{3x}$, so $2A + 3B = 0$.
- $A = -6$, $B = 4$: $y = -6e^{2x} + 4e^{3x} + 2$.
Check yourself
When applying initial conditions, which solution should you use?
Show the answer
The full general solution (CF + PI)
The PI contributes to y and y'.
5Simple harmonic motion
Simple harmonic motion (SHM) satisfies
$$\frac{d^2x}{dt^2} = -\omega^2x$$
The auxiliary equation $m^2 + \omega^2 = 0$ gives $m = \pm\omega i$, so
$$x = A\cos\omega t + B\sin\omega t = R\sin(\omega t + \alpha)$$
The motion has amplitude $R$ and period $\frac{2\pi}{\omega}$.
A spring
- $\ddot{x} = -9x$, with $x = 2$ and $\dot{x} = 0$ when $t = 0$.
- $x = A\cos 3t + B\sin 3t$; $A = 2$; $\dot{x} = 3B = 0$ at $t = 0$, so $B = 0$.
- $x = 2\cos 3t$: amplitude 2, period $\frac{2\pi}{3}$.
Check yourself
What is the period of SHM with ẍ = −16x?
Show the answer
π/2
ω = 4, period 2π/4.
6Damping and coupled systems
Adding a resistance proportional to velocity gives damped oscillations: $\ddot{x} + k\dot{x} + \omega^2x = 0$.
- Heavy damping (two real negative roots): no oscillation, slow return to equilibrium.
- Critical damping (repeated root): fastest return without oscillating.
- Light damping (complex roots with negative real part): oscillations that decay.
Classifying damping
- $\ddot{x} + 2\dot{x} + 10x = 0$: $m = -1 \pm 3i$.
- Light damping: $x = e^{-t}(A\cos 3t + B\sin 3t)$, oscillations with shrinking amplitude.
Coupled first order equations (such as predator–prey models, $\dot{x} = ax + by$, $\dot{y} = cx + dy$) are solved by differentiating one equation and substituting to get a single second order equation.
Check yourself
Which type of damping returns fastest to equilibrium without oscillating?
Show the answer
Critical damping
The auxiliary equation has a repeated root.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera