Skip to content

An invariant that drifts in a simulation might reveal a changed Hamiltonian or an inaccurate trajectory. Separate the two effects at matched observation times. In this project the perturbation preserves total momentum and the full perturbed energy exactly, while a previously conserved cubic charge changes.

Required background. The three-site Toda project gives the cubic charge, the Verlet update and a reference trajectory for the unperturbed chain. Use its asymmetric initial state here so that reflection symmetry cannot keep the cubic charge at zero.

Distinguish physical drift from step error

Section titled “Distinguish physical drift from step error”

Independent task. On the open three-particle Toda chain, use q=(0.2,−0.3,0.1)q=(0.2,-0.3,0.1), p=(0.7,−0.4,0.2)p=(0.7,-0.4,0.2) and add δ(q1−q3)2/2\delta(q_1-q_3)^2/2 to the Hamiltonian. Derive the initial rate of change of I3=tr⁡(L3)/3I_3=\operatorname{tr}(L^3)/3. For δ=0,0.01,0.02\delta=0,0.01,0.02 compare the largest charge and total-energy changes on 101 common times from 00 to 44. Use Verlet steps of 0.02, 0.01 and 0.005 and compare with an independent integrator. Runnable experiment

Changed setting. Set q=(0,0,0)q=(0,0,0) and p=(1,0,0)p=(1,0,0). Predict the first two time derivatives of the charge. Before expanding the solution below, sketch which charge curves should level off under step refinement.

State the perturbation and predict the first derivative

Section titled “State the perturbation and predict the first derivative”
Check the instantaneous drift

Use three canonical particles of unit mass and open endpoints. Add δ(q1−q3)2/2\delta(q_1-q_3)^2/2 to

H0=12∑ipi2+eq1−q2+eq2−q3.H_0=\tfrac12\sum_i p_i^2+e^{q_1-q_2}+e^{q_2-q_3}.

The symmetric Jacobi matrix LL has diagonal pip_i and off-diagonal ai=e(qi−qi+1)/2a_i=e^{(q_i-q_{i+1})/2}. At δ=0\delta=0, I3=tr⁡(L3)/3I_3=\operatorname{tr}(L^3)/3 is constant. Moser, open Toda Jacobi matrix and isospectral evolution, pp. 468–473 With the perturbation the end forces gain −δ(q1−q3)-\delta(q_1-q_3) and +δ(q1−q3)+\delta(q_1-q_3), respectively. Since ∂I3/∂pi=(L2)ii\partial I_3/\partial p_i=(L^2)_{ii},

I˙3=δ(q1−q3)[(p32+a22)−(p12+a12)].\dot I_3=\delta(q_1-q_3) \big[(p_3^2+a_2^2)-(p_1^2+a_1^2)\big].

For the assigned asymmetric input the signed end separation is 0.10.1, and the square bracket is approximately −1.4284012-1.4284012. At δ=0.02\delta=0.02 the charge initially decreases at about 0.002856800.00285680 per unit time. The table below reports the magnitude of the largest sampled change, which discards this sign.

Compare the refinement table and plot

Compare all three Verlet runs with adaptive eighth-order DOP853 over 0≤t≤40\le t\le4. Report the largest absolute change of I3I_3 from its initial value on the same 101-point grid. The experiment uses relative tolerance 2×10−132\times10^{-13} and absolute tolerance 2×10−152\times10^{-15} for the independent integrator. Runnable experiment (Python).

δ\deltaVerlet 0.020.02Verlet 0.010.01Verlet 0.0050.005Adaptive reference
00.000052100.000013020.00000326below 2×10−122\times10^{-12}
0.010.02139400.02140220.02140420.0214049
0.020.04467610.04468140.04468280.0446832

The refinement plot shows which change survives as numerical error falls. Each point is the largest sampled change of the same cubic observable, using the initial condition and time grid above.

On a logarithmic vertical axis, the unperturbed drift falls fourfold at every halving of the step. The two perturbed curves level off near 0.0214 and 0.0447.

Maximum absolute change of the dimensionless cubic Toda charge on 101 equally spaced samples from t=0t=0 to 44. Time steps halve from left to right. Circles give the unperturbed chain, squares and triangles the two perturbation strengths. The logarithmic vertical axis resolves both the decreasing discretization error and the surviving physical drift. The independent integration in the table checks the limiting values.

Report the full perturbed energy drift separately. At δ=0.02\delta=0.02 it decreases from about 1.11×10−41.11\times10^{-4} to 6.96×10−66.96\times10^{-6} over these refinements. Momentum drift stays below 10−1410^{-14}. The limiting cubic drift survives that improvement. Doubling the perturbation does not exactly double drift over a finite trajectory.

Equal-endpoint check. At the changed input the factor q1−q3q_1-q_3 vanishes. Its time derivative is p1−p3=1p_1-p_3=1, and the square bracket in the drift formula is −1-1. The product rule therefore gives

I˙3(0)=0,I¨3(0)=−δ.\dot I_3(0)=0,\qquad \ddot I_3(0)=-\delta.

The charge starts horizontally and changes by −δt2/2+O(t3)-\delta t^2/2+O(t^3) at short times. A vanished initial slope would miss this loss of conservation. The derivative identity gives a counterexample to conservation of this specific charge for each δ≠0\delta\ne0. Whether the modified system admits a different family of commuting integrals is a separate question.

  • Jürgen Moser. “Finitely many mass points on the line under the influence of an exponential potential—an integrable system.” In J. Moser (ed.), Dynamical Systems, Theory and Applications. Lecture Notes in Physics 38, Springer, pp. 467–497 (1975). DOI