Euler gives exact solution if and only if exact solution is linear function of time.
More sophisticated methods match exact solution to higher orders:
Can use larger step sizes for specified accuracy, but still shorter than smallest time constant.
Graph suggests two possible approaches:
Case 1: for initial local error = 0.01 x(0)
Euler step:
,
or
2nd order step:
,
or
Two function evaluations per step, but more than twice the step size (
2.77).
Case 2: for initial local error = 0.0001 x(0)
Euler step:
,
or
2nd order step:
,
or
2nd order has nearly six times the step, so nearly three times as efficient overall.
has a minimum at h k = 1, value
For h k > 2,
exceeds 1.
Stability limit at h k = 2, same as explicit Euler.
Similar limits for all higher order explicit methods (usually limiting h k in a range around 2 - 4).
Apply each stage in the time step to all equations at the same time.
Example
Modified Euler:
Extend the idea of the 2nd order explicit methods. Exactly match higher degree polynomials by making more estimates of the derivatives at suitably chosen fractions of the time step and averaging them with appropriate weights.
Up to order 4 or 5 are commonly used.
Number of function evaluations per step is usually equal to or greater than the order. But overall efficiency is better than 2nd order.
Some methods contain built-in error estimates, for only a little extra work (1 or 2 more function evaluations per step.)
Explicit RK methods all have limited stability (
).
Another way of getting higher order polynomial approximations is to use information from previous steps.
Use only one function evaluation or (for implicit methods) NLAE solution at each time step, like Euler.
BDF methods are popular. Good stability. More efficient than RK, BUT they need help getting started. Euler must be used initially, then 2nd order and so on. Also, changing step size is less flexible than with RK.
Next - Section 4.4.8: Applications of ODE's
Return to Section 4.4 Index
Return to Section 4 Index
Course Organiser Last modified: Wed Aug 5 14:50:36 BST