6 exam-style questions plus unlimited generated ones on this topic, at up to four difficulty levels, with full mark schemes. Notes and Full packs are open to everyone. Practice needs a free account.
Or take a quick quiz: 11 questions on this subtopic in A level Maths (Edexcel), marked as you tap.
Turning a description in words into a differential equation, in pure maths and in contexts such as population growth, cooling, draining tanks, kinematics and price and demand. In the specification this is point 7.6. You only need to form (and sometimes interpret) the equation here; solving it is covered in Integration.
Key facts
Rate of change of \(x\) with respect to \(t\): \(\dfrac{\mathrm{d}x}{\mathrm{d}t}\)
Change of variable: \(\dfrac{\mathrm{d}h}{\mathrm{d}t} = \dfrac{\mathrm{d}V}{\mathrm{d}t} \div \dfrac{\mathrm{d}V}{\mathrm{d}h}\)
Notes
From words to a differential equation
A differential equation links a quantity and its rate of change. 'The rate of change of \(x\)' with respect to time is \(\dfrac{\mathrm{d}x}{\mathrm{d}t}\)
'Proportional to' means 'equals a constant times': 'the rate of increase of \(P\) is proportional to \(P\)' gives \(\dfrac{\mathrm{d}P}{\mathrm{d}t} = kP\), where \(k > 0\)
'Inversely proportional to \(x\)' gives \(\dfrac{k}{x}\); 'proportional to the square of \(x\)' gives \(kx^2\)
If the quantity is decreasing, its derivative is negative: write \(\dfrac{\mathrm{d}m}{\mathrm{d}t} = -km\) and state that \(k\) is a positive constant.
Newton's law of cooling: the rate of decrease of the temperature \(\theta\) is proportional to the difference between \(\theta\) and the room temperature \(\theta_0\), so \(\dfrac{\mathrm{d}\theta}{\mathrm{d}t} = -k(\theta - \theta_0)\)
Common contexts
Kinematics: \(v = \dfrac{\mathrm{d}s}{\mathrm{d}t}\) and \(a = \dfrac{\mathrm{d}v}{\mathrm{d}t}\). A particle slowed only by a resistance proportional to its speed gives \(\dfrac{\mathrm{d}v}{\mathrm{d}t} = -kv\)
Population: rate of change = births − deaths, e.g. births proportional to \(P\) and deaths proportional to \(P^2\) give \(\dfrac{\mathrm{d}P}{\mathrm{d}t} = aP - bP^2\)
Price and demand: if demand \(D\) falls as the price \(p\) rises, at a rate proportional to \(D\), then \(\dfrac{\mathrm{d}D}{\mathrm{d}p} = -kD\)
Pure maths: 'the gradient at every point is proportional to \(xy\)' gives \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = kxy\)
Combining rates and finding constants
diagram
Net rate = rate in − rate out: liquid poured in at 40 cm3 s−1 and leaking at a rate proportional to \(V\) gives \(\dfrac{\mathrm{d}V}{\mathrm{d}t} = 40 - kV\)
Net rate = rate in − rate out: \(\dfrac{\mathrm{d}V}{\mathrm{d}t} = 40 - kV\)
If the rate is given for one variable but the question is about another, use the chain rule, e.g. \(\dfrac{\mathrm{d}h}{\mathrm{d}t} = \dfrac{\mathrm{d}V}{\mathrm{d}t} \div \dfrac{\mathrm{d}V}{\mathrm{d}h}\)
Find a constant by substituting a known rate and the value of the variable at the same moment.
How to answer each type of question
M = method mark, A = answer mark, B = a mark on its own.
Write down a differential equation and find the constant
3 to 4 marksGrade C
Write the rate as a derivative, e.g. \(\dfrac{\mathrm{d}m}{\mathrm{d}t}\)
Replace 'proportional to' with 'a constant times'.
Put in a minus sign for a decrease and state that \(k > 0\)
Substitute the given rate and value at the same instant to find \(k\)
Example. A block of ice is melting. At time \(t\) minutes its mass is \(m\) grams. The mass decreases at a rate that is proportional to the square root of the mass. (a) Write down a differential equation connecting \(m\) and \(t\). (b) When \(m = 400\), the mass is decreasing at 5 grams per minute. Find the value of the constant of proportionality.
Show the model answerHide the model answer
(a) \(\dfrac{\mathrm{d}m}{\mathrm{d}t} = -k\sqrt{m}\), where \(k\) is a positive constant B1 (derivative and \(\sqrt{m}\)) B1 (negative sign with \(k > 0\))
Write net rate = rate in − rate out, with a constant for the proportional part.
Use the given moment to find the constant.
Rearrange to the given form.
For long-term behaviour, find where the rate is 0 and think about the sign of the rate on each side.
Example. Liquid is poured into a large tank at a constant rate of 40 cm3 s−1. At the same time liquid leaks out at a rate proportional to the volume, \(V\) cm3, of liquid in the tank. When \(V = 1000\), the volume is increasing at 15 cm3 s−1. (a) Show that \(\dfrac{\mathrm{d}V}{\mathrm{d}t} = \dfrac{1600 - V}{40}\). (b) Explain what the differential equation suggests about the volume in the long term.
(b) While \(V \lt 1600\) the rate is positive but gets smaller as \(V\) gets closer to 1600, so the volume increases towards 1600 cm3
B1
Use the chain rule to form an equation
5 to 6 marksGrade A
Write the volume in terms of the depth and differentiate.
Write the given rate using its own constant, with a minus sign for a decrease.
Use the chain rule to get \(\dfrac{\mathrm{d}h}{\mathrm{d}t}\), then combine the constants into one.
Substitute the given values to find the constant.
Example. Water leaks from a hole in the base of a cylindrical tank of radius 20 cm. The depth of water is \(h\) cm at time \(t\) minutes. The volume of water decreases at a rate proportional to \(\sqrt{h}\). (a) Show that \(\dfrac{\mathrm{d}h}{\mathrm{d}t} = -k\sqrt{h}\), where \(k\) is a positive constant. (b) When \(h = 25\), the depth is falling at 0.3 cm per minute. Find the value of \(k\)
Show the model answerHide the model answer
(a) \(V = 400\pi h\), so \(\dfrac{\mathrm{d}V}{\mathrm{d}h} = 400\pi\)
B1
\(\dfrac{\mathrm{d}V}{\mathrm{d}t} = -c\sqrt{h}\) for a positive constant \(c\)
\(= -k\sqrt{h}\), where \(k = \dfrac{c}{400\pi}\) is a positive constant
A1
(b) \(-0.3 = -k\sqrt{25}\) M1, so \(k = 0.06\)
A1
Gradient conditions in pure maths
3 marksGrade B
'Gradient' means \(\dfrac{\mathrm{d}y}{\mathrm{d}x}\)
Translate the description into an expression with a constant \(k\)
Substitute the point and its gradient to find \(k\)
Example. At every point \((x, y)\) on a curve, the gradient of the curve is proportional to the product of \(x\) and \(y\). The point \((2, 3)\) lies on the curve, and the gradient of the curve at this point is 4. Find a differential equation satisfied by the curve.
Show the model answerHide the model answer
\(\dfrac{\mathrm{d}y}{\mathrm{d}x} = kxy\)
B1
\(4 = k \times 2 \times 3\) M1, so \(k = \dfrac{2}{3}\) and \(\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{2}{3}xy\)
A1
Don’t lose marks
Leaving out the minus sign for a decrease, or using both a minus sign and a negative \(k\)
Writing the quantity instead of its rate, e.g. \(m = -k\sqrt{m}\) instead of \(\dfrac{\mathrm{d}m}{\mathrm{d}t} = -k\sqrt{m}\)
Writing \(\dfrac{\mathrm{d}h}{\mathrm{d}t}\) when the given rate is for the volume, without using the chain rule.
Finding \(k\) from values at different moments, or substituting a value where a rate is needed.
Not saying what the constant is, e.g. 'where \(k\) is a positive constant'.
More tips
Memory tricks
Translate word by word: 'rate of change of \(V\)' becomes \(\dfrac{\mathrm{d}V}{\mathrm{d}t}\); 'is proportional to' becomes '\(= k \times\)'.
Decreasing? Put the minus sign in front and keep \(k\) positive.
Check the units: both sides of the equation must have the same units, e.g. cm3 s−1.
Setting the rate equal to 0 tells you the value at which the quantity stops changing.
Exam technique
Define every constant you introduce and state its sign.
In 'show that' questions, explain where each term comes from (e.g. 'rate in' and 'rate out').
Read carefully: 'with respect to time' and 'with respect to price' need different derivatives.
What each grade needs
What you need to be able to do, from the first marks up to the top grade.
Grade C
Translate 'rate of change' into derivative notation'The rate of change of \(P\) with respect to time' is \(\dfrac{\mathrm{d}P}{\mathrm{d}t}\)
Grade C
Write 'proportional to' using a constant'Proportional to \(P\)' becomes \(kP\); 'inversely proportional to \(\sqrt{h}\)' becomes \(\dfrac{k}{\sqrt{h}}\)
Grade C
Use a negative sign for a decreaseA decreasing quantity gives, for example, \(\dfrac{\mathrm{d}m}{\mathrm{d}t} = -km\), where \(k > 0\)
Grade B
Find the constant of proportionalitySubstitute a known rate and value at the same moment, e.g. \(-5 = -k\sqrt{400}\) gives \(k = 0.25\)
Grade A
Form equations with inflow and outflowNet rate = rate in − rate out, e.g. \(\dfrac{\mathrm{d}V}{\mathrm{d}t} = 40 - kV\)
Grade A
Use the chain rule to change the variableTurn a rate of change of volume into a rate of change of depth with \(\dfrac{\mathrm{d}h}{\mathrm{d}t} = \dfrac{\mathrm{d}V}{\mathrm{d}t} \div \dfrac{\mathrm{d}V}{\mathrm{d}h}\)
Sample questions
Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.
Question 1Easy4 marks
A radioactive substance decays so that its mass, \(m\) grams, at time \(t\) days decreases at a rate that is proportional to the mass remaining.
(a) Write down a differential equation relating \(m\) and \(t\).
[2]
(b) At the instant when \(m = 50\), the mass is decreasing at a rate of 5 grams per day. Find the value of \(k\).
[2]
Show the answer and mark scheme
(a)Answer:\(\frac{\mathrm{d}m}{\mathrm{d}t} = -km\), where \(k\) is a positive constant
M1 for \(\frac{\mathrm{d}m}{\mathrm{d}t}\) proportional to the correct expression
A1 for \(\frac{\mathrm{d}m}{\mathrm{d}t} = -km\), with the correct sign and \(k\) a positive constant
Worked solution:\(\frac{\mathrm{d}m}{\mathrm{d}t} = -km\), where \(k \gt 0\) is a constant of proportionality (the negative sign shows that the mass is decreasing).
(b)Answer: \(k = \frac{1}{10}\)
M1 for substituting \(\frac{\mathrm{d}m}{\mathrm{d}t} = -5\) and \(m = 50\) into their equation
A1 for \(k = \frac{1}{10}\)
Worked solution:\(-5 = -k \times 50\), so \(k = \frac{1}{10}\).
Question 2Medium7 marks
In a boarding school of 2500 students, \(I\) students are infected with a virus at time \(t\) days. A model for the spread of the virus is \[\frac{\mathrm{d}I}{\mathrm{d}t} = 0.0004I(2500 - I) - 0.2I\]
(a) Explain, in the context of the model, what each of the terms \(0.0004I(2500 - I)\) and \(0.2I\) represents.
[2]
(b) Find the non-zero value of \(I\) for which the number of infected students remains constant.
[2]
(c) Show that the model predicts that the number of infected students increases whenever \(0 \lt I \lt 2000\).
[2]
(d) Give one criticism of the model.
[1]
Show the answer and mark scheme
(a)Answer: The first term is the rate of new infections, proportional to (infected) × (not infected); the second is the rate of recovery, proportional to the number infected.
B1 for \(0.0004I(2500 - I)\): the rate of new infections, proportional to the product of the numbers of infected and uninfected students (the number of contacts between them)
B1 for \(0.2I\): the rate at which infected students recover, proportional to the number infected
Worked solution: \(2500 - I\) students are not infected, so \(I(2500 - I)\) measures the number of possible contacts between infected and uninfected students: new infections occur at a rate proportional to it. Infected students recover at a rate proportional to \(I\) (on average a fraction 0.2 of them each day), which reduces \(I\).
(b)Answer: \(I = 2000\)
M1 for \(0.0004(2500 - I) = 0.2\) (dividing by \(I \ne 0\))
A1 for \(I = 2000\)
Worked solution: \(\frac{\mathrm{d}I}{\mathrm{d}t} = 0\) with \(I \ne 0\) gives \(0.0004(2500 - I) = 0.2\), so \(2500 - I = 500\) and \(I = 2000\).
(c)Answer: Shown
M1 for \(\frac{\mathrm{d}I}{\mathrm{d}t} = 0.0004I(2500 - I - 500) = 0.0004I(2000 - I)\)
A1* for both factors positive when \(0 \lt I \lt 2000\), so \(\frac{\mathrm{d}I}{\mathrm{d}t} \gt 0\) (cso)
Worked solution: \(\frac{\mathrm{d}I}{\mathrm{d}t} = 0.0004I(2500 - I) - 0.0004 \times 500I = 0.0004I(2000 - I)\). For \(0 \lt I \lt 2000\) both \(I\) and \(2000 - I\) are positive, so \(\frac{\mathrm{d}I}{\mathrm{d}t} \gt 0\) and the number infected increases.
(d)Answer: e.g. recovered students are treated as able to be infected again.
B1 for a sensible criticism, e.g. students who recover are likely to be immune, but the model treats them as able to catch the virus again; infected students may be isolated; \(I\) should be a whole number; the school population may change
Worked solution: The model returns recovered students to the uninfected group, so they can catch the virus again; in reality most would be immune. It also predicts that 2000 students stay infected indefinitely, which is unrealistic.
Question 3Hard13 marks
Two chemicals, \(A\) and \(B\), react to form a compound \(C\). Each gram of \(C\) is formed from \(\frac{1}{3}\) gram of \(A\) and \(\frac{2}{3}\) gram of \(B\). Initially there are 4 grams of \(A\), 6 grams of \(B\) and no \(C\). At time \(t\) minutes, \(x\) grams of \(C\) have formed. The rate at which \(C\) forms is proportional to the product of the masses of \(A\) and \(B\) that remain.
(a) Show that \(\frac{\mathrm{d}x}{\mathrm{d}t} = \lambda(12 - x)(9 - x)\), where \(\lambda\) is a positive constant.
[3]
(b) State, with a reason, the greatest mass of \(C\) that can be formed.
[1]
(c) Solve the differential equation to show that \[t = \frac{1}{3\lambda}\ln\left(\frac{3(12 - x)}{4(9 - x)}\right)\]
[5]
(d) Given that \(x = 3\) when \(t = 10\), find the exact value of \(\lambda\).
[2]
(e) Find the mass of \(C\) formed after 60 minutes, giving your answer to 3 significant figures.
[2]
Show the answer and mark scheme
(a)Answer: Shown
B1 for the remaining masses \(4 - \frac{x}{3}\) of \(A\) and \(6 - \frac{2x}{3}\) of \(B\)
M1 for \(\frac{\mathrm{d}x}{\mathrm{d}t} = k\left(4 - \frac{x}{3}\right)\left(6 - \frac{2x}{3}\right)\)
A1* for \(\frac{2k}{9}(12 - x)(9 - x)\), so \(\lambda = \frac{2k}{9}\) (cso)
Worked solution: When \(x\) grams of \(C\) have formed, \(\frac{x}{3}\) g of \(A\) and \(\frac{2x}{3}\) g of \(B\) have been used, leaving \(4 - \frac{x}{3} = \frac{12 - x}{3}\) g and \(6 - \frac{2x}{3} = \frac{2(9 - x)}{3}\) g. So \(\frac{\mathrm{d}x}{\mathrm{d}t} = k \times \frac{12 - x}{3} \times \frac{2(9 - x)}{3} = \frac{2k}{9}(12 - x)(9 - x) = \lambda(12 - x)(9 - x)\), with \(\lambda = \frac{2k}{9} \gt 0\).
(b)Answer: 9 grams: \(B\) runs out when \(x = 9\).
B1 for 9 grams, because the \(B\) is used up when \(x = 9\) (before the \(A\) is used up at \(x = 12\))
Worked solution: The \(B\) runs out when \(6 - \frac{2x}{3} = 0\), i.e. \(x = 9\), while \(A\) would last until \(x = 12\). So at most 9 g of \(C\) can form (and \(\frac{\mathrm{d}x}{\mathrm{d}t} \to 0\) as \(x \to 9\)).