Note AcademyNote Academy

Mathematics (AS & A Level) 9709 · Chapter 16

Differential equations

Paper 3. Writing a rate of change as a differential equation, separating the variables, using an initial condition, and interpreting the solution in context.

Written for the 2026–2027 syllabus · 4 min read

3.8 Differential equations

Writing a differential equation

A differential equation connects a quantity to its rate of change. The word "proportional" brings a constant into the equation.

StatementEquation
The population NN grows at a rate proportional to NNdNdt=kN\dfrac{\mathrm{d}N}{\mathrm{d}t} = kN, k>0k > 0
The mass mm decreases at a rate proportional to mmdmdt=−km\dfrac{\mathrm{d}m}{\mathrm{d}t} = -km, k>0k > 0
The temperature θ\theta falls at a rate proportional to its excess over a room at 20°dθdt=−k(θ−20)\dfrac{\mathrm{d}\theta}{\mathrm{d}t} = -k(\theta - 20), k>0k > 0
The rate of change of yy is inversely proportional to xxdydx=kx\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{k}{x}

Separating the variables

If the right-hand side is a function of xx multiplied by a function of yy, gather each variable on its own side:

Only one constant of integration is needed, on one side.

∫y−2 dy=∫2x dx⇒−1y=x2+c\int y^{-2}\,\mathrm{d}y = \int 2x\,\mathrm{d}x \quad\Rightarrow\quad -\frac{1}{y} = x^2 + c

At x=0x = 0, y=1y = 1: −1=c-1 = c. So −1y=x2−1-\dfrac{1}{y} = x^2 - 1, which gives

y=11−x2y = \frac{1}{1 - x^2}

General and particular solutions

The answer with cc still in it is the general solution. Using an initial condition to find cc gives the particular solution.

Exponential growth and decay

∫1N dN=∫k dt⇒ln⁡N=kt+c\int \frac{1}{N}\,\mathrm{d}N = \int k\,\mathrm{d}t \quad\Rightarrow\quad \ln N = kt + c

Taking exponentials gives N=ekt+c=AektN = \mathrm{e}^{kt + c} = A\mathrm{e}^{kt}, where A=ecA = \mathrm{e}^c. At t=0t = 0, A=N0A = N_0, so N=N0ektN = N_0\mathrm{e}^{kt}.

A problem in context

Separate and integrate:

∫1θ−20 dθ=∫−k dt⇒ln⁡(θ−20)=−kt+c\int \frac{1}{\theta - 20}\,\mathrm{d}\theta = \int -k\,\mathrm{d}t \quad\Rightarrow\quad \ln(\theta - 20) = -kt + c

At t=0t = 0, θ=100\theta = 100, so c=ln⁡80c = \ln 80. Then θ−20=80e−kt\theta - 20 = 80\mathrm{e}^{-kt}.

At t=5t = 5, θ=60\theta = 60: 40=80e−5k40 = 80\mathrm{e}^{-5k}, so k=ln⁡25=0.139k = \dfrac{\ln 2}{5} = 0.139.

θ=20+80e−0.139t\theta = 20 + 80\mathrm{e}^{-0.139t}

As tt grows, e−0.139t\mathrm{e}^{-0.139t} approaches 0, so θ\theta approaches 20°C: the tea cools to room temperature and never falls below it.

Combining with earlier methods

Differential equations are often used to test integration. Watch for these forms after separating:

Integral on one sideMethod
1y(y+1)\dfrac{1}{y(y + 1)}Partial fractions
xexx\mathrm{e}^{x} or xcos⁡xx\cos xIntegration by parts
cos⁡2y\cos^2 yDouble angle formula
xx2+1\dfrac{x}{x^2 + 1}f′(x)f(x)\dfrac{\mathrm{f}'(x)}{\mathrm{f}(x)} gives a logarithm
1y2+4\dfrac{1}{y^2 + 4}Inverse tangent

∫1y+1 dy=∫1x dx⇒ln⁡(y+1)=ln⁡x+c\int \frac{1}{y + 1}\,\mathrm{d}y = \int \frac{1}{x}\,\mathrm{d}x \quad\Rightarrow\quad \ln(y + 1) = \ln x + c

At x=1x = 1, y=3y = 3: c=ln⁡4c = \ln 4. So ln⁡(y+1)=ln⁡(4x)\ln(y + 1) = \ln(4x), and y=4x−1y = 4x - 1.

Test yourself10 flashcards on this chapter.Flashcards →