5.18 Differential equations
Studying this course? Keep your progress in one place.
Key facts
- The general solution has an arbitrary constant (a family of curves); a particular solution uses an initial condition.
- Euler's method: ; concave up means an underestimate.
- Separable: ; include immediately.
- Logistic : partial fractions, limit , fastest growth at .
- Homogeneous: then separate. Linear: integrating factor , then .
First order equations
A first order equation involves only . Its general solution is a family of curves; an initial condition picks out a particular solution.
A differential equation links a function with its derivatives. A first order equation involves only , for example .
The general solution has an arbitrary constant. A particular solution uses an initial condition, such as when , to fix it. Check any solution by differentiating and substituting back.
Solve given that when .
Euler's method
Step along tangent lines with a fixed step length : .
When cannot be solved exactly, Euler's method uses and , where is the step length.
If the solution is concave up (), tangents lie below it and Euler underestimates; concave down gives an overestimate. A smaller usually gives a better approximation but needs more steps.
Worked example
Use Euler's method with to estimate for , .
- 1
, , so .
- 2
at .
- 3
, so .
For , and , what is ?
Separating the variables
If , rearrange and integrate each side. The logistic equation is separable.
If , it is separable: . Add the constant immediately. Since gives , the constant becomes a multiplier: , not .
The logistic equation needs partial fractions: . The solution levels off at the carrying capacity . Growth is fastest when .
Worked example
Solve .
- 1
Separate: .
- 2
Integrate with the constant: .
- 3
Exponentiate: , so the constant becomes a multiplier.
Solve given when .
Homogeneous equations
Substitute , which makes the equation separable in and . Finally replace by .
A homogeneous equation can be written , for example . To test, divide top and bottom by the highest power of and check only is left.
Let , so (product rule). Then .
Worked example
Solve given .
- 1
Let : .
- 2
So , and .
- 3
. At , , so .
- 4
Then , and .
With the substitution , what is ?
Linear equations: integrating factor
Multiply through by the integrating factor . The left side becomes the derivative of a product.
A linear first order equation has the form . Multiply by the integrating factor . Then , so .
Put the equation in standard form first: for , divide by to get . Divide the constant by at the end too.
- 1
Standard form
- 2
Integrating factor
- 3
Multiply through
the left side becomes
- 4
Integrate and solve
, then use the initial condition
Worked example
Solve given .
- 1
, so .
- 2
.
- 3
Integrate: .
- 4
gives , so .
What is the integrating factor for ?
Try an exam question
Solve given that when . Give in terms of .
[4 marks]
- [1]Separates variables: .
- [1]Integrates: .
- [1]Uses to find (or ).
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find .
1 mark, marked against the mark scheme
Find .
1 mark, marked against the mark scheme