Skip to content
Oakfield Operator Calculus Function Reference Site

Backward Euler

For ut=F(u,t)u_t = F(u,t) with timestep Δt\Delta t, backward Euler computes un+1u^{n+1} from

un+1=un+ΔtF(un+1,tn+1)u^{n+1} = u^{n} + \Delta t\,F(u^{n+1}, t_{n+1})

typically via a nonlinear solve each step.

Applies to states unRmu^n \in \mathbb{R}^m (or function spaces) with Lipschitz FF to ensure well-posed implicit solves. Output un+1u^{n+1} remains in the same space after solving the implicit equation.


Backward Euler is first-order accurate in time, with local truncation error O(Δt2)\mathcal{O}(\Delta t^2).

For the linear test equation ut=λuu_t = \lambda u,

un+1=11zun,z=λΔtu^{n+1} = \frac{1}{1 - z}\,u^n, \qquad z = \lambda \Delta t

The method is A-stable and strongly damping for (z)0\Re(z) \ll 0, making it effective on stiff dissipative dynamics.

Each step requires solving a nonlinear (or linearized) system for un+1u^{n+1}; fixed-point iteration and Newton-type solvers are common choices.


For linear drift with forcing F(u,t)=Au+g(t)F(u,t) = Au + g(t), the update satisfies

(IΔtA)un+1=un+Δtg(tn+1)(I - \Delta t\,A)u^{n+1} = u^{n} + \Delta t\,g(t_{n+1})

As Δt0\Delta t \to 0, the scheme converges to the exact flow; for large Δt\Delta t on stiff stable AA, the method damps high-frequency modes without oscillation.


Forward Euler avoids implicit solves but is only conditionally stable; Crank–Nicolson raises the order while retaining implicitness; fixed-point iteration is a common solver for the implicit step.


Oakfield exposes backward Euler as an implicit built-in integrator implemented via fixed-point iteration:

  • Integrator name: backward_euler (Lua: sim.sim_create_context_integrator(ctx, "backward_euler", {...})).
  • Solve strategy: uses a simple Picard/fixed-point loop with an explicit Euler prediction as the initial guess and a residual check against the integrator tolerance (no Jacobians/Newton).
  • Adaptive fallback: when adaptive = true, Oakfield reduces dt across a small number of attempts if the fixed-point solve does not converge.
  • Complex + stochastic support: works for complex primary fields and applies stochastic increments after the implicit update when enabled.

Implicit variants of Euler’s time stepping appear naturally when the drift is evaluated at the next time level to improve stability on dissipative dynamics.

20th-century stability theory (notably Dahlquist’s work) formalized why backward Euler is robust on stiff problems and helped establish A-stability as a guiding design principle for implicit methods.


  • Hairer, Nørsett, Wanner, Solving Ordinary Differential Equations II
  • Ascher & Petzold, Computer Methods for Ordinary Differential Equations and Differential-Algebraic Equations