The Euler forward method approximates the solution of an ordinary differential equation using the formula
which advances a solution from to
. Note that the method
increments a solution through an interval
while using derivative information from only the beginning
of the interval. For a twice continuously differentiable solution, the error in a
single step from the exact value is
. This method is called simply
"the Euler method" by Press et al. (1992), although it is actually
the forward version of the analogous Euler backward
method.
Each step follows the tangent line determined by the slope
at the current approximation (3Blue1Brown 2019). For the test equation
with a fixed step size
, the update is
. The iterates decay to zero for
all initial values when
. On the boundary
, their magnitude stays constant, and for
it grows for nonzero initial values. For real
, decay therefore requires
.
For time stepping of a spatially discretized partial differential equation, a Courant-Friedrichs-Lewy condition can impose a necessary restriction on the step size. Meeting that restriction alone need not ensure stability for the chosen discretization.