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 solved by separating variables — as required by the Edexcel A-Level Mathematics specification (9MA0). You need to be able to separate variables, integrate both sides, find general and particular solutions, and form differential equations from contextual problems.
A differential equation is an equation that involves derivatives (rates of change). For example:
At A-Level, you focus on first-order differential equations (involving dy/dx only, not d²y/dx²).
The method of separation of variables works when the differential equation can be written in the form:
dy/dx = f(x) × g(y)
That is, the right-hand side can be expressed as a product of a function of x only and a function of y only.
Rearrange so that all y-terms are on one side and all x-terms are on the other: (1/g(y)) dy = f(x) dx
Integrate both sides: ∫ (1/g(y)) dy = ∫ f(x) dx
Evaluate both integrals (include one constant of integration).
If possible, rearrange to express y in terms of x.
Step 1: Separate variables. (1/y) dy = 3x² dx
Step 2: Integrate both sides. ∫ (1/y) dy = ∫ 3x² dx ln|y| = x³ + c
Step 3: Express y in terms of x. |y| = e^(x³ + c) = e^c × e^(x³)
Since e^c is a positive constant, write it as A: y = Ae^(x³) (where A is a constant, A ≠ 0)
Step 1: Separate variables. y² dy = (x + 1) dx
Step 2: Integrate both sides. ∫ y² dy = ∫ (x + 1) dx y³/3 = x²/2 + x + c
Step 3: Rearrange. y³ = 3x²/2 + 3x + 3c
We can write 3c as a single constant C: y³ = (3x² + 6x)/2 + C
Or simply: y³ = (3/2)x² + 3x + C
dy/dx = 2x(y + 1), given that y = 2 when x = 0.
Step 1: Separate. 1/(y + 1) dy = 2x dx
Step 2: Integrate. ∫ 1/(y + 1) dy = ∫ 2x dx ln|y + 1| = x² + c
Step 3: Use the boundary condition y = 2 when x = 0. ln|3| = 0 + c → c = ln 3
Step 4: Write the particular solution. ln|y + 1| = x² + ln 3 ln|y + 1| - ln 3 = x² ln|(y + 1)/3| = x² (y + 1)/3 = e^(x²) (taking the positive case since y + 1 > 0) y + 1 = 3e^(x²) y = 3e^(x²) - 1
Step 1: Separate. (1/y) dy = cos x dx
Step 2: Integrate. ln|y| = sin x + c
Step 3: General solution. y = Ae^(sin x) (where A = ±e^c)
Exam questions may give you a real-world scenario and ask you to form (set up) the differential equation before solving it.
A population P grows at a rate proportional to its current size. Write down a differential equation for P in terms of time t.
"Rate proportional to P" means dP/dt = kP for some positive constant k.
Solving: Separate variables. (1/P) dP = k dt ln P = kt + c P = P₀e^(kt) (where P₀ is the initial population)
The temperature T of a hot object cools at a rate proportional to the difference between its temperature and the surrounding temperature T_s.
dT/dt = -k(T - T_s) (where k > 0)
Solving: Let u = T - T_s, so du/dt = dT/dt = -ku. (1/u) du = -k dt ln|u| = -kt + c u = Ae^(-kt) T - T_s = Ae^(-kt) T = T_s + Ae^(-kt)
Many differential equations at A-Level model exponential growth or decay:
| Model | Differential Equation | Solution |
|---|---|---|
| Exponential growth | dy/dx = ky (k > 0) | y = Ae^(kx) |
| Exponential decay | dy/dx = -ky (k > 0) | y = Ae^(-kx) |
Sometimes differential equations arise from chain rule connections:
If you know dV/dt and you need dr/dt, and V is a function of r, then:
dr/dt = (dr/dV) × (dV/dt)
Example: A spherical balloon is inflated at a rate of 10 cm³/s. Find the rate of increase of the radius when r = 5 cm.
V = (4/3)πr³, so dV/dr = 4πr²
dr/dt = (dr/dV)(dV/dt) = (1/(4πr²)) × 10 = 10/(4π × 25) = 10/(100π) = 1/(10π) cm/s
Sometimes the question provides a substitution to help solve the equation.
Example: Use the substitution y = vx to solve x(dy/dx) = x + y.
Step 1: y = vx → dy/dx = v + x(dv/dx) (by the product rule)
Step 2: Substitute into the DE: x(v + x(dv/dx)) = x + vx xv + x²(dv/dx) = x + vx x²(dv/dx) = x dv/dx = 1/x
Step 3: Integrate: v = ln|x| + c
Step 4: Replace v = y/x: y/x = ln|x| + c y = x ln|x| + cx
Edexcel 9MA0-02 specification section 11 — Differential equations: "Construct simple differential equations in pure mathematics and in context (contexts may include kinematics, population growth and modelling the relationship between price and demand). Evaluate the analytical solution of simple first-order differential equations with separable variables, including finding particular solutions; interpret the solution of a differential equation in the context of solving a problem, including identifying limitations of the solution." This is Year 2 content sitting at the apex of pure: it draws on integration (section 8), exponentials and logarithms (section 6), partial fractions (section 4) and modelling reasoning (AO3). Differential equations appear on Paper 2 (Pure 2) and increasingly within Paper 3 (Mechanics) when the question is set up as dtdv=f(v). The Edexcel formula booklet provides no integral results specific to ODEs — students must recognise the standard ∫x1dx=ln∣x∣+C and exponential families unaided.
Question (8 marks): Solve the differential equation dxdy=xy given that y=2 when x=0. Find the general solution and the particular solution.
Solution with mark scheme:
Step 1 — separate the variables.
The equation dxdy=xy is first-order and separable: the right-hand side factorises as a function of x multiplied by a function of y. Divide both sides by y (valid provided y=0) and multiply both sides by dx:
y1dy=xdx
M1 — correctly separating into the form g(y)dy=f(x)dx. A common error is to write ydy=xdx+dxdy or to leave y on the right-hand side; this earns nothing.
Step 2 — integrate both sides.
∫y1dy=∫xdx
ln∣y∣=2x2+C
M1 — applying ∫y1dy=ln∣y∣ on the left. M1 — applying the power rule ∫xdx=21x2 on the right. A1 — both integrals correct with a single constant of integration C on one side. Writing two constants C1 and C2 is not penalised provided they are combined immediately; leaving them separate throughout loses the A1.
Step 3 — exponentiate to obtain the general solution.
∣y∣=ex2/2+C=eC⋅ex2/2
Writing A=±eC (an arbitrary non-zero constant absorbing the sign):
y=Aex2/2
M1 — exponentiating both sides correctly, with the sign collapsed into a single arbitrary constant. A1 — general solution y=Aex2/2.
Step 4 — apply the boundary condition y=2 when x=0.
2=Ae0=A⋅1=A
So A=2.
M1 — substituting the boundary condition into the general solution. A1 — particular solution y=2ex2/2.
Total: 8 marks (M5 A3, split as shown).
A worth-noting subtlety: the case y=0 (the constant zero function) is also a solution of dxdy=xy that is lost when dividing by y. For an A* answer, note explicitly that the boundary condition y(0)=2=0 rules this branch out, so y=Aex2/2 is the complete family relevant here.
Question (6 marks): A population of bacteria P at time t hours satisfies the differential equation
dtdP=kP(1−2000P)
where k>0 is a constant. At t=0 the population is P=200.
(a) Without solving the equation, explain what happens to dtdP as P approaches 2000, and interpret this in context. (2)
(b) State, with a reason, the long-term behaviour of P as t→∞. (2)
(c) The biologist suggests that the model breaks down for very large t. Give one reason why this might be the case in real bacterial populations. (2)
Mark scheme decomposition by AO:
(a)
(b)
(c)
Total: 6 marks split AO2 = 3, AO3 = 3. This is an AO3-heavy modelling question — Edexcel uses logistic-style ODEs precisely to test interpretation, not just solution. Notice that part (a) asks candidates to reason about behaviour without integrating: this is deliberate, and writing out a separation-of-variables solution earns no marks for parts (a) or (b).
Connects to:
Section 8 — Integration: every separable ODE reduces to two integrals, one in y and one in x. Confidence with ∫y1dy=ln∣y∣, ∫ekxdx=k1ekx and the chain rule in reverse is non-negotiable. A weak Section 8 student cannot solve Section 11 questions, however cleanly they separate.
Section 6 — Exponential modelling, growth and decay: the equation dtdy=ky has solution y=Aekt, the simplest exponential growth/decay model. Radioactive decay (k<0), continuously compounded interest (k>0) and unrestricted bacterial growth all sit here. A Section 11 question asking "show that y=Aekt satisfies dtdy=ky" tests differentiation of exponentials; the converse (derive y=Aekt by separation) tests Section 11.
Newton's law of cooling: dtdT=−k(T−Troom) is the canonical ODE of Year 2 modelling. The substitution u=T−Troom converts it to dtdu=−ku, which has solution u=Ae−kt, hence T=Troom+Ae−kt. Every coffee-cooling question on 9MA0-02 reduces to this template.
Logistic equation: dtdP=kP(1−P/M) has carrying capacity M and is solved by separation combined with partial fractions (section 4 of the spec). The integral ∫P(1−P/M)dP requires decomposition into P1+1−P/M1/M. Logistic models appear regularly on Paper 2 in the highest-mark questions.
Section 4 — Partial fractions: any ODE whose right-hand side factorises with multiple linear roots in y, e.g. dxdy=(y−1)(y−3), demands partial-fraction decomposition before integrating. This is the synoptic link Edexcel exploits most often when stretching marks above 8.
Differential-equations questions on 9MA0-02 split AO marks more evenly than algebra-and-functions questions, because modelling and interpretation matter:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.