Home / A-Level Further Maths 9231 / Topic 2.6 / Revision notes
Download PDFQuestion bank →Topic 2.6 lessons

Differential equations

A-Level Further Maths 9231 · Topic 2.6 revision notes

Everything from the 4 lessons of this topic on a few pages: the key idea of each lesson, the diagram to remember, the points to learn and the traps examiners set. Read it, cover it, test yourself.

  1. First order: integrating factors
  2. Second order: complementary functions
  3. Particular integrals and particular solutions
  4. Reducing equations with a substitution

1First order: integrating factors

Syllabus 2.6

Write the equation in standard form \(\dfrac{dy}{dx} + P(x)\,y = Q(x)\) (divide through by the coefficient of \(\dfrac{dy}{dx}\) first). The integrating factor is \(I(x) = e^{\int P\,dx}\), with no constant needed. Multiplying through makes the left side exactly \(\dfrac{d}{dx}\big(I y\big)\), so \(I y = \displaystyle\int I\,Q\,dx\), and the \(+\,C\) goes in at this step, BEFORE you divide by \(I\).

x y 1 2 3 4 −4 −2 2 4 C = −2 C = −1 C = 1 C = 2 C = 3 C = 0: y = x − 1 C > 0 C < 0 dy/dx + y = x y = x − 1 + Ce⁻ˣ Ce⁻ˣ → 0, so every curve approaches the line y = x − 1
Fig. 1: the general solution of dy/dx + y = x is y = x - 1 + Ce^(-x), one curve for each value of C. The particular solution is chosen by a condition such as y(0) = 2 (which gives C = 3). Because Ce^(-x) dies away, every curve approaches the line y = x - 1: the long-term behaviour does not depend on the starting value

Worked example: P is a constant

