Skip to content

Slowly returning a Hamiltonian to its initial form can return its action almost unchanged while leaving an additional angle shift. That finite shift, after subtracting the accumulated instantaneous frequency, is the Hannay angle. We derive it for a positive quadratic oscillator, compute a closed loop with angle −π/8-\pi/8, and separate the adiabatic approximation from the numerical error in checking it. The argument requires a uniformly nonzero oscillation frequency; it does not cover separatrix crossing. The angle is named for Hannay, who found this holonomy of angle variables under slow cyclic changes. Hannay (1985)

Required background. Action integrals and frequency maps explain primitive cycles, canonical angles and physical frequency. You need elementary averaging over an angle and a line integral in parameter space. Helpful background. Separatrices and divergent periods show how the required time-scale separation can fail.

Take dimensionless canonical variables (q,p)∈R2(q,p)\in\mathbb R^2 and

H(q,p;t)=12(a(s)q2+2b(s)qp+c(s)p2),s=ϵt,0<ϵ≪1.H(q,p;t)=\frac12\left(a(s)q^2+2b(s)qp+c(s)p^2\right), \qquad s=\epsilon t,\qquad 0\lt\epsilon\ll1.

The prescribed parameters are sufficiently smooth on a fixed interval 0≤s≤S0\le s\le S. Assume they and their relevant derivatives remain bounded, with

a(s)>0,c(s)>0,ω(s)=a(s)c(s)−b(s)2≥ω∗>0.a(s)\gt0,\qquad c(s)\gt0,\qquad \omega(s)=\sqrt{a(s)c(s)-b(s)^2}\ge\omega_*\gt0.

We work in a compact subset of this positive-definite region and start with a nonzero orbit. These uniform bounds are essential: a coefficient can change slowly in absolute terms while the oscillator frequency becomes too small for adiabatic reasoning.

For frozen parameters, completing the square gives

H=c2(p+bcq)2+ω22cq2.H=\frac c2\left(p+\frac bcq\right)^2+\frac{\omega^2}{2c}q^2.

The canonical linear coordinates

Q=ωc q,P=cp+bqcωQ=\sqrt{\frac\omega c}\,q,\qquad P=\frac{cp+bq}{\sqrt{c\omega}}

satisfy dQ∧dP=dq∧dpdQ\wedge dP=dq\wedge dp at fixed parameters and

H=ω2(Q2+P2)=ωI,Q=2Isin⁡θ,P=2Icos⁡θ.H=\frac\omega2(Q^2+P^2)=\omega I, \qquad Q=\sqrt{2I}\sin\theta,\quad P=\sqrt{2I}\cos\theta.

Thus the frozen action is I=H/ωI=H/\omega and θ\theta advances with positive frequency ω\omega. The generalized oscillator and its action are treated in Berry 1985, §4, equations (32)–(36), pp. 20–21, author PDF. Berry chooses a different constant angle origin; such a fixed shift does not affect the closed-loop result.

A time-dependent canonical chart adds terms

Section titled “A time-dependent canonical chart adds terms”

The transformation above is canonical for each frozen parameter value. Differentiating it along a changing family generates additional terms that must not be omitted. Define

k(t)=12(ω˙ω−c˙c),ℓ(t)=b˙−bc˙/cω.k(t)=\frac12\left(\frac{\dot\omega}{\omega}-\frac{\dot c}{c}\right), \qquad \ell(t)=\frac{\dot b-b\dot c/c}{\omega}.

Both are O(ϵ)O(\epsilon) under the stated bounds. Directly substituting q˙=bq+cp\dot q=bq+cp and p˙=−aq−bp\dot p=-aq-bp gives the exact transformed equations

Q˙=ωP+kQ,P˙=−ωQ+ℓQ−kP.\dot Q=\omega P+kQ,\qquad \dot P=-\omega Q+\ell Q-kP.

Consequently

I˙I=−2kcos⁡2θ+ℓsin⁡2θ,θ˙=ω+ksin⁡2θ−ℓ2+ℓ2cos⁡2θ.\begin{aligned} \frac{\dot I}{I} &=-2k\cos2\theta+\ell\sin2\theta,\\ \dot\theta &=\omega+k\sin2\theta-\frac{\ell}{2} +\frac{\ell}{2}\cos2\theta. \end{aligned}

