Implicit Methods for ODEs

Compares implicit ODE solvers against explicit ones on a stiff initial value problem.
Author

Apurva Nakade

Published

July 13, 2026

NoteConvergence plots

Explicit (forward) Euler uses the slope at the start of the step:

\[ y_{i+1} = y_i + h\,f(t_i, y_i). \]

Implicit Euler (backward Euler) instead uses the slope at the end of the step:

\[ y_{i+1} = y_i + h\,f(t_{i+1}, y_{i+1}), \]

which requires solving for \(y_{i+1}\) at each step (this page uses a few steps of Newton’s method) — but buys stability that explicit Euler lacks. The default example, \(y' = -5y\), is chosen to make this visible: try dragging \(n\) down to see explicit Euler destabilize while implicit Euler stays smooth.