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
Uses the slope at the end of the step: . Each step solves a nonlinear equation for , typically with Newton's method and the Jacobian of . It is L-stable: rapidly decaying components are damped strongly for any step size, so the step can be chosen for the slow dynamics alone.
When to use
- Stiff ODEs where explicit methods would need a step far smaller than the time scale of interest.
- When robustness matters more than accuracy, or as a first, damping step before a higher-order method.
When not to use (and what to use instead)
| Situation | Use instead |
|---|---|
| Non-stiff problem | rk4 or dormand-prince-rk45 (far more accurate per unit of work) |
| Conservative or oscillatory system: backward Euler artificially damps energy | implicit-midpoint (symplectic, A-stable) or stormer-verlet |
| Stiff and you need higher accuracy | A higher-order stiff solver such as BDF or Radau IIA methods (not in this library) |
Key facts
Order 1, implicit, L-stable, not symplectic, not time-reversible. The cost per step depends on the nonlinear solver.
Sources
- E. Hairer, G. Wanner. Solving Ordinary Differential Equations II, 2nd rev. ed. Springer, 1996. https://doi.org/10.1007/978-3-642-05221-7