---
name: backward-euler
description: "Take large, stable time steps on a stiff system, where some components change much faster than the ones you care about (chemical kinetics, circuits, diffusion after spatial discretization, relaxation processes). First order, implicit and L-stable, so fast modes are damped instead of blowing up. Needs a nonlinear solve per step, usually Newton's method. Also called implicit Euler."
---

# Backward Euler

> **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: $y_{n+1} = y_n + h\, f(t_{n+1}, y_{n+1})$. Each step solves a nonlinear equation for $y_{n+1}$, typically with Newton's method and the Jacobian of $f$. 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
