Variational integrators are numerical integrators for Hamiltonian systems derived from the Euler–Lagrange equations of a discretized Hamilton's principle. Variational integrators are momentum-preserving and symplectic.
Derivation of a simple variational integrator Consider a mechanical system with a single particle degree of freedom described by the Lagrangian
L ( t , q , v ) = 1 2 m v 2 − V ( q ) , {\displaystyle L(t,q,v)={\frac {1}{2}}mv^{2}-V(q),}
where m {\displaystyle m} is the mass of the particle, and V {\displaystyle V} is a potential. To construct a variational integrator for this system, we begin by forming the discrete Lagrangian. The discrete Lagrangian approximates the action for the system over a short time interval:
… excerpt ends here. Continue reading the full article.
