Numerical Solutions of First-Order Differential Equations (Edexcel A Level Further Maths: Further Pure 1): Revision Note
Exam code: 9FM0
Written by: Mark Curtis
Updated on
Numerical solutions of first-order differential equations
What is the forward difference method?
The forward difference method is a numerical method using the iterative formula
to approximate the particular solution of a first-order differential equation
with boundary condition
when
using step sizes of
where decreasing
increases the accuracy
For each iteration
the method uses the gradient at that point to create a straight-line segment
which gives an estimate of the next
value
This is also known as Euler's method

Examiner Tips and Tricks
You will be given the formula in the exam question, though you may need to change the variables, e.g.
.
How do I use the forward difference method?
To use the forward difference method, see the worked example below
Worked Example
The velocity of a drone, ms-1, varies with time,
seconds, according to the model
The initial velocity of the drone is 2 ms-1.
Use two iterations of the approximation formula to estimate the velocity of the drone after 1 second.
Answer:
Find the step size, , to get from
to
in 2 iterations
Write out the approximation formula using ,
and
Start the first iteration by substituting into the approximation formula
Identify the initial conditions, and
, from the question
and
Find by substituting
and
into
Substitute and
into the approximation formula and rearrange to find
The first iteration is now complete
Start the second iteration by substituting into the approximation formula
Note that the time has increased by 0.5
Find by substituting
and
into
Substitute and
into the approximation formula and rearrange to find
This is the estimate of when
The velocity after 1 second is approximately 1 ms-1
What is the central difference method?
The central difference method is a numerical method using the iterative formula
to approximate the particular solution of a first-order differential equation
with boundary condition
when
using step sizes of
where decreasing
increases the accuracy
For each iteration
the method finds the average gradient from a point before and a point after to estimate the next value of
This means you need two starting points,
and
, before you can work out
is given in the question
is found using the forward difference method
i.e. rearranging
to give
Examiner Tips and Tricks
You will be given the formulas and
in the exam question, though you may need to change the variables, e.g.
.
How do I use the central difference method?
To use the central difference method, see the worked example below
Worked Example
The nitrate concentration in a river, mg L-1, changes with the distance downstream,
km, according to the model
At the point farthest upstream, , the nitrate concentration is 1 mg L-1.
(a) Use one iteration of the approximation formula to estimate the nitrate concentration 0.5 km downstream.
(b) Hence use the approximation formula to estimate the nitrate concentration 1 km downstream.
Answer:
(a)
This is asking for the forward difference method
Find the step size, , to get from
to
in 1 iteration
Write out the approximation formula using
Start the first iteration by substituting into the approximation formula
Identify the initial conditions, and
, from the question
and
Find by substituting
and
into
Substitute and
into the approximation formula and rearrange to find
The nitrate concentration 0.5 km downstream is approximately 0.25 mg L-1
(b)
This is asking for the central difference method, which requires knowing and
first
Find at
from the question
Find at
from the answer in part (a)
Now use the central difference formula with
Find by substituting
and
into
Substitute and
into the approximation formula and rearrange to find
The nitrate concentration 1 km downstream is approximately 1.125 mg L-1
What else could I be asked about difference methods?
You need to know that as you decrease the step size,
,
the central difference method gives values closer to the true solution than the forward difference method
i.e. its errors are smaller
You need to know how to find the percentage error of your estimate if given the actual value
using the formula
If the estimate is less than the actual value
it is an underestimate
If the estimate is greater than the actual value
it is an overestimate
Examiner Tips and Tricks
To compare an estimate to an actual answer, you either need to be given the actual answer or you need to solve the differential equation algebraically.
Worked Example
The velocity of a drone, ms-1, varies with time,
seconds, according to the model
The initial velocity of the drone is 2 ms-1.
Two iterations of the approximation formula give an estimate of the velocity after 1 second as 1 ms-1.
By solving the differential equation,
(a) determine whether the estimate is an overestimate or an underestimate,
(b) find the percentage error of this estimate.
Answer:
(a)
This differential equation can be solved using the integrating factor method
First rearrange into the correct form,
Find the integrating factor
Rewrite the differential equation
Integrate both sides
Use integration by parts on the right-hand side
Make the subject to get the general solution
Find using
when
Write out the particular solution
Now, to compare after 1 second, substitute in to get the actual answer
Compare the estimate of to the actual solution
The estimate of 1 ms-1 is an overestimate of the actual value, 0.644 ms-1 to 3 s.f.
(b)
Use to find the percentage error of the estimate
Round to 3 s.f.
The percentage error is 55.3%
Unlock more, it's free!
Was this revision note helpful?