Fundamentals / Physics / Classical mechanics / Analytical mechanics from constraints to invariants

Canonical perturbations, small denominators and resonant capture

A weak periodic force can produce a bounded ripple on most trajectories and a large change on a narrow band of initial conditions. Derive the averaging transformation away from resonance, construct the slow resonant dynamics where that transformation fails, and estimate the physically observable width and time scale of a resonance.

Separate the unperturbed clock from a weak correction

Take an integrable Hamiltonian \(H(I,\theta,t)=H_0(I)+\epsilon H_1(I,\theta,t)\) in action–angle variables. With \(\epsilon=0\), actions are constants and angles advance at \(\boldsymbol\omega(I)=\partial_I H_0\). A perturbation with Fourier component \(h_{\mathbf n}(I)\cos(\mathbf n\cdot\theta-\Omega t)\) drives action changes proportional to its sine. If the phase sweeps quickly through all angles, positive and negative contributions largely cancel. If \(\mathbf n\cdot\boldsymbol\omega-\Omega\) is small, the perturbation acts with a coherent sign over a long time. We want a transformation that makes both statements quantitative.

Use a near-identity type-two generating function \(F_2(\theta,J,t)=\theta\cdot J+\epsilon S_1(\theta,J,t)\). Old actions are \(I=J+\epsilon\partial_\theta S_1\), and new angles are \(\psi=\theta+\epsilon\partial_JS_1\). Expand \(H_0(I)=H_0(J)+\epsilon\boldsymbol\omega(J)\cdot\partial_\theta S_1+O(\epsilon^2)\). At first order the new Hamiltonian is \(K=H_0(J)+\epsilon[H_1+\partial_t S_1+\boldsymbol\omega\cdot\partial_\theta S_1]\). Replacing old by new angles inside that bracket produces only higher-order errors. To leave the averaged part \(\langle H_1\rangle\), solve the homological equation

\[(\partial_t+\boldsymbol\omega\cdot\partial_\theta)S_1=-\big(H_1-\langle H_1\rangle\big).\]

For an oscillating cosine with detuning \(\Delta=\mathbf n\cdot\boldsymbol\omega-\Omega\), choose \(S_1=-h_{\mathbf n}\sin(\mathbf n\cdot\theta-\Omega t)/\Delta\). The transformation is useful while the resulting action displacement \(\epsilon|\partial_\theta S_1|\) is small on the relevant action scale and the derivatives entering the angle transformation remain controlled. Small \(\epsilon\) alone is insufficient if \(\Delta\) is even smaller. A singular denominator says that this choice to remove the harmonic is unsuitable, not that the underlying mechanical force becomes infinite.

Obtain a nonlinear frequency shift from the angle average

A free oscillator with mass \(m\), small-amplitude frequency \(\omega_0\), and quartic correction \(\beta q^4/4\) has unperturbed coordinates \(q=\sqrt{2I/(m\omega_0)}\sin\theta\). Substituting gives the correction \(\beta I^2\sin^4\theta/(m^2\omega_0^2)\). Since \(\langle\sin^4\theta\rangle=3/8\), the first-order averaged Hamiltonian is \(K=\omega_0J+3\beta J^2/(8m^2\omega_0^2)\). Its derivative gives

\[\omega=\omega_0+3\beta J/(4m^2\omega_0^2).\]

Expressing \(J\simeq m\omega_0 A^2/2\) in terms of leading oscillation amplitude yields the frequency shift \(3\beta A^2/(8m\omega_0)\). Oscillatory harmonics at \(2\theta,4\theta\) change the waveform but do not contribute directly to this averaged first-order clock.

For \(m=0.20\,{\rm kg}\), \(\omega_0=10.0\,{\rm s^{-1}}\), \(\beta=80\,{\rm N/m^3}\), and \(A=0.10\,{\rm m}\), the predicted shift is \(0.150\,{\rm s^{-1}}\), about \(1.5\%\). The nonlinear-to-linear force ratio at maximum displacement is \(\beta A^2/(m\omega_0^2)=0.040\), consistent with the expansion. At twice the amplitude the shift quadruples and the expansion parameter grows to \(0.16\). Measuring period over several amplitudes and plotting the frequency against \(A^2\) tests both the slope and the onset of curvature from higher orders. A positive \(\beta\) stiffens the spring; a negative quartic term is only a local approximation unless higher powers restore global confinement.

