In simple terms
A friendly intro before the formal notes — no formulas yet.
Following the Flow of Change
A differential equation gives you the gradient of a curve at every point instead of the curve itself. A slope field draws that gradient as a tiny arrow at each point, so the whole plane becomes a map of currents; a solution curve is any path that always flows along the arrows.
Picture a river seen from above. At every point the current pushes in a definite direction — that rule is the differential equation . Draw a short arrow for the current at a grid of points and you have the slope field. Now drop a leaf onto the water at one spot (the initial condition): the path it traces as it drifts, always lining up with the local current, is the particular solution curve. Separating the variables is the algebra that gives you the exact equation of that path; Euler's method is what you do when you cannot find the exact path and instead take short straight steps along the arrows.
- 1
Read the equation as a gradient machine: substitute any point into and you get the slope of the solution curve there.
- 2
To sketch a slope field, work through a grid of points, compute the gradient at each, and draw a short segment with that gradient.
- 3
To solve exactly when the equation is separable, gather all the 's on one side and all the 's on the other, then integrate both sides and add one constant .
- 4
Use the initial condition to find , giving the single particular solution; if you cannot integrate, step along the field numerically with Euler's method.
Explore the concept
Use the live diagram, PhET or GeoGebra sim, and synced steps — play it, drag controls, or tap a step.
Step 1
Read the equation as a gradient machine: substitute any point into and you get the slope of the solution curve there.
Key formulas
Tap any symbol to reveal exactly what it means and its units.
Tap a symbol — great for exam definitions
Full topic notes
Formal explanation with the rigour you need for the exam.
Setting up and interpreting a first-order differential equation
A first-order differential equation has the form : it gives the gradient of a solution curve at any point , but not the curve itself. You have already met the simplest kind — being told and recovering by integrating. The new feature at HL is that the right-hand side may involve as well as , as in or , and that we often build the equation ourselves from a described rate of change.
'Rate of change of ' with respect to (or time ) is the derivative (or ) — the object you are trying to model.
'Proportional to' introduces a constant : 'the rate is proportional to ' becomes .
Interpreting the equation: where solutions rise; where they fall; where they are momentarily flat.
A solution is a function, and the general solution is a family of curves because integrating introduces the constant .
Slope fields: seeing every solution at once
Because hands you a gradient at every point, you can picture the solutions without solving anything. A slope (direction) field is built by choosing a grid of points and, at each one, drawing a short line segment whose gradient is . The result is a field of tangents that reveals the 'flow' of all solution curves. To draw a particular solution, start at an initial point and sketch a smooth curve that stays tangent to the segments as it moves.
To build the field for , take a grid of points and compute the gradient at each.
Draw a short segment of gradient at each point: rising for , falling for , horizontal for .
If depends only on , every point in a vertical column shares the same gradient; if it depends only on , every point in a horizontal row does.
A solution curve never crosses the segments — it runs tangent to them, so trace it by 'following the flow' from the starting point.
Solving separable equations: separation of variables
Slope fields give a qualitative picture, but often we want an exact formula. That is possible for a special — and heavily examined — class of first-order equations: the separable ones. An equation is separable if it can be written as a function of times a function of . The method is to gather all the -terms (with ) on one side and all the -terms (with ) on the other, and then integrate both sides.
.
Separate BEFORE you integrate, and add the constant of integration the moment you integrate — once, on the -side is conventional. If you integrate before separating, or treat as a constant inside an -integral, you lose the method marks entirely. One combined constant is enough: a constant on each side would just merge into one.
Euler's method: a numerical approximation
Not every differential equation can be solved exactly — sometimes the integral has no elementary form. Euler's method sidesteps this by approximating the solution with a chain of short straight steps. Starting from the known point, you use the current gradient to step forward a small distance in , update , and repeat. Each step assumes the gradient is constant across the interval, which is why smaller steps give better accuracy.
x_{n+1}=x_n+h, \qquad y_{n+1}=y_n+h,f(x_n,y_n)
Start from the initial point and the given step size .
At each step compute the gradient using the CURRENT point, then update by .
Advance by and repeat until you reach the required -value.
The method under- or over-shoots because it follows tangents, not the true curve; a smaller reduces the accumulated error.
Applications: growth, decay and mixing
The reason differential equations dominate applied questions is that so many real processes are defined by their rate of change. 'The rate of change is proportional to the amount present' is exactly , giving exponential growth () or decay () after separation. Mixing problems track an amount in a tank where liquid flows in and out: the rate of change of is the rate in minus the rate out, each rate being a concentration times a flow rate — again a first-order separable equation.
Growth/decay: , where is the initial amount; grows, decays.
Half-life / doubling: find from the given data, then solve (or ) for .
Mixing: .
Always state the condition you use (e.g. ) and keep units consistent throughout.
Common mistakes examiners penalise
Integrating before separating — you cannot write and treat as a constant. Separate to FIRST; skipping this scores no method mark.
Forgetting the constant of integration — must appear the instant you integrate. Without it you have only one curve, not the general solution, and you cannot apply the condition.
Finding at the wrong stage — substitute the initial condition AFTER integrating but usually BEFORE rearranging for . Rearranging first often makes the algebra messier and invites sign errors.
Dropping the modulus carelessly — . Only drop the modulus when the context guarantees ; otherwise you may lose valid solutions.
Misapplying Euler's method — it is . Multiplying instead of adding, omitting the , or using the new point inside are all classic errors.
Misreading a slope field — a horizontal segment means , NOT that ; a (near-)vertical segment signals an undefined gradient, not a maximum.
Answering the wrong quantity — a growth question may ask for the TIME to reach an amount, not the amount at a time. Read whether or is the unknown before solving.
Model answer — marked the way our engine marks it
Paper 1 is marked analytically: each mark is tied to a specific line of working. An M mark rewards a correct method — the right approach, even if the arithmetic later slips. An A mark rewards accuracy and is DEPENDENT on the method: you cannot earn the A without the M it hangs off. The engine also accepts any correct equivalent form (so and solved for score the same), applies ISW (ignore subsequent working once a correct answer appears) and allows FT/ECF follow-through on a genuine earlier slip. Study how each mark below is earned by one specific line.
Where this leads
Differential equations pull the whole calculus unit together: separation of variables is really integration in disguise, the modulus in comes straight from your integration of , and the exponential solutions reconnect with the growth and decay you met when studying . Slope fields train the geometric habit of reading a derivative as a gradient — the same instinct behind tangents, stationary points and concavity — while Euler's method previews the numerical thinking used throughout applied mathematics. Master the three faces here and you have a template for modelling almost any process defined by how fast it changes.
Worked examples
See the formulas applied — reveal one step at a time, like the exam.
A slope field is drawn for the differential equation .
(a) Find the gradient of the solution curve at the points , and .
(b) Describe where in the plane the solution curves have horizontal tangents. [4]
- 1
(a) Substitute each point into .
A colony of bacteria of mass grams grows so that its rate of growth is proportional to its current mass, modelled by , where is measured in hours and .
(a) Show that the general solution is .
(b) The colony has mass g at and g at . Find the particular solution for in terms of . [7]
- 1
(a) Separate the variables in : . [M1: separate variables]
Use Euler's method with step size to find an approximate value of when for the differential equation , given that when . [4]
- 1
Here , with , and .
Solve the differential equation given that when . [5]
- 1
Model answer — full working.
How it all connects
The big idea sits in the middle — tap a linked idea to explore the link.
Tap a linked idea to see how it connects back to the main topic — that connection is what examiners reward.
Glossary
Try to recall each definition before you reveal it.
Quick check
Answer in your head first — then tap to check. No pressure.
Revision flashcards
Flip the card. Test yourself before the exam.
First-order differential equation
An equation relating a function to its first derivative, written . It gives the gradient of a solution curve at every point without telling you the curve directly.
Key takeaways
Review these before you close the topic — retrieval beats re-reading.
- ✓
'Rate of change of ' with respect to (or time ) is the derivative (or ) — the object you are trying to model.
- ✓
'Proportional to' introduces a constant : 'the rate is proportional to ' becomes .
- ✓
Interpreting the equation: where solutions rise; where they fall; where they are momentarily flat.
- ✓
A solution is a function, and the general solution is a family of curves because integrating introduces the constant .
Practice — then mark it
The whole point: a real Cambridge question, marked mark-by-mark.
Get a Paper 1 separable differential equation marked: solve with a condition and full working
Get a Paper 1 separable differential equation marked: solve with a condition and full working
Extra simulations & links
PhET, GeoGebra and other curated tools — open in a new tab.
Frequently asked
Checkpoint
One marked question is worth ten re-reads — close the loop before you move on.
Reading it isn’t knowing it — prove it.
Before you move on: do Get a Paper 1 separable differential equation marked: solve with a condition and full working on paper, snap a photo, and get examiner-style feedback on exactly where you win and lose marks.