Skip to main content
EnglandMathsSyllabus dot point

How do you form a differential equation from a rate of change and solve it by separating the variables?

Forming first-order differential equations from a context, solving them by separation of variables, finding particular solutions from initial conditions, and interpreting the solution in modelling.

A focused answer to the OCR A-Level Mathematics A differential equations content, covering forming a first-order differential equation from a described rate of change, solving by separation of variables, applying an initial condition to find a particular solution, and interpreting the result in growth, decay and cooling models.

Generated by Claude Opus 4.811 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

OCR wants you to form a first-order differential equation from a described rate of change (often "rate proportional to ..."), solve it by separating the variables and integrating, use an initial or boundary condition to find the particular solution, and interpret the result in a modelling context such as population growth, radioactive decay or Newton's law of cooling.

The answer

Forming a differential equation

A differential equation links a quantity to its rate of change. The key phrases translate directly: "the rate of change of yy" is dydt\dfrac{dy}{dt}, "proportional to yy" multiplies by a constant kk, and a decreasing quantity gives a negative constant.

Separation of variables

A separable equation dydx=f(x)g(y)\dfrac{dy}{dx} = f(x)g(y) is solved by gathering all the yy terms on one side and all the xx terms on the other, then integrating both sides.

Particular solutions

The general solution contains an arbitrary constant. An initial condition (a known value at a known time) pins it down to a particular solution.

Examples in context

A growth model

The proportional-rate model dPdt=kP\dfrac{dP}{dt} = kP always integrates to exponential growth P=P0ektP = P_0 e^{kt}. Two data points determine both P0P_0 and kk. Recognising this shape lets you go straight to the form and just fit the constants.

A cooling model

Newton's law of cooling says a body cools at a rate proportional to the difference between its temperature and that of its surroundings. The solution always approaches the surrounding temperature θ0\theta_0 as tt \to \infty, because the exponential term decays to zero. Reading off this long-run value is a common final part of a cooling question.

Interpreting and checking a solution

A modelling question usually ends by asking you to interpret the solution: the long-run value, the time to reach a target, or whether the model is realistic. You can also check a candidate solution by differentiating it and confirming it satisfies the original equation, which is a quick way to catch an algebra slip. Note too that a proportional-rate model predicts unbounded growth, so it is only sensible over a limited time; real populations level off, which is why such models are stated to hold "for small tt" or "while resources are plentiful".

Try this

Q1. Solve dydx=yx\dfrac{dy}{dx} = \dfrac{y}{x} for x>0x > 0. [3 marks]

  • Cue. 1ydy=1xdx\frac{1}{y}\,dy = \frac{1}{x}\,dx gives lny=lnx+c\ln|y| = \ln|x| + c, so y=Axy = Ax.

Q2. The number NN decays as dNdt=0.2N\dfrac{dN}{dt} = -0.2N with N=100N = 100 at t=0t = 0. Find NN at t=5t = 5. [3 marks]

  • Cue. N=100e0.2tN = 100e^{-0.2t}, so at t=5t = 5, N=100e136.8N = 100e^{-1} \approx 36.8.

Exam-style practice questions

Practice questions written in the style of OCR exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

OCR 20197 marksA population PP grows so that its rate of increase is proportional to its size: dPdt=kP\dfrac{dP}{dt} = kP. Given that P=500P = 500 when t=0t = 0 and P=800P = 800 when t=2t = 2, solve the differential equation and find PP when t=5t = 5.
Show worked answer →

Separate the variables (M1): 1PdP=kdt\dfrac{1}{P}\,dP = k\,dt, and integrate both sides: lnP=kt+c\ln P = kt + c (A1).

Apply P=500P = 500 at t=0t = 0: ln500=c\ln 500 = c, so lnP=kt+ln500\ln P = kt + \ln 500, giving P=500ektP = 500e^{kt} (M1, A1).

Apply P=800P = 800 at t=2t = 2: 800=500e2k800 = 500e^{2k}, so e2k=1.6e^{2k} = 1.6 and k=12ln1.60.235k = \tfrac{1}{2}\ln 1.6 \approx 0.235 (M1).

At t=5t = 5: P=500e5(0.235)=500e1.175500(3.238)1619P = 500e^{5(0.235)} = 500e^{1.175} \approx 500(3.238) \approx 1619 (M1, A1).

Markers reward separating, integrating to a logarithm, using both conditions to find cc and kk, and evaluating at t=5t = 5.

OCR 20216 marksWater drains from a tank so that the depth hh satisfies dhdt=0.4h\dfrac{dh}{dt} = -0.4\sqrt{h}. Given that h=9h = 9 when t=0t = 0, find hh in terms of tt and the time at which the tank is empty.
Show worked answer →

Separate (M1): 1hdh=0.4dt\dfrac{1}{\sqrt{h}}\,dh = -0.4\,dt, that is h1/2dh=0.4dt\int h^{-1/2}\,dh = \int -0.4\,dt.

Integrate: 2h=0.4t+c2\sqrt{h} = -0.4t + c (A1).

Apply h=9h = 9 at t=0t = 0: 2(3)=c2(3) = c, so c=6c = 6 and 2h=60.4t2\sqrt{h} = 6 - 0.4t (M1, A1).

So h=30.2t\sqrt{h} = 3 - 0.2t and h=(30.2t)2h = (3 - 0.2t)^2 (A1).

The tank is empty when h=0h = 0, that is 30.2t=03 - 0.2t = 0, giving t=15t = 15 (A1).

Markers reward separating, integrating h1/2h^{-1/2}, applying the initial condition, and solving h=0h = 0 for the time.

Related dot points

Sources & how we know this