Find the general solution of \(\dfrac{dy}{dx} + 3y = 6x\).
  1. Already in standard form with \(P = 3\), so \(I = e^{\int 3\,dx} = e^{3x}\).
  2. Multiply through: \(e^{3x}\dfrac{dy}{dx} + 3e^{3x}y = 6xe^{3x}\), that is \(\dfrac{d}{dx}\big(ye^{3x}\big) = 6xe^{3x}\).
  3. Integrate by parts (\(u = 6x\), \(v' = e^{3x}\)): \[ye^{3x} = 2xe^{3x} - \int 2e^{3x}\,dx = 2xe^{3x} - \tfrac{2}{3}e^{3x} + C.\]
  4. Divide by \(e^{3x}\): \(y = 2x - \tfrac{2}{3} + Ce^{-3x}\).
  5. Check: \(\dfrac{dy}{dx} = 2 - 3Ce^{-3x}\), and \(2 - 3Ce^{-3x} + 6x - 2 + 3Ce^{-3x} = 6x\).
Answer: \(y = 2x - \tfrac{2}{3} + Ce^{-3x}\)

Standard form, factor, integrate, divide.

  • Standard form: divide by the coefficient of \(\dfrac{dy}{dx}\) to get \(\dfrac{dy}{dx} + P(x)\,y = Q(x)\).
  • Factor: \(I = e^{\int P\,dx}\), simplified with \(e^{\ln f} = f\); no constant needed.
  • Integrate: \(\dfrac{d}{dx}(Iy) = IQ\), so \(Iy = \int IQ\,dx + C\).
  • Divide every term, including \(C\), by \(I\); then use any condition to find \(C\).
  • Interpret: let the transient (the \(C\) term) die away and describe what is left, in context, with units.

Watch out!

Find \(P\) only AFTER dividing by the coefficient of \(\dfrac{dy}{dx}\). For \(x\dfrac{dy}{dx} + 2y = 5x^{3}\), using \(P = 2\) gives \(I = e^{2x}\) and nonsense; the right factor is \(x^{2}\). And the right side must be multiplied by \(I\) too: \(\dfrac{d}{dx}(x^{2}y) = 5x^{4}\), not \(5x^{3}\).

Two classic slips. First, \(\int\tan x\,dx = \ln\sec x\), so the factor is \(\sec x\); using \(\cos x\) makes the left side fail to be a derivative. Second, the constant: from \(y\sec x = \sin x + C\) the answer is \(y = \sin x\cos x + C\cos x\). Writing \(y = \sin x\cos x + C\) (dividing everything except \(C\)) gives a function that does not satisfy the equation.

Read the rate out carefully: it is (outflow rate) \(\times\) (concentration) \(= b \times \dfrac{S}{V}\), with \(V\) the CURRENT volume, not the starting volume. And when you interpret, say what happens in words with units (for example 'the concentration approaches 0.2 kg per litre'), and say where the model stops applying.

2Second order: complementary functions

Syllabus 2.6

For \(a\dfrac{d^{2}y}{dx^{2}} + b\dfrac{dy}{dx} + cy = 0\), try \(y = e^{mx}\) to get the auxiliary equation \(am^{2} + bm + c = 0\). Distinct real roots \(m_{1}, m_{2}\): \(y = Ae^{m_{1}x} + Be^{m_{2}x}\). Repeated root \(m\): \(y = (A + Bx)e^{mx}\). Complex roots \(p \pm qi\): \(y = e^{px}(A\cos qx + B\sin qx)\). This is the complementary function (CF); for an equation with a non-zero right-hand side, the general solution is CF + PI, where the particular integral (PI) is any one solution of the full equation.

x y 1 2 3 4 5 6 7 8 2 −2 O y = e−x/2(2 cos 2x + sin 2x) y = ±√5 e−x/2 (envelope) curve touches the envelope roots −½ ± 2i: e−x/2 shrinks the amplitude; 2 sets the period π
Fig. 1: the solution of 4y'' + 4y' + 17y = 0 with y(0) = 2, y'(0) = 1 is y = e^(-x/2)(2 cos 2x + sin 2x). The auxiliary roots are -1/2 ± 2i: the real part -1/2 makes the amplitude decay inside the envelope ±√5 e^(-x/2), and the imaginary part 2 fixes the period at π

Worked example: Distinct real roots

Find the general solution of \(2\dfrac{d^{2}y}{dx^{2}} + 5\dfrac{dy}{dx} - 3y = 0\).
  1. Auxiliary equation: \(2m^{2} + 5m - 3 = 0\).
  2. Factorise: \((2m - 1)(m + 3) = 0\), so \(m = \tfrac{1}{2}\) or \(m = -3\).
  3. Two distinct real roots give two exponentials, each with its own constant.
Answer: \(y = Ae^{\frac{1}{2}x} + Be^{-3x}\)

Auxiliary equation, roots, then the matching form.

  • Write \(am^{2} + bm + c = 0\) from \(ay'' + by' + cy = 0\), keeping every sign.
  • Solve it: factorise if you can, otherwise use the formula; the discriminant tells you the case.
  • Match the form: \(Ae^{m_{1}x} + Be^{m_{2}x}\), \((A + Bx)e^{mx}\) or \(e^{px}(A\cos qx + B\sin qx)\).
  • Conditions: substitute \(y(0)\), then differentiate the whole CF (product rule) and substitute \(y'(0)\).
  • Interpret: negative real parts decay, \(p = 0\) oscillates steadily, a positive root or real part grows.

Watch out!

The roots go straight into the exponents with their own signs. \(m^{2} - 5m + 6 = (m - 2)(m - 3)\) has roots \(2\) and \(3\), so the CF is \(Ae^{2x} + Be^{3x}\), not \(Ae^{-2x} + Be^{-3x}\). Read the roots from the factors, not the numbers inside the brackets.

For roots \(p \pm qi\) the real part goes in the exponential and the imaginary part inside the trig functions: \(-\tfrac{1}{2} \pm 2i\) gives \(e^{-\frac{1}{2}x}(A\cos 2x + B\sin 2x)\), not \(e^{2x}(A\cos\tfrac{1}{2}x + B\sin\tfrac{1}{2}x)\). And \(m^{2} + 16 = 0\) gives \(\pm 4i\), not \(\pm 4\): the CF is trigonometric, not \(Ae^{4x} + Be^{-4x}\).

Differentiate the whole product. With \(y = e^{-\frac{1}{2}x}(A\cos 2x + B\sin 2x)\), writing \(y'(0) = 2B\) forgets the \(-\tfrac{1}{2}A\) from differentiating the exponential and gives \(B = \tfrac{1}{2}\) instead of \(1\). For an equation with a non-zero right-hand side, find CF + PI first and only then use the conditions.

3Particular integrals and particular solutions

Syllabus 2.6

For \(a\dfrac{d^{2}y}{dx^{2}} + b\dfrac{dy}{dx} + cy = f(x)\) (or the first order \(b\dfrac{dy}{dx} + cy = f(x)\)), the general solution is CF + PI: the complementary function, with its arbitrary constants, plus any one particular integral. Try a PI of the same type as \(f(x)\): a polynomial of the same degree, \(Ce^{kx}\), or \(C\cos px + D\sin px\) (always both terms). If the trial form is already part of the CF, multiply it by \(x\) (by \(x^{2}\) for a repeated root). Find the constants \(A\) and \(B\) only AFTER adding the PI, using the initial conditions. In a damped model the CF dies away and the PI is the long-term behaviour.

t x 2 −2 2 6 10 √5 solution x(t) PI 2 cos t + sin t CF (transient)
Fig. 1: the solution of x'' + 2x' + 5x = 10 cos t with x = 0 and x' = 0 at t = 0 (worked example 6). The complementary function e^(-t)(-2 cos 2t - 1.5 sin 2t) dies away within about 4 time units, after which the solution is indistinguishable from the particular integral 2 cos t + sin t, an oscillation of amplitude √5 at the driving frequency

Worked example: A polynomial right-hand side

Find a particular integral of \(\dfrac{d^{2}y}{dx^{2}} - 3\dfrac{dy}{dx} + 2y = 4x^{2}\).
  1. \(f(x)\) is a quadratic, so try \(y = ax^{2} + bx + c\). Then \(y' = 2ax + b\) and \(y'' = 2a\).
  2. Substitute: \[\begin{aligned} &2a - 3(2ax + b) + 2(ax^{2} + bx + c) \\ &= 2ax^{2} + (2b - 6a)x + (2a - 3b + 2c) = 4x^{2}. \end{aligned}\]
  3. \(x^{2}\): \(2a = 4\), so \(a = 2\).   \(x\): \(2b - 6a = 0\), so \(b = 6\).
  4. Constant: \(2a - 3b + 2c = 0\), so \(4 - 18 + 2c = 0\) and \(c = 7\).
  5. Check: \(y'' - 3y' + 2y = 4 - 3(4x + 6) + 2(2x^{2} + 6x + 7) = 4x^{2}\).
Answer: \(y = 2x^{2} + 6x + 7\)

Five steps to a particular solution.

  • CF first: solve the auxiliary equation and write the complementary function.
  • Choose the trial PI from the table: full polynomial, \(Ce^{bx}\), or \(C\cos px + D\sin px\).
  • Clash? If the trial is in the CF, multiply by \(x\) (by \(x^{2}\) for a repeated root).
  • Substitute and compare coefficients; general solution = CF + PI.
  • Conditions on the WHOLE solution fix \(A\) and \(B\); for large \(t\) the decaying CF vanishes and the PI remains.

Watch out!

Trying only \(C\sin 2x\) because the right side is \(10\sin 2x\) fails as soon as there is a \(\dfrac{dy}{dx}\) term: it produces \(\cos 2x\) terms that nothing can cancel, and the equations for \(C\) are inconsistent. In the same way, trying \(ax^{2}\) alone for \(4x^{2}\) leaves stray \(x\) and constant terms. Use the full form from the table every time.

If your comparison gives \(0 = 10\), your trial form was in the CF: you skipped finding the CF first. And differentiate \(xe^{3x}\) or \(x\sin 3x\) with the product rule: writing \(y' = 3Cxe^{3x}\) loses the term \(Ce^{3x}\) that carries the whole answer.

Do not find \(A\) and \(B\) from the CF alone and then add the PI on: the conditions belong to the WHOLE solution, and the PI changes both \(y(0)\) and \(y'(0)\). In a long-term question, 'the motion dies away' is wrong when there is a forcing term: only the CF dies away, and the PI remains.

4Reducing equations with a substitution

Syllabus 2.6

A given substitution swaps the hard equation for one you can already solve. With \(y = ux\): \(\frac{dy}{dx} = u + x\frac{du}{dx}\) (product rule), and the equation becomes separable in \(u\) and \(x\). With \(x = e^{t}\): \(x\frac{dy}{dx} = \frac{dy}{dt}\) and \(x^{2}\frac{d^{2}y}{dx^{2}} = \frac{d^{2}y}{dt^{2}} - \frac{dy}{dt}\), so \(ax^{2}y'' + bxy' + cy\) becomes an equation with constant coefficients in \(t\). With \(z = y^{n}\) or \(u = \frac{dy}{dx}\): differentiate the substitution, replace every term, and look for \(\frac{dz}{dx} + P(x)z = Q(x)\). Every time, finish by writing the answer in the ORIGINAL variables, and only then use the initial conditions (or convert them carefully).

given substitution new equation solve with y = ux y′ = u + xu′ separable in u and x separate and integrate x = et xy′ = dy/dt x²y″ = d²y/dt² − dy/dt constant coefficients in t CF + PI, then t = ln x z = 1/y, z = y² or u = y′ first order linear integrating factor Last step every time: back to x and y, then use the conditions.
Fig. 1: the three families of given substitution in this lesson. Each turns a new equation into a type you have already met: separable, constant coefficients, or first order linear

Worked example: A ratio on the right

Use the substitution \(y = ux\) to solve \(\frac{dy}{dx} = \frac{x^{2} + y^{2}}{xy}\) for \(x \gt 0\), given that \(y = 2\) when \(x = 1\).
  1. Replace \(y\) and \(\frac{dy}{dx}\): \[u + x\frac{du}{dx} = \frac{x^{2} + u^{2}x^{2}}{ux^{2}} = \frac{1 + u^{2}}{u}.\]
  2. Take \(u\) across: \[x\frac{du}{dx} = \frac{1 + u^{2}}{u} - u = \frac{1}{u}.\]
  3. Separate: \(\int u\,du = \int \frac{1}{x}\,dx\), so \(\tfrac{1}{2}u^{2} = \ln x + c\).
  4. Back-substitute \(u = \frac{y}{x}\): \(y^{2} = 2x^{2}\ln x + 2cx^{2}\).
  5. \(x = 1\), \(y = 2\): \(4 = 0 + 2c\), so \(2c = 4\).
Answer: \(y^{2} = x^{2}(2\ln x + 4)\)

Differentiate the substitution first.

  • Write the derivative of the substitution on its own line: \(y = ux \Rightarrow y' = u + xu'\); \(z = y^{2} \Rightarrow z' = 2yy'\).
  • For \(x = e^{t}\): \(x\frac{dy}{dx} = \frac{dy}{dt}\), \(x^{2}\frac{d^{2}y}{dx^{2}} = \frac{d^{2}y}{dt^{2}} - \frac{dy}{dt}\), and rewrite the right side in \(t\).
  • Replace every term, simplify, and name the type you now have: separable, linear, or constant coefficients.
  • Solve with the method for that type, keeping the arbitrary constants.
  • Return to \(x\) and \(y\), then apply the conditions (or convert them first, with \(\frac{dy}{dt} = x\frac{dy}{dx}\)).

Watch out!

Writing \(\frac{dy}{dx} = \frac{du}{dx}\), or \(\frac{dy}{dx} = x\frac{du}{dx}\), forgets the product rule: \(y = ux\) is a product of two functions of \(x\), so \(\frac{dy}{dx} = u + x\frac{du}{dx}\). And an answer left in \(u\) is unfinished: the question asked for \(y\).

Two slips cost the most marks. First, \(x^{2}\frac{d^{2}y}{dx^{2}}\) is NOT \(\frac{d^{2}y}{dt^{2}}\): the \(-\frac{dy}{dt}\) comes from the product rule and changes the auxiliary equation. Second, a right side such as \(6\ln x\) or \(x\) must also be rewritten in \(t\) (\(6t\), \(e^{t}\)) before you choose the particular integral; and the final answer goes back to \(x\).

With \(z = \frac{1}{y}\), the minus sign in \(\frac{dz}{dx} = -\frac{1}{y^{2}}\frac{dy}{dx}\) is the mark-loser: drop it and the integrating factor is wrong from then on. With \(u = \frac{dy}{dx}\), solving for \(u\) is only halfway: you must integrate once more to reach \(y\), and the answer needs two constants.

Back to A-Level Further Maths 9231 contents · (c) 2026 TheLucidSTEM · thelucidstem.com