Paper 3 only. When the right-hand side of a differential equation splits into a function of \(x\) times a function of \(y\), you can sort the variables onto opposite sides and integrate each one. An initial condition then picks out the one curve you need.
If \(\dfrac{dy}{dx} = f(x)\,g(y)\), then \(\displaystyle\int \frac{1}{g(y)}\,dy = \int f(x)\,dx\). Add ONE constant after integrating, use the initial condition to find it, and only then rearrange to make \(y\) the subject.
Fig. 1: the solution of dN/dt = N(20 − N)/40 with N = 4 when t = 0; it passes N = 10 at t = 4 ln 2 = 2.77 and levels off towards N = 20
Section 01
Separate, integrate, add one constant.
Treat \(\dfrac{dy}{dx}\) as if it were a fraction: divide by the \(y\)-part and 'multiply' by \(dx\), so that each side has only one variable. Then put an integral sign in front of each side.
Separable: \(\dfrac{dy}{dx} = x^{2}y\), \(\dfrac{dy}{dx} = e^{2x - y} = e^{2x}e^{-y}\) and \(\dfrac{dy}{dx} = \dfrac{\cos x}{y}\) all split as \(f(x)g(y)\).
Not separable: \(\dfrac{dy}{dx} = x + y\) cannot be written as a product, so this method does not apply.
One constant: \(\int \dots dy = \int \dots dx + C\). Two constants would just combine into one.
General solution: contains \(C\) (a family of curves). Particular solution: \(C\) fixed by a given point.
Worked example A first separable equation
Solve \(\dfrac{dy}{dx} = \dfrac{2x}{y}\), given that \(y = 3\) when \(x = 1\). Find \(y\) when \(x = 3\).
Separate: \(y\,dy = 2x\,dx\), so \(\displaystyle\int y\,dy = \int 2x\,dx\).
Integrate: \(\tfrac{1}{2}y^{2} = x^{2} + C\).
Use \(x = 1\), \(y = 3\): \(\tfrac{9}{2} = 1 + C\), so \(C = \tfrac{7}{2}\).
Rearrange: \(y^{2} = 2x^{2} + 7\). Since \(y = 3 > 0\) at the start, take the positive root: \(y = \sqrt{2x^{2} + 7}\).
A population satisfies \(\dfrac{dP}{dt} = 0.04P\), with \(P = 500\) when \(t = 0\) (\(t\) in years). Find \(P\) in terms of \(t\) and the time for the population to double.
Separate: \(\displaystyle\int \frac{1}{P}\,dP = \int 0.04\,dt\), so \(\ln P = 0.04t + C\) (\(P > 0\)).
\(t = 0\), \(P = 500\): \(C = \ln 500\).
\(\ln P - \ln 500 = 0.04t\), so \(\ln\dfrac{P}{500} = 0.04t\) and \(P = 500e^{0.04t}\).
Double: \(1000 = 500e^{0.04t}\), so \(e^{0.04t} = 2\) and \(t = \dfrac{\ln 2}{0.04}\).
Answer: \(P = 500e^{0.04t}\); doubling time \(25\ln 2 = 17.3\) years (3 s.f.).
Worked example Exponentials: split the power first
Solve \(\dfrac{dy}{dx} = e^{2x - y}\), given that \(y = 0\) when \(x = 0\), giving \(y\) in terms of \(x\).
Split using index laws: \(e^{2x - y} = e^{2x} \times e^{-y}\).
Separate: \(\dfrac{1}{e^{-y}}\,dy = e^{2x}\,dx\), i.e. \(\displaystyle\int e^{y}\,dy = \int e^{2x}\,dx\).
Solve \(\dfrac{dy}{dx} = y\cos x\), given that \(y = 2\) when \(x = 0\).
\(\displaystyle\int \frac{1}{y}\,dy = \int \cos x\,dx\) gives \(\ln y = \sin x + C\); \(x = 0\), \(y = 2\) gives \(C = \ln 2\). So \(\ln\dfrac{y}{2} = \sin x\) and \(y = 2e^{\sin x}\).
Examiner trap
\(\ln y = 2x + C\) gives \(y = e^{2x + C} = Ae^{2x}\), NOT \(y = e^{2x} + C\). The constant becomes a multiplier when you exponentiate, so find \(C\) BEFORE removing the logarithm, or write \(A = e^{C}\).
Section 02
Particular solutions in context.
In a modelling question the initial condition is usually hidden in words ('initially', 'at the start', 'when \(t = 0\)'), and a second piece of data may fix the constant of proportionality. Answer the actual question at the end: a time, a value, or a long-term behaviour.
Worked example Newton's law of cooling
Tea cools according to \(\dfrac{d\theta}{dt} = -0.05(\theta - 20)\), where \(\theta\) is in °C and \(t\) in minutes. Initially \(\theta = 80\). Find \(\theta\) in terms of \(t\), and the time taken to cool to \(40^\circ\)C.
Do not drop the 20: \(\theta = 80e^{-0.05t}\) solves a different equation, and it cools to zero instead of to room temperature. Keep \(\theta - 20\) together throughout.
Stage 1 · Learn
Check your understanding
Four quick checks. Each correct answer earns XP and records this skill on your profile.
Quick check+10 XP
Which correctly separates \(\dfrac{dy}{dx} = x^{2}y\)?
Quick check+10 XP
What is the general solution of \(\dfrac{dy}{dx} = 3y\)?
Quick check+10 XP
After integrating, \(\ln y = 2x + C\), and \(y = 5\) when \(x = 0\). Which is the particular solution?
Quick check+10 XP
Which differential equation can NOT be solved by separating the variables?
Section 03
Using partial fractions and other integrals.
The integral on the \(y\)-side may need any technique from section 3.5: partial fractions, \(\dfrac{1}{x^{2} + a^{2}}\), trigonometric identities. Logistic growth, where growth slows as the population fills its space, is the standard case (Fig. 1).
Worked example Logistic growth
\(\dfrac{dN}{dt} = \dfrac{N(20 - N)}{40}\), with \(N = 4\) when \(t = 0\). Find \(N\) in terms of \(t\), the time when \(N = 10\), and the long-term value of \(N\).
\(\displaystyle\int \frac{1}{20 - N}\,dN = -\ln(20 - N)\), not \(+\ln(20 - N)\): the inside has derivative \(-1\). Losing this sign turns the logistic curve into nonsense.
Stage 2 · Exam
Exam-style questions
Unlocks once the four checks above are done. Worth more XP, written to AS & A Level Paper 1 to 6 standard.
Finish the four checks above to unlock the exam questions
Exam style+20 XP
Solve \(\dfrac{dy}{dx} = 3x^{2}y^{2}\), given that \(y = 1\) when \(x = 0\).
Exam style+20 XP
A liquid cools according to \(\dfrac{d\theta}{dt} = -k(\theta - 20)\). Initially \(\theta = 100\), and \(\theta = 60\) when \(t = 10\). Find \(k\).
Exam style+20 XP
\(\dfrac{dx}{dt} = kx(5 - x)\). After separating, which is a correct result of integrating?
Exam style+20 XP
Given \(\dfrac{dy}{dx} = e^{x + 2y}\) and \(y = 0\) when \(x = 0\), find \(y\) when \(x = \ln 1.25\).
Skill unlocked
Variables separated, equations solved.
This skill is now recorded on your profile. Keep the chain going.