First order differential equations
FP2 Topic 4, spec point by spec point (First order differential equations). Each spec point has the method, worked examples written the way the mark scheme wants them, how the marks go and the mistakes that cost the most marks.
Spec4.1Separable equations and families of solution curves
Solve first-order separable differential equations, find particular solutions, form the equation from a context, and sketch members of the family of solution curves.
The idea
This extends P4 6.4. Separate, integrate both sides, add one constant. The general solution is a family of curves, one for each value of the constant. A condition picks out one member (the particular solution).
To sketch the family, pick a few values of the constant and draw each curve, showing where they cross the axes and how they differ.
a family of hyperbolas
Solve \(\dfrac{dy}{dx} = \dfrac{x}{y}\), sketch some solution curves, and find the one through \((1, 2)\).
\(\int y\,dy = \int x\,dx \Rightarrow \frac12 y^2 = \frac12 x^2 + c \Rightarrow y^2 - x^2 = k\).
\(k > 0\): hyperbolas crossing the \(y\)-axis at \(\pm\sqrt k\). \(k < 0\): hyperbolas crossing the \(x\)-axis. \(k = 0\): the lines \(y = \pm x\) (the asymptotes of all the others).
Through \((1, 2)\): \(k = 4 - 1 = 3\), so \(y^2 - x^2 = 3\).
No questions in the bank test this point on its own: separable equations appear as steps inside substitution questions (4.3) and in P4. If you are asked to sketch a family, label the value of the constant on each curve.
Adding a constant on both sides.
Sketching only one member when a family is asked for.
Spec4.2First-order linear equations: the integrating factor
Solve \(\dfrac{dy}{dx} + Py = Q\), where \(P\) and \(Q\) are functions of \(x\), using the integrating factor \(e^{\int P\,dx}\).
The idea
Multiply the equation by the integrating factor \(I = e^{\int P\,dx}\). Then the left-hand side becomes the derivative of a product:
\[\frac{d}{dx}(Iy) = I\frac{dy}{dx} + IPy \qquad\text{(because } I' = IP\text{)}\]
So \(\dfrac{d}{dx}(Iy) = IQ\), and integrating gives \(Iy = \int IQ\,dx\).
Method
- Standard form: divide so the \(\frac{dy}{dx}\) coefficient is 1. Read off \(P\) (including its sign).
- \(I = e^{\int P\,dx}\). Simplify using \(e^{\ln f} = f\): e.g. \(e^{\int\tan x\,dx} = e^{\ln\sec x} = \sec x\).
- Write \(\dfrac{d}{dx}(Iy) = IQ\).
- Integrate the right side, including \(+ c\).
- Divide by \(I\) to get \(y = \ldots\) (the constant gets divided too).
a trig coefficient
Find the general solution of \(\cos x\dfrac{dy}{dx} + y\sin x = 2\cos^3 x\sin x - 3\), \(0 \leqslant x < \frac{\pi}{2}\).
Standard form: \(\dfrac{dy}{dx} + y\tan x = 2\cos^2 x\sin x - 3\sec x\).
\(I = e^{\int\tan x\,dx} = e^{\ln\sec x} = \sec x\).
\(\dfrac{d}{dx}(y\sec x) = 2\cos x\sin x - 3\sec^2 x\).
\(y\sec x = \sin^2 x - 3\tan x + c\), so \(y = \sin^2 x\cos x - 3\sin x + c\cos x\).
show an integrating factor
Show that \(\cos^3 x\) is an integrating factor for \(\dfrac{dy}{dx} - 3y\tan x = \sec^2 x\).
\(I = e^{\int -3\tan x\,dx} = e^{-3\ln\sec x} = e^{3\ln\cos x} = \cos^3 x\).
- M1 for dividing to standard form, dM1 for \(e^{\int P\,dx}\), A1 for the simplified factor, M1 for multiplying the right side by it, A1 A1 for integrating each term, then A1 for \(y = \ldots\) with the constant correctly handled (WFM02A Jan 2026 Q3a).
- "Show that" integrating factors need the integration of \(P\) and the exp-ln processing visible (WFM02 Jan 2025 Q1a).
Often asked as: general solution; particular solution from a condition; equations like \(x^2\frac{dy}{dx} + (x\cot x + 2)xy = 4\sin x\) where \(P\) needs splitting (WFM02 Oct 2020 Q6).
Not dividing first to get the coefficient of \(\frac{dy}{dx}\) equal to 1.
Forgetting \(+ c\) before dividing by \(I\), or not dividing \(c\) by \(I\).
Losing the sign of \(P\).
Spec4.3Equations reduced by a given substitution
Use a given substitution to turn a differential equation into a separable or linear one, solve it, and write the answer in terms of the original variables.
Method
- Differentiate the substitution to link the derivatives (chain rule). E.g. \(u = y^{-4} \Rightarrow \dfrac{du}{dx} = -4y^{-5}\dfrac{dy}{dx}\).
- Rearrange for \(\dfrac{dy}{dx}\) (or substitute directly) and replace everything in the original equation.
- Simplify to the given new equation. This is usually a "show that": show an intermediate line.
- Solve the new equation (often with an integrating factor).
- Substitute back to the original variables.
u = y⁻⁴
(a) Show \(u = y^{-4}\) turns \(4\dfrac{dy}{dx} = y - 2xy^5\) into \(\dfrac{du}{dx} + u = 2x\). (b) Solve for \(y\).
(a) \(\dfrac{du}{dx} = -4y^{-5}\dfrac{dy}{dx} = -y^{-5}(y - 2xy^5) = -y^{-4} + 2x = -u + 2x\). So \(\dfrac{du}{dx} + u = 2x\).
(b) \(I = e^x\): \(\dfrac{d}{dx}(ue^x) = 2xe^x \Rightarrow ue^x = 2xe^x - 2e^x + c\) (by parts).
\(u = 2x - 2 + ce^{-x}\), so \(y^4 = \dfrac{1}{2x - 2 + ce^{-x}}\).
- B1 for \(\frac{du}{dx}\) in terms of \(\frac{dy}{dx}\), M1 for substituting into the equation, A1* for the given result with an intermediate step (WFM02 Jan 2026 Q3).
- Then B1 for the integrating factor, M1 for the integral, dM1 for parts, A1 A1, and a final mark for the answer in terms of \(y\) (and \(x\)).
Often asked as: \(z = y^{-2}\), \(y^2 = w\sin 2x\) (WFM02 Jan 2024 Q8), \(u = y^{-4}\); usually 10+ marks across three parts.
Stopping at \(u = \ldots\) when \(y\) is asked for.
Chain rule slips in step 1 (the power and the sign).