All revision notes topics

Second-order linear differential equationsEdexcel A-Level Further Maths: Revision notes

Section 1

The auxiliary equation

A second-order linear equation with constant coefficients has the form y′′+ay′+by=f(x)y''+ay'+by=f(x). When f(x)=0f(x)=0 it is homogeneous. Try y=emxy=e^{mx}: then y′=memxy'=me^{mx} and y′′=m2emxy''=m^2e^{mx}, giving the auxiliary equation m2+am+b=0.m^2+am+b=0. Its roots decide the form of the solution. The general solution of a second-order equation has two arbitrary constants. Example: y′′+2y′−8y=0y''+2y'-8y=0 gives m2+2m−8=0m^2+2m-8=0, so m=2m=2 or m=−4m=-4 and y=Ae2x+Be−4xy=Ae^{2x}+Be^{-4x}.

Key termshomogeneousauxiliary equation
Exam tip

Write the auxiliary equation straight from the coefficients: y′′→m2y''\to m^2, y′→my'\to m, y→1y\to1.

Section 2

The three cases (discriminant)

The sign of the discriminant a2−4ba^2-4b decides the form of the complementary function:

  • a2−4b>0a^2-4b>0: two distinct real roots α,β\alpha,\beta: y=Aeαx+Beβxy=Ae^{\alpha x}+Be^{\beta x}.
  • a2−4b=0a^2-4b=0: one repeated root α\alpha: y=(A+Bx)eαxy=(A+Bx)e^{\alpha x}.
  • a2−4b<0a^2-4b<0: complex roots p±qip\pm q\mathrm{i}: y=epx(Acos⁡qx+Bsin⁡qx)y=e^{px}(A\cos qx+B\sin qx). Example: y′′+4y′+13y=0y''+4y'+13y=0 has m=−2±3im=-2\pm3\mathrm{i}, so y=e−2x(Acos⁡3x+Bsin⁡3x)y=e^{-2x}(A\cos3x+B\sin3x). If p=0p=0 the solution is pure oscillation, Acos⁡qx+Bsin⁡qxA\cos qx+B\sin qx, for example y′′+16y=0y''+16y=0 has y=Acos⁡4x+Bsin⁡4xy=A\cos4x+B\sin4x.
Key termsdiscriminantcomplementary functionrepeated root
Common mistake

Using q=q= the constant term, instead of the imaginary part of the root, as the angular frequency.

Section 3

Non-homogeneous equations: CF + PI

For y′′+ay′+by=f(x)y''+ay'+by=f(x): general solution=complementary function (CF)+particular integral (PI).\text{general solution}=\text{complementary function (CF)}+\text{particular integral (PI)}. Find the CF as above, then find a PI by trying a function of the same form as f(x)f(x):

  • f(x)=kepxf(x)=ke^{px}: try y=λepxy=\lambda e^{px}.
  • f(x)=A+Bxf(x)=A+Bx or p+qx+cx2p+qx+cx^2: try a polynomial of the same degree, y=ax+by=ax+b or y=ax2+bx+cy=ax^2+bx+c.
  • f(x)=mcos⁡ωx+nsin⁡ωxf(x)=m\cos\omega x+n\sin\omega x: try y=acos⁡ωx+bsin⁡ωxy=a\cos\omega x+b\sin\omega x (both terms, even if ff has only one). Substitute into the equation and compare coefficients.
Key termsparticular integraltrial function
Common mistake

Trying only acos⁡ωxa\cos\omega x when ff is a sine: the derivatives mix sine and cosine, so include both.

Section 4

Worked examples

Polynomial: y′′−3y′+2y=4x+2y''-3y'+2y=4x+2. CF: m2−3m+2=0m^2-3m+2=0, m=1,2m=1,2, so Aex+Be2xAe^x+Be^{2x}. Try y=ax+by=ax+b: −3a+2ax+2b=4x+2-3a+2ax+2b=4x+2, so a=2a=2, b=4b=4. General solution y=Aex+Be2x+2x+4y=Ae^x+Be^{2x}+2x+4. Trigonometric: y′′+3y′+2y=10sin⁡xy''+3y'+2y=10\sin x. Try y=acos⁡x+bsin⁡xy=a\cos x+b\sin x: y′=−asin⁡x+bcos⁡xy'=-a\sin x+b\cos x, y′′=−acos⁡x−bsin⁡xy''=-a\cos x-b\sin x. Then (a+3b)cos⁡x+(b−3a)sin⁡x=10sin⁡x(a+3b)\cos x+(b-3a)\sin x=10\sin x, so a+3b=0a+3b=0 and b−3a=10b-3a=10, giving a=−3a=-3, b=1b=1. PI: −3cos⁡x+sin⁡x-3\cos x+\sin x. Initial conditions: apply them to the general solution (CF + PI), not to the CF alone. Use y(0)y(0) for one equation and y′(0)y'(0) for the other, remembering the product rule when differentiating terms such as xe3xxe^{3x}.

Common mistake

Applying the initial conditions to the complementary function before adding the particular integral.

Section 5

When the trial function is part of the CF

If the trial form for the PI already appears in the CF, substituting gives 0 and fails. Multiply the trial function by xx. Example: y′′−5y′+6y=4e3xy''-5y'+6y=4e^{3x}. The CF is Ae2x+Be3xAe^{2x}+Be^{3x}, which contains e3xe^{3x}, so y=ke3xy=ke^{3x} fails. Try y=kxe3xy=kxe^{3x}: y′=k(1+3x)e3xy'=k(1+3x)e^{3x}, y′′=k(6+9x)e3xy''=k(6+9x)e^{3x}, and substituting gives ke3x[(6+9x)−5(1+3x)+6x]=ke3xke^{3x}\left[(6+9x)-5(1+3x)+6x\right]=ke^{3x}. Hence k=4k=4 and the general solution is y=Ae2x+Be3x+4xe3xy=Ae^{2x}+Be^{3x}+4xe^{3x}. With a repeated root and f(x)f(x) of that exponential form, multiply by x2x^2 instead.

Key termsresonancetrial function
Exam tip

Find the CF first. It tells you immediately whether your trial function will clash.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Second-order linear differential equations

  1. Consider the differential equation d2ydx2+2dydx−8y=0\frac{d^2y}{dx^2}+2\frac{dy}{dx}-8y=0.
    Given that y=0y=0 and dydx=6\frac{dy}{dx}=6 when x=0x=0, find the particular solution.2 marks
  2. Consider the differential equation d2ydx2+4dydx+13y=0\frac{d^2y}{dx^2}+4\frac{dy}{dx}+13y=0.
    Given that y=1y=1 and dydx=1\frac{dy}{dx}=1 when x=0x=0, find the particular solution.2 marks
  3. Consider the differential equation d2ydx2−3dydx+2y=4x+2\frac{d^2y}{dx^2}-3\frac{dy}{dx}+2y=4x+2.
    Find a particular integral.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).