These equations explain both effects. The action derivative has zero frozen-angle average. The angle derivative has the nonzero average correction −ℓ/2-\ell/2.

The oscillatory terms cannot simply be called zero pointwise. Because the fast angular speed stays away from zero, integration by parts in their oscillatory phases, or first-order averaging after a near-identity change of variables, bounds their cumulative effect over t=O(ϵ−1)t=O(\epsilon^{-1}). For this linear oscillator the frequency is independent of action, so the result is

I(t)=I(0)+O(ϵ),θ(T)−θ(0)=∫0Tω(ϵt) dt−12∫0Tℓ(t) dt+O(ϵ),I(t)=I(0)+O(\epsilon),\qquad \theta(T)-\theta(0) =\int_0^T\omega(\epsilon t)\,dt -\frac12\int_0^T\ell(t)\,dt+O(\epsilon),

uniformly over a fixed slow interval, with constants depending on the bounded parameter family and initial action. The first estimate is an absolute estimate for fixed nonzero initial action; the linearity also gives a corresponding relative estimate. More detailed asymptotic treatment of this oscillator is given in Berry 1985, Appendix 1, pp. 25–26, author PDF.

A nonlinear system with several frequencies also requires control of resonances and of the corrected action used in its dynamical phase.

Suppose the parameters form a closed curve CC: (a,b,c)(S)=(a,b,c)(0)(a,b,c)(S)=(a,b,c)(0). Compare the initial and final angle in the same canonical chart and subtract the dynamical phase

θdyn=∫0S/ϵω(ϵt) dt.\theta_{\rm dyn}=\int_0^{S/\epsilon}\omega(\epsilon t)\,dt.

The remaining limiting angle, understood modulo 2π2\pi, is

ΔθH=−12∮Cdb−(b/c) dcac−b2.\boxed{ \Delta\theta_{\rm H} =-\frac12\oint_C\frac{db-(b/c)\,dc}{\sqrt{ac-b^2}}. }

The integral depends on the oriented path, not its traversal speed. Reversing the loop reverses this angle; making the same loop slower improves the approximation without changing its limiting value. This is a particular form of the general Hannay-angle construction in Berry 1985, §2, equations (13)–(19), pp. 18–19, author PDF.

The origin of angle is a choice. If another smooth chart uses θ~=θ+χ(a,b,c)\widetilde\theta=\theta+\chi(a,b,c), the connection one-form changes by dχd\chi. Its integral around a closed loop is unchanged when the chart returns to itself; a winding of the angle gauge changes the representative only by 2π2\pi.

A useful independent check uses the canonical one-form. Writing

q=2Icωsin⁡θ,p=2Iωccos⁡θ−bcqq=\sqrt{\frac{2Ic}{\omega}}\sin\theta,\qquad p=\sqrt{\frac{2I\omega}{c}}\cos\theta-\frac bcq

and taking parameter derivatives at fixed I,θI,\theta gives

⟨p dCq⟩θ=−Ib2ω dClog⁡cω.\left\langle p\,d_Cq\right\rangle_\theta =-\frac{Ib}{2\omega}\,d_C\log\frac c\omega.

The geometric connection −∂I⟨p dCq⟩-\partial_I\langle p\,d_Cq\rangle differs from the boxed connection by the exact differential d(b/(2ω))d(b/(2\omega)). Their closed-loop integrals therefore agree. The subscript CC distinguishes a differential in parameter space from the phase-space differential defining the symplectic form.

Choose 0≤s≤2π0\le s\le2\pi and constants B,C0B,C_0 with

b(s)=Bsin⁡s,c(s)=eC0cos⁡s,a(s)=1+b(s)2c(s).b(s)=B\sin s,\qquad c(s)=e^{C_0\cos s},\qquad a(s)=\frac{1+b(s)^2}{c(s)}.

The Hamiltonian stays positive definite and ω(s)=1\omega(s)=1 exactly. Its energy ellipses change shape even though their frequency is constant. The geometric angle reduces to

