Differential equations: separable & homogeneous
First-order differential equations: what a solution is, general and particular solutions, separating the variables, the substitution for homogeneous equations, and modelling with differential equations.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Verify that a function satisfies a differential equationAHL 5.18
- Solve separable equations and find general and particular solutionsAHL 5.18
- Recognise a homogeneous equation AHL 5.18
- Solve homogeneous equations with the substitution AHL 5.18
- Set up and solve a differential equation model in contextAHL 5.18
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
A differential equation (DE) is an equation involving a derivative, such as . It tells you the gradient at every point, which you can draw as a slope field. Solving the DE means finding the curves that follow the slopes. There is a whole family of them (the general solution, with a constant ); a starting point picks out one (a particular solution).
2.1 Verifying a solution
2.2 Separable equations
Put all the ’s with and all the ’s with , integrate both sides, and include one constant.
Writing "" treats like a fraction, which it is not. The honest version: dividing by gives , and integrating both sides with respect to turns the left side into by the chain rule (substitution). The shortcut always gives the same result.
2.3 Modelling
Many models say "the rate of change is proportional to something". Translate that sentence into a DE, solve it, then use the data to find the constants.
2.4 Homogeneous equations
A first-order DE is homogeneous if it can be written as : the right side depends only on the ratio . A test: replace by and by ; if cancels completely, the equation is homogeneous. These are usually not separable as they stand, but the substitution makes them separable.
(product rule, since is a function of ). The equation becomes , which separates: .
- Can you write the right side as (function of ) × (function of )? Separate.
- Does every term have the same total degree in and (e.g. )? Homogeneous: use .
- Is it of the form ? Use an integrating factor.
- None of these, or the question asks for an approximation? Euler’s method.
A TI-Nspire can draw slope fields: on a Graphs page choose Graph Entry → Diff Eq, enter with an initial condition. Use it to check that your particular solution follows the field.
3Explore it
The short lines show the gradient at each point. Move the starting point and the red curve follows the slopes: it is the particular solution through that point.
4Common mistakes & exam tips
Common mistakes
- Forgetting the constant of integration, or adding it to both sides and not combining.
- Writing . It is .
- Using instead of after substituting .
- Finding the constant before rearranging, then making an algebra slip; either order is fine but be consistent.
- Forgetting to substitute back at the end.
Exam tips
- Show the separated form with integral signs on both sides: it earns the first method mark.
- In homogeneous questions, write explicitly.
- Give the final answer in the form asked for, e.g. " in terms of ".
- In models, interpret the constants (e.g. is the cooling rate) when asked.
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.
Solve the differential equation , given that when . Give your answer in the form .
| M1A1 | |
| A1 | |
| M1 | |
| A1 | |
| A1 |
Consider the homogeneous differential equation , , .
- (a)Use the substitution to show that .[3]
- (b)Given that when , solve the differential equation, giving your answer in the form .[5]
| (a) | |
| A1 | |
| M1 | |
| A1AG | |
| (b) | |
| M1 | |
| A1A1 | |
| , with | M1 |
| A1 | |
A cup of coffee at cools in a room at . Its temperature after minutes satisfies . After 5 minutes it is at .
- (a)Show that .[3]
- (b)Find the time taken for the coffee to cool to .[3]
| (a) | |
| M1 | |
| A1 | |
| : | A1AG |
| (b) | |
| A1 | |
| M1 | |
| minutes | A1 |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you're scoring well above, try real IB questions. Your school or teacher will have these papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| May 2025 · TZ1 · Paper 1 | Q9 | A homogeneous equation solved with | ★★★ |
| Nov 2022 · Paper 1 | Q9 | A homogeneous equation solved with | ★★★ |
| May 2022 · TZ1 · Paper 2 | Q12 | Euler’s method, then the substitution | ★★★ |
| May 2021 · TZ2 · Paper 1 | Q11 | Solving a differential equation in a longer question | ★★★ |
