Symplectic integrator
1 Hamiltonian mechanics
1.1 Generalized Momentum
The generalized momentum corresponding to the generalized coordinate is given by:
where is the Lagrangian.
1.2 Hamiltonian
Hamiltonian is given by:
where is the Lagrangian.
1.3 Hamilton’s Equations
Or in vector notation,
2 Poisson Bracket
3 Symplectic Condition
Under a canonical transformation () :
The Jacobian matrix is defined as
Using the chain rule:
Canonical transformation the symplectic condition:
4 Splitting methods for separable Hamiltonians
| (1) |
By Taylor expansion:
Thus, the exact solution of (1) is given by:
If the Hamiltonian is separable,
the operator splits as:
Because and are non-commutative operators (),
(refer to the Baker–Campbell–Hausdorff formula)
Instead, the time-evolution operator can be approximated by a product of operators:
| (2) |
where represents the order of the integrator, and are coefficients chosen such that the residual error is of the order of
In a direct approach, conditions for the coefficients are found by comparing the Taylor expansions of both sides of (2)
4.1 First-Order Integrator ()
The solution is Lie product formula:
This corresponds to the Symplectic Euler method.
4.2 Second-Order Integrator ()
Two prominent solutions emerge (Strang Splitting):
which correspons to ’kick-drift-kick’ form of leapfrog integration, and
which correspons to ’drift-kick-drift’ form of leapfrog integration.
In general, two conditions emerge from the coefficients of and ,
and higher order terms provide additional conditions.
4.3 Action on Phase-Space Vectors
Because the Hamiltonian is separable,
| (3) |
| (4) |
| (5) |
| (6) |
Using a Taylor expansion, for ,