Astronomy and Space Exploration ES

Glossary / E / Mathematics and numerical methods

Euler's method

Also: Euler · Euler method · semi-implicit Euler · Euler-Cromer · symplectic Euler

Illustration: Euler's method

The simplest way to simulate a motion: advance in small time steps assuming the velocity does not change during each step. With small steps it works, but the error builds up.

Going further

y⃗n+1=y⃗n+h f⃗(tn,y⃗n)\vec y_{n+1} = \vec y_n + h\,\vec f(t_n, \vec y_n): local error O(h2)O(h^{2}), global O(h)O(h). For orbits it systematically gains energy; the semi-implicit variant (update v⃗\vec v before r⃗\vec r) is symplectic and conserves energy on average.

y⃗n+1=y⃗n+h f⃗(tn,y⃗n)\vec y_{n+1} = \vec y_n + h\,\vec f(t_n, \vec y_n)

Where it is explained: Simulating an orbit with the Euler method Secondary Education

Related terms

Used in these lessons

← Whole glossaryLessons at this level →