You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson covers first-order differential equations with separable variables and their application to mathematical modelling. Differential equations are used to describe how quantities change in real-world situations and are a key part of the A-Level Mathematics specification.
A differential equation is an equation involving derivatives. A first-order ordinary differential equation (ODE) involves dy/dx (or equivalent notation):
dy/dx = f(x, y)
The solution to a differential equation is a function y = g(x) that satisfies the equation.
A first-order ODE is separable if it can be written in the form:
dy/dx = f(x) × g(y)
To solve, separate the variables — put all y terms on one side and all x terms on the other:
(1/g(y)) dy = f(x) dx
Then integrate both sides:
∫ (1/g(y)) dy = ∫ f(x) dx
Solve dy/dx = 3x²y, given that y = 2 when x = 0.
Separate:
(1/y) dy = 3x² dx
Integrate:
∫ (1/y) dy = ∫ 3x² dx
ln|y| = x³ + C
Apply initial condition: When x = 0, y = 2:
ln 2 = 0 + C
C = ln 2
So:
ln|y| = x³ + ln 2
ln y = x³ + ln 2 (since y > 0 from context)
y = e^(x³ + ln 2)
y = e^(ln 2) × e^(x³)
y = 2e^(x³)
Solve dy/dx = (x + 1)/y², given y = 3 when x = 0.
Separate:
y² dy = (x + 1) dx
Integrate:
y³/3 = x²/2 + x + C
Apply initial condition: y = 3, x = 0:
27/3 = 0 + 0 + C
C = 9
Particular solution:
y³/3 = x²/2 + x + 9
y³ = 3x²/2 + 3x + 27
y = (3x²/2 + 3x + 27)^(1/3)
Many real-world quantities grow at a rate proportional to their current size. This is modelled by:
dP/dt = kP
where P is the population (or quantity), t is time, and k > 0 is the growth rate.
Solving:
(1/P) dP = k dt
ln P = kt + C
P = e^(kt + C) = Ae^(kt) where A = e^C
If P = P₀ when t = 0, then A = P₀, giving:
P = P₀e^(kt)
A population of bacteria doubles every 3 hours. Initially there are 500 bacteria. Find: (a) the value of k, (b) the population after 8 hours.
Part (a): P = 500e^(kt). When t = 3, P = 1000:
1000 = 500e^(3k)
2 = e^(3k)
3k = ln 2
k = ln 2/3 ≈ 0.2310
Part (b):
P = 500e^(8 ln 2/3)
= 500 × 2^(8/3)
= 500 × 6.3496...
≈ 3175 bacteria
When k < 0 (or we write dP/dt = −kP with k > 0), the quantity decreases exponentially:
P = P₀e^(−kt)
A radioactive substance has a half-life of 10 years. If the initial mass is 200 g, find the mass after 25 years.
Model: M = 200e^(−kt).
Find k from the half-life: When t = 10, M = 100:
100 = 200e^(−10k)
1/2 = e^(−10k)
−10k = ln(1/2) = −ln 2
k = ln 2/10 ≈ 0.0693
At t = 25:
M = 200e^(−25 × ln 2/10)
= 200e^(−2.5 ln 2)
= 200 × 2^(−2.5)
= 200/(4√2)
= 200/5.6569
≈ 35.4 g
Newton's law of cooling states that the rate of cooling of an object is proportional to the difference between its temperature and the surrounding (ambient) temperature:
dT/dt = −k(T − Tₐ)
where T is the temperature of the object, Tₐ is the ambient temperature, and k > 0.
Solving (let θ = T − Tₐ, so dθ/dt = dT/dt):
dθ/dt = −kθ
θ = θ₀e^(−kt)
T − Tₐ = (T₀ − Tₐ)e^(−kt)
T = Tₐ + (T₀ − Tₐ)e^(−kt)
A cup of coffee at 90°C is placed in a room at 20°C. After 5 minutes, the coffee has cooled to 70°C. Find its temperature after 15 minutes.
Model: T = 20 + 70e^(−kt) (since T₀ − Tₐ = 90 − 20 = 70).
Find k: When t = 5, T = 70:
70 = 20 + 70e^(−5k)
50 = 70e^(−5k)
5/7 = e^(−5k)
−5k = ln(5/7)
k = −ln(5/7)/5 = ln(7/5)/5 ≈ 0.0673
At t = 15:
T = 20 + 70e^(−15 × 0.0673)
= 20 + 70e^(−1.0096)
= 20 + 70 × 0.3644
= 20 + 25.5
≈ 45.5°C
Alternatively, using exact values:
T = 20 + 70(5/7)³ = 20 + 70 × 125/343 = 20 + 8750/343 ≈ 20 + 25.51 ≈ 45.5°C
A population P satisfies dP/dt = 0.1P(100 − P)/100 with P(0) = 10. This models growth that slows as P approaches a carrying capacity of 100.
This is separable but requires partial fractions to integrate (which is at the boundary of A-Level). At A-Level you are more likely to be given the solution and asked to interpret it or verify it.
The solution is:
P = 100/(1 + 9e^(−0.1t))
Verify: As t → ∞, e^(−0.1t) → 0, so P → 100/(1 + 0) = 100 (the carrying capacity). As t = 0, P = 100/(1 + 9) = 10 ✓.
At A-Level, you may be asked to set up a differential equation from a description:
The general solution has an arbitrary constant C (or A):
y = Ae^(3x)
The particular solution uses an initial/boundary condition to fix C:
If y = 5 when x = 0: 5 = Ae⁰, so A = 5, giving y = 5e^(3x).
Exam Tip: Always state your general solution clearly before applying the initial condition. The general solution earns marks even if you make an error with the boundary condition.
A tank contains 100 litres of water with 10 kg of salt dissolved in it. Pure water flows into the tank at 5 litres per minute, and the well-mixed solution flows out at 5 litres per minute (so the volume remains constant at 100 litres). Find the amount of salt in the tank after t minutes.
Let S be the mass of salt (in kg) at time t.
The concentration of salt is S/100 kg per litre.
The rate of salt leaving = concentration × flow rate = (S/100) × 5 = S/20 kg per minute.
The rate of salt entering = 0 (pure water).
dS/dt = 0 − S/20 = −S/20
Separate and integrate:
(1/S) dS = −(1/20) dt
ln S = −t/20 + C
S = Ae^(−t/20)
Initial condition: S = 10 when t = 0: A = 10.
S = 10e^(−t/20)
After 40 minutes: S = 10e^(−2) ≈ 10 × 0.1353 ≈ 1.35 kg.
Exam Tip: Differential equation questions often follow a sequence: (a) set up the equation from a description, (b) solve it using separation of variables, (c) use an initial condition to find the particular solution, (d) use the solution to answer a contextual question (e.g. "Find the temperature after 10 minutes"). Show all steps: the separation, both integrals, the general solution, the substitution of the initial condition, and the particular solution. This is a multi-mark question and partial credit is available at every stage.
AQA 7357 specification, Paper 2 — Pure Mathematics, Section H (Year 2): "Construct simple differential equations in pure mathematics and in context, including the cases where variables are separable. Solve such equations by separation of variables, including those involving an exponential growth or decay model. Interpret the solution of a differential equation in the context of solving a problem, including identifying limitations of the solution; includes links to kinematics." This sits inside the broader Section H (Integration) and is examinable on Paper 2 alongside techniques such as integration by substitution, by parts, and via partial fractions — all of which can appear inside the integration step of separating variables. The AQA formula booklet does not list a worked separable-ODE template; you are expected to write ∫f(y)1dy=∫g(x)dx from scratch.
Question (8 marks):
A cup of coffee at 80°C is left in a room at 20°C. Newton's law of cooling states that the rate of change of temperature is proportional to the difference between the body's temperature and the ambient temperature, so
dtdT=−k(T−20)
where T is the temperature in °C, t is time in minutes, and k>0 is a constant. After 5 minutes the coffee has cooled to 60°C.
(a) Solve the differential equation, expressing T as a function of t. (5)
(b) Find the time at which the coffee reaches 30°C, giving your answer to 3 significant figures. (3)
Solution with mark scheme:
(a) Step 1 — separate variables.
T−201dT=−kdt
M1 — variables correctly separated, with T-terms on the left and t-terms on the right. Common error: dividing by T rather than (T−20), which produces a wrong (and unsolvable-in-closed-form) integrand.
Step 2 — integrate both sides.
∫T−201dT=∫−kdt⟹ln∣T−20∣=−kt+C
M1 — correct integration of both sides. The left integrates to ln∣T−20∣ via the standard ∫u1du=ln∣u∣. Mark-scheme expectation: a single constant of integration on one side only (combining the two constants into C).
A1 — correct antiderivatives with constant C.
Step 3 — apply the initial condition T(0)=80.
ln∣80−20∣=−k(0)+C⟹C=ln60
So ln∣T−20∣=−kt+ln60, giving
ln60T−20=−kt⟹T−20=60e−kt
(positive branch since T>20 throughout cooling).
M1 — correct application of the initial condition to determine C. Candidates who skip this and write T=Ae−kt+20 directly should still earn the M1, but must justify A=60 from T(0)=80.
Step 4 — apply the second condition T(5)=60 to find k.
60−20=60e−5k⟹6040=e−5k⟹−5k=ln32
So k=−51ln32=51ln23.
A1 — final form T=20+60e−kt with k=51ln(3/2), or equivalently T=20+60(2/3)t/5.
(b) Step 1 — set T=30 and solve for t.
30=20+60e−kt⟹e−kt=61⟹−kt=ln61=−ln6
M1 — correctly rearranging to isolate the exponential and taking logs.
Step 2 — substitute k and evaluate.
t=kln6=(1/5)ln(3/2)ln6=ln(3/2)5ln6
M1 — correct substitution of k.
Numerically: ln6≈1.7918, ln(3/2)≈0.4055, so t≈5⋅1.7918/0.4055≈22.1 minutes.
A1 — final answer t≈22.1 minutes (3 s.f.).
Total: 8 marks (M5 A3).
Question (6 marks): A water tank is leaking. The volume V (in litres) of water in the tank at time t (in hours) satisfies
dtdV=−10V,V(0)=100
(a) By separating variables, show that V=(10−20t)2. (4)
(b) State, with reasoning, one limitation of this model in describing a real leaking tank. (2)
Mark scheme decomposition by AO:
(a)
(b)
Total: 6 marks split AO1 = 2, AO2 = 1, AO3 = 3. This is an AO3-heavy item — 50% of the marks reward problem-solving and modelling judgement, which is characteristic of AQA's Section H specimen items. Students who solve the ODE algorithmically but skip the modelling-evaluation step lose half the available marks.
Connects to:
Section H — Integration: every separable-ODE solution requires an integration step. Harder ODEs require partial fractions (∫N(K−N)1dN for the logistic equation), substitution (∫1+x21dx=arctanx+C), or by-parts. The ODE topic is, in effect, applied integration in disguise.
Exponential growth and decay (Section G): the equation dtdy=ky has solution y=Aekt, the foundation for population growth, radioactive decay, compound interest, and continuously compounded growth. AQA examiners regularly ask students to derive y=Aekt from dtdy=ky via separation, rather than quoting it.
Newton's law of cooling: dtdT=−k(T−Troom) is the canonical "shifted exponential" — the substitution u=T−Troom reduces it to the basic decay ODE. This same trick appears in mortgage repayment, drug clearance from the bloodstream, and RC-circuit discharge.
The logistic equation: dtdN=rN(1−N/K) models population growth with carrying capacity. Solving requires partial fractions: ∫N(1−N/K)1dN. Although the closed-form solution N(t)=1+Ae−rtK is just beyond the AQA syllabus, the separation step is fully on-spec and frequently appears.
Partial fractions in ODEs: Section D partial-fraction decomposition is the bridge between Section H integration and ODE solving when the integrand has factored denominators — a synoptic link AQA specifically rewards on Paper 2.
Differential-equation questions on AQA 7357 Paper 2 split AO marks more evenly than typical pure-maths topics:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.