ΔθH=−12∮db+12∮b dlog⁡c=−BC02∫02πsin⁡2s ds=−πBC02.\begin{aligned} \Delta\theta_{\rm H} &=-\frac12\oint db+\frac12\oint b\,d\log c\\ &=-\frac{BC_0}{2}\int_0^{2\pi}\sin^2s\,ds =-\frac{\pi BC_0}{2}. \end{aligned}

For B=C0=1/2B=C_0=1/2, it is −π/8-\pi/8. In the plane (log⁡c,b)(\log c,b) the loop is the counterclockwise ellipse (C0cos⁡s,Bsin⁡s)(C_0\cos s,B\sin s) when B,C0>0B,C_0\gt0. The angle is minus one half of its oriented area. This area interpretation applies to this constant-frequency slice and its stated coordinates, not to arbitrary parameterizations of all positive quadratic forms.

The complete leading angle advance is

θ(2π/ϵ)−θ(0)=2πϵ−π8+O(ϵ).\theta(2\pi/\epsilon)-\theta(0) =\frac{2\pi}{\epsilon}-\frac{\pi}{8}+O(\epsilon).

The extra term is neither a change in the frozen frequency nor an energy loss. It records the motion of the canonical coordinate frame through a closed family of ellipses.

Start at I(0)=1I(0)=1, θ(0)=0.37\theta(0)=0.37 and integrate the original (q,p)(q,p) Hamilton equations for one loop. The downloadable calculation uses DOP853 with relative tolerance 2×10−112\times10^{-11}, absolute tolerance 2×10−122\times10^{-12} and maximum time step 0.120.12. At the endpoint it converts back to (Q,P)(Q,P) and subtracts 2π/ϵ2\pi/\epsilon, choosing the angle representative near −π/8-\pi/8.

Slow rate ϵ\epsilonComputed extra angleAbsolute error from −π/8-\pi/8
0.10.1−0.42592732-0.425927320.033228240.03322824
0.050.05−0.40859536-0.408595360.015896280.01589628
0.0250.025−0.40047872-0.400478720.007779640.00777964
0.01250.0125−0.39654806-0.396548060.003848980.00384898

Halving the rate approximately halves the error, consistent with the stated first-order adiabatic remainder. For the slowest run, reducing the maximum step to 0.060.06 and both tolerances by a factor 100 changes the final (q,p)(q,p) state by 2.6×10−122.6\times10^{-12} or less in the infinity norm. A five-point finite difference of the dense solution has a sampled original-equation residual below 2×10−112\times10^{-11}. Together, the rate and step refinements separate finite-speed error from integration error.

Measure the geometric angle from an exact return map

Section titled “Measure the geometric angle from an exact return map”

Rotate an ellipse of fixed shape in a dimensionless canonical plane. Let R(ϕ)R(\phi) denote ordinary counterclockwise rotation, z=(q,p)Tz=(q,p)^{\mathsf T} and D=diag⁡(A,C)D=\operatorname{diag}(A,C) with A,C>0A,C\gt0. Take the quadratic Hamiltonian with matrix R(νt)DR(νt)TR(\nu t)D R(\nu t)^{\mathsf T}, at constant slow rate ν>0\nu\gt0. The matrix returns to itself after a half turn of its axes, at T=π/νT=\pi/\nu. Its instantaneous frequency is the constant ω=AC\omega=\sqrt{AC}.

Put z=R(νt)yz=R(\nu t)y and write J\mathbb J for the canonical Poisson matrix, with upper-right entry one. Since the rotation generator is −J-\mathbb J, Hamilton’s equation becomes

y˙=J(D+ν Id)y.\dot y=\mathbb J(D+\nu\,\mathrm{Id})y.

The rotating-frame oscillation frequency is the positive square root of (A+ν)(C+ν)(A+\nu)(C+\nu). Call it ων\omega_\nu. The laboratory return map includes R(π)=−IdR(\pi)=-\mathrm{Id}. Its rotation phase in our increasing canonical angle convention is therefore ωνT−π\omega_\nu T-\pi modulo 2π2\pi. Subtract ωT\omega T and rationalize before taking the slow limit.

Δν=π(A+C+νων+ω−1),Δ0=π(A+C2AC−1).\begin{aligned} \Delta_\nu &=\pi\left(\frac{A+C+\nu}{\omega_\nu+\omega}-1\right),\\ \Delta_0 &=\pi\left(\frac{A+C}{2\sqrt{AC}}-1\right). \end{aligned}

