Jump to content

Variational integrators and discrete symmetry

From The Invariance Itself
Revision as of 13:29, 10 September 2026 by BFP Rauch (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This page works its case, and the result is exact rather than approximate, which is the reason the page exists.

The problem with simulating mechanics

Solve a mechanical system numerically the obvious way — step the equations of motion forward in small increments — and the conserved quantities drift. Energy creeps up or down, an orbit spirals slowly in or out, and refining the step size reduces the drift without removing it.

That is not a bug in the arithmetic. Nothing in the method knows the quantities are supposed to be conserved.

Discretise the action instead

The alternative is to discretise the object the theorems are about. Replace the integral by a sum over steps, with a function Ld of consecutive positions standing in for the integral across one step:

Sd=∑kLd(qk,qk+1)(1)

Require the sum to be stationary under variations of the interior points. Each qk appears in two terms, so differentiating with respect to it gives

D2Ld(qk−1,qk)+D1Ld(qk,qk+1)=0(2)

where D1 and D2 denote differentiation with respect to the first and second argument. This is the equation the simulation steps forward.

The conserved quantity, exactly

Now suppose Ld is invariant under a rigid shift of both its arguments:

Ld(qk+ε, qk+1+ε)=Ld(qk,qk+1)(3)

Differentiate (3) with respect to ε at zero:

D1Ld+D2Ld=0(4)

as an identity in both arguments. Define

Jk=−D1Ld(qk,qk+1)(5)

By (4), Jk=D2Ld(qk,qk+1), and therefore also Jk−1=D2Ld(qk−1,qk). But (2) says D2Ld(qk−1,qk)=−D1Ld(qk,qk+1)=Jk. Hence

Jk−1=Jk(6)

Exactly, at every step, for any step size. Not to first order, not to the accuracy of the scheme. The quantity is the same number for ever, and it is the discrete momentum.

What the derivation used

Only (3) and (2). No limit was taken, no step size was assumed small, and no property of the continuous theory was borrowed.

The theorem's structure did not need continuity. What it needed was an action and a symmetry of it, and both survive discretisation intact. That is why integrators built this way conserve momentum to machine precision while conventional ones do not.

The one that does not come free

Energy is different. Energy corresponds to translation in the independent variable, and discretising fixes the step, which breaks that symmetry.

So discrete-action methods conserve momentum exactly and energy only approximately — though they keep it bounded rather than letting it drift, for reasons beyond this page. The pattern is exactly what the theorems predict: the symmetries you keep are the quantities you conserve, and discretising is a choice about which symmetries to keep.

Provenance: (1) to (6) are standard in the numerical-analysis literature and are derived above rather than cited. No source was consulted. See Sources.