Solve the slow motion in the resonant frame

Consider a rotor \(H=I^2/(2{\cal I})-\epsilon V\cos(\theta-\Omega t)\), where \({\cal I}\) is moment of inertia and \(\epsilon V>0\) has energy units. Choose \(F_2=(\theta-\Omega t)P\), so \(P=I\),

\[\phi=\theta-\Omega t,\]
\[K=P^2/(2{\cal I})-\Omega P-\epsilon V\cos\phi.\]

Completing the square gives \(K=(P-P_*)^2/(2{\cal I})-\epsilon V\cos\phi+\mathrm{constant}\) with \(P_*={\cal I}\Omega\). This is an exact pendulum in the rotating frame. It retains the resonant cosine instead of attempting to average it away. Phase locking means libration of \(\phi\) around zero; outside its separatrix the relative phase circulates.

The stable fixed point has \(P=P_*,\phi=0\); its small libration frequency is

\[\omega_{\rm lib}=\sqrt{\epsilon V/{\cal I}}.\]

The saddle at \(\phi=\pi\) has energy \(+\epsilon V\) relative to the same constant. At \(\phi=0\) that energy is reached for \(|P-P_*|=2\sqrt{{\cal I}\epsilon V}\), the resonance half-width in action. Its complete width is twice that number. For \({\cal I}=0.050\,{\rm kg\,m^2}\), \(\Omega=8.0\,{\rm s^{-1}}\) and \(\epsilon V=0.0020\,{\rm J}\), the central action is \(0.40\,{\rm kg\,m^2/s}\); the half-width is \(0.020\,{\rm kg\,m^2/s}\) and small libration period \(31.4\,{\rm s}\). The rotor makes many laboratory turns while its slow relative phase completes one libration.

An initial action inside the quoted half-width is necessary but not sufficient for trapping at every phase. At \(\phi=\pi\), any nonzero \(P-P_*\) is above the saddle energy. Compute the actual rotating-frame energy of the initial state and compare with the saddle. For \(\phi=0,P=0.415\), the kinetic detuning energy is \(0.00225\,{\rm J}\); subtracting \(0.0020\,{\rm J}\) gives \(0.00025\,{\rm J}\), below the saddle. With the same action at \(\phi=\pi\) the value is \(0.00425\,{\rm J}\), above the saddle. Selecting trajectories by mean frequency alone can therefore mix trapped and circulating populations.

Retain a resonant harmonic in a general integrable system