This uses the eigenphase of a complete return map. A single initial ray can have a different finite-speed phase because the rotating-frame ellipse differs from the frozen one by O(ν)O(\nu). Both measurements give the same limiting Hannay angle. At A=4A=4, C=1C=1 the prediction is +π/4+\pi/4. The connection gives an independent check: its dbdb term integrates to zero, and substituting the rotating matrix in its remaining term gives the same oriented angle. For a circle, A=CA=C, the Hamiltonian is constant and even the finite-rate extra phase vanishes. Check the line integral and laboratory return matrix (Python)

If only a frequency parameter changes in

H=12(p2+ν(s)2q2),ν(s)≥ν∗>0,H=\frac12\left(p^2+\nu(s)^2q^2\right), \qquad \nu(s)\ge\nu_*\gt0,

then b=0b=0, c=1c=1 and the geometric connection vanishes. The leading closed-cycle angle is entirely dynamical.

Likewise, a path that goes out and returns along the same curve has cancelling oriented line integrals. Its finite-speed motion can still contain O(ϵ)O(\epsilon) errors.

If ω\omega tends to zero, the denominators in kk, ℓ\ell and the averaging transformation lose their uniform bounds. For a nonlinear pendulum near a separatrix, the orbital period diverges and the action family changes topology. The estimates above provide no continuation through such a crossing.

Replace the nonzero loop by (a,b,c)(2π−s)(a,b,c)(2\pi-s), keeping the same positive duration. What happens to its dynamical and geometric angles?

Solution

The frequency remains one, so the dynamical angle is still 2π/ϵ2\pi/\epsilon. Reversing the oriented parameter curve changes the Hannay angle from −πBC0/2-\pi BC_0/2 to +πBC0/2+\pi BC_0/2. Reversing a parameter loop is not the same operation as reversing the physical direction of time.

For the loop with ω=1\omega=1, express kk and ℓ\ell in terms of s=ϵts=\epsilon t, and show why I=HI=H is not exactly conserved at nonzero ϵ\epsilon.

Solution

Since c˙/c=−ϵC0sin⁡s\dot c/c=-\epsilon C_0\sin s,

k=ϵC02sin⁡s,ℓ=ϵ(Bcos⁡s+BC0sin⁡2s).k=\frac{\epsilon C_0}{2}\sin s,\qquad \ell=\epsilon\left(B\cos s+BC_0\sin^2s\right).

Substitution into I˙/I=−2kcos⁡2θ+ℓsin⁡2θ\dot I/I=-2k\cos2\theta+\ell\sin2\theta gives a generally nonzero derivative. Its leading frozen-angle average is zero. The approximation concerns the accumulated bounded variation after rapid oscillatory cancellation, not pointwise conservation.

Use θ~=θ+b/(2ω)\widetilde\theta=\theta+b/(2\omega). Compare the resulting geometric one-form with the one obtained from −∂I⟨p dCq⟩-\partial_I\langle p\,d_Cq\rangle.

Solution

Adding d(b/(2ω))d(b/(2\omega)) to −db/(2ω)+b dc/(2ωc)-db/(2\omega)+b\,dc/(2\omega c) gives

b2ω(dcc−dωω).\frac{b}{2\omega}\left(\frac{dc}{c}-\frac{d\omega}{\omega}\right).

This is precisely the one-form from the averaged canonical one-form. The two gauges assign different instantaneous angle origins but the same closed-loop holonomy.

The action and Hannay checks differentiate the coordinate transformation, integrate the original time-dependent Hamilton equations, compare both loop orientations, and separate time-step refinement from the finite-speed adiabatic error. They also test the zero-holonomy frequency-only loop.

  • Berry, Michael V. “Classical adiabatic angles and quantal adiabatic phase.” Journal of Physics A: Mathematical and General 18 (1985), 15–27. DOI; author-hosted PDF. Sections 2 and 4 and Appendix 1; our loop and direct transformed-equation checks are developed above.
  • Hannay, J. H. “Angle variable holonomy in adiabatic excursion of an integrable Hamiltonian.” Journal of Physics A: Mathematical and General 18 (1985), 221–230. DOI