Heun's method
In mathematics and computational science, Heun's method (also called the modified Euler's method or the explicit trapezoidal rule[1]), named after Karl L. W. M. Heun, is a numerical procedure for solving ordinary differential equations (ODEs) with a given initial value. It can be seen as an extension of the Euler method into a two-stage second-order Runge–Kutta method.
The procedure for calculating the numerical solution to the initial value problem
by way of Heun's method, is to first calculate the intermediate value and then the final approximation at the next integration point.
Derivation
The scheme can be compared with the implicit trapezoidal method, but with replaced by in order to make it explicit. is the result of one step of Euler's method on the same initial value problem.
So, Heun's method is a predictor-corrector method with forward Euler's method as predictor and trapezoidal method as corrector.
Runge–Kutta method
Heun's method is a two-stage Runge–Kutta method, and can be written using the Butcher tableau (after John C. Butcher):
0 | |||
1 | 1 | ||
1/2 | 1/2 |
References
- ^ Ascher, Uri M.; Petzold, Linda R. (1998), Computer Methods for Ordinary Differential Equations and Differential-Algebraic Equations, Philadelphia: Society for Industrial and Applied Mathematics, ISBN 978-0-89871-412-8.