Double tangent bundle

From formulasearchengine
Revision as of 16:13, 1 June 2013 by en>Dthomsen8 (clean up, typos fixed: , → , using AWB)
Jump to navigation Jump to search

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)=12mv2V(q),

where m is the mass of the particle, and 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:

Ld(t0,t1,q0,q1)=t1t02[L(t0,q0,q1q0t1t0)+L(t1,q1,q1q0t1t0)]t0t1dtL(t,q(t),v(t)).

Here we have chosen to approximate the time integral using the trapezoid method, and we use a linear approximation to the trajectory,

q(t)q1q0t1t0(tt0)+q0

between t0 and t1, resulting in a constant velocity v(q1q0)/(t1t0). Different choices for the approximation to the trajectory and the time integral give different variational integrators. The order of accuracy of the integrator is controlled by the accuracy of our approximation to the action; since

Ld(t0,t1,q0,q1)=t0t1dtL(t,q(t),v(t))+𝒪(t1t0)3,

our integrator will be second-order accurate.

Evolution equations for the discrete system can be derived from a stationary-action principle. The discrete action over an extended time interval is a sum of discrete Lagrangians over many sub-intervals:

Sd=Ld(t0,t1,q0,q1)+Ld(t1,t2,q1,q2)+.

The principle of stationary action states that the action is stationary with respect to variations of coordinates that leave the endpoints of the trajectory fixed. So, varying the coordinate q1, we have

Sdq1=0=q1Ld(t0,t1,q0,q1)+q1Ld(t1,t2,q1,q2).

Given an initial condition (q0,q1), and a sequence of times (t0,t1,t2) this provides a relation that can be solved for q2. The solution is

q2=q1+t2t1t1t0(q1q0)(t2t0)(t2t1)2mddq1V(q1).

We can write this in a simpler form if we define the discrete momenta,

p0q0Ld(t0,t1,q0,q1)

and

p1q1Ld(t0,t1,q0,q1).


Given an initial condition (q0,p0), the stationary action condition is equivalent to solving the first of these equations for q1, and then determining p1 using the second equation. This evolution scheme gives

q1=q0+t1t0mp0(t1t0)22mddq0V(q0)

and

p1=mq1q0t1t0t1t02ddq1V(q1).

This is a leapfrog integration scheme for the system; two steps of this evolution are equivalent to the formula above for q2

References

  • E. Hairer, C. Lubich, and G. Wanner. Geometric Numerical Integration. Springer, 2002.
  • J. Marsden and M. West. Discrete mechanics and variational integrators. Acta Numerica, 2001, pp. 357–514.