Series solutions of differential equations
Studying this course? Keep your progress in one place.
Key facts
- Solve as a series , without a closed form.
- A first order equation needs ; a second order equation needs and .
- Get each new derivative by differentiating the equation, then put .
- Non-linear terms need the chain rule: .
- Check by substituting the series back into the equation.
The method
Use the initial conditions, then differentiate the equation repeatedly and evaluate at to build the Maclaurin series of .
A differential equation with conditions at can be solved as the Maclaurin series of :
For a first order equation only is needed. For a second order equation both and are needed.
- 1
Initial conditions
use them for y(0) (and y′(0) if second order)
- 2
The equation at x = 0
gives the next derivative
- 3
Differentiate the equation
product rule and chain rule give the next derivative; evaluate at x = 0
- 4
Repeat, then substitute
until you have all derivatives needed, put them into the series
How many initial conditions does a second order equation need?
First order equations
Use the equation for , then differentiate it for each further derivative.
For with : . Differentiate: , so . Then , so , and , so .
So At this gives , matching the exact solution to 4 d.p.
Worked example
Find the series for with up to .
- 1
.
- 2
Differentiate: , so .
- 3
Differentiate: , so .
- 4
Substitute: .
For , what is ?
Second order equations
The equation gives ; differentiate it to get , and so on, using and .
For with , : , so . Then , so , and , so . Hence
The exact solution is , whose series begins the same way.
Worked example
Find the series for with , up to .
- 1
.
- 2
Differentiate: , so .
- 3
Differentiate: , so .
- 4
Substitute: .
For , what is ?
Non-linear terms
Use the chain rule and product rule: and .
Terms such as or need the chain rule and product rule when differentiated. Take with , .
Worked example
Find the series for with , up to .
- 1
.
- 2
, so .
- 3
, so .
- 4
Substitute: .
What is ?
Using and checking
Substitute a small to estimate , and check by substituting back into the equation up to the order you have.
Substitute a small value of to estimate : for , . Accuracy improves for smaller and with more terms.
Check: differentiate the series and substitute back into the differential equation. All terms up to the order computed must cancel.
If the conditions are at , use the Taylor series in powers of in the same way.
- 1
Differentiate
the series as many times as the equation needs
- 2
Substitute
into both sides of the equation
- 3
Compare
terms up to the order you have
- 4
Conclude
the series is consistent
Worked example
Check that satisfies up to .
- 1
Differentiate:
- 2
and
- 3
So , which equals up to .
A series up to solves a second order equation. Up to which power can you check it?
Try an exam question
Given that and when , find the Maclaurin series for up to and including the term in .
[4 marks]
- [1].
- [1]Differentiates: , so .
- [1], so .
- [1]
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the value of at .
1 mark, marked against the mark scheme
Find the value of at .
1 mark, marked against the mark scheme