Leapfrog integration

From Wikipedia, the free encyclopedia

This applied mathematics-related article is a stub. You can help Wikipedia by expanding it.


Leapfrog integration is a simple method for integrating differential equations.

Leapfrog integration is equivalent to calculating positions and velocities alternately, at alternate time points, so that they 'leapfrog' over each other.

Leapfrog integration is a second order method hence usually works better than Euler integration which is only first order.

The equations for leapfrog integration can be written:

x_{i+1} = x_i + v_i\, dt + a_i\, \frac{dt^2}{2}


v_{i+1} = v_i + \frac{a_i + a_{i+1}}{2}\,dt. [1]

[edit] References

  1. ^ 4.1 Two Ways to Write the Leapfrog

[edit] See also

Languages