For one action with \(H_0'(I_*)=\Omega\), use the rotating frame and expand \(H_0(I)-\Omega I\) about \(I_*\). The linear term vanishes, leaving \(H_0''(I_*)(I-I_*)^2/2\). Retain the slowly varying resonant cosine and average the rapidly varying harmonics. When \(H_0''\ne0\), this gives the same pendulum normal form with an effective inertia and possibly a reversed sign of the stable phase. The action half-width scales as \(2\sqrt{\epsilon|V/H_0''|}\). Thus a weak perturbation can influence a band of width proportional to \(\sqrt\epsilon\), parametrically larger than a typical nonresonant action ripple proportional to \(\epsilon\).

For an exactly harmonic oscillator \(H_0=\omega_0 I\) the curvature vanishes. One cannot replace \(H_0''\) with zero in the width formula. An exactly tuned additive drive in a linear oscillator instead produces secular growth until damping, detuning, nonlinearity or a finite drive interval intervenes. In multiple actions, one first transforms to the resonant phase \(\mathbf n\cdot\theta-\Omega t\) and complementary angles, preserving the canonical one-form. Other near-resonances can prevent isolation of a single pendulum. Apparent chaos inferred from a short irregular time trace alone needs additional tests, including resolved phase portraits, convergence under time refinement and identification of competing resonances.

Calculate a phase-locking threshold for a drive that sweeps in frequency

The exact rotating rotor also allows a tractable time-dependent drive frequency. Write the pattern angle as \(\alpha(t)\), with \(\Omega(t)=\dot\alpha\). In its frame \(K=P^2/(2{\cal I})-\Omega(t)P-\epsilon V\cos\phi\). Hamilton's equations give

\[\dot\phi=P/{\cal I}-\Omega(t),\]
\[\dot P=-\epsilon V\sin\phi.\]

Define the detuning momentum \(p=P-{\cal I}\Omega(t)\). Even when \(\dot\phi=0\) at one instant, phase locking throughout a ramp requires \(\dot p=0\) and hence \(\sin\phi_0=-{\cal I}\dot\Omega/(\epsilon V)\). The restoring torque must be sufficient to accelerate the rotor along with the changing pattern.

For constant \(\dot\Omega\) and \(|{\cal I}\dot\Omega|<\epsilon V\), a stable locked phase with \(\cos\phi_0>0\) exists. Perturbing the phase by \(\eta\) gives \(\ddot\eta+(\epsilon V/{\cal I})\cos\phi_0\,\eta=0\), so the libration softens as the required torque approaches its maximum. At threshold the stable and unstable stationary phases meet. Above it no fixed phase can provide the torque needed by the ramp. The mere existence of a stable locked solution still does not imply that an arbitrary initial phase and momentum will be captured in it. In a conservative system initial phase-space location and separatrix crossing are essential.

With the previous \({\cal I}=0.050\,{\rm kg\,m^2}\) and \(\epsilon V=0.0020\,{\rm J}\), the largest trackable constant acceleration in this model is \(0.040\,{\rm rad/s^2}\). At half that value the stable phase lags by \(\pi/6\), and the small relative-phase frequency is

\[0.20\sqrt{\cos(\pi/6)}=0.186\,{\rm s^{-1}}.\]

Increasing the drive frequency by \(1.0\,{\rm rad/s}\) at this rate takes \(50\,{\rm s}\), only about one and a half libration periods. Adiabatic capture estimates that additionally require many libration periods may therefore be unconvincing even though the elementary torque threshold is satisfied. A measured lag versus sweep rate assesses the static torque condition, while a full phase trajectory tests dynamic capture.

The same equations admit a tilted effective washboard potential in the accelerating frame, \(U_{\rm rel}=-\epsilon V\cos\phi+{\cal I}\dot\Omega\,\phi\), as long as \(\dot\Omega\) is constant. Its potential difference over a whole \(2\pi\) turn is nonzero, so unwrap the relative phase before using its energy. Mapping every phase back to \([-\pi,\pi)\) hides this difference and produces artificial jumps in the inferred energy. In the original variables the physical motor does work. There is no contradiction between a conserved local accelerating-frame energy for a constant ramp and the changing laboratory kinetic energy of a locked rotor.

Derive secular energy exchange in a pair of weakly coupled oscillators

Take two equal masses \(m\) with individual natural frequency \(\omega_0\) and potential coupling \(k_c(q_1-q_2)^2/2\). The normal coordinates \(Q_\pm=(q_1\pm q_2)/\sqrt2\) have frequencies \(\omega_+=\omega_0\),

\[\omega_-=\sqrt{\omega_0^2+2k_c/m}.\]

Release mass one at displacement \(A\) with both velocities and \(q_2\) initially zero. Superposition gives

\[q_1=A[\cos\omega_+ t+\cos\omega_-t]/2,\]
\[q_2=A[\cos\omega_+t-\cos\omega_-t]/2.\]

The slowly varying difference phase transfers oscillation amplitude between the masses over a time much longer than their rapid periods.

For \(\omega_0=10\,{\rm s^{-1}}\) and \(k_c/m=1.0\,{\rm s^{-2}}\), the exact separation is

\[\sqrt{102}-10=0.0995\,{\rm s^{-1}}.\]

The first near-complete exchange occurs at \(t=\pi/|\omega_--\omega_+|\approx31.6\,{\rm s}\). Over a single fast period the displacements can look almost like uncoupled oscillations, despite large later energy redistribution. Perturbing two isolated oscillators while trying to average the coupling over both independent fast angles would discard a term depending on their slow difference phase. Retaining the resonant combination predicts the exchange; diagonalising the linear model supplies a reference solution for that approximation.

Detune the uncoupled springs so their natural frequencies have a separation large compared with \(k_c/(m\omega_0)\). The coupled normal modes then align more closely with the original oscillators, and the energy exchange cannot reach its former depth. In a nonlinear problem the individual frequencies also depend on action, so the energy transfer can detune itself. To interpret an observed beating envelope, measure both normal frequencies and relative phases. An apparent loss of amplitude in oscillator one can be energy stored in oscillator two, distinguishable from damping through recovery at later times and a balance of the total Hamiltonian.

Estimate the accuracy of averaging over a finite observation time

For a nonresonant perturbation with initially slow action change, one can integrate the first-order drive along the unperturbed trajectory over the actual observation window instead of assuming an infinite-time average. For \(H_1=A\cos(\theta-\Omega t)\), \(\dot I=A\sin(\Delta t+\phi_0)\) to leading order with \(\Delta=\omega_0-\Omega\). Thus \(\Delta I(T)=A[\cos\phi_0-\cos(\Delta T+\phi_0)]/\Delta\). For \(\Delta\ne0\) its absolute value remains at most \(2|A/\Delta|\), and its largest possible value over initial phase is \(2|A\sin(\Delta T/2)/\Delta|\). For \(\Delta\to0\) the phase-dependent result tends to \(AT\sin\phi_0\). The finite-time expression is regular right at resonance and shows exactly when a secular term emerges.

For \(A=0.001\,{\rm J}\), \(T=10\,{\rm s}\) and \(\Delta=0.20\,{\rm s^{-1}}\), the maximum-amplitude change in action over initial phase is \(0.00841\,{\rm J\,s}\). At zero detuning the leading largest change is \(0.0100\,{\rm J\,s}\), only modestly larger because this observation window resolves a frequency band of order \(1/T\). For \(\Delta=2\pi/T\) the change after exactly \(T\) vanishes, although the action swung during the interval. A final-minus-initial measurement alone can mistake a completed nonresonant excursion for an entirely unperturbed trajectory. Recording at an additional end time tests that cancellation.

At leading order a force of finite duration produces this sine-over-detuning envelope even in a linear system. It is an observation-time bandwidth, distinct from the dynamical resonance width proportional to \(\sqrt{\epsilon}\) in the nonlinear rotor. Repeat the experiment with doubled drive duration at fixed amplitude. Features that narrow inversely with the duration are evidence of finite-time spectral selection. A persistent bounded island in a stroboscopic phase portrait, with the predicted amplitude-dependent width and libration frequency, is evidence of the phase-locking dynamics. If drive amplitude is large enough to change the natural frequency appreciably over the interval, the unperturbed phase-integration formula ceases to describe the trajectory.

Construct a stroboscopic section with the right clock

For a time-periodic Hamiltonian sample \((I,\theta)\) every period of the external drive at a fixed drive phase. This creates a two-dimensional area-preserving map for one periodically forced degree of freedom. A phase-locked solution can become a fixed point of this map, and librating trajectories around it can form an island. Sampling at each crossing of a moving coordinate threshold instead can produce a different return map and a different phase weight. A return plot can look irregular simply because the drive phase was not held fixed at the samples.

Consider a rigid rotor commanded at \(\Omega=8\,{\rm s^{-1}}\). Its drive period is

\[2\pi/8=0.7854\,{\rm s}.\]

An acquisition system sampling nominally every \(0.7900\,{\rm s}\) accumulates approximately \(8(0.7900-0.7854)=0.0368\,{\rm rad}\) of phase error per sample. After one hundred samples the sampling phase has moved about \(3.68\,{\rm rad}\), enough to smear a narrow island across a substantial fraction of the plot. Interpolating trajectories to timestamps from a synchronised drive encoder controls that effect. Keep unwrapped relative phase as a separate channel to count actual slips.

A numerical area test on the stroboscopic map should use canonical action and angle or an equivalent canonical coordinate pair. A scatter plot of polar angle against angular velocity for a state-dependent inertia can distort area. Changes of pixel density, trajectory dwell time and resolution near the separatrix further affect visual appearance. To identify a resonance quantitatively, measure the action extent at the stable phase, the local libration period and the saddle crossing energy on independently prepared trajectories. Agreement among those three observations is less easily mimicked by a sampling artefact than the existence of a visually closed loop alone.

Recover a frequency shift by removing a secular term

Canonical averaging yields a frequency correction for the quartic oscillator. An independent derivation makes clear why a small difference in frequency can become a large trajectory error at long times. Write the equation as \(\ddot q+\omega_0^2q+(\beta/m)q^3=0\). Put \(q=A x\), \(\tau=\omega t\), \(\lambda=\beta A^2/(m\omega_0^2)\) and seek \(\omega=\omega_0(1+c\lambda+\cdots)\),

\[x=x_0+\lambda x_1+\cdots.\]

Leading initial conditions \(x(0)=1,x'(0)=0\) give

\[x_0=\cos\tau.\]

At first order one finds

\[x_1''+x_1=2c\cos\tau-\cos^3\tau.\]

Using \(\cos^3\tau=(3\cos\tau+\cos3\tau)/4\), the right-hand side contains a term \((2c-3/4)\cos\tau\) resonant with the leading motion. Choosing \(c=3/8\) removes the forcing that would otherwise generate a term proportional to \(\tau\sin\tau\). The frequency then agrees with the action-angle calculation. The remaining particular solution is \(\cos3\tau/32\). Including the homogeneous term required by \(x_1(0)=x_1'(0)=0\) gives

\[x_1=(\cos3\tau-\cos\tau)/32.\]

This separates the leading frequency shift from an actual third-harmonic distortion of the orbit. Fitting only frequency and overlooking the small third harmonic cannot generally reproduce a precise waveform.

In the earlier example \(\lambda=0.040\), so the displacement amplitude at the third harmonic is \(A\lambda/32=0.125\,{\rm mm}\) at \(A=0.10\,{\rm m}\). The frequency shift is about \(0.15\,{\rm s^{-1}}\). After twenty seconds the uncorrected harmonic prediction is nearly three radians out of phase, far larger than the instantaneous third-harmonic displacement. A small-amplitude correction to the right-hand side can therefore cause an order-one error in the long-time phase. Measuring both the third harmonic and frequency gives two independent checks of the same inferred quartic stiffness. A drive electronics harmonic can mimic the former without producing the amplitude-dependent free-oscillation frequency.

Inspect growth on a parametrically driven orbit

Move the drive away from resonance and examine stroboscopic growth. Determine whether changing phase, amplitude or forcing frequency is responsible.

Test overlap of nearby resonances without declaring chaos from one curve

Take a rotor driven by two weak periodic patterns with distinct angular speeds \(\Omega_1,\Omega_2\). For an isolated pattern \(j\), the earlier calculation gives a resonant centre \(P_j={\cal I}\Omega_j\) and half-width \(\Delta P_j=2\sqrt{{\cal I}\epsilon V_j}\). Comparing the sum of estimated half-widths with the separation \(|P_2-P_1|\) is a practical indication of when the isolated-island approximation may fail. It does not by itself prove every trajectory between the resonances is chaotic. The relative phases, other harmonics and the actual time dependence determine the global structure.

For the same inertia \(0.050\,{\rm kg\,m^2}\), choose \(\Omega_1=8.0\,{\rm s^{-1}}\), \(\Omega_2=8.6\,{\rm s^{-1}}\), and forcing energies \(0.0020\) and \(0.00050\,{\rm J}\). The centres differ by \(0.030\,{\rm kg\,m^2/s}\); the individual half-widths are \(0.020\) and \(0.010\,{\rm kg\,m^2/s}\). Their nominal intervals just touch. Halving both forcing energies shrinks both widths by \(1/\sqrt2\), leaving a gap. Doubling both makes the estimated intervals overlap. The speed difference corresponds to a beat period \(2\pi/0.6=10.47\,{\rm s}\), another clock that must be resolved when recording nearby motion.

Transforming into the first rotating frame makes the first perturbation stationary and leaves the second with time dependence proportional to \(\cos[\phi-(\Omega_2-\Omega_1)t]\). A stroboscopic map sampled at the beat period is therefore more informative than a map with unsynchronised lab sampling. Prepare nearby initial conditions, compare their separation over multiple beat periods, and repeat with a refined symplectic time step and a modestly varied observation interval. Short-term stretching near an ordinary hyperbolic fixed point is possible even in a fully integrable pendulum. Evidence for widespread chaotic transport requires more than the growth of one separation during one saddle passage.

A student finds an apparent threshold by plotting whether the momentum ever crosses the midpoint between the two resonant centres. What additional evidence distinguishes irregular transport from a single large regular libration?

Work through the solution

A regular libration may cross that midpoint repeatedly inside one island, especially near its separatrix. Plot return pairs at a fixed beat phase, check for closed invariant curves or broader area filling, and track unwrapped relative phase to see whether it slips irregularly between the two patterns. Vary initial conditions and compare the statistical trend with the isolated-width estimate. Confirm that energy balance in the driven system includes explicit work by both patterns; a drift of the autonomous single-pattern energy is expected once the second drive is present.

Use phase reversal to isolate the resonant action transfer

For an initially weak sinusoidal drive, prepare two otherwise identical trajectories with initial relative phases differing by \(\pi\). Their leading changes of action during a short resonant pulse have opposite signs, since \(\dot I\) is proportional to \(\sin\phi_0\). Half the difference isolates that phase-sensitive term, whereas half the sum can reveal phase-independent heating or higher-order effects. With drive coefficient \(A=0.001\,{\rm J}\), duration \(2.0\,{\rm s}\) and initial phases \(\pm\pi/2\), short-pulse first-order predictions differ by \(0.0040\,{\rm J\,s}\). The test requires that detuning and nonlinear phase drift over the pulse remain small.

Perform the comparison at several durations. A linear growth of the early phase-sensitive difference is compatible with coherent transfer. Subsequent saturation, reversal or a slow oscillation can reflect the resonant pendulum dynamics once the action shift changes the phase. Friction can also saturate a response, but it produces mechanical energy loss and typically modifies the two phase preparations in different ways from conservative trapping. Measuring work from the applied torque and the full phase history adds the independent information needed to separate those explanations. A final amplitude alone gives neither the sign of the action transfer nor its phase dependence.

Tutorial on weak forcing

Far from resonance let a one-mode perturbation be \(A\cos(\theta-\Omega t)\) with \(A=0.001\,{\rm J}\) and detuning \(0.50\,{\rm s^{-1}}\). What first-order ripple scale should appear in the old action?

Work through the solution

The generating function has amplitude \(A/|\Delta|=0.002\,{\rm J\,s}\). For harmonic number one its angle derivative has the same amplitude, so the old action oscillates about the averaged action on that scale. At detuning \(0.01\,{\rm s^{-1}}\) the nominal ripple would be fifty times larger. Check its size against the action scale and the change of detuning across the ripple before trusting that continuation.

In the rotor example the forcing energy is multiplied by four. What happens to the resonant action, action width and small-amplitude libration period?

Work through the solution

The central action is set by \(H_0'=\Omega\) and stays \(0.40\,{\rm kg\,m^2/s}\). The half-width doubles to \(0.040\,{\rm kg\,m^2/s}\). The libration frequency doubles, so the period halves to \(15.7\,{\rm s}\). These predictions apply to the exact sinusoidal rotor model; other harmonics of a physical drive may also change as its amplitude increases.

A slowly swept drive seems to carry a phase-locked rotor beyond its original resonance band. Is this inconsistent with the static separatrix estimate?

Work through the solution

A varying \(\Omega(t)\) moves the resonance centre \({\cal I}\Omega(t)\). In coordinates measured from that moving centre the equation for detuning momentum has an additional torque-like term \(-{\cal I}\dot\Omega\). Locking can persist if the available restoring torque can track the ramp and the initial motion stays inside the evolving island. The static width describes a fixed-frequency section. Comparing a captured trajectory to its initial centre after the sweep tests the wrong phase portrait.

Compare a resonance driven by a varying stiffness with a rotating additive potential.

David Tong's Hamiltonian course develops canonical variables and adiabatic invariants.