5.14 Differential equations: separation of variables
Studying this course? Keep your progress in one place.
Key facts
- "Proportional to" gives a constant : growth , decay , with .
- Separate variables: , with one constant .
- The general solution has a constant; an initial condition gives the particular solution.
- has solution ; use the starting value for and a later value for .
- Doubling time for is .
Setting up the equation
"Proportional to" means a constant times the quantity; the minus sign shows a decrease, so keep positive.
A differential equation links a quantity to its rate of change. Define every symbol with units.
Do not put the minus sign into and also in the equation: keep and let the equation show the decay.
- Growth proportional to
- Decay proportional to
- Cooling towards 20 °C
A population grows at a rate proportional to . Which equation models this, with ?
Separation of variables
Put the terms with on one side and the terms with on the other, then integrate both sides.
If , separate the variables: . Add the constant on one side only, then use to tidy up.
- 1
Separate
terms with , terms with
- 2
Integrate both sides
With one constant
- 3
Rearrange
For , if asked
Worked example
Solve .
- 1
Separate: .
- 2
Integrate: .
- 3
, where .
Separating gives which integral?
General and particular solutions
The general solution has a constant; an initial condition makes it particular, and a second piece of information finds .
The general solution describes a whole family of curves. A particular solution uses an initial condition: when gives .
If when , then and . The solution grows if and decays if .
with when . What is ?
Worked examples
Decay and cooling are separable too, and cooling approaches a limit rather than zero.
For decay , . For cooling, levels off at the room temperature. Not every separable equation gives an exponential: check by substituting the initial condition back in.
Keep the exact in your GDC memory and round only the final answer.
Worked example
A mass mg has , when and when . Find and the mass after years.
- 1
with .
- 2
, so .
- 3
.
Worked example
Solve with when .
- 1
Separate: , so .
- 2
: , so .
In with , what is the temperature in the long term?
Interpreting the model
Link and back to the context, and comment on where the model stops being realistic.
In , g is the initial mass and the growth rate parameter (per day). State units and give 3 s.f.
Pure exponential growth predicts unlimited growth, which is unrealistic. To find the time to reach a target, set the solution equal to it and take natural logarithms.
- Doubling time of
Which expression gives the doubling time when ?
Try an exam question
The number of bacteria in a culture satisfies , where is in hours and . Initially , and after 3 hours . (a) Solve the differential equation to show that . (b) Find . (c) Find the time for the number of bacteria to double.
[5 marks]
- [1]Separates: .
- [1], so and at gives .
- [1], so .
- [1]Doubling: .
- [1] hours.
That's the notes covered.
Carry on to the next subtopic.
Try a question
Which of the following is the general solution of ?
1 mark, marked against the mark scheme
Which of the following is the general solution of ?
1 mark, marked against the mark scheme