Setting up and separating differential equations
In a minute
A says how fast something changes, such as "the drug leaves the blood at a rate proportional to the amount left". You'll turn sentences like that into equations, then solve them by . The answer is a model you can use to predict and interpret.
You'll be able to
- Turn a description of a rate, such as "decreases at a rate proportional to ", into a differential equation, and find the constant from given data.
- Solve by separating the variables, and write down the .
- Show that gives the exponential model , and use a known value to find the .
- Set up and solve a model in context, then use it to predict, and interpret its long-term behaviour and limits.
Before you start3 quick questions on what this builds on
Revise first: 1.5 Exponents and introductory logarithms, 2.2 Function concepts, domain and range, 2.5 Modelling with functions, 2.6 Fitting and testing models, 2.9 Further function models, 5.1 Limits and the derivative as a rate of change, 5.5 Antidifferentiation, definite integrals and area, 5.9 Differentiation rules and related rates and 5.11 Standard integrals and substitution
Setting up a differential equation
Many models start from how fast something changes, not from a formula. A hot drink, for example, cools faster when it is much hotter than the room.
To set one up, translate the sentence piece by piece. If a quantity changes with time , "the rate of change of " is .
"Proportional to" means "equals a constant times". So "the rate of change of is proportional to " becomes . The constant is the constant of proportionality.
If the quantity decreases, its rate is negative. Write with , so the sign is visible: " decreases at a rate proportional to " becomes , where .
Try it first, then reveal one step at a time.
- "The rate of change of " with time is .
- "Proportional to " means a constant times .
- The area decreases, so the rate is negative. Use with .
- Why could be reasonable: if water is lost mainly at the edge, the rate follows the edge length, and a circle's circumference is proportional to .
An exam often gives one rate at one moment. Substitute both values into your equation to find .
Try it first, then reveal one step at a time.
- Translate: . The number grows, so .
- Substitute and : .
- So , and .
- Interpret: at every moment, the culture is growing at a rate of of its current size per hour. Twice the bacteria means twice the growth rate.
Separating the variables
In 5.5 you solved by integrating with respect to . In the right side contains , which you don't know yet. So you can't integrate it with respect to .
The fix: move everything with to the side with , and everything with to the side with . Then integrate each side with respect to its own variable.
It works when the right side is a function of times a function of , and needs , because you divide by it.
1. Rearrange so that and are on the left, and and are on the right.
2. Integrate both sides. Add one constant, , as soon as you integrate: constants on both sides would combine into one.
3. Rearrange to make the subject, if the question asks for it. Then use a known value to find the constant.
The most important case is : the rate is proportional to the amount. Separating gives , so .
Undo the log: . Call the new constant .
This is why the of 2.5 work: they are the models whose growth rate is proportional to their size. At , , so is the starting value.
Try it first, then reveal one step at a time.
- Separate: .
- Integrate: . No modulus is needed, because an amount of drug is positive.
- Undo the log: . The general solution is .
- Use when : .
- Check: , and .
The same steps work when the right side is not just . Write a root as a power before you integrate.
Try it first, then reveal one step at a time.
- Separate, writing : .
- Integrate: .
- Use when : , so .
- Divide by : . Square both sides, which is valid while .
- Interpret: when , so the puddle is dry after minutes. After that the formula gives a growing area, so the model only holds for .
Solving a model in context
Exam questions join the two skills: set up the equation, solve it, then use the solution. Often the right side is a linear expression, such as . Integrate by inspection, as in 5.11.
Integrating gives . You may drop the modulus only when the context fixes the sign, and you should say why. Otherwise keep it.
Try it first, then reveal one step at a time.
- Separate: , so . No modulus is needed: the soup stays warmer than the room, so .
- Undo the log: . At , , so and .
- Use , : , so . Keep this full value.
- Write down the equation you solve: . Graph both sides on the GDC and find the intersection: .
- Interpret: as grows, , so . The soup approaches room temperature but never falls below it.
Try it first, then reveal one step at a time.
- Separate: .
- Integrate. On the right, divide by : . No modulus is needed, since .
- Use at : , so .
- So , which gives .
- Interpret: as grows, , so . The model predicts downloads level off at about .
Common mistakes
- Leaving out , or adding it only after rearranging. Without the constant you can't find the particular solution, and you usually lose the marks for the steps that use it. Add it the moment you integrate.
- Integrating with respect to as if were a number, giving . changes with , so separate the variables first.
- Dropping the modulus from with no reason. Keep it, or state why (or ) is positive in the context.
- Rounding before using it. Keep its full GDC value or its exact form until the final answer.
- Using for a quantity that decreases, then treating as positive. Write with , or say that is negative.
Exam tips
- "Write down a differential equation": no working is needed, but every part of the sentence must appear, including the constant and the sign for a decrease.
- "Use separation of variables": write the separated line . That line earns the method mark, and the is needed for the marks that follow.
- "Show that" a given solution: work forwards from the differential equation, find the constant from the given value, and make your last line match the given result.
- Write down the equation you solve before the GDC value. When asked to interpret, give the long-term value with its units and say what it means in the context.
Key takeaways
Practise this
32 past-paper questions on Differential equations in the AI HL bank, each with a mark scheme and a worked explanation.