Section 4.4.7.1: Demonstration that Improved and Modified Euler are Second Order methods
Second order means:
the method matches the exact solution if the exact solution is a quadratic:
x(t) = x(n) + a1 (t - tn) + a2 (t - tn)2.
For such a function,
.
See how the proposed methods work on
.
- 1.
-
f(n) = f(tn) = a1
- 2.
- Take a first order step for a fraction p of the full step (p = 1 or
for Improved or Modified Euler)
x(I) = x(n) + p h f(n) = x(n) + a1 p h;
t(I) = tn + p h.
- 3.
- Stage I derivative estimate at fraction p across step
f(I) = f(t(I)) = a1 + 2 a2 (t(I) - tn) = a1 + 2 a2 p h. - 4.
- For Stage II derivative take a weighted average of f(I) (assuming weight q) and f(n) (weight (1-q)):

- 5.
- Full step using Stage II derivative f(II)
x(n+1) = x(n) + h f(II) = x(n) + a1 h + 2 a2 p q h2.
Compare this with the exact solution
x(tn+1) = x(n) + a1 (tn+1 - tn) + a2 (tn+1 - tn)2
x(tn+1) = x(n) + a1 h + a2 h2
For an exact match a second order method must have
2 p q = 1
Thus if p=1 (Improved Euler with full first order step),
we need
(average of start and end of step derivative estimates).
If
(Modified Euler with half first order step),
we need q=1 (use the mid point derivative for the full step).
These values of q are what we assumed before, so the methods are indeed second order.
Apply the general second order explicit method (with parameters p and
)
to the linear ODE
- 1.
-
f(n) = f(x(n)) = - k x(n)
- 2.
- First order step to fraction p of the full step
x(I) = x(n) + p h f(n) = x(n) - p h k x(n)
- 3.
- Stage I derivative estimate
f(I) = f(x(I)) = - k x(I) = - k x(n) + p h k2 x(n) - 4.
- Stage II derivative (weighted average):

- 5.
- Full step:
.
Thus
Local error
In general
Return to Section 4.4.7 Index
Return to Section 4.4 Index
Course Organiser
Last modified: Wed Aug 5 14:47:00 BST