Jump to content

Euler method

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mattopia (talk | contribs) at 12:06, 27 October 2005 (First attempt). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Euler integration is the most basic kind of numerical integration for calculating trajectories from forces at discrete timesteps.

Derivation

Euler integration is simply derived from equations for the derivatives of the position and velocity of an object.

and

become

and

Error

The magnitude of the errors arising from Euler integration can best be demonstrated by comparison to a Taylor expansion of the trajectory of an object. If we assume that a(t), v(t) and x(t) are all known exactly at a time , then Euler integration gives the position at time as:

In comparison, the Taylor expansion of the trajectory gives:

The error introduced by Euler integration is thus given by the difference between these equations:

Even if the term is removed through a common adjustment to the Euler integrator, the error still contains third-order terms in . This make Euler integration less accurate than Verlet integration or Runge-Kutta integration, which have errors of fourth- and fifth-order respectively.

See Also

Molecular Dynamics Verlet integration