TOPICS
Search

Euler Forward Method


The Euler forward method approximates the solution of an ordinary differential equation using the formula

 y_(n+1)=y_n+hf(x_n,y_n),

which advances a solution from x_n to x_(n+1)=x_n+h. Note that the method increments a solution through an interval h 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 O(h^2). 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 f(x_n,y_n) at the current approximation (3Blue1Brown 2019). For the test equation y^'=lambday with a fixed step size h>0, the update is y_(n+1)=(1+hlambda)y_n. The iterates decay to zero for all initial values when |1+hlambda|<1. On the boundary |1+hlambda|=1, their magnitude stays constant, and for |1+hlambda|>1 it grows for nonzero initial values. For real lambda<0, decay therefore requires 0<h<2/|lambda|.

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.


See also

Courant-Friedrichs-Lewy Condition, Euler Backward Method, Newtonian Graph Explore this topic in the MathWorld classroom

Explore with Wolfram|Alpha

References

3Blue1Brown. "Differential Equations, Studying the Unsolvable." Mar. 31, 2019. https://www.3blue1brown.com/lessons/differential-equations/.Press, W. H.; Flannery, B. P.; Teukolsky, S. A.; and Vetterling, W. T. Numerical Recipes in FORTRAN: The Art of Scientific Computing, 2nd ed. Cambridge, England: Cambridge University Press, p. 710, 1992.

Referenced on Wolfram|Alpha

Euler Forward Method

Cite this as:

Weisstein, Eric W. "Euler Forward Method." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/EulerForwardMethod.html

Subject classifications