Algorithms And Data Structures Codexery

Euler method

First-order numerical method for solving ordinary differential equations.

Euler method

The Euler method, also called the forward Euler method, is a first-order numerical procedure for solving ordinary differential equations (ODEs) with a given initial value. It is the most basic explicit method for numerical integration of ordinary differential equations and is the simplest Runge–Kutta method.

named_after
Leonhard Euler
type
First-order numerical procedure
field
Mathematics and computational science
known_for
Solving ordinary differential equations with a given initial value

Lore & Background

It is a first-order method, meaning the error per step is proportional to the square of the step size, and the global error is proportional to the step size. The method often serves as the basis to construct more complex methods, such as the predictor–corrector method.

Reader's Guide

The Euler method is a foundational technique in numerical analysis for approximating solutions to ordinary differential equations. Its significance lies in its simplicity and its role as the simplest explicit Runge–Kutta method. The method works by taking small steps along the tangent line of the unknown curve, starting from a known initial point. While the Euler method itself has limited accuracy (first-order), it provides the conceptual basis for more advanced numerical integration techniques. The method is explicit, meaning the solution at each step is a direct function of previous values. Any higher-order ODE can be reduced to a system of first-order ODEs and then solved using the Euler method. Its legacy endures as a teaching tool and a building block for more sophisticated algorithms in computational science.

Did You Know?

More in Algorithms And Data Structures 1-24

Elsewhere in the Algorithms And Data Structures universe

Spotted an error? Know more?

This is a living reference — every entry is fact-audited, and reader corrections feed straight into our audit queue. Suggest an edit · See this site's audit record

Comments

Loading…
Open in the interactive codex →