Placeholder (demo). Description only: there is no reference implementation or verification for this entry yet. It belongs to a demonstration set of textbook methods.
What it does
Takes the slope at the start of the step and follows it: . Each step costs one evaluation of . The global error is proportional to (first order), so halving the step only halves the error.
When to use
- Teaching, debugging a right-hand side, or a quick look at the qualitative behaviour of a smooth, non-stiff system.
- As a building block inside other schemes, where its simplicity matters more than accuracy.
When not to use (and what to use instead)
| Situation | Use instead |
|---|---|
| A little more accuracy for one extra evaluation per step | explicit-midpoint (second order) |
| You need accuracy at reasonable cost | rk4 (fixed step) or dormand-prince-rk45 (error control) |
| Conservative mechanical system or long runs: energy grows steadily | stormer-verlet or symplectic-euler |
| Stiff problem: the step must be tiny to stay stable | backward-euler or implicit-midpoint |
Key facts
Order 1, explicit, not symplectic, not time-reversible, conditionally stable (for it needs ).
Sources
- E. Hairer, S. P. Nørsett, G. Wanner. Solving Ordinary Differential Equations I, 2nd rev. ed. Springer, 1993. https://doi.org/10.1007/978-3-540-78862-1