Fundamentals / Physics / Classical mechanics

Classical mechanics · Advanced study

Read the connected derivations and worked problems in sequence, or open each chapter in its home course.

  1. Forces, constraints and a real instrument

    Use virtual work to choose generalised coordinates. Test the predictions for a moving support, a constrained slider and an instrument that exchanges mechanical and electrical energy.

  2. Rotation and finite-amplitude dynamics

    Translate an angular-momentum balance between laboratory and body frames. Follow it from impact to gyroscopic motion and distinguish driven nonlinear response from a change of stability.

  3. From discrete coordinates to a continuum

    Follow two coupled coordinates into a chain and a rod. Compare wave and beam dispersion, derive the role of the mass matrix and use an energy quotient to estimate a frequency.

  4. Hamiltonian motion viewed in other coordinates and frames

    Test phase-space area in a numerical orbit, track an observer change, then compare a relativistic worldline with a semiclassical quantisation condition.

Forces, constraints and a real instrument

Use virtual work to choose generalised coordinates. Test the predictions for a moving support, a constrained slider and an instrument that exchanges mechanical and electrical energy.

  1. From cut forces to local equilibrium
  2. How a continuum balance becomes a finite-element stiffness matrix
  3. Finding a displacement when no load acts in its direction
  4. Coordinates, energy and equivalent inertia
  5. Energy coordinates and Lagrange’s equation
  6. Why a radial slide presses sideways on a rotating guide
  7. When a suspended capacitor loses its stable equilibrium
  8. A moving-coil galvanometer as an electrical and mechanical system
  9. Why an oscillator can move without its packet spreading

From cut forces to local equilibrium

A support reaction tells you the total force entering a part. To predict what an inclined internal surface carries, keep track of both the orientation of the cut and the direction of the force across it.

A force that depends on the surface you choose

Imagine a small triangular wedge cut out of a thin, slowly loaded plate. Its sloping face has unit outward normal \(\mathbf n=(n_x,n_y)\) and area \(A\). The two faces normal to the coordinate axes have areas \(A n_x\) and \(A n_y\) when both components are positive. Name the internal force per unit area on a face its traction. Opposite faces of the same cut carry equal and opposite tractions. Gravity and acceleration act on volume, which shrinks faster than area as the wedge shrinks. Dividing its force balance by \(A\) therefore gives a relation that no longer contains its size.

\[\mathbf t(\mathbf n)=n_x\mathbf t(\mathbf e_x)+n_y\mathbf t(\mathbf e_y)=\boldsymbol\sigma\mathbf n .\]

The columns of the stress matrix are the two coordinate-face tractions. Their linear combination supplies the force on any inclined face. A small square additionally needs zero net moment. To leading order, the shear forces on opposite faces form two couples of opposite sign and equal lever arm. Their balance requires \(\sigma_{xy}=\sigma_{yx}\) for an ordinary material without internal body couples.

Background · Traction
\[\mathbf t(\mathbf n)=\boldsymbol\sigma\mathbf n\]

Specify the plane normal before projecting the force per area into normal and shear parts. A stress component is not a net force until integrated over an area.

Why a gradient of stress carries a body force

Now use a tiny rectangular element of side lengths \(dx,dy\) and unit thickness. The right-face contribution to horizontal force is \(\sigma_{xx}(x+dx,y)dy\); the left face contributes its negative evaluated at \(x\). Their difference is \(\partial_x\sigma_{xx}\,dx\,dy\) to leading order. Resolve the upper and lower shear tractions in the same way. Add a prescribed horizontal force per volume \(b_x\) and divide by volume. Repeating in the vertical direction produces two independent equations.

\[\partial_x\sigma_{xx}+\partial_y\sigma_{xy}+b_x=0,\]
\[\partial_x\sigma_{xy}+\partial_y\sigma_{yy}+b_y=0 .\]

These equations say nothing yet about how much the material stretches. They can test an assumed stress field before the elastic modulus has even been measured. A candidate must also reproduce the applied boundary tractions. Satisfying the interior equations alone leaves many possible stresses.

Worked example · the grip on a diagonal bonding plane

At a measurement point let \(\sigma_{xx}=60,\sigma_{yy}=20,\sigma_{xy}=10\) MPa. The outward normal is \((0.6,0.8)\). Matrix multiplication gives \(\mathbf t=(44,22)\) MPa. Projection along the normal gives \(0.6(44)+0.8(22)=44.0\) MPa tension. Projection on the unit tangent \((-0.8,0.6)\) gives \(-22.0\) MPa. Reversing the tangent changes the sign of reported shear. Reversing the surface normal reverses the traction vector itself. For a uniform 100 mm² patch the force has components 4.40 and 2.20 kN. Using only normal stress would miss the tangential load that the adhesive must transmit.

Worked example · a specimen with a known stress gradient

Stand a bar upright, support it at its bottom and leave the top free. Use upward \(y\), length \(L\), constant density \(\rho\), and tension positive. The vertical equation reads \(d\sigma_{yy}/dy-\rho g=0\). Integrating from the free top gives

\[\sigma_{yy}=\rho g(y-L).\]

For a 3.0 m aluminium bar of density 2700 kg/m³ the base stress is −79.5 kPa. Its upward support traction is positive because the bottom face has downward outward normal. A uniform cross-sectional area of 200 mm² gives a base reaction of 15.9 N, equal to the weight. The local and global checks involve different quantities but must agree.

Find the angles where the shear traction passes through zero. Compare each with an extremum of the normal traction. Change the sign of the imposed xy shear, sketch the new angles before moving the slider, and check whether the two extreme normal stresses change.

Tutorial · test a candidate before using a material law

In a region with \(x,y\) in metres, propose \(\sigma_{xx}=ax,\ \sigma_{xy}=-ay,\ \sigma_{yy}=0\), where \(a=2.0\) MPa/m. Does the field need a body force? Find the traction at \(x=0.30,\ y=0.20\) m on a face normal to positive \(x\).

Check the balance and the boundary reading

The horizontal divergence is \(a-a=0\). The vertical divergence is zero because the shear has no \(x\) variation. No body force is needed. The face sees the first column of the matrix, \((0.60,-0.40)\) MPa. A traction-free exterior at that location would reject this field even though it satisfies both interior equations.

Further reading · A. F. Bower, Applied Mechanics of Solids, §2.3, internal forces and stress

How a continuum balance becomes a finite-element stiffness matrix

A single bar element can predict an end displacement exactly and still miss the stress field inside. The difference follows directly from the balance it is asked to satisfy.

Turn a differential balance into work against a test displacement

Let a straight small-strain bar of length \(L\) have area \(A\), Young’s modulus \(E\), displacement \(u(x)\) and distributed axial load \(q(x)\) in N/m. Tensile axial resultant is \(N=EAu'\). Force balance on a slice gives \(N'+q=0\). Clamp the left end and prescribe a right-end force \(P\). Multiply the balance by any smooth virtual displacement \(v\) satisfying \(v(0)=0\), integrate along the bar, and integrate the derivative of \(N\) by parts.

\[\int_0^L EA\,u'v'\,dx=P\,v(L)+\int_0^L qv\,dx .\]

The boundary term at the clamp disappears because that displacement is prescribed. The unknown reaction can later be recovered by equilibrium. This formulation requires only first derivatives of trial displacements. Piecewise linear displacements are therefore admissible even though their slopes may jump at internal nodes.

Compute the stiffness rather than memorising it

On an element from \(x=0\) to \(h\), interpolate the two nodal displacements linearly:

\[u=(1-x/h)u_1+(x/h)u_2.\]

Let the test displacement have the same two basis functions. A virtual change of the first or second node gives the corresponding row of the balance. Both derivatives are constant with opposite signs.

\[B=\begin{bmatrix}-1/h&1/h\end{bmatrix},\qquad K_e=\int_0^h B^T EA B\,dx=\frac{EA}{h}\begin{bmatrix}1&-1\\-1&1\end{bmatrix}.\]

For a constant distributed load, each basis function integrates to \(h/2\), so each node receives equivalent load \(qh/2\). The two rows of stiffness sum to zero. A uniform translation stores no strain energy. At a shared node the neighbouring virtual-work contributions add because both elements refer to the same unknown displacement.

Worked example · compare a nodal value with the stress in a cell

Take a 1 m bar with \(EA=2.0\) MN, uniform \(q=1200\) N/m and free right end. Exact balance integrated from \(N(L)=0\) gives

\[N=q(L-x).\]

Integrating strain from the clamp produces \(u=q(Lx-x^2/2)/(EA)\). The free-end displacement is 0.300 mm. With a single element the free row of the discrete system has stiffness \(EA/L\) and load \(qL/2\), giving the same displacement. Yet its piecewise constant axial force is

\[EAu(L)/L=600\,\mathrm{N}.\]

The exact force ranges from 1200 N at the clamp to zero at the free end. The numerical force represents the mean over the cell.

Worked example · see what doubling resolution changes

Divide the bar into two equal elements. The middle node receives 600 N from both halves together, while the free node receives 300 N. The right element carries 300 N. Equilibrium of the middle node then puts 900 N in the left element. Their extensions are \(900(0.5)/(2\times10^6)=0.225\) mm and 0.075 mm. Nodal displacements agree with the exact quadratic at both nodes. The largest one-sided stress-resultant error within either element is now 300 N instead of 600 N. Comparing only tip displacements would hide this improvement.

Double the number of cells until the force error is below 100 N for the baseline load. Inspect the values on both sides of an element boundary and explain why agreement in tip displacement alone could have ended this refinement study too early.

A related OneSimulation calculation

Compare the bar’s nodal displacement with a OneSimulation truss assembled from axial members. Run the area-doubling case and check the predicted inverse-area change in displacement.

Run the truss stiffness comparison in OneSimulation

Tutorial · find the support reaction from the discarded row

For the two-element calculation, recover the left reaction using the assembled loads and displacement. Then derive an expression for the maximum axial-force error with \(n\) equal elements. Why can two different mesh studies give two different conclusions?

Evaluate the clamp row and the local profile

The left internal nodal force is \(-900\) N. The left external distributed-load share is \(+300\) N. Equilibrium requires an additional reaction \(-1200\) N. On an element of width \(L/n\) the exact linearly varying force changes by \(qL/n\); its constant midpoint approximation misses an endpoint by \(qL/(2n)\). Tip displacement and maximum local force answer different engineering questions. Mesh convergence must therefore name its measured quantity.

Further reading · A. F. Bower, Applied Mechanics of Solids, §8.1, finite-element equations for elastic solids

Finding a displacement when no load acts in its direction

A displacement gauge measures the lateral travel of a truss joint under a vertical load. A force balance determines the bar forces, but cannot directly give the sideways motion. Introduce a dummy load, differentiate the stored energy and recover the gauge reading with its sign.

Link an external force coordinate to stored strain energy

For a linear elastic pin-jointed truss, neglect support movement and temperature changes and assume small displacements. Bar i has constant axial force \(N_i\), length \(L_i\), modulus \(E_i\) and area \(A_i\). Integrating its force against its extension gives

\[U_i=N_i^2L_i/(2E_iA_i).\]

Superposition makes each force linear in the external loads. A small increment of load changes the equilibrium configuration. For a linear elastic conservative system the complementary energy equals U and its derivative with respect to an independent applied force gives displacement along that force.

\[U=\sum_i{N_i^2L_i\over2E_iA_i},\]
\[\delta_Q={\partial U\over\partial Q}=\sum_i {N_i n_i L_i\over E_iA_i},\]
\[n_i={\partial N_i\over\partial Q}.\]

The derivative \(n_i\) is the member force produced per unit trial load in the requested direction, with all other independent loads held fixed. Solve this trial equilibrium even if \(Q=0\) physically. Setting \(Q=0\) before differentiating erases its entire contribution. As a dimensional check, \(n_i\) is dimensionless when Q and \(N_i\) both use newtons, and the sum has dimensions of length.

Compute the two-bar flexibility matrix

A joint hangs from two overhead pins by straight bars slanting up-left and up-right, each at 45° to horizontal. Positive joint coordinates are rightward and downward. Let V be the applied downward force and H the rightward force; bars carry tension positive. Equilibrium gives

\[N_L=(V+H)/\sqrt2,\ N_R=(V-H)/\sqrt2.\]

Define bar axial compliances \(c_i=L_i/(E_iA_i)\). Insert the forces into the energy and differentiate with respect to H and V independently:

\[\begin{bmatrix}\delta_H\\\delta_V\end{bmatrix}={1\over2}\begin{bmatrix}c_L+c_R&c_L-c_R\\c_L-c_R&c_L+c_R\end{bmatrix}\begin{bmatrix}H\\V\end{bmatrix}.\]

The cross coefficients are equal because the mixed derivatives of the stored energy commute. This is Maxwell–Betti reciprocity. A cross displacement can be negative even though both direct compliances and stored energy are positive. The eigenvalues of this particular flexibility matrix are \(c_L,c_R\), corresponding to the two independent bar-extension directions.

Predict a sideways gauge reading and reverse the test

Take \(c_L=0.0020,\ c_R=0.0040\) mm/N. At \(V=100\) N and \(H=0\), both members carry 70.71 N. The vertical displacement is \(0.300\) mm, and the horizontal displacement is −0.100 mm. The more compliant right bar stretches farther; the joint moves left and down to accommodate both bar extensions. Half the vertical load times its displacement gives 15 N mm of strain energy. Summing the two bar energies independently gives the same result.

Apply instead \(H=100\) N and \(V=0\), assuming the slender right bar remains stable under compression. The vertical reading is −0.100 mm and horizontal motion is +0.300 mm. Thus the lateral response to the vertical test predicts the vertical response to a lateral test of equal magnitude. Equalizing bar areas would remove the cross response if the lengths and moduli matched. In practice a pin with clearance or a cable that goes slack can break the assumed linear bilateral response.

Exchange the left and right compliances. Before looking at the new graph, mark which readout should reverse sign and which should remain equal. Then set the two values alike and identify the symmetry that removes cross-coupling.

A related OneSimulation calculation

Use the course truss to test the same flexibility scaling on a larger assembly. Double every member area at fixed loads and geometry, then compare the joint displacement with the separately calculated chord force.

Run the OneSimulation truss experiment

Tutorial · identify the two member compliances from one load case

A 200 N vertical test gives +0.50 mm down and +0.10 mm right. Estimate each compliance and predict horizontal travel under simultaneous 60 N rightward and 100 N downward loading. How can one additional gauge reading test reciprocity?

Show the identification and loading prediction

Direct compliance is \(0.50/200=0.0025\) mm/N and cross compliance is \(0.10/200=0.0005\) mm/N. Adding and subtracting gives \(c_L=0.0030,\ c_R=0.0020\) mm/N. The predicted horizontal motion is

\[0.0025(60)+0.0005(100)=0.200\,\mathrm{mm}.\]

A 200 N rightward test should give +0.10 mm down. A disagreement after changing load direction suggests checking seating and the linear-elastic domain before assigning a single compliance to each bar.

Further reading · David Roylance, MIT 3.11 · truss displacements, strain energy and Castigliano’s theorem

Coordinates, energy and equivalent inertia

Reduce a constrained drive to one coordinate and use a power balance to check its equation of motion.

From first principles

Refer moving masses to one shaft by matching kinetic energy

Choose shaft angle \(\theta\) as the independent coordinate of a rigid mechanism. Suppose the angular speeds of its rotating components and the linear speeds of its translating components are fixed multiples of \(\dot\theta\). Assume ideal constraints with no slip, so specifying \(\theta\) and \(\dot\theta\) fixes the motion. Total kinetic energy is the sum of the individual translational and rotational energies.

\[T=\sum_i\tfrac12m_i v_i^2+\sum_j\tfrac12J_j\omega_j^2=\tfrac12 J_{\rm eq}\dot\theta^2 .\]

Here rotational inertias are about the component centres or fixed rotation axes as appropriate, with no motion counted twice. Dividing by \(\dot\theta^2/2\) gives the inertia seen at the chosen shaft.

\[J_{\rm eq}=\sum_i m_i\left(\frac{v_i}{\dot\theta}\right)^2+\sum_jJ_j\left(\frac{\omega_j}{\dot\theta}\right)^2 .\]

A force on a translating part contributes the shaft torque that gives the same instantaneous power,

\[T_i\dot\theta=F_iv_i.\]

For constant speed ratios and constant equivalent inertia, energy balance then gives

\[\sum T_i=J_{\rm eq}\ddot\theta.\]

The square on the speed ratio in inertia reflection follows from energy and is essential when changing the reference shaft.

Background · Generalised inertia
\[M(q)=2T/\dot q^2\]

This scalar definition applies to one independent moving coordinate with purely quadratic kinetic energy. Changing the coordinate changes the numerical inertia.

Derivation and applications

Derive the extra drive term for position-dependent inertia

A motor can require a torque at constant angular speed if a mechanism changes the linear speed of its payload during a revolution. Use a single angular coordinate \(\theta\), input inertia \(J_0\), and a guided mass \(m\) with position \(x=f(\theta)\). Assume a rigid lossless linkage and a horizontal guide, so gravity does no work. The kinematic constraint sets the payload velocity and fixes the instantaneous reflected inertia by equating the total kinetic energy to that of one shaft.

\[\dot x=f'(\theta)\dot\theta,\]
\[T=\tfrac12[J_0+m(f')^2]\dot\theta^2=\tfrac12 J(\theta)\dot\theta^2 .\]

Differentiate the energy with respect to time. The shaft input supplies the full change in kinetic energy through its power \(\tau\dot\theta\). Equating the two and cancelling speed gives the required drive torque. At a turning point the same equation follows directly from Lagrange's equation.

\[\tau=J(\theta)\ddot\theta+\tfrac12J'(\theta)\dot\theta^2.\]

For an ideal sinusoidal guide \(x=a\sin\theta\), substitution makes the speed-squared contribution explicit. It changes sign within each turn because the translating payload first absorbs and then releases kinetic energy.

\[J=J_0+ma^2\cos^2\theta,\]
\[\tau=J\ddot\theta-ma^2\sin\theta\cos\theta\,\dot\theta^2.\]

A constant-inertia approximation omits this alternating torque even if it predicts the total energy averaged over a turn. Its integral over a full constant-speed revolution vanishes as the payload returns to its initial speed.

Worked example

Predict a constant-speed torque measurement

A 2.00 kg carriage follows \(x=0.0500\sin\theta\) metres with shaft speed 20.0 rad/s. At \(\theta=45^\circ\) its required torque is \(-2.00(0.0500)^2(0.5)(20.0)^2=-1.00\) N m. The motor absorbs 20.0 W at that instant. At 135° the required torque is \(+1.00\) N m. Both readings occur at the same shaft speed and the same reflected inertia.

Change the inputs and inspect this calculation below

Second application

Identify a payload from the torque harmonic

A separate horizontal mechanism has stroke parameter \(a=40.0\) mm and runs at 30.0 rad/s. After removing its empty-linkage trace, the measured second-harmonic torque amplitude is 0.720 N m. Since \(|\sin\theta\cos\theta|_{\max}=1/2\), the fitted mass is

\[2(0.720)/[(0.0400)^2(30.0)^2]=1.00\,\mathrm{kg}.\]

A run at half speed should show 0.180 N m amplitude if the measured harmonic is inertial.

Interactive calculation · Change the inputs of this example

Use the adjustable quantities to test the two worked calculations above. The plot recomputes this derivation’s balance or constitutive relation; its numerical readout reports the quantities needed for the forward calculation and the inverse or design question. Keep the fixed assumptions stated in the readout when comparing with the example values.

Follow the motion through a mechanism

A motor accelerating a load feels inertia from components that turn at different speeds. Simply adding their physical moments of inertia would treat all of those speeds as equal. Instead, choose one independent coordinate and express every kinetic energy in terms of it. No-slip belts, rigid gears and inextensible cables give useful constraints when their compliance and backlash are negligible over the motion of interest.

Consider a drum of radius \(R\) winding a cable carrying a vertically guided mass \(m\). Choose the drum angle \(\theta\) positive when the mass rises. If the effective winding radius is constant, displacement, velocity and acceleration satisfy \(x=R\theta\), \(\dot x=R\dot\theta\) and \(\ddot x=R\ddot\theta\). These equalities are kinematic. A torque relation requires force balance or work in addition. When the cable builds successive layers on a spool, the effective radius varies with angle and the constant-ratio assumption must be revisited.

Background · What changes when the reflected inertia depends on position?

For a piston linkage let the piston position be \(x(q)\), where \(q\) is shaft angle. Its kinetic energy contributes \(m(dx/dq)^2\) to the shaft inertia. As the linkage moves through a stroke this contribution varies, even for a piston of constant mass. Use the energy derivative to find the generalised inertial torque.

\[\frac{d}{dt}\frac{\partial T}{\partial\dot q}-\frac{\partial T}{\partial q}=J(q)\ddot q+\tfrac12J^{\prime}(q)\dot q^2,\]
\[T=\tfrac12J(q)\dot q^2.\]

Uniform shaft speed sets the first term to zero. The second term represents kinetic energy flowing into and out of the accelerating piston. Its shaft work over a complete cycle vanishes when the mechanism returns to the same angle and speed. An average torque meter can consequently miss a substantial alternating torque.

Reflect mass and forces to a common shaft

Let \(J_d\) be the drum inertia. Add the rotational energy of the drum to the translational energy of the load, then express both in terms of the drum speed.

\[\begin{aligned} K&=\tfrac12 J_d\dot\theta^2+\tfrac12 m\dot x^2\\ &=\tfrac12\bigl(J_d+mR^2\bigr)\dot\theta^2,\\ J_{\rm eq}&=J_d+mR^2. \end{aligned}\]

A small positive angle raises the mass through \(R\,d\theta\), increasing its potential energy by \(mgR\,d\theta\). Thus gravity contributes a resisting torque \(mgR\). A positive applied torque \(T_d\) supplies power \(T_d\dot\theta\). Applying the energy balance gives the equation of motion.

\[\begin{aligned} \frac{d}{dt}\left(\tfrac12J_{\rm eq}\dot\theta^2+mgR\theta\right)&=T_d\dot\theta,\\ J_{\rm eq}\ddot\theta&=T_d-mgR . \end{aligned}\]

The second expression also holds at zero speed by force balance. It separates steady effort, needed to hold or raise the load against gravity, from the extra effort needed to accelerate the two inertias. With the motor disconnected, an ideal light cable does not make the mass accelerate quite at \(g\), since the drum must gain rotational kinetic energy too.

Calculate a motor torque

A drum with \(R=0.10\) m and \(J_d=0.15\,\mathrm{kg\,m^2}\) lifts 25 kg. A reduction gear gives

\[\dot\theta_m=4\dot\theta.\]

The rotor has inertia \(J_m=0.020\,\mathrm{kg\,m^2}\). Refer the train to the motor coordinate. The drum-plus-load inertia becomes \((0.15+25(0.10)^2)/4^2=0.025\,\mathrm{kg\,m^2}\), so the total at the motor is 0.045 kg·m². Gravity contributes \(25(9.81)(0.10)/4=6.13\) N·m at that shaft.

Demand upward acceleration 0.80 m/s². The drum must accelerate at 8.0 rad/s² and the motor at 32 rad/s². The motor supplies

\[6.13+0.045(32)=7.57\,\mathrm{N\,m}.\]

A separate check at load speed 1.0 m/s gives motor speed 40 rad/s. Its 303 W then divide into about 245 W raising the weight and 57.6 W increasing kinetic energy. Ideal gearing changes torque and angular speed inversely while preserving transmitted power.

Identify which approximation controls the answer

At constant lifting speed the inertial torque vanishes. At constant angular acceleration, doubling the transmission ratio decreases reflected load inertia by four but also doubles the motor acceleration for the same load motion. The rotor’s own inertia remains at the motor and eventually dominates. A gear ratio therefore cannot reduce every part of acceleration torque indefinitely. Bearings, cables and gears also dissipate energy or store it elastically. Include their effects when a measured transient shows a repeatable lag, oscillation or loss that an ideal rigid constraint cannot explain.

Is the largest reduction always preferable?

For a prescribed drum acceleration \(\alpha_d\) and reduction \(n=\omega_m/\omega_d\), collect gravity and load-side acceleration into the drum demand \(T_d=mgR+(J_d+mR^2)\alpha_d\). The motor torque becomes

\[T_m=T_d/n+J_mn\alpha_d.\]

The first term falls as reduction rises, while rotor acceleration grows. Differentiating with respect to \(n\) gives an ideal minimum at \(n=\sqrt{T_d/(J_m\alpha_d)}\). For the stated lift \(T_d=27.73\) N m and \(\alpha_d=8\) rad/s², giving \(n=13.2\) approximately. This torque minimum assumes the motor can achieve the associated speed. At a drum speed of 10 rad/s it would turn at 132 rad/s, over three times its speed with the original reduction. Shaft-speed and voltage limits can therefore select a different practical ratio.

Derive speed ripple from a torque diagram

A crank-driven machine can require very different torque at different angles even when the average load is constant. A flywheel stores kinetic energy when driving torque exceeds resisting torque, then releases it when the load peaks. Refer all inertias and torques to the same shaft and suppose the equivalent inertia \(J\) is constant. The signed difference \(M(\theta)=T_{\rm drive}-T_{\rm load}\) gives

\[J\dot\omega=M.\]

For continuous positive rotation write \(\dot\omega=\omega\,d\omega/d\theta\). Integration between two angular positions gives an exact work–energy relation.

\[\tfrac12 J[\omega_b^2-\omega_a^2]=\int_{\theta_a}^{\theta_b}M(\theta)\,d\theta .\]

A periodic steady sequence requires zero net area under the torque-difference curve over a whole revolution. Its cumulative area nevertheless has a maximum and a minimum. Their difference \(\Delta E\) is the energy that must swing into and out of the rotating inertia. Define mean speed in the ripple specification as the arithmetic mean of the two extreme speeds \(\bar\omega=(\omega_{\max}+\omega_{\min})/2\) and fluctuation coefficient \(C_s=(\omega_{\max}-\omega_{\min})/\bar\omega\). Factoring the difference of squared speeds gives

\[J=\Delta E/(\bar\omega^2 C_s).\]

A time-average tachometer reading approximates this mean for small ripple, but the definitions are distinct for a strongly pulsating shaft.

Size a flywheel for a repeating work demand

A laboratory indexing machine runs at a nominal 300 rpm. A motor supplies approximately constant 30 N m. The resisting torque is 70 N m for the first quarter revolution and a lower constant value for the remaining three quarters. Equate total input and output work over each revolution: \(30(2\pi)=70(\pi/2)+T_l(3\pi/2)\), giving \(T_l=16.67\,\mathrm{N\,m}\). The first quarter produces a 40 N m deficit, so the cumulative energy falls by \(40(\pi/2)=62.83\,\mathrm J\). The remaining 13.33 N m surplus restores exactly that energy.

For a maximum peak-to-peak speed variation of 2% and \(\bar\omega=31.42\,\mathrm{rad/s}\), total inertia required is

\[62.83/[31.42^2(0.02)]=3.18\,\mathrm{kg\,m^2}.\]

If the machine already has 1.00 kg m² on this shaft, an extra 2.18 kg m² is required. A thin-ring estimate at mean radius 0.30 m gives mass \(2.18/0.30^2=24.2\,\mathrm{kg}\). A solid disc of the same radius needs twice the mass because its material lies closer to the shaft. At half speed the same torque-versus-angle work deficit requires four times the total inertia for the same fractional ripple. Startup torque or bearing load may therefore limit an inertia-based solution even when steady motor power suffices.

The torque balance also predicts where a shaft encoder should record the two speed extremes. The energy derivative with respect to angle equals the torque difference, so the maximum occurs just before the high resisting plateau begins and the minimum where that plateau ends. The maximum torque itself persists over a finite angular interval, while minimum speed occurs only at its end. This distinction matters when timing a torque pulse from a speed record: the sign of the speed derivative, rather than the absolute value of speed, identifies when the flywheel is discharging.

Energy coordinates and Lagrange’s equation

Derive a coupled translation–rotation equation with a rolling constraint and identify which reaction disappears from the energy balance.

From first principles

Derive the equation of motion using one independent coordinate

An ideal geometric constraint ties several motions together. Choose an independent coordinate \(q\) that automatically satisfies it and express kinetic energy \(T(q,\dot q)\) and potential energy \(V(q)\) in that coordinate. In the principle of virtual work, ideal constraint reactions do no work along admissible small motions. The balance of inertial, conservative and applied virtual work gives Lagrange's equation

\[\frac d{dt}\frac{\partial T}{\partial\dot q}-\frac{\partial T}{\partial q}+\frac{\partial V}{\partial q}=Q_{\rm nc},\]
\[\delta W_{\rm nc}=Q_{\rm nc}\,\delta q .\]

For a rigid cylinder rolling on a stationary surface without slip, take centre displacement \(q=x\) and angular speed \(\dot x/R\). Its translation and rotation contribute to kinetic energy; a horizontal spring attached at the centre supplies the potential.

\[T=\tfrac12(m+I_G/R^2)\dot x^2,\]
\[V=\tfrac12kx^2,\qquad (m+I_G/R^2)\ddot x+kx=Q_{\rm nc}.\]

Static friction supplies the contact reaction required for rolling. The contact point has zero instantaneous velocity, so that reaction contributes zero power here. The solution must still demand no more friction than the surface can supply.

Derivation and applications

Derive the effective stiffness of a pendulum on an accelerating cart

A continuously accelerating support changes both the equilibrium direction and the small-oscillation frequency of a hanging load. Model a point mass \(m\) on a massless rigid link of length \(\ell\) with an ideal hinge. Let the support move horizontally with imposed coordinate \(X(t)\) and measure angle \(\theta\) from the downward vertical towards positive horizontal displacement. Ignore drag. With mass coordinates \(x=X+\ell\sin\theta\) and \(y=-\ell\cos\theta\), the kinetic and potential energies are

\[T=\tfrac12m[\dot X^2+2\dot X\ell\dot\theta\cos\theta+\ell^2\dot\theta^2],\]
\[V=-mg\ell\cos\theta .\]

Differentiate \(\partial T/\partial\dot\theta\) with respect to time and subtract \(\partial T/\partial\theta\). The velocity cross terms involving \(\dot X\dot\theta\) cancel, leaving a forcing term set by support acceleration, independent of support speed.

\[\ell\ddot\theta+g\sin\theta+\ddot X\cos\theta=0 .\]

For constant support acceleration \(a\), a stationary angle obeys \(\tan\theta_0=-a/g\). Choose the hanging equilibrium. Expanding the restoring term about \(\theta_0\) gives the effective gravitational acceleration along this new direction and the frequency of small oscillations.

\[\theta=\theta_0+\eta,\]
\[\ddot\eta+\frac{\sqrt{g^2+a^2}}{\ell}\eta=0,\]
\[\omega_n=\sqrt{\frac{\sqrt{g^2+a^2}}{\ell}}.\]

A positive cart acceleration tips the pendulum backwards. The first correction to angle is linear in \(a/g\), while the first relative correction to frequency is quadratic. The exact equilibrium result holds at finite \(a\); the frequency expression requires small oscillations about it.

Worked example

Predict a suspended sensor's direction

A cart accelerates at 3.00 m/s² carrying a pendulum of length 0.600 m. Its steady angle is

\[-\arctan(3.00/9.81)=-17.0^\circ.\]

The effective acceleration is 10.26 m/s², giving \(\omega_n=4.13\) rad/s and period 1.52 s. A sensor that treats the pendulum direction as vertical during this manoeuvre would carry the full angular bias.

Change the inputs and inspect this calculation below

Second application

Infer acceleration from a steady deflection

In another rig a 0.400 m pendulum settles 8.00° backwards after weak damping removes its initial swing. Constant acceleration is

\[9.81\tan8.00^\circ=1.38\,\mathrm{m/s^2}.\]

The effective gravity is \(9.81/\cos8.00^\circ=9.91\) m/s², predicting a small-oscillation period \(2\pi\sqrt{0.400/9.91}=1.26\) s for weak damping. The angle is much more sensitive to modest acceleration than the period.

Interactive calculation · Change the inputs of this example

Use the adjustable quantities to test the two worked calculations above. The plot recomputes this derivation’s balance or constitutive relation; its numerical readout reports the quantities needed for the forward calculation and the inverse or design question. Keep the fixed assumptions stated in the readout when comparing with the example values.

Let geometry remove a reaction

A cylinder rolls along a horizontal rail while a spring attached at its centre pulls it towards equilibrium. The rail friction is essential for rolling, but an ideal contact point is instantaneously at rest and the friction force does no work. One can write separate translational and rotational equations with an unknown friction force. Alternatively choose a coordinate that satisfies rolling from the beginning. The reduced energy then contains the rotational inertia without introducing a contact reaction.

Take the rightward displacement \(x\) of the cylinder centre as independent coordinate and clockwise angle as positive. On the fixed surface the no-slip condition gives \(x=R\theta\), up to a reference offset. A body of total mass \(m\) and centre inertia \(I_G\) has kinetic energy from both translation and rotation. A centre spring with stiffness \(k\) has elastic potential \(kx^2/2\).

\[T=\tfrac12(m+I_G/R^2)\dot x^2,\]
\[V=\tfrac12kx^2 .\]

Connect energy to a dynamical equation

The virtual work of a horizontal force \(F\) applied at the centre is \(F\delta x\). In this coordinate its generalised force is simply \(F\). A torque \(M\) acting clockwise would do \(M\delta\theta=(M/R)\delta x\) and would enter as a force \(M/R\). With a centre damper \(c\), the dissipative force is \(-c\dot x\). Lagrange’s equation for this system becomes

\[\frac{d}{dt}\frac{\partial T}{\partial\dot x}-\frac{\partial T}{\partial x}+\frac{\partial V}{\partial x}=F-c\dot x,\qquad (m+I_G/R^2)\ddot x+c\dot x+kx=F .\]

For coordinates whose inertia depends on position, retain both derivatives involving \(T\). The differentiation of \(\partial T/\partial\dot x\) then generates a term proportional to \(\dot x^2\), part of which cancels \(\partial T/\partial x\). Simply multiplying a configuration-dependent effective mass by acceleration would miss the remaining term.

Predict a frequency and check rolling

A solid cylinder has \(m=8.0\,\mathrm{kg}\), \(R=0.10\,\mathrm m\), and \(I_G=mR^2/2=0.040\,\mathrm{kg\,m^2}\). The effective mass seen by the spring is

\[8+0.040/0.10^2=12.0\,\mathrm{kg}.\]

With \(k=480\,\mathrm{N/m}\) and negligible damping the natural frequency is

\[\sqrt{480/12}/(2\pi)=1.007\,\mathrm{Hz}.\]

Release it from rest at \(x=+0.060\,\mathrm m\). Its initial acceleration is

\[-480(0.060)/12=-2.40\,\mathrm{m/s^2}.\]

Writing only the centre’s translation and ignoring rotation would overpredict the acceleration magnitude.

Reconstruct the previously eliminated contact force from translation. The spring pulls leftwards with 28.8 N and the centre accelerates leftwards with \(m\ddot x=-19.2\,\mathrm N\). Friction must therefore point rightwards with 9.6 N to supply the appropriate angular acceleration. The coefficient of static friction must be at least \(9.6/(8\times9.81)=0.122\) at release. For a smaller coefficient, the assumed rolling constraint fails and the model needs separate rotational and translational coordinates together with a slipping contact law.

Compare two cylinders with identical mass

A thin-walled hoop of the same mass and rolling radius has \(I_G=mR^2\). With the original spring its effective mass doubles the translational mass, giving natural frequency \(\sqrt{480/16}/(2\pi)=0.872\,\mathrm{Hz}\). A no-slip ring-down can therefore distinguish two bodies whose masses and outer dimensions are identical but whose internal mass distributions differ.

Use a cyclic coordinate to reduce coupled motion

Mount a pendulum on a cart that can roll horizontally on a level frictionless guide. Let cart displacement be \(x\), bob angle \(\theta\) from downward vertical, length \(l\), bob mass \(m\) and remaining cart mass \(M\). The bob position is \((x+l\sin\theta,-l\cos\theta)\). Differentiating and squaring its speed gives a cross term \(2l\dot x\dot\theta\cos\theta\) because cart and pendulum velocities need not be perpendicular. The full energy terms are

\[T=\tfrac12(M+m)\dot x^2+ml\cos\theta\,\dot x\dot\theta+\tfrac12ml^2\dot\theta^2,\]
\[V=mgl(1-\cos\theta).\]

Horizontal position itself does not occur in either expression. It is a cyclic coordinate, so \(\partial T/\partial\dot x=(M+m)\dot x+ml\cos\theta\,\dot\theta\) is conserved if no external horizontal force acts. This is horizontal momentum written in generalised coordinates. The pendulum equation from Lagrange’s equation is

\[l\ddot\theta+\ddot x\cos\theta+g\sin\theta=0.\]

For small swings from rest, differentiate the momentum relation and linearise to obtain

\[\ddot x=-ml\ddot\theta/(M+m).\]

Substituting gives

\[[lM/(M+m)]\ddot\theta+g\theta=0.\]

Free horizontal motion makes the small-swing frequency larger than for a clamped cart, by \(\sqrt{(M+m)/M}\). This result reflects motion about the system’s horizontally constrained centre of mass. The extra degree of freedom also permits uniform horizontal translation at zero frequency. Its presence does not imply an additional oscillatory mode.

Predict opposing cart travel in a release test

Let \(M=3.0\) kg, \(m=1.0\) kg and \(l=0.60\) m. Clamp the cart: the oscillation period would be \(2\pi\sqrt{0.60/9.81}=1.55\,\mathrm s\). Release its horizontal guide and the period becomes

\[2\pi\sqrt{0.60(3)/(9.81\times4)}=1.35\,\mathrm s.\]

At release the bob is at \(\theta_0=10^\circ\) and both bodies are at rest. Because horizontal momentum remains zero, integrate the exact relation to obtain

\[(M+m)x+ml\sin\theta=\text{constant}.\]

As the bob first crosses the vertical, the cart has shifted \(ml\sin10^\circ/(M+m)=0.0260\,\mathrm m\) to the right from its starting point.

At the vertical the potential-energy decrease is

\[mgl(1-\cos10^\circ)=0.0894\,\mathrm J.\]

Substituting \(\dot x=-ml\dot\theta/(M+m)\) into the kinetic energy at this instant gives effective angular inertia \(ml^2M/(M+m)=0.270\,\mathrm{kg\,m^2}\). Thus the angular speed magnitude is \(\sqrt{2(0.0894)/0.270}=0.814\,\mathrm{rad/s}\), and the cart speed magnitude is \(0.15(0.814)=0.122\,\mathrm{m/s}\). The frequency estimate used a small-angle approximation; the centre-of-mass and energy results at the vertical used the actual release angle. A horizontal cable pulling on the cart or measurable wheel friction would change the conserved momentum and should be measured before attributing deviations solely to pendulum nonlinearity.

The two-sensor experiment can measure conservation without estimating acceleration. Track the cart position and bob angle from video, then plot \(x+[ml/(M+m)]\sin\theta\). For the chosen masses its value should stay constant at the initial offset despite the cart and pendulum both moving. A steadily sloping line indicates nonzero initial horizontal momentum; a curved departure suggests an external force or tracking bias. This separation is useful because rolling resistance can be weak enough to leave the first measured period nearly unchanged while producing visible drift over several cycles. The conserved combination is specific to the inertial laboratory coordinate, so a camera fixed on the moving cart needs a separate record of cart displacement.

Why a radial slide presses sideways on a rotating guide

A low-friction carriage moves along a radial slot in a horizontal turntable. It can move at constant speed relative to the guide and still require a changing force. Keeping track of the moving basis exposes both acceleration components.

Differentiate the direction vectors

Let \(r(t)\) be displacement from the turntable centre along the guide and \(\theta(t)\) the angle of the guide. In fixed Cartesian components the radial unit vector is \((\cos\theta,\sin\theta)\) and the tangential vector is \((-\sin\theta,\cos\theta)\). Differentiating shows \(\dot{\mathbf e}_r=\dot\theta\mathbf e_\theta\) and \(\dot{\mathbf e}_\theta=-\dot\theta\mathbf e_r\). Apply the product rule to the position \(r\mathbf e_r\) to obtain the velocity and then differentiate both terms.

\[\mathbf v=\dot r\mathbf e_r+r\dot\theta\mathbf e_\theta,\]
\[\mathbf a=(\ddot r-r\dot\theta^2)\mathbf e_r+(r\ddot\theta+2\dot r\dot\theta)\mathbf e_\theta .\]

One contribution to \(2\dot r\dot\theta\) comes from differentiating the radially directed velocity as its basis turns. The other comes from differentiating the magnitude of the tangential velocity \(r\dot\theta\). For positive rotation and outward travel, both point in the positive tangential direction. The expression already gives the acceleration in an inertial frame. Multiplying by mass gives the net real force required on the carriage.

Check sideways force with angular momentum and energy

Hold the angular speed at \(\Omega\), and drive the radial position as \(r=r_0+ut\) with constant u. Gravity and support cancel vertically. The net radial drive force is \(-mr\Omega^2\) and the guide must exert a side force \(2mu\Omega\). The resulting torque about the axis is \(2mru\Omega\). This equals the derivative of the angular momentum \(mr^2\Omega\), providing an independent sign and factor-of-two check.

\[P_r+P_\theta=(-mr\Omega^2)u+(2mu\Omega)(r\Omega)=mru\Omega^2={d\over dt}\left[{m\over2}(u^2+r^2\Omega^2)\right].\]

The side force does work in the laboratory since its contact point moves tangentially. Describing a smooth slot as doing zero work without specifying the frame would lose this energy transfer. The radial actuator absorbs power during outward constant-speed travel.

Forces and power on two passes

A 0.40 kg carriage moves from \(r=0.10\) m outwards at 0.20 m/s, with \(\Omega=5\) rad/s. At \(t=0.50\) s it reaches 0.20 m. Its radial force is −2.0 N, tangential force is +0.80 N and net mechanical power is

\[−2(0.20)+0.80(1)=0.40\,\mathrm{W}.\]

Setting u to zero removes the side force, while the guide still requires a radial restraint to maintain circular travel.

On an inward pass at −0.20 m/s, evaluated at the same radius, the radial force remains −2.0 N. The side force reverses and the turntable now receives angular momentum from the carriage. The magnitude of each force depends on a different combination of radius, radial speed and angular speed. Use the trace to distinguish the constant side load from the changing inward force.

Set radial speed to zero before changing angular speed. Restore outward motion and predict how doubling angular speed changes the two force components at the same radius. Use mechanical power as a separate sign check.

Tutorial · reconstruct angular acceleration from a side load

At one instant the carriage is at 0.20 m, with mass 0.40 kg, \(\dot r=0.10\) m/s and \(\dot\theta=4\) rad/s. A tangential force transducer measures +0.48 N. Estimate \(\ddot\theta\) and explain what a rigidly fixed carriage would read at the same instant.

Show the reconstruction

The tangential acceleration is

\[0.48/0.40=1.20\,\mathrm{m/s^2}.\]

Subtract \(2(0.10)(4)=0.80\) m/s² to isolate \(r\ddot\theta=0.40\) m/s². Thus \(\ddot\theta=2.0\) rad/s². With no radial sliding the second term disappears and the side load falls to \(0.40(0.20)(2.0)=0.16\) N. The radial centripetal component points along the guide and does not enter this reading.

Further reading · MIT 2.003SC · velocity, acceleration and rotational motion

When a suspended capacitor loses its stable equilibrium

An electrode suspended on a spring can remain motionless at a bias that makes the calculated electrostatic force grow as it moves. Static force balance alone misses the voltage at which that equilibrium disappears. Deriving the small-signal frequency gives an independent measurement of the same instability.

Start with the electrical and mechanical control variables

A movable conducting plate of area \(A\) faces a fixed electrode. Its unstressed gap is \(g\). Define positive displacement \(x\) toward the fixed plate, with spring force \(-kx\), mass \(m\) and viscous damping coefficient \(b\). For \(0\le x<g\) assume ideal parallel plates, negligible tilt and fringing, constant \(\epsilon\), and a linear elastic spring. The capacitance is \(C(x)=\epsilon A/(g-x)\). The model ends when the plates approach contact or when the suspending structure departs from its specified elastic law. It cannot by itself calculate adhesion, contact resistance or post-contact motion.

Before differentiating electrical energy specify whether the source holds voltage or charge. At fixed charge \(Q\), electrical energy is \(Q^2/[2C(x)]\), and its negative displacement derivative gives the force toward increasing \(x\). At fixed voltage \(V\), a source supplies \(VdQ\) as the plates move. The appropriate potential for mechanical equilibrium is the spring energy plus the field energy minus \(QV\), which here is \(\mathcal U_V=kx^2/2-C(x)V^2/2\). Differentiating gives the outward spring reaction and the attractive electrical force \(F_e=V^2C'(x)/2=\epsilon A V^2/[2(g-x)^2]\). An independent derivation multiplies the conductor pressure \(\epsilon E^2/2\) by area with \(E=V/(g-x)\). Both give a positive force. Replacing the source potential with the stored energy at fixed voltage would reverse its sign.

Locate all equilibria before choosing a branch

Define \(s=x/g\) and \(\Lambda=\epsilon A V^2/(2kg^3)\). The static force equation reduces to

\[\Lambda=s(1-s)^2.\]

At a specified voltage one can find \(s\) by scanning the curve \(s\mapsto s(1-s)^2\) over the physically admissible interval \(0\le s<1\). Its derivative is \((1-s)(1-3s)\), giving an interior maximum \(4/27\) at \(s=1/3\). For \(0<\Lambda<4/27\) there are two physical roots. The smaller is a local minimum of \(\mathcal U_V\) while the larger is a local maximum. Their merger is a fold of the static equilibrium branch:

\[x_{\rm pi}=g/3,\]
\[V_{\rm pi}=\sqrt{\frac{8kg^3}{27\epsilon A}} .\]

The often-quoted one-third displacement is the result for a linear spring, ideal voltage drive and this capacitance geometry. It is not a universal travel limit determined by the gap alone. Additional mechanical restoring forces or a different electrical boundary condition change the fold. Neither positive net electrical force nor the mere existence of a real solution is evidence of stable operation. A root finder started near the almost closed gap can converge to the unstable large-displacement root with an extremely small static residual.

The two branches can be distinguished experimentally without deliberately reaching contact. At static equilibrium \(kx=F_e\). Linearise the total force about \(x_0\) while maintaining voltage at its prescribed value. The incremental restoring stiffness and corresponding weak-damping natural frequency are

\[k_{\rm eff}=k-\frac{\epsilon A V^2}{(g-x_0)^3}=k\,\frac{1-3s_0}{1-s_0},\]
\[f_{\rm small}=\frac1{2\pi}\sqrt{\frac{k_{\rm eff}}m}.\]

A small push toward the fixed electrode is restored only when \(k_{\rm eff}>0\). The familiar electrostatic softening is the reason the smaller equilibrium is stable. The small-signal frequency tends to zero as the fold is approached. With appreciable damping the observed amplitude resonance and ringdown oscillation have slightly different frequencies; fit the full mechanical response rather than identifying an arbitrary peak with the undamped \(f_{\rm small}\).

Background · Can a sudden step pull in a statically stable actuator?

An ideal voltage step applied to a plate initially at rest can push it past the unstable equilibrium. During the motion at fixed voltage the effective potential per \(kg^2\) is \(u(s)=s^2/2-b/[2(1-s)]\), where \(s=x/g\) and \(b=\epsilon A V^2/(kg^3)\). Neglect damping and begin at \(s=0\). At the dynamical threshold the initial energy equals the saddle energy and the slope vanishes at that saddle.

\[u(s)=u(0)\ \Longrightarrow\ b=s(1-s),\]
\[u'(s)=0\ \Longrightarrow\ b=2s(1-s)^2.\]

The two equations meet at \(s=1/2\), \(b=1/4\). The quasistatic fold gives \(b=8/27\). Consequently the undamped step threshold is only \(\sqrt{27/32}\simeq0.919\) times the slow-ramp pull-in voltage. A device operated between the two voltages can survive a ramp but collapse after an abrupt step. Dissipation and the actual rise time change this prediction.

Reconstruct the prepared state from a frequency measurement

Take a 100 μm square electrode in vacuum, \(g=2.00\) μm, \(k=2.00\) N/m and \(m=5.00\times10^{-10}\) kg. The predicted pull-in voltage is 7.32 V, the zero-bias capacitance 44.3 fF and the zero-bias natural frequency 10.07 kHz. On the low branch \(s_0=0.20\) gives \(x_0=0.400\) μm and voltage 6.80 V. Then \(k_{\rm eff}=1.00\) N/m and the small-signal frequency is 7.12 kHz. A measured frequency ratio \(f/f_0\) can be inverted via \(s=(1-r)/(3-r)\), where \(r=(f/f_0)^2\). The result is independent of absolute optical displacement calibration if the mass and underlying spring stiffness have not changed during the bias sweep.

At the same voltage the other physical root is \(s=0.48769\). A numerical force balance at this root would give the same supply reading but a negative tangent stiffness. The ideal voltage-controlled potential in units \(kg^2\) is \(u(s)=s^2/2-\Lambda/(1-s)\). The barrier height \(kg^2[u(0.48769)-u(0.20)]\) for this example is \(7.26\times10^{-14}\) J. A sufficiently energetic disturbance can carry the plate out of the stable basin even below static pull-in. This is different from loss of the static equilibrium itself. A quasistatic model predicts the existence and local stiffness of the equilibrium; a transient simulation must additionally specify initial displacement, velocity, drive ramp and damping.

Change the preparation to fixed charge

Disconnect a perfect isolated capacitor after placing a known charge \(Q\) on it, neglecting leakage and parasitic capacitance. Then \(F_Q=Q^2/(2\epsilon A)\) is independent of the remaining gap, because \(D=Q/A\) is fixed. Static equilibrium is \(x_0=Q^2/(2\epsilon A k)\), with incremental stiffness exactly \(k\). At the same initial voltage and gap the instantaneous force agrees with the voltage-controlled value, since \(Q=C(x_0)V\). The derivatives governing subsequent motion differ. At \(x_0=0.400\) μm the required charge in the numerical example is \(0.376\) pC. After ideal electrical isolation the small-signal frequency returns to the underlying elastic value even though the loaded static position stays the same.

Ideal charge isolation is delicate in a small device. A fixed parasitic capacitance \(C_p\) from the isolated node to a reference means the conserved charge belongs to \(C(x)+C_p\). Motion changes the fraction of total charge residing on the actuator. The electrical energy becomes \(Q_{\rm total}^2/[2(C+C_p)]\), so the force is \(Q_{\rm total}^2 C'/[2(C+C_p)^2]\), generally displacement dependent. If \(C_p\gg C\), the node voltage changes little with a small displacement and behavior is closer to voltage control. Interpreting an observed softening after disconnecting the supply as evidence against electromagnetic force balance would overlook this boundary change.

A different practical preparation puts an intentional series capacitor \(C_s\) between a fixed voltage supply and the actuator. Its series combination is \(C_{\rm ser}=\epsilon A/[g-x+\epsilon A/C_s]\). For static mechanical work at fixed supply voltage use \(F=V_s^2 C_{\rm ser}'/2\). Defining an effective electrical spacing \(g_e=g+\epsilon A/C_s\), the static fold occurs at \(x=g_e/3\) if this lies within the open physical gap. If \(\epsilon A/C_s\ge2g\), contact would occur before any such static fold in the ideal model. This calculation shows a direct connection between passive circuit design and allowed mechanical travel, while making clear that the maximum actuator voltage can differ from the voltage printed on the supply.

Why a sudden voltage change can reach contact below static pull-in

For a rapid electrical step the plate has a position and velocity inherited from the previous preparation. Suppose it starts at rest at its zero-bias position, the supply steps to a constant \(V\) much faster than a mechanical period, and mechanical damping is initially negligible. Immediately after the step, energy in the mechanical potential \(u(s)=s^2/2-\Lambda/(1-s)\) is \(u(0)=-\Lambda\) in units of \(kg^2\). Motion under this constant voltage can reach the force barrier if the initial value exceeds the potential at the unstable stationary point. This question can be solved by comparing two energies without integrating an entire time history.

Let \(s_b\) be the unstable root of \(\Lambda=s_b(1-s_b)^2\). At threshold the initial state is on the separatrix, the trajectory separating oscillations in the well from excursions to the closing gap. Set \(u(0)=u(s_b)\), subtract the two expressions and cancel \(s_b\) from the nontrivial solution. The two conditions become

\[\Lambda={s_b(1-s_b)\over2},\]
\[\Lambda=s_b(1-s_b)^2 .\]

Thus \(s_b=1/2\), \(\Lambda=1/8\), and the ideal undamped step threshold is

\[V_{\rm step}/V_{\rm pi}=\sqrt{27/32}=0.919.\]

In our example this is 6.72 V. A slow increase to 6.80 V leads to the observed stable 0.40 μm deflection, whereas a sudden ideal voltage step to the same value from rest at the origin contains enough energy to escape the well. Starting on the biased equilibrium before applying a small perturbation is a different experiment. The direction of the threshold shift makes physical sense: damping removes mechanical energy during the first excursion, and a slow ramp allows the equilibrium to move with the plate. The undamped value specifies a particular ideal initial-value experiment, rather than a voltage rating for an unspecified drive waveform.

One can check a simulated step by monitoring \(m\dot{x}^2/2+\mathcal U_V\) after the supply settles. With viscous damping its derivative is \(-b\dot{x}^2\), so any sustained increase during a constant-voltage segment points to a numerical or modelling error. Before the step ends there is an explicit drive term \(-CV\dot V\) in this energy balance. The mechanical potential already includes the source work. Adding \(V\dot Q\) to the same balance a second time gives an artificial energy imbalance. A transient solver should stop at a physically specified minimum gap instead of marching across the singularity; a statement about contact time depends on what counts as contact.

A finite source resistance changes what a ringdown measures

A dc supply with series resistance \(R\) can maintain the static voltage accurately while failing to hold the actuator voltage fixed over a mechanical cycle. Let its steady node voltage be \(V\), with equilibrium capacitance \(C=C(x_0)\). A small sinusoidal displacement \(\delta x\) causes current \(i\omega(C\,\delta v+VC'\delta x)\) into the actuator. The small-signal supply voltage is zero, so \(\delta v=-R i\). Eliminating current gives

\[\delta v=-\frac{V C'}C\frac{i\omega\tau}{1+i\omega\tau}\delta x,\]
\[\tau=RC .\]

Linearise \(F_e=V^2 C'/2\) allowing both voltage and position to vary. The direct derivative is \(K_{e0}=V^2C''/2\), while the change from node voltage is \(VC'\,\delta v\). For an ideal parallel plate \(C''/2=(C')^2/C\), so the two terms combine to the simple complex relation \(\delta F_e=K_{e0}\delta x/(1+i\omega\tau)\). At low frequency the electrical force follows displacement with its fixed-voltage slope. At high frequency the slope vanishes, as it must for an isolated ideal plate carrying fixed charge over one oscillation. At intermediate frequency a motion-induced current dissipates heat in the resistor.

Bring \(\delta F_e\) to the left side of the mechanical equation. Its real part subtracts \(K_{e0}/[1+(\omega\tau)^2]\) from the mechanical stiffness; its imaginary part adds \(K_{e0}\tau/[1+(\omega\tau)^2]\) to the viscous damping coefficient. This damping is positive for a passive resistor. At \(s=0.20\) the static electrical stiffness is \(1.00\) N/m, the operating capacitance is 55.3 fF and \(R=400\) MΩ gives

\[\tau=22.1\,\mu\mathrm s.\]

A 7.2 kHz interrogation has \(\omega\tau\simeq1\). Only about half the static electrical slope survives and the added damping is roughly \(11\,\mu\mathrm{N\,s/m}\). Treat these as frequency-dependent coefficients in the driven susceptibility. Substituting the low-frequency stiffness into a ringdown fit at this frequency would give the wrong displacement when the fitted frequency is inverted. Fitting the complex response at several frequencies avoids that ambiguity.

An experiment can separate the circuit effect from mechanical nonlinearity. Keep the same static bias and displacement, insert two known series resistances, then measure both in-phase and quadrature response to a small sinusoidal force. The displaced equilibrium should remain essentially unchanged at dc if leakage stays small. A stiffness dispersion and dissipative peak that shift in proportion to \(1/R\) support an electrical cause. Then repeat at a smaller oscillation amplitude. Amplitude-dependent frequency shift that survives the change in resistance can arise from nonlinear spring or force curvature, which the first-order susceptibility leaves out. A simple change to the external circuit has turned the slope of an energy curve into a prediction for a measured phase lag.

Compare force intersections for voltage and charge control

The initial gap is 2.00 μm, the area is a 100 μm square and the mass is 0.50 μg. Use the voltage ratio to move the force curve through the fold. At 93% of pull-in the low-displacement fixed-voltage intersection has a positive restoring slope. The high-displacement intersection has a negative slope. The charge-controlled line is prepared at the selected voltage at the original open gap. It gives the same initial force but a different subsequent curve. The readout reports both open-gap roots even if the upper root lies beyond the plotted interval. At the baseline stiffness, static pull-in is 7.32 V.

Change the spring stiffness while holding the voltage ratio fixed. The dimensionless locations of the roots stay in place, but their dimensional force and small-signal frequency change. This checks the scaling that eliminated the physical dimensions in the fold equation. Then set the ratio between the dynamic step threshold and unity. Use the force intersections to locate the potential maximum and sketch the area between attraction and spring reaction from the initial position. Its signed integral supplies the work which distinguishes a bounded excursion from crossing the maximum. The displayed curves predict initial-value behaviour only when combined with a choice of initial kinetic energy and damping.

Tutorial · distinguish stability from force balance

Infer a gap fraction and a bias from a resonance

An otherwise identical actuator shows \(f/f_0=0.80\) at a stable fixed voltage. Find the deflection as a fraction of gap, the voltage relative to pull-in, and the independent capacitance change. What could spoil this comparison?

Work through the solution

Here \(r=0.64\) and \(s=(1-0.64)/(3-0.64)=0.1525\). The bias ratio is \(\sqrt{(27/4)s(1-s)^2}=0.860\) approximately. The parallel-plate capacitance should rise by \(1/(1-s)-1=18.0\%\). Measure the change relative to the active capacitance after removing any constant wiring capacitance. Disagreement can come from changing mode shape, a nonlinear spring, a tilted plate, a measurement frequency above the electrical equilibration bandwidth, or an incorrect extraction of mechanical stiffness from a strongly damped resonance. With a measured gap and mode shape these explanations yield different quantitative corrections.

Choose a series capacitor to move the static fold

The original 44.3 fF zero-bias actuator should remain on its stable slope as far as \(x=0.60g\), ignoring contact and other limits. Find the series capacitance whose fold falls exactly at this displacement. How much supply voltage appears across the actuator at that point?

Work through the solution

Set \(g_e/3=0.60g\), giving \(\epsilon A/C_s=0.80g\) and \(C_s=C(0)/0.80=55.4\) fF. At \(0.60g\) the actuator capacitance is \(C(0)/0.40=110.7\) fF. Series charge is identical in both capacitors, so

\[V_{\rm act}/V_{\rm supply}=C_s/(C_s+C_{\rm act})=1/3.\]

Choosing exactly this value places operation at vanishing ideal stiffness, so a strictly positive measured restoring slope at that displacement requires a smaller series capacitance or a different margin. The result is sensitive to additional capacitance connected between the series node and ground.

Further reading

A moving-coil galvanometer as an electrical and mechanical system

A scale division records an angle, yet the quantity marked on the dial is electric current. A spring, a magnetic field and the resistance of the external measuring circuit connect the two. Derive the calibration, predict how a pointer approaches its reading, and find which experiment measures the charge of a short pulse.

Convert the force on two straight sides into a torque

A light rectangular coil has \(N\) turns, active length \(l\), width \(w\), and area per turn \(A=lw\). It pivots about an axis parallel to its long sides. Shaped pole pieces confine an approximately radial magnetic field of magnitude \(B\) to an air gap. Over the working angular range the magnetic field is perpendicular to the active wire and lies approximately in the plane of the coil. An elementary length carrying conventional current \(i\) experiences \(d\mathbf F=i\,d\mathbf l\times\mathbf B\). The two long sides carry current in opposite directions and experience forces of equal magnitude \(N ilB\). Acting with lever arms \(w/2\), the forces make a couple whose torque is \(NiAB\). Their net force is approximately zero. The short ends supply negligible torque about the pivot under the ideal geometry.

Write \(K=NAB\), and choose the positive sense of current to give positive torque. Its units are \({\rm N\,m/A}\). In a uniform Cartesian field an ordinary rigid loop instead gives torque \(NiAB\sin\alpha\), where \(\alpha\) is the angle between its normal and the field. The radial gap maintains the factor equivalent to \(\sin\alpha\) close to unity as the pointer turns. This is a design choice that produces a nearly linear scale. If a measured calibration curve flattens at a large angle, field nonuniformity and a nonlinear torsion spring are candidate causes that can be tested separately.

For a soft torsion spring with stiffness \(\kappa\), the return torque is \(-\kappa\theta\) at small deflections from the zero-current setting. At static equilibrium \(\theta=Ki/\kappa\). With \(N=200\), \(A=1.00\,{\rm cm^2}\), \(B=0.250\,{\rm T}\) and \(\kappa=8.0\times10^{-4}\,{\rm N\,m/rad}\), the torque constant is \(0.0050\,{\rm N\,m/A}\) and the current sensitivity is \(6.25\,{\rm rad/A}\). A \(5.0\,{\rm mA}\) current turns the pointer through \(0.03125\,{\rm rad}\), about \(1.79^\circ\). A mirror mounted on the same axle deflects a reflected laser through twice this angle. At a screen distance of \(0.50\,{\rm m}\) the spot shifts \(0.50\tan(2\theta)=31.3\,{\rm mm}\), making the small mechanical rotation easy to resolve.

Recover the reciprocal voltage from work

Now rotate the coil through a small positive angle while it carries positive current. The electromagnetic torque does mechanical work \(Ki\,d\theta\). The voltage associated with the motion must therefore draw electrical work \(i e_{\rm back}\,dt\) of equal magnitude when the motor torque assists that motion. This gives the back-emf relation \(e_{\rm back}=K\dot\theta\), measured as a positive drop in the motor sign convention. Its coefficient has units \({\rm V\,s/rad}\), numerically the same SI coefficient as the torque constant. One can also derive it from the motional emf on the two active sides. Each moves at speed \((w/2)\dot\theta\), crosses field \(B\), and generates a voltage \(Bl(w/2)\dot\theta\) along its wire. The two contributions add over every turn.

Let \(J\) denote the rotational inertia, \(b\) the mechanical viscous damping coefficient, \(L\) the coil inductance and \(R\) the sum of winding plus external series resistance seen by a voltage source \(v(t)\). The electromechanical equations are

\[J\ddot\theta+b\dot\theta+\kappa\theta=Ki,\]
\[L\dot i+Ri+K\dot\theta=v(t).\]

Multiplying the first equation by \(\dot\theta\) and the second by \(i\) eliminates the coupling power \(Ki\dot\theta\). The result says that source power \(vi\) equals the rate of increase of \(J\dot\theta^2/2+\kappa\theta^2/2+Li^2/2\), plus \(b\dot\theta^2+Ri^2\). This identity fixes the relative signs of the torque and back emf. If a sign mistake turns a passive closed coil into a self-accelerating pointer, the same mistake produces a residual coupling term in this power balance. Mechanical friction and winding heat represent distinct sinks even though both can damp the observed displacement.

Predict overshoot and find a critical external resistance

If the electrical relaxation time \(L/R\) is short compared with the oscillation time \(1/\sqrt{\kappa/J}\), set \(i\simeq(v-K\dot\theta)/R\). Substituting into the mechanical equation increases its effective damping to \(b_{\rm eff}=b+K^2/R\). Set \(v=0\) when discussing free relaxation with the electrical terminals connected through a resistor. A moving shorted coil generates a current that opposes its motion. Opening the circuit instead suppresses that current and leaves the mechanical damping. An ideal current source holding specified current through all pointer motions also changes the back-emf response because its output voltage adjusts to enforce that current.

The undamped angular frequency is \(\omega_0=\sqrt{\kappa/J}\) and the damping ratio is

\[\zeta=b_{\rm eff}/(2\sqrt{\kappa J}).\]

Take \(J=2.0\times10^{-6}\,{\rm kg\,m^2}\), \(b=1.6\times10^{-5}\,{\rm N\,m\,s/rad}\), and the preceding \(K,\kappa\). Then \(\omega_0=20.0\,{\rm rad/s}\), \(2\sqrt{\kappa J}=8.0\times10^{-5}\,{\rm N\,m\,s/rad}\), and an open circuit gives \(\zeta=0.20\). With \(R=1.00\,\Omega\) the electric contribution to damping is \(2.50\times10^{-5}\,{\rm N\,m\,s/rad}\), giving \(\zeta=0.5125\). For a voltage step the ideal fractional overshoot in the reduced model is

\[\exp[-\pi\zeta/\sqrt{1-\zeta^2}]=0.153.\]

The first peak occurs after \(\pi/(\omega_0\sqrt{1-\zeta^2})=0.183\,{\rm s}\).

Critical damping occurs when \(b+K^2/R=2\sqrt{\kappa J}\), which requires a total resistance of about \(0.391\,\Omega\). A winding resistance of \(0.300\,\Omega\) therefore leaves \(0.091\,\Omega\) for external source and leads. If the winding alone exceeds the target resistance, a simple passive external series resistor cannot reach this damping in the reduced model. A finite \(L\) must also be checked: with \(L=5.0\,{\rm mH}\) and \(R=1.0\,\Omega\), \(\omega_0L/R=0.10\), so the approximation provides a useful starting estimate. Reducing \(R\) indefinitely eventually invalidates the elimination of current. The full pair of equations then predicts the damping and frequency dependence.

Distinguish a charge impulse from a slow current reading

Suppose a brief imposed current pulse ends long before the pointer has turned appreciably. Integrating the torque equation over that interval gives

\[J\Delta\dot\theta\simeq K\int i\,dt=Kq.\]

The initial signal is now angular velocity proportional to total transmitted charge. For weak subsequent damping, the first excursion is approximately \(Kq/(J\omega_0)\). A dose of \(20\,\mu{\rm C}\) gives \(2.50\,{\rm mrad}\) with the instrument above, corresponding to about \(2.50\,{\rm mm}\) on the mirror scale. Two current pulses of identical charge but different shapes give nearly the same reading if both are short on the mechanical time scale. Their peak currents can be entirely different.

For appreciable damping, use the impulse solution \(\theta(t)=Kq\,e^{-\zeta\omega_0t}\sin(\omega_dt)/(J\omega_d)\), with \(\omega_d=\omega_0\sqrt{1-\zeta^2}\) for an underdamped pointer. Its maximum obeys \(\tan(\omega_dt_p)=\omega_d/(\zeta\omega_0)\) in the first quarter cycle. Substitution corrects the ballistic calibration instead of treating the damped peak as an undamped amplitude. The state of the external circuit after the pulse matters because it determines \(\zeta\) during the throw. A calibration pulse should leave the measuring circuit connected in the same way as the unknown pulse.

Measure the torque constant without assuming the magnetic field

The preceding design calculation multiplies turn count, active area and a nominal air-gap induction. An independent calibration can measure the same constant without knowing the field distribution along every wire. Move the pointer through a small controlled angle while measuring its open-circuit voltage with a high-impedance instrument. In the same working interval the voltage is \(K(\theta)\dot\theta\) up to a polarity choice. Integrating the voltage over the sweep gives \(\int_{\theta_1}^{\theta_2}K(\theta)\,d\theta\). If \(K\) is constant this is simply \(K\Delta\theta\), independent of sweep speed. It is often easier to integrate a recorded voltage pulse accurately than to differentiate the angle trace to obtain instantaneous speed.

For a sweep through \(0.0800\,{\rm rad}\), suppose the measured voltage integral is \(0.401\,{\rm mV\,s}\). The generator constant is \(5.01\times10^{-3}\,{\rm V\,s/rad}\). Independently add a known small torque to the spring and measure its static angle. A torque \(32.0\,\mu{\rm N\,m}\) rotates the pointer by \(0.0400\,{\rm rad}\), giving \(\kappa=8.00\times10^{-4}\,{\rm N\,m/rad}\). Combining the two measurements predicts a current sensitivity of \(6.27\,{\rm rad/A}\). Splitting the sweep into smaller equal angular intervals tests whether the measured \(K\) depends on angle. Sweeping backwards should reverse the integrated voltage. A voltage offset instead contributes its offset times duration, so repeating at two sweep speeds helps separate it.

A dynamic cross-check uses free decay under two load conditions. Measure the exponential decay rate \(\alpha_{\rm open}\) with a high-impedance voltage probe and \(\alpha_R\) with a known total resistance in the closed circuit. In the short-electrical-time limit, subtraction of the two damping laws yields

\[K^2=2JR(\alpha_R-\alpha_{\rm open}).\]

With \(J=2.0\times10^{-6}\,{\rm kg\,m^2}\), \(R=1.00\,\Omega\), and decay rates \(4.0\) and \(10.25\,{\rm s^{-1}}\), this gives

\[K=0.0050\,{\rm N\,m/A}.\]

The method needs two identifiable decay rates and independent inertia. If the loaded response is overdamped, the envelope of two oscillation peaks is no longer available; fit the full two-real-pole response to the measured displacement.

Keep the third dynamical variable in a frequency-response experiment

For a sinusoidal voltage at angular frequency \(\omega\) the exact linear transduction law follows by eliminating the complex current after transforming both differential equations. The mechanical impedance in angular-displacement form is \(\kappa-J\omega^2+i\omega b\); the winding impedance is \(R+i\omega L\). Using phasors with time dependence \(e^{i\omega t}\) gives

\[\frac{\Theta}{V}=\frac{K}{(R+i\omega L)(\kappa-J\omega^2+i\omega b)+i\omega K^2}.\]

At zero frequency the gain is \(K/(R\kappa)\) and the phase tends to zero, as the static calibration requires. At a sufficiently high frequency both the electrical and inertial impedances grow. For \(L>0\) the magnitude approaches \(K/(LJ\omega^3)\). The reduced model with the current eliminated algebraically falls only as \(1/\omega^2\). The change of the asymptotic slope provides an experimental way to distinguish finite inductance from an incorrectly adjusted viscous damping constant. Beyond the working band of a real instrument, elastic modes of the pointer or parasitic capacitance can enter before that asymptote is resolved.

At the nominal undamped frequency \(20\,{\rm rad/s}\), with \(R=1.0\,\Omega\) and \(L=5.0\,{\rm mH}\), the stiffness and inertia terms cancel. The denominator becomes \(-\omega^2 L b+i\omega(Rb+K^2)\), or approximately \(-0.000032+i\,0.000820\) in consistent SI units. Its magnitude gives about \(6.09\,{\rm rad/V}\). A sinusoid of \(1.0\,{\rm mV}\) peak produces about \(6.09\,{\rm mrad}\) peak, whereas the static response to \(1.0\,{\rm mV}\) is \(6.25\,{\rm mrad}\). The phases differ radically despite their similar amplitudes: near this frequency the pointer lags by about \(92.2^\circ\). A gain-only calibration at a single frequency would miss the phase lag.

Change the electrical load and compare two step models

In the live graph the source voltage is chosen anew at each resistance to give a final current of \(5.0\,{\rm mA}\) after the pointer settles. That convention keeps the final angle common to all curves and isolates the transient response of the load. The full model retains \(i,\theta,\dot\theta\); the second curve sets \(L\dot i=0\). Predict first which trace should start flatter. With finite inductance the current initially vanishes and increases at a finite rate. The initial torque and angular acceleration therefore vanish, while the reduced model applies a finite torque immediately. Increasing the inductance makes that distinction easier to see, especially when the electrical response time becomes comparable to the period of mechanical oscillation.

How could a student change the static range of the instrument without changing its suspension or its torsional stiffness?

Work through the solution

For a dc ammeter, connect a calibrated shunt resistance in parallel with the coil, allowing only a known fraction of total current into it. With a coil winding resistance \(0.300\,\Omega\) and a \(0.0333\,\Omega\) shunt, the coil carries about ten percent of a steady terminal current and the indicated full-scale terminal current increases about tenfold. The total circuit seen by a motional voltage during a pointer oscillation depends on the shunt and source impedance, so the static range multiplier does not by itself give the new damping. For a voltmeter, a series resistance instead sets the current produced by an applied terminal voltage. In both cases record the resistance network whenever reporting a dynamic response.

Estimate the back action on the signal being measured

A galvanometer becomes part of the circuit it observes. Suppose a source with open-circuit voltage \(10.0\,{\rm mV}\) and internal resistance \(2.00\,\Omega\) drives a coil of resistance \(0.300\,\Omega\). After settling, the current is \(4.35\,{\rm mA}\) and the pointer turns by \(27.2\,{\rm mrad}\). The undisturbed short-circuit current of the source would have been \(5.00\,{\rm mA}\). Interpreting the indicated value as the current that would flow with a perfect zero-resistance meter underestimates that quantity by about thirteen percent. Measuring the open-circuit voltage instead requires a sufficiently large input resistance, another electrical boundary condition.

During pointer motion the disturbance includes the back emf as well as winding resistance. If the same coil is briefly turning at \(0.40\,{\rm rad/s}\) it develops a \(2.0\,{\rm mV}\) back emf. Neglecting inductance for that estimate, the resulting current is

\[(10.0-2.0)\,{\rm mV}/2.30\,\Omega=3.48\,{\rm mA}.\]

The deflection therefore contains information about both the source and the pointer's earlier motion. A static calibration alone cannot recover a rapid source waveform. A known source resistance and the two coupled dynamic equations provide a way to estimate the waveform from synchronised angle and current measurements.

Tutorial on calibration and transient identification

A current source produces a static mirror shift of \(12.5\,{\rm mm}\) on a screen \(0.50\,{\rm m}\) away. Estimate the current and identify a reversible test for an angular zero offset.

Work through the solution

Use \(\theta=\frac12\arctan(0.0125/0.50)=0.01250\,{\rm rad}\) and \(i=\kappa\theta/K=2.00\,{\rm mA}\). Repeat with reversed current of equal magnitude. Half the difference of the two angles cancels a fixed angular zero offset and isolates the response odd in current. A changing temperature during reversal can alter the spring or winding resistance, so alternate the order and record the zero afterwards if the required uncertainty is small.

For an open-circuit free decay the ratio of two successive same-side positive peak angles is 3.60. Their time separation is \(0.321\,{\rm s}\). Recover the mechanical parameters that can be inferred if \(J\) is known.

Work through the solution

The logarithmic decrement is \(\ln 3.60=1.281\). The decay rate is \(\alpha=1.281/0.321=3.99\,{\rm s^{-1}}\), and the damped angular frequency is

\[2\pi/0.321=19.57\,{\rm rad/s}.\]

Then \(\omega_0=\sqrt{\omega_d^2+\alpha^2}=19.97\,{\rm rad/s}\),

\[b=2J\alpha=1.60\times10^{-5}\,{\rm N\,m\,s/rad},\]
\[\kappa=J\omega_0^2=7.98\times10^{-4}\,{\rm N\,m/rad}.\]

This identification assumes viscous damping and a sufficiently high impedance to make the electrical damping negligible.

Explore how motion generates voltage in the induction chapter.

Why an oscillator can move without its packet spreading

Start with the measured mass and curvature of a potential. Factor its Hamiltonian, prove the energy ladder, construct a freely moving Gaussian from number states and find when squeezing or anharmonicity changes that prediction.

Use the equilibrium length and momentum scales

Near a stable minimum a smooth one-dimensional potential has expansion \(V(x)=V(0)+m\omega^2x^2/2+O(x^3)\) after the origin is shifted to the minimum. Choose the arbitrary zero \(V(0)=0\). The fitted curvature is \(m\omega^2\), not \(\omega\) itself; measuring both the oscillation frequency and restoring slope separately identifies the effective mass. The classical energy ellipse becomes a circle if position and momentum are rescaled consistently. Define \(X=\sqrt{m\omega/\hbar}\,x\) and \(P=p/\sqrt{m\hbar\omega}\), so \([X,P]=i\) and \(H=\hbar\omega(X^2+P^2)/2\). Since position and momentum fail to commute, multiplying two linear factors must retain their order.

Set \(a=(X+iP)/\sqrt2\) and \(a^\dagger=(X-iP)/\sqrt2\). Then

\[a^\dagger a=(X^2+P^2+i[X,P])/2=(X^2+P^2-1)/2.\]

Thus \(H=\hbar\omega(N+1/2)\), \(N=a^\dagger a\) and \([a,a^\dagger]=1\). For every normalised state in the relevant domain \(\langle N\rangle=\|a|\psi\rangle\|^2\ge0\). The additive half quantum is an energy contribution that survives in a state with vanishing classical means of \(x,p\); discarding the commutator would lose it. Transition frequencies within an ideal ladder measure energy differences, so those frequencies alone cannot determine an absolute zero of energy.

Prove discreteness and construct the ground state

Using the product rule for commutators gives

\[[N,a]=-a,\]
\[[N,a^\dagger]=a^\dagger.\]

If a normalisable energy eigenstate has \(N\) eigenvalue \(\nu\), application of \(a\) either annihilates it or yields an eigenstate of eigenvalue \(\nu-1\) and norm squared \(\nu\). Repeated lowering cannot yield a state of negative norm squared. For noninteger nonnegative \(\nu\) the chain would reach \(0<\nu'<1\) with nonzero image at a negative eigenvalue. Therefore the chain must terminate at an integer step in an annihilated ground state. This argument uses the bound oscillator's spectrum and states in the ladder operators' domains. Existence and completeness can also be checked by solving the one-dimensional differential equation with decaying boundary conditions.

In coordinate representation \(P=-i\,d/dX\), so \(a\psi_0=0\) reduces to

\[d\psi_0/dX=-X\psi_0.\]

Its square-integrable solution is

\[\psi_0(X)=\pi^{-1/4} e^{-X^2/2}.\]

Normalised excited states follow by \(|n\rangle=(a^\dagger)^n|0\rangle/\sqrt{n!}\). Orthogonality follows from the self-adjoint number operator with distinct eigenvalues. The coordinates in metres have ground variance \(\sigma_x^2=\hbar/(2m\omega)\), momentum variance \(\sigma_p^2=m\hbar\omega/2\), and zero symmetrised covariance. The geometric ground-state width is thus fixed by mass and trap stiffness. A semiclassical estimate minimising \(\hbar^2/(8m\sigma_x^2)+m\omega^2\sigma_x^2/2\) gives \(E_{\min}=\hbar\omega/2\), because the Gaussian saturates the uncertainty inequality used in that estimate.

In a number state both \(\langle x\rangle\) and \(\langle p\rangle\) vanish. Their fluctuations do not. Substitute \(x=\sigma_x(a+a^\dagger)\). Terms \(a^2,(a^\dagger)^2\) change the occupation by two and have zero diagonal element, whereas \(aa^\dagger\) and \(a^\dagger a\) contribute \(n+1\) and \(n\). Hence \(\langle x^2\rangle_n=(2n+1)\sigma_x^2\); similarly \(\langle p^2\rangle_n=(2n+1)\sigma_p^2\). The mean kinetic and potential energies each equal half the total. Measuring a nonzero rms displacement does not imply that the oscillator centre is undergoing a coherent motion.

Find a state whose centre follows the classical trajectory

Search for a normalised eigenstate of \(a\) with complex eigenvalue \(\alpha\). It is permissible for this non-Hermitian operator to have complex eigenvalues; they label states rather than directly observable outcomes. Expand \(|\alpha\rangle=\sum_n c_n|n\rangle\). Matching every number-state coefficient yields

\[c_{n+1}=\alpha c_n/\sqrt{n+1}.\]

Using the exponential series to normalise gives

\[|\alpha\rangle=e^{-|\alpha|^2/2}\sum_{n=0}^{\infty}\frac{\alpha^n}{\sqrt{n!}}|n\rangle,\]
\[P(n)=e^{-|\alpha|^2}\frac{|\alpha|^{2n}}{n!}.\]

The mean and variance of occupation are both \(|\alpha|^2\). Different coherent states are nonorthogonal: summing the overlap yields

\[|\langle\beta|\alpha\rangle|^2=e^{-|\alpha-\beta|^2}.\]

At displacement difference one in this dimensionless complex plane the overlap probability is still \(e^{-1}=0.368\). A measurement that distinguishes all such nearby coherent preparations perfectly from one copy would contradict this overlap.

Each coefficient acquires \(e^{-i(n+1/2)\omega t}\). Take the common zero-point phase outside the sum, leaving exactly the same expansion with \(\alpha(t)=\alpha e^{-i\omega t}\). Hence \(\langle x(t)\rangle=2\sigma_x\operatorname{Re}\alpha(t)\) and \(\langle p(t)\rangle=2\sigma_p\operatorname{Im}\alpha(t)\). The centred operator \(a-\alpha\) annihilates the state, so its centred quadrature variances match those of the ground state. The packet moves on the classical phase-space ellipse without spreading. In a free particle the quadratic momentum phase causes spreading; in the bound oscillator equally spaced energy levels preserve this particular relative-phase structure.

For a vibrational mode with \(m=2.00\times10^{-25}\) kg and \(\omega=2\pi\times100\) kHz, \(\sigma_x=20.5\) nm. Prepare \(\alpha=1.5i\). Initially the average position is zero and the momentum is positive; a quarter period later the centre reaches \(3\sigma_x=61.5\) nm. The mean occupation is 2.25 and the ground probability is 0.1054. This ensemble has a nonzero ground-state probability even though its position oscillation is clearly resolved by repeated measurements. A pure number state of average energy near this value could give similar rms positions but would show no time-dependent centre.

Background · Which measurement distinguishes two oscillators of equal mean energy?

Compare the first excited number state with a coherent state of amplitude \(\alpha=1\). Both have mean occupation one and hence the same mean energy \(3\hbar\omega/2\). For a number state the expectation of the lowering operator vanishes because it connects orthogonal levels. For a coherent state its expectation equals \(\alpha\) and evolves with the oscillator phase.

\[\langle x(t)\rangle_{\rm coh}=\sqrt{\frac{2\hbar}{m\omega}}\,\mathrm{Re}(\alpha e^{-i\omega t}),\]
\[\langle x(t)\rangle_{n=1}=0.\]

Synchronous position measurements on freshly prepared states distinguish the moving centroid from the stationary one. A repeated energy measurement also separates the preparations. The number state always gives one quantum, whereas the coherent state gives a Poisson distribution with mean and variance both equal to one. A mean energy by itself omits both distinctions.

Rotate an uncertainty ellipse and test a nonideal trap

A sudden frequency change provides an experimentally meaningful way to generate a state with unequal quadrature fluctuations. Prepare the ground state at frequency \(\omega_i\), then instantaneously change to \(\omega_f\). The state in the position representation is continuous through an ideal sudden change. Relative to the final oscillator,

\[\langle X_f^2\rangle=\omega_f/(2\omega_i),\]
\[\langle P_f^2\rangle=\omega_i/(2\omega_f);\]

their product remains \(1/4\). Their sum exceeds one unless the two frequencies coincide. Thus the state is a squeezed vacuum for the new trap, with mean occupation \(\tfrac14(\omega_f/\omega_i+\omega_i/\omega_f-2)\). Unlike a coherent displacement its centre remains zero. Measuring a variance as the ellipse rotates distinguishes these preparations even if their average energies match.

For \(\omega_f=2\omega_i\) the mean occupation is 0.125. Since \(X_f(t)=X_f(0)\cos\omega_ft+P_f(0)\sin\omega_ft\), variance oscillates between 1 and 0.25 in these units with angular frequency \(2\omega_f\). The ground variance for the final trap would be 0.5, so part of the cycle lies below it. Momentum variance rises correspondingly, and at intermediate angles a nonzero covariance is needed in the uncertainty determinant. Abrupt changes also inject work via the time-dependent Hamiltonian. Energy measured before and after the sudden change need not agree even though the state vector at the switching instant is unchanged.

Real traps eventually depart from exact harmonic confinement. Write a model diagonal spectrum \(E_n/\hbar=\omega(n+1/2)+\chi n(n-1)/2\) for weak amplitude-dependent spacings over the occupied range. Coherent-state sums give

\[\langle a(t)\rangle=\alpha e^{-i\omega t}\exp[|\alpha|^2(e^{-i\chi t}-1)].\]

Its magnitude is \(|\alpha|\exp[-|\alpha|^2(1-\cos\chi t)]\). The collapse of the centre can occur under strictly unitary evolution while the number probabilities stay fixed. Their phases reassemble at \(2\pi/|\chi|\) in this ideal spectrum. Irreversible noise and uncontrolled fluctuations can suppress a measured revival; loss of the mean alone does not diagnose dissipation. A position trace and a number-resolved distribution probe complementary parts of the dynamics.

Factor a measured displacement into force history and oscillator response

A linear force couples to position,

\[H(t)=\hbar\omega(N+1/2)-F(t)x.\]

Even if the force time series is irregular, this driven oscillator is exactly soluble within the harmonic approximation. In the Heisenberg picture use \(\dot a=(i/\hbar)[H,a]\). Since \([x,a]=-\sigma_x\), the equation is

\[\dot a=-i\omega a+i\sigma_x F(t)/\hbar.\]

Multiply by \(e^{i\omega t}\) and integrate:

\[a(t)=e^{-i\omega t}\left[a(0)+\frac{i\sigma_x}{\hbar}\int_0^t F(t')e^{i\omega t'}dt'\right].\]

A force therefore displaces the rotating oscillator according to one complex Fourier component of its history. Its phase determines which final quadrature changes. The centred operator still evolves as in free oscillation. Thus a known linear drive displaces a ground state into a coherent state without squeezing it. The same formula shifts a thermal state without removing its thermal fluctuations. The statement about pure coherence requires knowing the initial state as well as measuring the final displacement.

Take a constant force \(F_0\) switched on for time \(T\) then off. For an initially stationary ground state the final amplitude, measured at switch-off in the original oscillator basis, is \(\alpha_F=F_0\sigma_x[1-e^{-i\omega T}]/(\hbar\omega)\). The corresponding mean position is \(F_0(1-\cos\omega T)/(m\omega^2)\), agreeing with the classical step response of a mass on a spring. Its excitation number is \(4(F_0\sigma_x/\hbar\omega)^2\sin^2(\omega T/2)\). A constant force applied for exactly a full period creates zero residual excitation at switch-off even though the oscillator moved substantially during the pulse. Motion of the trap centre and persistent excitation after the trap returns must be experimentally distinguished.

For \(m=2.00\times10^{-25}\) kg and \(100\) kHz as above, let \(F_0=2.00\times10^{-21}\) N. Its static equilibrium displacement is

\[F_0/(m\omega^2)=25.3\,\mathrm{nm}.\]

A half-period pulse leaves the mean at 50.7 nm with zero mean momentum and \(|\alpha|=50.7/(2\times20.5)\simeq1.24\). Its mean added occupation is roughly 1.53. The elastic energy \(m\omega^2\langle x\rangle^2/2\) at switch-off matches \(\hbar\omega|\alpha|^2\), independently of any counting argument. This check subtracts the unchanged zero-point energy. Using the total energy including zero point in the comparison would incorrectly attribute a half quantum to the drive even when the applied force vanishes.

The sudden impulse limit provides another independent test. Let a short pulse deliver total impulse \(J=\int Fdt\) over a time much shorter than \(1/\omega\). The amplitude increment is approximately \(i\sigma_xJ/\hbar\) in the appropriate rotating phase. Since \(2\sigma_p\sigma_x=\hbar\), the mean momentum changes by \(J\). For a smooth pulse spread around one period the same total impulse can produce a much smaller residual excitation because the force acts at different phases of the oscillator. A force sensor based on final occupation measures the squared magnitude of a windowed resonant integral. Reconstructing a complete time-dependent force from that single energy measurement is generally impossible. Varying the drive start time or measuring both final quadratures gives additional information.

Use operator ordering to predict a phase with zero final displacement

Define the displacement operator \(D(\alpha)=\exp(\alpha a^\dagger-\alpha^* a)\). Its generator is anti-Hermitian, so it is unitary. The commutator of \(\alpha a^\dagger-\alpha^*a\) with \(a\) is a constant. Differentiating \(D^\dagger(s\alpha)aD(s\alpha)\) with respect to \(s\) and integrating gives

\[D^\dagger(\alpha)aD(\alpha)=a+\alpha.\]

Consequently \(D(\alpha)|0\rangle\) is an annihilation eigenstate of eigenvalue \(\alpha\), giving an independent physical construction of the number expansion. The normal-order factorisation \(D=e^{-|\alpha|^2/2}e^{\alpha a^\dagger}e^{-\alpha^*a}\) follows from the Baker–Campbell–Hausdorff formula because the relevant commutator is a scalar. Acting on the ground state recovers the Poisson coefficients directly. Omitting the scalar prefactor gives a state with the wrong norm.

Two displacements do not commute as operators despite their effects on the mean phase-space position adding in either order. Their scalar commutator gives

\[D(\alpha)D(\beta)=e^{(\alpha\beta^*-\alpha^*\beta)/2}D(\alpha+\beta).\]

The product around a closed displacement loop is

\[D(\alpha)D(\beta)D(-\alpha)D(-\beta)=e^{\alpha\beta^*-\alpha^*\beta}I.\]

For \(\alpha=1,\ \beta=i/2\) the phase is \(-1\) rad in this written operator order. Reversing the physical order conjugates the phase. The oscillator returns to its initial phase-space position and, apart from this phase, to its initial state. In a single isolated preparation the common phase is invisible. To observe it, place the oscillator interaction under coherent control of one branch of a separate two-level reference, recombine the reference and compare the branch that went around the loop with the branch that did not. Surviving coherence of the reference is essential. The same result can be described as an oriented area in the \(\operatorname{Re}\alpha,\operatorname{Im}\alpha\) plane and ultimately follows from \([x,p]=i\hbar\).

It is useful to trace the actual motion before interpreting a claimed geometric phase. Operators act from right to left on kets, so plotting a particular rectangular loop in time can correspond to the conjugate of a product written left to right. A lab comparison should specify the four pulse phases in chronological order and the ordinary free rotation occurring between them. In the rotating frame the displacement vectors are simple complex increments; in the laboratory frame the oscillator itself continually advances in phase. An uncompensated delay can leave a residual displacement rather than a closed loop. The overlap of that residual displaced ground state with the reference branch is \(e^{-|\Delta\alpha|^2/2}\) in amplitude, reducing observed fringe contrast as well as shifting its phase.

Measure displaced parity to distinguish a number state from a mixture

The number parity operator \(\Pi=(-1)^N\) gives \(+1\) for even and \(-1\) for odd occupation. It implements the coordinate reflection \(x\to-x\) for the harmonic oscillator. A position-space Wigner distribution may be sampled by displacing the state and measuring its parity. In the complex phase-space convention used here define \(W(\beta)=(2/\pi)\operatorname{tr}[D(-\beta)\rho D^\dagger(-\beta)\Pi]\); it integrates to one in \(d^2\beta\). At \(\beta=0\) it is just twice the even-minus-odd probability divided by \(\pi\). Its sign is determined by observable population statistics, but its value at a point is not the probability that a particle occupies a sharp simultaneous position and momentum.

For a coherent input \(|\alpha\rangle\), displacement produces \(|\alpha-\beta\rangle\) up to a phase. Summing the even-minus-odd Poisson occupations gives \(e^{-2|\alpha-\beta|^2}\). Hence \(W(\beta)=2e^{-2|\alpha-\beta|^2}/\pi\), a positive Gaussian. A first excited number state instead has \(W(0)=-2/\pi\). Mix that state with ground-state population,

\[\rho=p|1\rangle\langle1|+(1-p)|0\rangle\langle0|.\]

Then \(W(0)=(2/\pi)(1-2p)\), negative only when \(p>1/2\). An observed lack of negativity at one displacement does not imply a Gaussian state or a globally classical description. It may simply mean that the probe is examining a positive region or that losses have mixed the odd preparation with the ground state.

Suppose an experimental detector distinguishes only “zero excitations” from “one or more”. A measured nonzero fraction of 0.80 does not determine parity without further information: all those events might contain one excitation or a substantial even population might be present. Number resolution or a separate calibrated parity mapping is needed. If only ground and first excited population are independently established, an observed \(p_1=0.70\pm0.02\) gives \(W(0)=-0.255\pm0.025\) in these dimensionless units. Propagating that uncertainty requires the assumption about higher occupations. Combining a displacement scan with number-resolved or parity-sensitive data therefore tests both the preparation and the adequacy of a finite oscillator basis.

Recover a thermal occupation from two independent observables

For an oscillator in thermal equilibrium at inverse temperature \(\beta_T\), the occupation probabilities are \(P_n=(1-q)q^n\) with \(q=e^{-\beta_T\hbar\omega}\). The geometric series gives \(\bar n=q/(1-q)\) and variance \(\bar n(\bar n+1)\). Unlike a coherent state with the same mean occupation, the number distribution is broader and the free mean displacement is zero. The symmetrised position variance is \((2\bar n+1)\sigma_x^2\). A variance measurement alone cannot distinguish a thermal distribution from an incoherent nonthermal mixture with the same mean energy. Resolving more than the variance probes the full probability law.

For example, at \(\bar n=2\) thermal equilibrium predicts ground occupation \(1/3\), number variance 6 and parity \(1/(2\bar n+1)=1/5\). A coherent state with \(|\alpha|^2=2\) gives ground probability 0.1353, variance 2 and parity \(e^{-4}=0.0183\). A uniform randomisation of the coherent phase removes the mean displacement but leaves these Poisson number statistics unchanged. It can therefore resemble the thermal state on a quadrature average while differing sharply in ground population and parity. A displaced thermal preparation adds a classical centre motion on top of the thermal fluctuations; fitting only its energy would confuse displacement with temperature. Centre, centred variance and at least one independent number statistic make a coherent experimental set of observables for these physically different preparations.

Follow a coherent oscillator state in phase space

Change the magnitude and phase of a coherent amplitude independently. Predict which control changes the mean occupation and which shifts the timing of the position measurement.

Recover individual transition probabilities after a sudden trap change

The sudden-frequency experiment predicted mean occupation from the second moments. Number-resolved probabilities provide a stronger test. The initial ground-state wavefunction is even, and changing the trap curvature about the same centre preserves parity. The initial state therefore overlaps only even eigenstates of the final trap. A measured odd population beyond readout uncertainty diagnoses a displaced minimum, parity-breaking drive or imperfect initial preparation. The vanishing of odd occupation is stronger than knowing only the mean and variance of a quadrature.

Write the old annihilator in terms of the new operators,

\[a_i=\cosh r\,a_f-\sinh r\,a_f^\dagger,\]

with \(r=\frac12\ln(\omega_f/\omega_i)\) for this choice of sign. This follows directly by expressing both in the same \(x,p\) and comparing coefficients. The relative sign can change under a different convention for defining the squeeze parameter but all probabilities below are invariant. The old vacuum obeys \((a_f-\tanh r\,a_f^\dagger)|0_i\rangle=0\). In the final number basis \(c_n=\langle n_f|0_i\rangle\), the coefficient of \(|n\rangle\) gives

\[\sqrt{n+1}c_{n+1}=\tanh r\sqrt n\,c_{n-1}.\]

The \(n=0\) equation forces \(c_1=0\), and iteration gives

\[c_{2j}=c_0\frac{\sqrt{(2j)!}}{2^j j!}(\tanh r)^j,\]
\[c_{2j+1}=0.\]

To normalise, use the central-binomial series \(\sum_j\binom{2j}{j}q^j/4^j=(1-q)^{-1/2}\) at \(q=\tanh^2r\). Thus

\[|c_0|^2=1/\cosh r.\]

A separate coordinate-space check follows by integrating the overlap of two Gaussian ground states, giving \(P_0=2\sqrt{\omega_i\omega_f}/(\omega_i+\omega_f)\). This agrees with \(1/\cosh r\), independently of the operator recursion. Differentiating the normalisation-generating series gives \(\bar n=\sinh^2r\), agreeing with the energy inferred from the sudden change of the Hamiltonian.

For a doubling of frequency, \(\tanh r=1/3,\ \cosh r=3/(2\sqrt2)\), so

\[P_0=0.9428,\ P_2=P_0/18=0.05238,\]
\[P_4=P_0(3/8)(1/81)=0.00436.\]

Higher even levels contain the remaining probability. At a mean excitation of 0.125, a coherent state would instead have \(P_1=0.1103\). Even imperfect number resolution discriminating odd versus even can strongly distinguish a pure curvature quench from a coherent displacement with equal final energy. A finite switching time can reduce excitation if the oscillator tracks the moving ground state adiabatically. A shift of trap centre during a nominal curvature change adds a displacement and can populate odd levels. Measure the mean and parity along with the energy estimate before inferring a squeeze strength solely from a single occupation number.

Separate temperature from a parity-preserving quench

Before a sudden centred frequency doubling, a calibrated trap has thermal mean occupation 0.10. Predict the fraction of odd-number results after the quench and its final mean occupation. How might an experiment mistakenly interpret the odd results?

Derive and check the result

In the initial thermal ensemble parity expectation is

\[1/(2\bar n+1)=1/1.2=0.8333.\]

Parity commutes with both centred trap Hamiltonians, and measuring even or odd final occupation measures that same parity operator. The odds fraction is therefore \((1-0.8333)/2=0.0833\), unchanged by the quench. The final energy fluctuations scale with the initial quadrature variances multiplied by \(2\bar n+1\), giving \(\bar n_f+1/2=(\bar n_i+1/2)(\omega_f/\omega_i+\omega_i/\omega_f)/2=0.75\). Thus \(\bar n_f=0.25\). Assuming a perfectly cold initial state might turn the observed odd fraction into a false diagnosis of trap displacement. Measure initial parity and post-quench parity independently to isolate processes that actually break the symmetry. The increase of mean occupation alongside unchanged parity is the predicted signature of a centred quench.

Tutorial · analyse a state from amplitude and fluctuation data

Test two preparations with the same mean energy

Take a coherent state with \(|\alpha|^2=3\) and number state \(|3\rangle\). Compare energies, number variance, ground probability and the largest possible mean displacement.

Work through the solution

Both have \(\langle H\rangle=3.5\hbar\omega\). The coherent number variance is 3 while the number-state variance is zero. Ground probabilities are \(e^{-3}=0.0498\) and zero. By selecting a suitable oscillator phase, the coherent state reaches \(2\sqrt3\sigma_x\); the number state has zero centre at every time. An energy average alone leaves these preparations indistinguishable. The event of measuring exactly three quanta has probability \(e^{-3}3^3/3!=0.224\) in the coherent case and unity in the number case. Repeated shots allow this comparison without assuming a single shot reveals the input state.

Estimate numerical truncation before trusting a simulated coherent state

Expand a coherent state with \(\alpha=2\) in number states \(0,\ldots,8\). Is the missing probability negligible at a desired accuracy of one part in a thousand?

Work through the solution

Generate probabilities successively from \(p_0=e^{-4}\), \(p_{n+1}=4p_n/(n+1)\); summing through 8 gives 0.97864, leaving 0.02136 above the cutoff. Renormalising the retained vector hides this discarded probability from a norm check and distorts quantities weighted by \(n\). Through \(n=11\) the tail is about 0.00092, just below the specified probability tolerance. Energy moments require a separate tail weighted by \(n\); a probability bound alone can be inadequate for them. Vary the cutoff while monitoring both number statistics and the centre motion to separate truncation artefacts from real dephasing.

Infer the coherent displacement and a squeezing test

At a known phase, measurements give

\[\langle x\rangle=1.2\sigma_x,\ \langle p\rangle=-1.6\sigma_p.\]

Infer the coherent amplitude consistent with those means, then say what must still be measured to confirm a coherent preparation.

Work through the solution

The means imply \(\operatorname{Re}\alpha=0.60,\ \operatorname{Im}\alpha=-0.80\), so \(|\alpha|=1\) and the putative coherent mean occupation is one. They do not fix the variances. A displaced thermal or squeezed state can produce the same means with different fluctuations. Measure the variance along independent quadratures, including a rotated axis to infer covariance. In an ideal normalised state the expectation of the positive operator \((a-\alpha)^\dagger(a-\alpha)\) equals \(\langle N\rangle-|\alpha|^2\). If it vanishes exactly, the support is in the kernel of \(a-\alpha\), giving the coherent state. With finite uncertainty a near-zero value instead bounds extra excitation in the displaced frame.

Further reading

Rotation and finite-amplitude dynamics

Translate an angular-momentum balance between laboratory and body frames. Follow it from impact to gyroscopic motion and distinguish driven nonlinear response from a change of stability.

  1. Velocities and accelerations in planar mechanisms
  2. Impulse, angular momentum and impact
  3. Finite-amplitude oscillations and model validity
  4. Steady gyroscopic precession and its two possible rates
  5. Why Coulomb damping loses a fixed amplitude each half-cycle
  6. When the third harmonic matters more than the fundamental
  7. Proving a region of attraction with the energy of a pendulum
  8. Finding a turning point without using the load as a coordinate

Velocities and accelerations in planar mechanisms

Use the rigid-body velocity and acceleration relations to connect an instantaneously known crank speed to a slider acceleration.

From first principles

Differentiate a fixed link vector in a rotating body

For two material points \(A,B\) on a rigid planar link, their separation has constant length even while its direction changes. Let \(\mathbf r=\mathbf r_B-\mathbf r_A\) and angular velocity vector \(\boldsymbol\omega\) be perpendicular to the plane. A small rotation by \(d\theta\) sweeps a displacement perpendicular to the separation. Dividing by time gives the inertial derivative \(\dot{\mathbf r}=\boldsymbol\omega\times\mathbf r\) and hence

\[\mathbf v_B=\mathbf v_A+\boldsymbol\omega\times\mathbf r .\]

Differentiate once more using the product rule. Change of angular speed provides the tangential acceleration contribution; change of the separation's direction gives the second cross product.

\[\mathbf a_B=\mathbf a_A+\boldsymbol\alpha\times\mathbf r+\boldsymbol\omega\times(\boldsymbol\omega\times\mathbf r).\]

For planar rotation the final term is \(-\omega^2\mathbf r\), directed towards \(A\). It remains even when angular speed is constant. These relations concern two fixed points on one rigid body. A slider moving along the rotating link changes the body-relative separation and contributes additional velocity and acceleration terms.

Derivation and applications

Recover planar angular acceleration from two accelerometers

Velocities identify an instantaneous rotation centre, but a time-varying rotation is better characterised by both angular speed and angular acceleration. Mount two aligned accelerometers at points \(A\) and \(B\) on one rigid planar body. Assume the measured vectors have been expressed in common inertial axes and any gravity contribution cancels in their difference. The separation vector is \(\mathbf r=\mathbf r_B-\mathbf r_A\) with fixed length \(d\). Rigid-body kinematics gives

\[\Delta\mathbf a=\mathbf a_B-\mathbf a_A=\alpha\,\mathbf e_z\times\mathbf r-\omega^2\mathbf r .\]

The two terms point in perpendicular directions. Form the unit vector \(\mathbf e_r=\mathbf r/d\) from \(A\) to \(B\) and its counterclockwise normal \(\mathbf e_t=\mathbf e_z\times\mathbf e_r\). Projecting gives a radial signal proportional to squared angular speed and a tangential signal proportional to signed angular acceleration.

\[\Delta a_r=-d\omega^2,\]
\[\Delta a_t=d\alpha .\]

Thus no knowledge of the translational acceleration of the reference point is needed. An additional tangential relative-velocity measurement supplies the missing sense of rotation because the signed \(\omega\) enters linearly.

\[|\omega|=\sqrt{-\Delta a_r/d},\]
\[\alpha=\Delta a_t/d,\]
\[\omega=(\mathbf v_B-\mathbf v_A)\cdot\mathbf e_t/d .\]

A positive radial acceleration difference is inconsistent with a rigid pair under the stated conventions. Flexible mounting, sensor misalignment or treating differently oriented sensor components as parallel can all spoil the projection.

Worked example

Read the motion of a rotating link

At separation 0.200 m the measured acceleration difference is \(-3.20\,\mathbf e_r+0.600\,\mathbf e_t\) m/s². The link has speed magnitude \(\sqrt{3.20/0.200}=4.00\) rad/s and counterclockwise angular acceleration \(0.600/0.200=3.00\) rad/s². A measured relative tangential velocity of \(-0.800\) m/s identifies clockwise rotation. Its speed magnitude is decreasing at this instant.

Change the inputs and inspect this calculation below

Second application

Estimate a sensor spacing from a calibrated turn

A second instrument rotates steadily at 5.00 rad/s and records radial acceleration difference \(-3.75\) m/s². Its effective sensor separation is

\[3.75/25.0=0.150\,\mathrm{m}.\]

A later measurement with the same instrument gives tangential difference \(-0.450\) m/s², implying \(\alpha=-3.00\) rad/s². This calibration uses steady rotation for the length scale and a distinct transient to determine angular acceleration.

Interactive calculation · Change the inputs of this example

Use the adjustable quantities to test the two worked calculations above. The plot recomputes this derivation’s balance or constitutive relation; its numerical readout reports the quantities needed for the forward calculation and the inverse or design question. Keep the fixed assumptions stated in the readout when comparing with the example values.

What can change between two points on a link?

The point at which a connecting rod drives a slider moves along a straight line although its other end moves around a crank circle. Writing every trajectory as a function of crank angle is possible, but often only one configuration matters. The rigidity constraint transfers instantaneous velocity and acceleration between points on a link. Choose a fixed inertial frame and use the positive out-of-plane direction for counterclockwise angles. Every vector component below refers to these fixed axes.

Write \(r_B=r_A+r_{B/A}\). The vector between two body points keeps its length but changes direction. Its derivative is \(\omega\times r_{B/A}\). Differentiating a second time introduces both the changing magnitude of angular velocity and the changing direction of the relative vector:

\[v_B=v_A+\omega\times r_{B/A},\]
\[a_B=a_A+\alpha\times r_{B/A}+\omega\times(\omega\times r_{B/A}).\]

The last term is \(-\omega^2r_{B/A}\) for planar motion. It points along the rod towards \(A\), even when the rod has constant angular speed. Enforce constraints on the actual point \(B\); a slider constrained horizontally has zero vertical velocity and zero vertical acceleration if its guide is straight and fixed.

A crank at its uppermost position

Place crank centre \(O\) at the origin and the slider along the positive horizontal axis. The crank length is 50 mm and the connecting rod length is 130 mm. At the configuration considered its pin is \(A=(0,50)\,\mathrm{mm}\) and slider pin \(B=(120,0)\,\mathrm{mm}\), since \(120^2+50^2=130^2\). The crank rotates counterclockwise at constant 20 rad/s. Accordingly \(v_A=(-1,0)\,\mathrm{m/s}\) and \(a_A=(0,-20)\,\mathrm{m/s^2}\).

The rod vector from \(A\) to \(B\) is \((0.120,-0.050)\,\mathrm m\). Its relative velocity is \(\omega_r(0.050,0.120)\). The vertical velocity constraint gives \(0=0+0.120\omega_r\), so \(\omega_r=0\) at this instant and \(v_B=(-1,0)\,\mathrm{m/s}\). The rod is instantaneously translating. That description concerns velocity only. A moment later its two ends no longer have the same velocity.

Recover the slider force input

Since \(\omega_r=0\) here, the relative centripetal term for the rod vanishes. The angular-acceleration term gives \(0=-20+0.120\alpha_r\), hence \(\alpha_r=166.7\,\mathrm{rad/s^2}\). The slider’s horizontal acceleration is

\[a_{Bx}=0+0.050(166.7)=8.33\,\mathrm{m/s^2}.\]

At this instant the slider is moving to the left while accelerating to the right. A bare slider mass of 3 kg needs a net force of 25.0 N to the right before guide friction or process forces are considered.

A useful independent check follows from the exact geometry \(x_B=r\cos\theta+\sqrt{l^2-r^2\sin^2\theta}\). At \(\theta=\pi/2\) the first derivative with respect to angle is \(-r\); multiplication by crank speed gives −1 m/s. A numerical second derivative must resolve the curvature of this path. Differentiating noisy measured positions twice can produce a large fictitious force, so comparing observed positions with this geometric constraint is often a better starting point.

Change the drive speed

Repeating the same configuration at twice the constant crank speed doubles every point velocity. Its centripetal terms and the constraint-induced angular acceleration scale with the square of that speed, so the predicted slider acceleration becomes 33.3 m/s². This scaling is one reason mechanism inertia loads can grow rapidly with production rate.

Differentiate a coordinate measured along a rotating guide

The rigid-body formula above assumes that the position vector joining the two points is fixed in their common body. A slider moving along a rotating guide violates that assumption. Introduce a guide-fixed unit vector \(e_r\) along the slot and its positive quarter-turn \(e_\theta\). At an inertially fixed pivot the slider’s position is \(r(t)e_r\); the basis changes according to \(\dot e_r=\omega e_\theta,\ \dot e_\theta=-\omega e_r\). Differentiate both the scalar radial position and the changing basis at every step.

\[v=\dot r\,e_r+r\omega\,e_\theta,\]
\[a=(\ddot r-r\omega^2)e_r+(r\dot\omega+2\dot r\omega)e_\theta .\]

The factor two in the transverse contribution has two origins. The outward relative velocity vector rotates with the guide, and the speed of the circumferential transport changes as the slider moves outwards. Each contributes \(\dot r\omega\). This Coriolis term is an actual part of the acceleration measured in an inertial frame. In a rotating-frame force balance an apparent Coriolis force of opposite sign must be introduced only if the inertial acceleration has been removed from that balance. Counting both would double the effect.

If the guide’s pivot itself translates, add its inertial acceleration to the expression. For an instantaneously stationary guide \(\omega=0\) eliminates centripetal and Coriolis terms, but a nonzero angular acceleration can still produce transverse acceleration \(r\dot\omega\). This distinction parallels the translating rod in the first worked mechanism.

Determine drive and guide reactions on a rotating table

A 2.5 kg carriage slides outwards along a straight radial slot in a horizontal table. At the given instant \(r=0.30\,\mathrm m\), \(\dot r=0.20\,\mathrm{m/s}\), \(\ddot r=0.50\,\mathrm{m/s^2}\), \(\omega=4.0\,\mathrm{rad/s}\) counterclockwise, and \(\dot\omega=1.0\,\mathrm{rad/s^2}\). The radial acceleration is \(0.50-0.30(4)^2=-4.30\,\mathrm{m/s^2}\) and the transverse acceleration is

\[0.30(1)+2(0.20)(4)=1.90\,\mathrm{m/s^2}.\]

A frictionless slot supplies a 4.75 N transverse reaction in the positive rotational direction. The radial actuator must exert a net 10.75 N inward, even though the carriage is moving outwards and accelerating relative to the slot in that direction.

The transverse reaction produces a 1.425 N m moment about the centre. Independently, differentiating the angular momentum \(mr^2\omega\) gives

\[m(2r\dot r\omega+r^2\dot\omega)=1.425\,\mathrm{N\,m}.\]

A table drive that assumes fixed radius would include only \(mr^2\dot\omega=0.225\,\mathrm{N\,m}\), missing most of the required moment in this manoeuvre. Holding angular speed constant would remove this last term but leave the 1.20 N m moment associated with increasing inertia. A torque sensor at the turntable shaft therefore detects radial carriage motion even when no angular acceleration is commanded.

Mechanical power supplies an independent sign check. The rail reaction transmits positive power \(4.75(r\omega)=5.70\) W through the transverse motion at this instant. The inward radial actuator supplies \(-10.75(0.20)=-2.15\) W. Their sum, 3.55 W, equals the instantaneous change of the point mass’s translational energy, \(m(\dot r\,a_r+r\omega a_\theta)=2.5[0.20(-4.30)+1.20(1.90)]\). The rail can supply power because it moves transversely with the table even though the contact has no work in the sliding direction.

Construct angular momentum when the rotation axis is not principal

A planar moment of inertia determines one scalar angular momentum. In three dimensions a balanced body can have angular momentum tilted relative to its angular velocity. About its centre of mass a particle at \(r\) has velocity \(\omega\times r\). Integrate \(r\times(\omega\times r)\) over mass and use the vector triple product. The result is

\[H_G=I_G\omega,\]

with tensor \(I_G=\int[(r^Tr)\mathbf1-rr^T]\,dm\). Its \(x\)-diagonal element is \(\int(y^2+z^2)dm\) and its \(xy\) element is \(-\int xy\,dm\). Equal and opposite points cancel their first moments but add their products of inertia. Symmetry about a coordinate plane, rather than symmetry only about the centre, is sufficient to make the associated product vanish.

In a body-fixed basis rotating at \(\omega\), the external moment components obey \(M_G=I_G\dot\omega+\omega\times(I_G\omega)\). This follows from differentiating \(H_G\) in an inertial frame: the body basis vectors rotate as well as the components. Even with constant body components of angular velocity, a transverse moment can be required to keep a nonprincipal axis fixed.

Model a compact instrument carrier as two equal 0.50 kg masses at \((0.20,0.10,0)\) m and its negative, neglecting the frame mass. Its tensor in kg m² has entries \(I_{xx}=0.010,\ I_{yy}=0.040,\ I_{zz}=0.050,\ I_{xy}=-0.020\). At \(\omega=(20,0,0)\) rad/s, \(H_G=(0.20,-0.40,0)\) kg m²/s. Maintaining that rotation requires \(M_G=(0,0,-8.0)\) N m. There is no offset centre of mass to correct with a single static counterweight. Repositioning the masses to remove the product of inertia, or reorienting the shaft along a principal axis, eliminates this transverse couple in the model. A bearing reaction can reverse the sign convention for the load read by its support. Always state whether the reported moment acts on the rotor or on the frame.

Impulse, angular momentum and impact

Find the motion immediately after a short off-centre impact by combining angular impulse with a local restitution condition.

From first principles

Close a short collision with impulse and restitution

During a short collision, contact force can be large while the position changes little. Let \(g^-=v_1^--v_2^->0\) be the relative approach speed along a fixed impact normal for two freely translating masses. Ignore tangential impulse and external impulses during contact. A compressive contact impulse of magnitude \(J\) slows the first mass and speeds the second. Integrating each momentum balance gives

\[v_1^+=v_1^- - J/m_1,\]
\[v_2^+=v_2^- + J/m_2 .\]

Momentum conservation alone leaves the impulse undetermined. A measured normal coefficient of restitution \(e\) supplies the separation speed as a fraction of the approach speed. Substitution then determines the impulse.

\[v_2^+-v_1^+=eg^-,\]
\[J=\frac{(1+e)g^-}{1/m_1+1/m_2}.\]

For a rigid body struck away from its centre the impulse also changes angular momentum by \(\mathbf r\times\mathbf J\). The normal velocity used in restitution must then be evaluated at the contact point, combining centre translation and rotation. A restitution value is a contact model or measurement, whereas the impulse balances follow directly from mechanics.

Background · Force impulse
\[J=\int F\,dt\]

An impulse changes linear momentum over an event. A coefficient of restitution supplies a separate relative-velocity condition for an impact.

Derivation and applications

Locate the impact point that leaves a pivot without an impulse

A rapid blow on a hinged body can set it rotating while producing zero instantaneous horizontal impulse at the hinge. Model a rigid pendulum initially at rest, with mass \(m\), centre of mass distance \(a\) from its frictionless pivot, and moment of inertia \(I_O\) about the pivot. Apply a short tangential impulse \(J\) at distance \(b\) along the same radial line. Neglect the impulse from gravity during contact and take positive velocity along \(J\). Angular impulse about the pivot removes the unknown hinge reaction.

\[I_O\omega^+=Jb,\]
\[v_G^+=a\omega^+ .\]

Linear impulse along the impact direction includes both \(J\) and the unknown hinge impulse \(H\). Substitution of angular speed therefore gives the signed hinge impulse as a function of the impact radius. A reaction in the opposite direction from \(J\) corresponds to \(H<0\).

\[m v_G^+=J+H,\]
\[H=J\left(\frac{mab}{I_O}-1\right).\]

Set \(H=0\) and use the parallel-axis theorem \(I_O=I_G+ma^2\). The resulting radius locates the centre of percussion; it lies beyond the centre of mass for any extended body with \(I_G>0\).

\[b_{\rm cp}=\frac{I_O}{ma}=a+\frac{I_G}{ma}.\]

This result concerns the net hinge impulse during a short tangential event. Later hinge forces as the body swings need a separate force balance. A finite-duration or oblique impact also requires examining the other force components.

Worked example

Locate the point on a laboratory pendulum

A uniform slender bar of length 0.900 m and mass 1.50 kg is hinged at one end. Its \(a=0.450\) m and \(I_O=mL^2/3=0.405\) kg m², giving \(b_{\rm cp}=0.600\) m. A tangential impulse of 0.300 N s there produces

\[\omega^+=0.300(0.600)/0.405=0.444\,\mathrm{rad/s}.\]

Its centre momentum is \(1.50(0.450)(0.444)=0.300\) N s, accounting for all of the applied impulse.

Change the inputs and inspect this calculation below

Second application

Infer inertia from a zero-reaction test

A different hinged fixture has \(m=4.00\) kg and \(a=0.180\) m. An instrumented hinge shows vanishing tangential impulse at \(b=0.320\) m. This gives \(I_O=mab=0.2304\) kg m² and \(I_G=0.1008\) kg m². At \(b=0.160\) m, a 0.500 N s impulse should instead produce \(H=0.500(0.160/0.320-1)=-0.250\) N s, a direct sign and calibration check.

Interactive calculation · Change the inputs of this example

Use the adjustable quantities to test the two worked calculations above. The plot recomputes this derivation’s balance or constitutive relation; its numerical readout reports the quantities needed for the forward calculation and the inverse or design question. Keep the fixed assumptions stated in the readout when comparing with the example values.

Does equal impulse leave equal vibration?

A force hammer and a soft contact pad can deliver the same total impulse in quite different times. The impulse fixes the change of momentum of a free mass. A mounted instrument also feels a spring force during the contact. The instrument may have already started a substantial fraction of an oscillation while the applied force is still acting, allowing later parts of the pulse to cancel some of the earlier response.

Start an undamped oscillator at rest and apply a force \(F(t)\) only between zero and \(T\). Passing a small impulse \(F(s)\,ds\) to the oscillator gives a later displacement \(F(s)\sin[\omega(t-s)]\,ds/(m\omega)\). Integrating over arrival times for \(t>T\) and collecting the coefficients of \(\sin\omega t\) and \(\cos\omega t\) gives the residual amplitude

\[A=\frac1{m\omega}\left|\int_0^T F(s)e^{-i\omega s}\,ds\right|.\]

The relevant measure is the pulse spectrum at the oscillator frequency. Its zero-frequency value is the ordinary impulse. Their difference is negligible when the complex phase changes very little during contact. A wide-band impact model that fits only impulse can otherwise give the wrong residual vibration even when it closely predicts the overall force integral.

Choose a half-sine pulse \(F(s)=J\pi\sin(\pi s/T)/(2T)\) with prescribed impulse \(J\). Write the sine as a pair of exponentials, integrate each exponential and take the magnitude. With \(r=\omega T\), this produces

\[A/[J/(m\omega)]=\pi^2|\cos(r/2)/(\pi^2-r^2)|.\]

At \(r=\pi\) the numerator and denominator both vanish. Expanding about \(\pi\) or integrating the sine pulse directly gives the finite limit \(\pi/4\). The notebook evaluates a pair of sinc functions to avoid asking the computer to divide zero by zero.

Two equal-area force pulses are paired with their residual-vibration ratio versus pulse duration normalised by natural period.
The force integral stays fixed as the pulse broadens. The oscillator weights the individual parts by their arrival phase, so a full cancellation can occur after release.

For a 2 kg instrument with natural frequency 8 Hz and a pulse of 0.6 N s, an instantaneous impulse gives \(A=5.968\) mm. A 50 ms contact occupies 0.4 natural periods and leaves only 5.123 mm. In the notebook, compare the closed result with direct numerical integration of the complex forcing history. Halve the duration while preserving impulse and inspect the approach to the impulsive limit. The force peak must increase to conserve the area.

If an accelerometer is used to check the result, separate the interval during which the hammer is in contact from the ring-down after release. During free vibration the acceleration satisfies \(\ddot x=-\omega^2x\), and the measured acceleration amplitude divided by \(\omega^2\) gives the residual displacement amplitude. For the 50 ms example this predicts about 12.94 m/s² during the ring-down. During contact the force term \(F(t)/m\) also contributes to the acceleration. Applying the same conversion to the largest acceleration in the whole record could therefore assign the forcing pulse to the free vibration. A force transducer identifies the release time independently.

At a duration of 1.5 natural periods, the remaining oscillation of this model vanishes. Does this make such a pulse equivalent to a force that never acted?

Work through the solution

At \(r=3\pi\) the cosine numerator is zero and the denominator is finite. Positive parts of the pulse delivered at different phases cancel in the final modal state. During contact there is displacement, stored spring energy and a transient force in the support. A specimen containing a second mode will weight the same pulse at another frequency. A cancellation for one mode says little about the maximum support displacement during contact or the other mode’s final amplitude.

Interactive calculation · Half sine force

Vary the notebook inputs and compare both plotted observables. The same equations generate the browser curves and the notebook reference; fixed material, geometry and model assumptions are stated in the readout.

Download the editable notebook for this example

Interactive calculation · Half sine residual

Vary the notebook inputs and compare both plotted observables. The same equations generate the browser curves and the notebook reference; fixed material, geometry and model assumptions are stated in the readout.

Download the editable notebook for this example

Select a time interval and a reference point

For a short collision, a finite change of velocity occurs over a time in which positions change very little. Integrate Newton’s law over that interval. A force that is harmless in an ordinary static calculation can deliver a large impulse if sustained long enough. Conversely, gravity often contributes very little over a millisecond. Compare its estimated impulse \(mg\Delta t\) with the contact impulse before neglecting it.

For planar rigid-body motion the impulse–momentum balances about the mass centre \(G\) and about an inertially fixed point \(O\) are

\[m(v_G^+-v_G^-)=\sum J,\]
\[H_O^+-H_O^-=\sum r_{i/O}\times J_i .\]

The superscripts denote states just before and after contact. A hinge can deliver an unknown impulse but exerts no moment impulse about its own centre when modelled as an ideal pin. Choosing that point can eliminate unknowns when calculating angular speed. Kinetic energy is generally lost to deformation, contact vibration and other processes. It cannot supply a conservation equation without an additional elastic-impact assumption.

Apply the contact condition at the points that meet

For a smooth frictionless collision choose the normal from the incoming body towards the target. The separation speed along that normal equals the specified coefficient of restitution \(e\) times the approach speed. Evaluate velocities of the actual points in contact; the target’s mass-centre speed can be different if the force also rotates it. For a contact point at distance \(a\) along a pinned bar and normal perpendicular to the bar, the normal contact velocity immediately after impact is \(a\omega^+\).

Take a small slider of mass 1.0 kg moving at 3.0 m/s into a stationary slender uniform bar of mass 3.0 kg, length 0.60 m, pinned at one end. It strikes at \(a=0.40\,\mathrm m\), perpendicular to the bar. The bar inertia about the pin is

\[I_O=m_bL^2/3=0.360\,\mathrm{kg\,m^2}.\]

Let \(J\) be the positive impulse delivered to the bar. The slider exits at \(3-J/1\), and the bar receives angular speed \(Ja/I_O\).

Close the collision and audit its energy

With \(e=0.50\), the restitution condition is \(a(Ja/I_O)-(3-J)=0.50(3)\), giving \(J=4.5/[1+0.4^2/0.36]=3.115\,\mathrm{N\,s}\). Thus \(\omega^+=3.46\,\mathrm{rad/s}\) and the slider rebounds slowly at −0.115 m/s. The bar’s contact point recedes at 1.385 m/s, exactly 1.50 m/s faster than the slider after separation.

The initial kinetic energy was 4.50 J. The final energy is

\[\tfrac12(1)(0.115)^2+\tfrac12(0.360)(3.46)^2=2.16\,\mathrm J.\]

The energy loss is physically consistent with the specified restitution. The pin impulse need not vanish although its moment impulse vanished. The bar’s centre moves at \(0.30(3.46)=1.04\,\mathrm{m/s}\); its linear momentum gain happens to equal about 3.12 N s for this impact position, very close to the contact impulse. Indeed \(a=I_O/(m_bL/2)=0.40\,\mathrm m\) is the centre-of-percussion location, for which the ideal transverse pin impulse vanishes exactly.

Determine whether a rough impact sticks or slides

The smooth collision model leaves tangential velocities unaffected. A rough planar impact can also exchange tangential impulse and rotational momentum. Consider a solid disc of radius \(R\) striking a fixed horizontal surface at its lowest point. Take horizontal right and vertical up as positive; angular speed is counterclockwise positive. Just before impact let centre velocities be \(u^-,v^-\) and angular speed \(\omega^-\). The horizontal speed of its contact point is \(g_t^-=u^-+R\omega^-\). A rightward tangential impulse \(J_t\) produces both a centre velocity increase \(J_t/m\) and a positive angular change \(RJ_t/I_G\).

The post-impact contact velocity is \(g_t^+=g_t^-+(1/m+R^2/I_G)J_t\). For the horizontal surface the normal impulse passes through the centre; restitution requires \(J_n=-m(1+e)v^-\) for \(v^-<0\). The tangential impulse needed to eliminate slip is

\[J_t^{\rm stick}=-g_t^-/(1/m+R^2/I_G).\]

Under a simple Coulomb impulse approximation compare this required magnitude with \(\mu J_n\). If it lies inside the bound the contact can finish without tangential slip. Otherwise take the limiting friction impulse opposing the pre-impact relative slip. This elementary model assumes no change in slip direction before the limiting impulse is reached, negligible external impulse, and no tangential elastic restitution. Using only the disc centre’s velocity to form the stick condition would miss its rotational compliance.

Compare two surfaces with the same normal restitution

A solid disc has \(m=2.0\,\mathrm{kg}\), \(R=0.10\,\mathrm m\),

\[I_G=mR^2/2=0.010\,\mathrm{kg\,m^2}.\]

Its centre approaches at \(u^-=3.0,\ v^-=-2.0\,\mathrm{m/s}\), with zero initial spin. For \(e=0.50\), \(J_n=6.0\,\mathrm{N\,s}\) and \(v^+=1.0\,\mathrm{m/s}\). The inverse tangential effective mass is

\[1/2+0.10^2/0.010=1.50\,\mathrm{kg^{-1}}.\]

Thus \(J_t^{\rm stick}=-2.0\,\mathrm{N\,s}\) and the friction coefficient needed is at least \(2/6=0.333\).

On a surface with \(\mu=0.20\), \(J_t=-1.2\,\mathrm{N\,s}\), giving \(u^+=2.4\,\mathrm{m/s}\) and \(\omega^+=-12\,\mathrm{rad/s}\). The contact-point speed remains \(2.4-1.2=1.2\,\mathrm{m/s}\) to the right, consistent with the chosen sliding direction. On a surface with \(\mu=0.50\), the sticking impulse is achievable. It gives \(u^+=2.0\,\mathrm{m/s}\), \(\omega^+=-20\,\mathrm{rad/s}\), and zero instantaneous tangential contact speed. The disc still leaves the surface vertically because \(v^+=1.0\). Here sticking means zero relative tangential velocity at separation and does not mean a permanently attached body. The original 13 J of kinetic energy drops to 7.48 J in the sliding case and 7.00 J in the sticking case, consistent with frictional dissipation and a normal restitution below unity.

A high-speed camera that measures only the centre trajectory would determine the change in centre momentum and hence the tangential impulse, provided other horizontal impulses are negligible. Marking the disc edge permits an independent angular check: in the sliding case the ratio \(I_G|\Delta\omega|/(R m|\Delta u|)\) is

\[0.010(12)/[0.10(2)(0.60)]=1.\]

A substantial measured deviation could indicate an additional contact couple, a second impact point or uncertainty in inertia. Measuring spin is particularly important near the transition to sticking because centre velocity by itself cannot establish that the tangential contact speed has vanished.

A marked rim therefore provides an observable that a centre-tracking experiment alone cannot supply.

Finite-amplitude oscillations and model validity

Use conservation of energy and a frequency approximation to quantify when a small-angle pendulum model loses timing accuracy.

From first principles

Derive the pendulum period and identify the small-angle assumption

A point mass \(m\) suspended on a massless rigid link of length \(\ell\) feels a gravitational torque \(-mg\ell\sin\theta\) about the hinge. Assume a stationary pivot and negligible drag. Angular momentum balance gives an exact nonlinear equation. Replacing \(\sin\theta\) by \(\theta\) only for small angles in radians gives a linear oscillator and its predicted period.

\[m\ell^2\ddot\theta=-mg\ell\sin\theta,\]
\[T_{\rm small}=2\pi\sqrt{\ell/g}.\]

To track finite amplitude, release from rest at angle \(A<\pi\) and use mechanical energy conservation. At any intermediate angle, loss of potential energy equals gained rotational kinetic energy.

\[\tfrac12m\ell^2\dot\theta^2=mg\ell(\cos\theta-\cos A),\]
\[T=4\sqrt{\frac{\ell}{2g}}\int_0^A\frac{d\theta}{\sqrt{\cos\theta-\cos A}} .\]

The factor four uses the symmetry of the four quarter cycles. The mass cancels even at large amplitude. The exact restoring torque grows more slowly with deflection than its small-angle approximation, so finite-amplitude swings take longer. Measured variation of period with release angle directly tests the linearisation.

Derivation and applications

Derive the period of an oscillator with purely cubic stiffness

A spring with almost no linear stiffness near equilibrium can have a period set primarily by release amplitude. Consider mass \(m\) on a horizontal guide with restoring force \(-\beta x^3\) for \(\beta>0\). Ignore damping and assume the fitted force law holds between \(-A\) and \(+A\). Release from rest at \(x=A\). Integrating the force law gives a quartic potential, and conservation of energy provides the speed anywhere on the inward leg.

\[\tfrac12m\dot x^2+\tfrac14\beta x^4=\tfrac14\beta A^4,\]
\[|\dot x|=\sqrt{\frac{\beta}{2m}}\sqrt{A^4-x^4}.\]

By symmetry the time from an extreme position to the centre is one quarter of a full cycle. Write \(dt=|dx|/|\dot x|\) and substitute \(u=x/A\) in the integral. This isolates the amplitude dependence without guessing a sinusoidal shape.

\[T=\frac{4}{A}\sqrt{\frac{2m}{\beta}}\int_0^1\frac{du}{\sqrt{1-u^4}}.\]

The dimensionless integral evaluates numerically to 1.31103. Its endpoint singularity is integrable because the speed near the turning point vanishes as the square root of the distance remaining. The resulting period and angular frequency are

\[T=\frac{7.4163}{A}\sqrt{\frac{m}{\beta}},\]
\[\omega=\frac{2\pi}{T}=0.8472\,A\sqrt{\frac{\beta}{m}} .\]

The positive cubic restores the mass for displacements of either sign, but its tangent stiffness at zero is zero. The full nonlinear dynamics therefore predicts a period diverging with decreasing amplitude. Even a weak residual linear spring would eventually dominate in that limit.

Worked example

Predict the timing of two releases

Take \(m=0.500\) kg, \(\beta=2.00\times10^5\) N/m³ and \(A=20.0\) mm. The predicted period is

\[7.4163\sqrt{0.500/(2.00\times10^5)}/0.0200=0.586\,\mathrm{s}.\]

Reducing the release to 10.0 mm doubles the predicted period to 1.17 s. At the larger amplitude the centre-crossing speed is

\[A^2\sqrt{\beta/(2m)}=0.179\,\mathrm{m/s}.\]

Change the inputs and inspect this calculation below

Second application

Infer stiffness from a measured period

A second fixture of mass 0.800 kg completes a cycle in 0.750 s after release at 15.0 mm. The implied coefficient is \(\beta=m[7.4163/(AT)]^2=3.48\times10^5\) N/m³. Its predicted restoring-force magnitude at release is

\[\beta A^3=1.17\,\mathrm{N}.\]

An independent static force measurement there tests the dynamic estimate without assuming a sinusoidal motion.

Interactive calculation · Change the inputs of this example

Use the adjustable quantities to test the two worked calculations above. The plot recomputes this derivation’s balance or constitutive relation; its numerical readout reports the quantities needed for the forward calculation and the inverse or design question. Keep the fixed assumptions stated in the readout when comparing with the example values.

Retain the actual restoring moment

A pendulum gives a practical test of a linear model because its length and release angle are easy to set while its period can be measured over many cycles. Approximate the moving body first by a point mass \(m\) at distance \(l\) from a frictionless pivot. With \(\theta\) measured from vertically downwards, gravity produces torque \(-mgl\sin\theta\). Dividing the rotational balance by \(ml^2\) leaves \(\ddot\theta+(g/l)\sin\theta=0\). The linear small-angle frequency \(\omega_0=\sqrt{g/l}\) follows only after replacing \(\sin\theta\) by \(\theta\) in radians.

The leading correction has a definite sign:

\[\sin\theta\simeq\theta-\theta^3/6.\]

At a large positive angle the restoring force magnitude is smaller than the linear extrapolation. The pendulum should take longer to complete its swing. A sign test like this is useful before calculating a period correction.

Derive an integral valid at finite amplitude

For release from rest at amplitude \(A<\pi\), conservation of mechanical energy gives

\[\tfrac12ml^2\dot\theta^2+mgl(1-\cos\theta)=mgl(1-\cos A).\]

During one quarter of the orbit the angle travels between zero and \(A\). Substitute \(\sin(\theta/2)=\sin(A/2)\sin\psi\) into the time integral. Cancelling common square roots gives

\[T=4\sqrt{l/g}\int_0^{\pi/2}\frac{d\psi}{\sqrt{1-k^2\sin^2\psi}},\]
\[k=\sin(A/2).\]

For modest amplitudes expand the integrand as \(1+\tfrac12 k^2\sin^2\psi+\cdots\). The average of \(\sin^2\psi\) over the quarter interval is one half. Therefore \(T/T_0\simeq1+k^2/4\simeq1+A^2/16\) through second order in amplitude. The oscillation period depends on energy, while in the linear spring model all amplitudes share the same period.

Estimate a measurable timing error

Take \(l=0.80\,\mathrm m\), \(g=9.81\,\mathrm{m/s^2}\) and release at \(A=30^\circ=0.5236\,\mathrm{rad}\). The small-angle period is

\[T_0=2\pi\sqrt{0.80/9.81}=1.794\,\mathrm s.\]

The leading correction is 1.71%, giving about 1.825 s. Over ten full oscillations the predicted delay relative to the small-angle model is roughly 0.31 s. Reducing the release angle to 15° reduces the leading relative correction by a factor of four.

A timing series from a damped experimental pendulum may show the period drifting towards \(T_0\) as its amplitude decays. Measuring only the first release angle while averaging many later periods mixes different amplitudes. To test the finite-amplitude law, use consecutive same-direction crossings to measure each local period and estimate its associated amplitude from neighbouring turning points. The correction above is an expansion around zero amplitude. As \(A\) approaches the inverted equilibrium, the exact integral grows without bound and a low-order polynomial is no longer an adequate approximation.

Check the scale of the neglected term

Retaining one further term in the integrand gives \(1+\tfrac12 k^2\sin^2\psi+\tfrac38 k^4\sin^4\psi\). The quarter-interval average of the fourth power of sine is \(3/8\), so \(T/T_0\simeq1+k^2/4+9k^4/64\). At 30° this gives 1.01738, while the leading expansion in amplitude gave 1.01713. The small difference is measurable only if the uncertainty in pendulum length, release angle and crossing times supports the comparison.

Derive an amplitude-dependent resonance relation

A pendulum softens as its amplitude grows because the sine restoring law rises more slowly than its linear tangent. A mechanical flexure can instead harden through geometry. A simple modal model is \(m\ddot x+c\dot x+kx+\beta x^3=F\cos\omega t\). For positive \(\beta\) the restoring stiffness increases with excursion. Assume one dominant harmonic and take \(x\approx A\cos(\omega t-\phi)\). Expanding the cubic gives

\[x^3=A^3[3\cos(\omega t-\phi)+\cos(3\omega t-3\phi)]/4.\]

Keeping only the fundamental turns the cubic term into an amplitude-dependent in-phase force.

Balance in-phase and quadrature components against the input, square and add to eliminate \(\phi\). The first-harmonic amplitude estimate satisfies

\[F^2=A^2\left[\left(k+\tfrac34\beta A^2-m\omega^2\right)^2+(c\omega)^2\right].\]

In a lightly damped free motion the same approximation gives a backbone frequency \(\omega_b^2\approx[k+(3/4)\beta A^2]/m\). This is an amplitude-dependent estimate of conservative oscillation frequency, not a new eigenvalue of the linearised equilibrium. At very small amplitude it recovers \(\sqrt{k/m}\), while a negative cubic coefficient tilts the relation towards lower frequencies. If the cubic approximation is only a local expansion, do not extrapolate it until it predicts an unphysical loss of global stiffness.

Identify a hardening spring from two release amplitudes

A test component has moving mass 1.0 kg and small-amplitude stiffness 400 N/m. Low-level ring-down gives \(\omega_0=20\,\mathrm{rad/s}\). At measured oscillation amplitude 20 mm the dominant free frequency is approximately 22 rad/s. Under the weakly nonlinear one-harmonic model, \(\beta\simeq4m(22^2-20^2)/[3(0.020)^2]=2.80\times10^5\,\mathrm{N/m^3}\). At 10 mm the inferred backbone is \(\sqrt{400+0.75(2.8\times10^5)(0.010)^2}=20.52\,\mathrm{rad/s}\), a direct third reading against which to test the fit.

Now drive near 22 rad/s with viscous coefficient \(c=0.80\,\mathrm{N\,s/m}\). At the 20 mm backbone amplitude the spring and inertia fundamentals cancel, so maintaining this motion takes forcing \(F=c\omega A=0.352\,\mathrm N\) in quadrature with displacement. The neglected cubic third-harmonic force amplitude is

\[\beta A^3/4=0.56\,\mathrm N;\]

its displacement effect can nevertheless be small because the oscillator is driven far from its fundamental resonance at 66 rad/s. A separate mode near that frequency would invalidate this simplification. In a forced frequency sweep the amplitude equation can admit several positive roots near resonance. Its algebra does not establish their stability; slow upward and downward sweeps, each with sufficient settling time, can reveal different stable responses and jump transitions.

An initial static measurement tests the sign of the fitted coefficient independently. At a displacement of 20 mm the linear restoring force is

\[400(0.020)=8.0\,\mathrm N;\]

the cubic contribution is

\[2.8\times10^5(0.020)^3=2.24\,\mathrm N.\]

The predicted static force is therefore 10.24 N, and the tangent stiffness is

\[400+3(2.8\times10^5)(0.020)^2=736\,\mathrm{N/m}.\]

This tangent stiffness applies to small vibrations around a held biased equilibrium. Using it directly for an oscillation centred at zero would overestimate the measured amplitude-dependent frequency because the instantaneous stiffness changes during each cycle. Static bias and free oscillation amplitude are physically different tests of the same nonlinear restoring law.

Repeating a decay test around a deliberately shifted equilibrium distinguishes the two experimentally.

Set an amplitude limit for a pendulum-based timing model

For a rigid pendulum released from rest the exact period ratio is \(2K(\sin^2(\theta_0/2))/\pi\), where the complete elliptic integral here uses its parameter rather than its modulus. Compare it with the first amplitude correction \(1+\theta_0^2/16\), with angle in radians.

Set an amplitude limit for a pendulum-based timing model. Horizontal axis: Release amplitude (degrees). Vertical axis: Period / small-angle period. Data follow the figure.
At 90° the exact period is about 1.180 times the linear prediction; the leading expansion gives 1.154. The series is useful at modest amplitudes, but it cannot reproduce the divergence on approach to an upright release.
Read values from the plot
Period / small-angle period at selected values of Release amplitude (degrees).
Release amplitude (degrees)Exact energy integralLeading expansion
011
37.51.02741.0268
751.1191.1071
112.51.31321.241
1501.76221.4284

Download all 301 plotted samples (CSV)

Interactive calculation · change the inputs of this example

Increase the maximum release angle and compare the energy integral with the first series correction. Changing length rescales both periods.

The curves below are recalculated from this section’s equations in your browser. The fixed reference plot above remains available for comparison.

Steady gyroscopic precession and its two possible rates

A spinning axisymmetric rotor supported at one point can keep a constant tilt under gravity. Predict the rate at which its axis turns, examine the fast-spin approximation and determine when slow steady precession is possible.

Identify the changing direction of angular momentum

Let the centre of mass be a distance l along the symmetry axis from a fixed pivot. The symmetry axis is tilted by \(\theta\) from the upward vertical. The moment of inertia about that axis is \(I_3\), and about either transverse axis through the pivot it is \(I_1\). Define \(\omega_3\) as the total component of angular velocity along the symmetry axis. When the spin angular momentum dominates,

\[\mathbf H\simeq I_3\omega_3\mathbf e_3.\]

Under uniform precession at rate \(\Omega\), its tip traces a horizontal circle of radius \(I_3\omega_3\sin\theta\).

\[|\dot{\mathbf H}|\simeq\Omega I_3\omega_3\sin\theta,\]
\[|\boldsymbol\tau_g|=mgl\sin\theta,\]
\[\Omega_{\rm slow}\simeq {mgl\over I_3\omega_3}.\]

The tilt factors cancel for nonvertical orientations. Gravity changes the direction of angular momentum while doing zero work in a steady precession at fixed height. Reversing the spin changes the direction of slow precession. The support force has zero moment about the pivot.

Keep the angular momentum due to precession

For a regular precession at fixed tilt the transverse angular velocity is the part of \(\Omega\mathbf e_z\) perpendicular to \(\mathbf e_3\). Thus \(\mathbf H=I_1\Omega\mathbf e_z+(I_3\omega_3-I_1\Omega\cos\theta)\mathbf e_3\). The vertical first term is constant. The rotating second term has derivative \(\Omega\mathbf e_z\times\mathbf H\). Equating it to the gravitational torque yields

\[I_1\cos\theta\,\Omega^2-I_3\omega_3\Omega+mgl=0 .\]

For \(0<\theta<90^\circ\) and positive spin, two positive real rates exist only if \(D=(I_3\omega_3)^2-4I_1 mgl\cos\theta\ge0\). The smaller root is most accurately evaluated as \(2mgl/(I_3\omega_3+\sqrt D)\), avoiding subtraction of nearly equal numbers at high spin. The larger root corresponds to a different initial angular velocity. Releasing a rotor without providing an appropriate initial precession generally adds nutation.

A tabletop rotor as its spin slows

Take \(m=0.50\) kg, \(l=0.060\) m, \(I_1=0.0030\) kg m², \(I_3=0.0020\) kg m² and \(\theta=60^\circ\). At \(\omega_3=100\) rad/s the first estimate gives 1.47 rad/s. The quadratic gives 1.49 rad/s for the slow branch and 131.8 rad/s for the fast branch. The 1% discrepancy in the slow result is consistent with a small transverse angular momentum.

At \(\omega_3=30\) rad/s the approximation gives 4.91 rad/s and the exact slow rate is 5.72 rad/s. The two rates meet at a spin of roughly 21.0 rad/s. Below this value there is no constant-tilt solution for the prescribed angle and inertias. Plotting the discriminant or using the real branches avoids reporting a fictitious real rate after the branches disappear.

Compare the approximation and exact branch near the minimum admissible spin, then at high spin. Raise the tilt toward a right angle. Predict whether the minimum spin increases or falls before checking the new domain of the curve.

Tutorial · infer a moment arm from observed motion

For the same inertias and mass, measure \(\omega_3=50\) rad/s, \(\Omega=3.0\) rad/s and \(\theta=60^\circ\). Estimate l from the full relation. Calculate the bias if transverse angular momentum is omitted.

Show the torque estimate

The full torque parameter is \(mgl=I_3\omega_3\Omega-I_1\cos\theta\,\Omega^2=0.300-0.0135=0.2865\) N m. The arm is

\[l=0.2865/(0.50\cdot9.81)=58.4\,\mathrm{mm}.\]

Keeping only the first term gives 61.2 mm, overestimating the arm by about 4.7%. Measuring steady precession over several cycles helps distinguish that systematic error from fluctuations caused by nutation.

Further reading · MIT 2.003SC · angular momentum and rotating rigid bodies

Why Coulomb damping loses a fixed amplitude each half-cycle

A sliding carriage on a spring can stop away from zero displacement. Determine each turning point without time stepping, then identify the experimentally observable difference between Coulomb and viscous damping.

Write a different equation for each direction of motion

A mass m slides horizontally against a linear spring k. During motion take friction magnitude \(F_k>0\), with force opposing velocity. At rest allow any friction up to the static limit \(F_s\ge F_k\). The moving equation is

\[m\ddot x+kx=-F_k\,{\rm sgn}(\dot x).\]

Release the mass at \(x=A>0\) with zero speed. If \(kA\le F_s\) static friction can hold it there. If \(kA>F_s\) it starts moving left. While it moves left, friction points right. Shift the coordinate by \(a=F_k/k\) to obtain a homogeneous oscillator:

\[m\ddot x+k(x-a)=0,\]
\[x(t)=a+(A-a)\cos(\omega_n t),\]
\[\omega_n=\sqrt{k/m}.\]

At \(t=\pi/\omega_n\) the next turning point is \(x_1=2a-A\). Test static force balance there before starting another sliding segment. If the mass continues, the sign of friction changes and the next cosine is centred on \(-a\). The time for each complete sliding half-cycle is constant despite the decreasing amplitudes. An integration routine that uses only \({\rm sgn}(0)=0\) can generate spurious chatter near the final state.

Recover the amplitude drop from work done by friction

For a full crossing from a positive peak A to a negative peak \(-B\), with \(A,B>0\), friction dissipates \(F_k(A+B)\). The change in spring energy is \(\tfrac12 k(A^2-B^2)\). Cancel the travelled distance to obtain

\[A-B={2F_k\over k},\]
\[A_j-A_{j+2}={4F_k\over k}\]

for successive magnitudes on opposite sides and successive positive peaks, respectively, while sliding continues. An ordinary viscous oscillator instead has an approximately fixed ratio between successive positive peaks. A mixed friction-damping experiment can exhibit both effects. An ideal Coulomb model also permits a final equilibrium anywhere in the static-friction band \([-F_s/k,F_s/k]\).

Predict a finite stopping time and reconstruct a friction force

Take \(m=1.0\) kg, \(k=100\) N/m, \(F_k=0.50\) N, \(F_s=0.65\) N and \(A=40\) mm. The shift is 5.0 mm and each sliding half-period is 0.314 s. Starting at +40 mm the successive turns are −30, +20, −10 and 0 mm. The mass sticks at the fourth turn after 1.257 s. A release from +43 mm instead reaches −33, +23, −13 and +3 mm. Since \(100(0.003)=0.30\) N lies below 0.65 N, the residual displacement persists under the assumptions.

Suppose a different test with \(k=200\) N/m shows successive positive peaks of 35, 27 and 19 mm. The 8 mm decrement gives

\[F_k=k(0.008)/4=0.40\,\mathrm{N}.\]

A viscous fit would infer logarithmic decrements 0.260 and 0.351 from adjacent pairs. Applying a small constant external force after the final stop can help identify static breakaway independently of the moving-friction estimate.

Compare releases at 40 and 43 mm. Predict the final resting position from the sequence of turning points. Then reduce the release below the static threshold; explain why an initial energy above zero need not imply any motion.

Tutorial · predict the last turning point even without crossing zero

Use the original mass, stiffness and friction values but release at +8 mm. Does it start, cross zero, and then reverse velocity? Give the final displacement and dissipated energy.

Follow the event conditions

The initial spring force 0.80 N exceeds 0.65 N so it moves left. The next turn is

\[2a-A=10-8=+2\,\mathrm{mm}.\]

It has not crossed zero. At that turn spring force is 0.20 N so it sticks. Friction work is \(0.50(0.008-0.002)=0.0030\) J, equal to \(\tfrac12(100)(0.008^2-0.002^2)\). Blindly subtracting a positive amplitude decrement would have assigned an impossible negative magnitude.

Further reading · University of Alberta, Vibrations and Sound · viscous and Coulomb damping

When the third harmonic matters more than the fundamental

A machine applies a short force once per cycle. Its repetition rate looks safely below a structural resonance, but one of its harmonics can lie close to that resonance. Build the forcing spectrum from a pulse and apply a complex response coefficient to each term.

Integrate over the part of the period where force is present

Let an even rectangular force have peak P, period T and on-time dT centred on zero, where \(0<d<1\). Use an even periodic continuation. Its mean is Pd. Sine coefficients vanish by symmetry. With \(\Omega=2\pi/T\), integrate the cosine terms over the active interval and exploit periodicity:

\[F(t)=Pd+\sum_{n=1}^\infty a_n\cos(n\Omega t),\]
\[a_n={2\over T}\int_{-dT/2}^{dT/2}P\cos(n\Omega t)\,dt={2P\over n\pi}\sin(n\pi d).\]

The coefficients are signed. A negative coefficient adds a phase reversal; taking its magnitude before summing the time response loses that information. The mean drives a static offset. When \(nd\) is an integer, that harmonic vanishes even though the force still has abrupt edges. At a jump the Fourier series converges to the mean of the adjacent values. These details matter when reconstructing force but can have much smaller effects on the filtered displacement.

Solve each harmonic separately and keep phase

For \(m\ddot x+c\dot x+kx=F(t)\) the steady particular solution follows from \(H(i\omega)=1/(k-m\omega^2+ic\omega)\). Define \(\omega_n=\sqrt{k/m}\),

\[\zeta=c/(2\sqrt{km}),\]
\[r_j=j\Omega/\omega_n.\]

The jth response contribution is the real part of \(a_jH(ij\Omega)e^{ij\Omega t}\). Thus

\[x(t)={Pd\over k}+\sum_{j=1}^\infty {a_j\over k}\,{(1-r_j^2)\cos(j\Omega t)+2\zeta r_j\sin(j\Omega t)\over(1-r_j^2)^2+(2\zeta r_j)^2}.\]

Far above resonance each force coefficient is attenuated roughly by another \(j^{-2}\) in displacement. Acceleration weights a displacement coefficient by \(j^2\) again, so an adequate displacement truncation can be inadequate for acceleration. Start-up transients are omitted because the expression is the settled periodic response for positive damping.

Compare harmonics before selecting an operating speed

Take \(P=10\) N, \(d=0.25,\ k=1000\) N/m, natural frequency 12 Hz, damping ratio 0.04, and repetition frequency 4 Hz. The input mean is 2.50 N and \(a_1=4.50\) N while \(a_3=1.50\) N. The first harmonic has \(r=1/3\), so its displacement amplitude is about 5.06 mm. The third is exactly resonant and gives

\[1.50/(1000\cdot0.08)=18.8\,\mathrm{mm}.\]

A single harmonic based on the largest force coefficient therefore misses the dominant response.

Choose a new duty \(d=1/3\) while leaving peak force and repetition frequency unchanged. Now \(\sin(3\pi d)=0\), so the resonant third harmonic disappears. The static offset rises from 2.50 to 3.33 mm, and the first two harmonics remain. Holding mean force fixed instead would require rescaling P. A small timing error can reintroduce the third harmonic, especially important when damping is low. Move the duty around one third and compare the full signal with its fundamental-only prediction.

Use 4 Hz and tune the duty as close as the slider allows to one third. Read the residual third harmonic and compare the waveform to the fundamental-only trace. Next shift repetition frequency and distinguish removing the forcing coefficient from moving away from resonance.

Tutorial · estimate sensitivity to an on-time error

Near \(d=1/3\) let the duty increase by 0.010 while keeping P fixed. Estimate the newly excited third force harmonic to first order and the resulting displacement near exact resonance. Can this signed contribution be added directly to the static peak displacement?

Differentiate the coefficient, then use the transfer function

From \(a_3=2P\sin(3\pi d)/(3\pi)\), its derivative is \(2P\cos(3\pi d)=-20\) N per unit duty at \(d=1/3\). A change of 0.010 gives about −0.20 N. At resonance the displacement amplitude is

\[0.20/[1000(0.08)]=2.50\,\mathrm{mm}.\]

The sign sets its phase, and the dynamic transfer adds a quarter-cycle lag at resonance. The largest combined displacement requires summing instantaneous contributions with their correct phases, rather than adding every harmonic magnitude as if their crests coincided.

Further reading · MIT 18.03SC · differential equations with periodic input and resonance

Proving a region of attraction with the energy of a pendulum

Pole locations describe a small neighbourhood of a nonlinear equilibrium. An energy argument can prove that a much larger set of initial conditions converges to the same resting point. Work out the region explicitly and test individual trajectories against its boundary.

Extract a storage function from a torque balance

Measure angle \(\theta\) from the downward vertical, let \(\omega=\dot\theta\), and use pivot inertia J and gravitational torque coefficient \(K=mgl\). Add viscous damping b and a control torque \(u=-k_d\omega\) that opposes motion. The closed dynamics are \(J\dot\omega=-K\sin\theta-(b+k_d)\omega\). Define a scalar function with units of energy by adding kinetic energy to the integral of the restoring torque from zero angle:

\[V(\theta,\omega)={1\over2}J\omega^2+K(1-\cos\theta),\]
\[\dot V=J\omega\dot\omega+K\sin\theta\,\omega=-(b+k_d)\omega^2 .\]

A positive damping coefficient ensures energy cannot increase. On the branch \(-\pi<\theta<\pi\), V is positive away from the hanging rest state and zero there. Its derivative is zero whenever velocity vanishes, including ordinary turning points. To justify eventual convergence we need to establish whether any motion can remain indefinitely in this zero-derivative set.

Distinguish a turning point from an invariant state

At \(\omega=0\) a nonzero \(\sin\theta\) produces angular acceleration, taking the trajectory immediately away from zero velocity. Inside the well the only state remaining forever at zero velocity is \((0,0)\). The upright position sits at potential energy \(2K\). Each closed sublevel \(V\le c<2K\) containing the downward rest state is compact and cannot leave the well, because reaching \(\theta=\pm\pi\) would cost at least \(2K\). LaSalle's invariance principle then establishes asymptotic convergence on that component.

\[|\omega_0|<\sqrt{{2K\over J}(1+\cos\theta_0)}\]

This expresses the strict sublevel as a speed allowance at each angle. A state outside it can still settle in the same well because damping removes energy before it reaches the top. The inequality is a sufficient certificate that can be tested from an initial measurement. Exactly at the upright rest state no damping torque acts and the system can remain there.

Compare two releases at the same angle

Let \(J=0.20\) kg m², \(K=2.0\) N m and \(b+k_d=0.30\) N m s/rad. At 60° the potential energy is 1.0 J and the certificate allows speeds below \(\sqrt{30}=5.48\) rad/s. At 4 rad/s the total is 2.6 J, safely below the 4 J barrier. The turning angle cannot exceed \(\arccos(1-2.6/2)=107.5^\circ\) in magnitude. Positive damping reduces the actual maximum further.

At 6 rad/s the initial energy is 4.6 J, outside that guarantee. The instantaneous dissipation is \(0.30(6)^2=10.8\) W, so dissipation before any top crossing may be substantial. Integrate the equation with the same initial angle and compare the true energy trace with the barrier. Moving the damping slider changes the rate of energy loss, while the sublevel calculated from J and K remains fixed.

Raise the starting speed until the initial energy just exceeds the barrier. Compare a damped run with a zero-damping run. Use the two traces to distinguish a guaranteed sublevel from energy actually removed during a particular trajectory.

Tutorial · design an admissible release speed

At 120° with the same parameters, choose a speed ensuring the trajectory remains below 90% of the barrier. What changes in the proof if the velocity gain cancels the physical damping exactly?

Show the energy budget

The potential energy is

\[2(1-\cos120^\circ)=3.0\,\mathrm{J}.\]

The target maximum total energy is 3.6 J, leaving 0.6 J of kinetic energy. Thus \(|\omega_0|\le\sqrt{2(0.6)/0.20}=2.45\) rad/s to the quoted precision. When \(b+k_d=0\), energy is constant. The sublevel remains invariant, but whole undamped orbits now lie in the zero-derivative set, so convergence to rest no longer follows.

Further reading · Åström and Murray, Feedback Systems · chapter 5, Lyapunov stability

Finding a turning point without using the load as a coordinate

Use tangent geometry to continue across a fold, and distinguish branch sensitivity from an ill-posed choice of variable in an equilibrium computation.

Two equilibria share one control value

Use the scaled normal form \(F(x,p)=x^2+p=0\). The equilibrium curve is \(p=-x^2\). At \(p=-0.01\) two displacements, \(x=\pm0.1\), give the same load. Direct continuation in \(p\) uses \(dx/dp=-F_p/F_x=-1/(2x)\). The derivative diverges at the fold. Plotting \(p\) against \(x\), however, produces a smooth curve there.

Background · Backward error
\[F(\hat x)+\delta F=0\]

Specify how perturbations in data or equations are measured. A tiny perturbation making the computed value exact can coexist with a large solution error near a fold.

Add a geometric condition

At a known point \(y_0=(x_0,p_0)\), let \(t\) be a unit tangent perpendicular to \((2x_0,1)\). A predictor \(y_*=y_0+\Delta s\,t\) lies on the tangent. Correct it by solving \(F(x,p)=0\) together with \(t\cdot(y-y_*)=0\), which confines corrections to a line normal to the old tangent. At the fold the Jacobian of this pair is

\[J=\begin{pmatrix}0&1\\t_x&t_p\end{pmatrix},\qquad \det J=-t_x.\]

With the tangent aligned with the displacement axis, \(t_x\) is nonzero. The pair remains locally invertible where load control alone fails. This is a change in the computation's coordinate, not removal of the physical multiple equilibria at a fixed load.

A step that crosses the maximum

Start at \(x_0=-0.1,p_0=-0.01\) with increasing \(x\), so \(t=(1,0.2)/\sqrt{1.04}\). A step of length 0.2 predicts \(x_*\simeq0.0961,p_*\simeq0.0292\), which is off the curve and has positive load. The correction line satisfies

\[x+0.2p=x_*+0.2p_*.\]

Substitute \(p=-x^2\) to obtain \(x-0.2x^2\simeq0.1020\). The nearby root is about 0.1041 and the corrected load about −0.0108. Both endpoints have negative load despite crossing the maximum.

Test the predictor before trusting it

Choose the starting displacement and step length. Plot the tangent segment, the original curve and the selected nearby intersection of the correction line with the curve. A large step makes the tangent less faithful. The correction must stay on the intended local branch.

Tutorial on the experimental meaning

At \(p=-0.01\), a pressure measurement has uncertainty 0.001. Estimate its local displacement uncertainty and compare it near \(p=-0.0001\).

Worked solution

At \(|x|=0.1\), \(|dx/dp|=5\) and the linear estimate is 0.005. At \(|x|=0.01\), the formal factor is 50. The same pressure error now exceeds the distance to the fold, so the local linear approximation itself loses validity.

If the continuation algorithm traces both sides smoothly, are both equilibria dynamically stable?

Worked solution

A static residual gives equilibrium locations. Stability requires the linearisation of a specified evolution law or a second variation of the appropriate energy. Smooth numerical traversal gives no such certificate.

From discrete coordinates to a continuum

Follow two coupled coordinates into a chain and a rod. Compare wave and beam dispersion, derive the role of the mass matrix and use an energy quotient to estimate a frequency.

  1. Coupled oscillators and normal coordinates
  2. Modal participation and absorber tuning
  3. How a longitudinal pulse reflects from a change in rod section
  4. Why the frequencies of a bending beam are not equally spaced
  5. Estimating a cantilever frequency from energy
  6. Weak forms and finite elements
  7. Wave speeds and numerical dispersion
  8. Why two finite-element wave solvers propagate the same mode at different speeds
  9. Vibrations of monoatomic and diatomic chains
  10. Rotational and vibrational populations in a molecular gas

Coupled oscillators and normal coordinates

Derive and interpret the two modes of a coupled machine, then decide which mode an applied load can excite.

From first principles

Find natural modes from the free force balance

For small motions of a conservative system with several coordinates, linear inertia forces are represented by a positive-definite mass matrix \(M\) and linear restoring forces by a symmetric stiffness matrix \(K\). Collect the free balance and try a motion in which the coordinate amplitudes stay in one fixed ratio as each oscillates at frequency \(\omega\).

\[M\ddot{\mathbf x}+K\mathbf x=0,\]
\[\mathbf x=\boldsymbol\phi\cos(\omega t)\ \Longrightarrow\ (K-\omega^2 M)\boldsymbol\phi=0 .\]

A nonzero shape \(\boldsymbol\phi\) can solve these homogeneous equations only when the coefficient matrix is singular. The determinant condition gives candidate squared frequencies, and the nullspace at each frequency gives a mode shape up to scale.

\[\det(K-\omega^2M)=0,\]
\[K\boldsymbol\phi_j=\omega_j^2M\boldsymbol\phi_j .\]

For identical masses linked by a spring, a common translation leaves that link unstretched and an opposite motion stretches it from both ends. This observation identifies common and differential shapes even before evaluating the determinant. Initial displacement and velocity select their amplitudes; the eigenproblem identifies the motions the structure can support.

Two equal masses move together in one normal mode and oppositely in another. Arrows show simultaneous displacements from equilibrium.Open full-size diagram
Which spring deforms in each mode? Assume equal end springs k, equal masses m and a central coupling spring kᶜ. A common displacement leaves the coupling spring at its original length. In the lower drawing each mass moves a distance x towards the other, compressing the central spring by 2x. Half a cycle later the same spring extends by 2x. The ratios of restoring force to displacement are k and k + 2kᶜ, giving squared frequencies k/m and (k + 2kᶜ)/m.

Derivation and applications

Quantify the splitting of two weakly coupled modes

When two machines have the same uncoupled natural frequency, adding a weak connecting spring splits that frequency into two. Consider identical sliders of mass \(m\) each attached to ground by stiffness \(k\) and linked to each other by stiffness \(k_c\). Neglect damping and choose displacements in the same direction from equilibrium. The coupling spring responds only to the displacement difference. Adding and subtracting the two force balances therefore gives separate equations for \(s=(x_1+x_2)/2\) and \(d=(x_1-x_2)/2\).

\[m\ddot s+ks=0,\]
\[m\ddot d+(k+2k_c)d=0.\]

Release slider one at \(A\) and slider two at zero, both from rest. The two modal coordinates then both start at \(A/2\). Write \(\omega_s=\sqrt{k/m}\) and \(\omega_d=\sqrt{(k+2k_c)/m}\) and combine their solutions.

\[x_1=\tfrac A2(\cos\omega_st+\cos\omega_dt),\]
\[x_2=\tfrac A2(\cos\omega_st-\cos\omega_dt).\]

Introduce \(\bar\omega=(\omega_s+\omega_d)/2\) and \(\Delta\omega=\omega_d-\omega_s\). The sum-to-product identities separate the fast motion from slow modulation. When the split is small, the modulation resembles a repeated transfer of motion between the sliders.

\[x_1=A\cos(\bar\omega t)\cos(\Delta\omega t/2),\]
\[x_2=A\sin(\bar\omega t)\sin(\Delta\omega t/2).\]

The first minimum of the slider-one displacement envelope occurs at \(t=\pi/\Delta\omega\). Its instantaneous velocity there need not vanish because the envelope itself is changing. The envelope timing remains identifiable from repeated peaks at weak coupling.

Worked example

Time the exchange of motion

For \(m=1.00\) kg, \(k=100\) N/m and \(k_c=10.5\) N/m, the two frequencies are 10.0 and 11.0 rad/s. The first envelope minimum appears at 3.14 s and the first full recovery of its magnitude at 6.28 s. Releasing the first slider by 8.00 mm sets both modal initial amplitudes to 4.00 mm. Releasing both sliders together instead excites only the slower common motion.

Change the inputs and inspect this calculation below

Second application

Estimate coupling from a beat measurement

A second pair has mass 2.00 kg per slider and measured lower frequency 25.0 rad/s. Consecutive magnitude maxima of one slider's envelope occur 5.00 s apart. Thus

\[\Delta\omega=2\pi/5.00=1.257\,\mathrm{rad/s},\]
\[k_c=m[(25+1.257)^2-25^2]/2=64.4\,\mathrm{N/m}.\]

The independently inferred grounding stiffness is \(m\omega_s^2=1250\) N/m, making the connector about 5.2 percent as stiff.

Interactive calculation · Change the inputs of this example

Use the adjustable quantities to test the two worked calculations above. The plot recomputes this derivation’s balance or constitutive relation; its numerical readout reports the quantities needed for the forward calculation and the inverse or design question. Keep the fixed assumptions stated in the readout when comparing with the example values.

Two masses allow two independent shapes

Two identical instruments sit on separate spring mounts and are connected by a flexible link. Pull both by the same amount and the link keeps its natural length. Pull them in opposite directions and the link stretches twice as much as either displacement. The two tests reveal distinct restoring mechanisms. A model with one equivalent spring and the sum of both masses would discard one of them.

Let \(x_1,x_2\) be horizontal displacements from equilibrium. Each mass is \(m\), each ground spring has stiffness \(k\), and the coupling spring has stiffness \(k_c\). With light springs, small displacements and no damping, the kinetic energy is \(m(\dot x_1^2+\dot x_2^2)/2\) and the elastic energy is \(k(x_1^2+x_2^2)/2+k_c(x_1-x_2)^2/2\). The coupling energy contains the difference of displacements because it is the extension between its ends.

Separate space from time

Taking the derivative of elastic energy with respect to each coordinate gives \(m\ddot x_1+(k+k_c)x_1-k_cx_2=0\) and the symmetric second equation. Look for \(\mathbf x=\boldsymbol\phi\cos\omega t\). Nonzero modal shapes solve \((\mathbf K-\omega^2\mathbf M)\boldsymbol\phi=0\). For this pair the determinant equation is

\[(k+k_c-m\omega^2)^2-k_c^2=0.\]

Taking both signs of the square root gives

\[\omega_1^2=k/m,\]
\[\omega_2^2=(k+2k_c)/m.\]

Substitution back yields shapes proportional to \((1,1)\) and \((1,-1)\). For the first, the connector transmits no incremental force. For the second, the connector acts strongly. Reversing both signs of a plotted eigenvector or multiplying it by a nonzero number describes the same physical mode.

Predict a release test at both instruments

Take \(m=5.0\) kg, \(k=2000\) N/m and \(k_c=1500\) N/m. The two angular frequencies are 20.0 and 31.62 rad/s, or 3.18 and 5.03 Hz. Pull only the first instrument 4.0 mm and release from rest. The initial displacement vector equals \(2(1,1)+2(1,-1)\) mm. Each modal amplitude starts at its corresponding value with zero initial velocity. Hence

\[x_1(t)=2\cos(20t)+2\cos(31.62t),\]
\[x_2(t)=2\cos(20t)-2\cos(31.62t)\]

in millimetres. At zero time the second displacement vanishes while the connector exerts 6.0 N on its mass. Its initial acceleration is 1.2 m/s² toward the first instrument’s displacement. This apparent transfer of motion needs neither forcing nor damping: modal displacements add and cancel differently at the two observation points.

Distinguish available modes from visible modes

Define average and relative coordinates \(q_s=(x_1+x_2)/2\) and \(q_a=(x_1-x_2)/2\). Adding or subtracting the original equations decouples them. Equal external forces excite only \(q_s\); equal and opposite forces excite only \(q_a\). Taking the signal \((x_1+x_2)/2\) likewise hides the antisymmetric mode. A missing spectral peak can therefore reveal the symmetry of a load or sensor arrangement, even though the corresponding eigenmode still exists.

If the two masses differ, the simple sum and difference cease to diagonalise the equations. The general route is to form the physical mass and stiffness matrices and solve the symmetric generalised eigenproblem. Distinct modes of an undamped conservative system are orthogonal with respect to mass, \(\boldsymbol\phi_i^T\mathbf M\boldsymbol\phi_j=0\). This weighted orthogonality is what permits a measured motion or distributed load to be projected into separate modal coordinates.

Predict which mode responds to adding rotary inertia

For a unit mode shape \(\phi\), the quotient \(\omega^2=\phi^TK\phi/(\phi^TM\phi)\) compares stored elastic energy with inertia. Increasing inertia at a coordinate matters most when that coordinate has appreciable motion in the mode. A frame with three tip coordinates offers a way to check this reasoning beyond the symmetric two-mass illustration.

Compare two changes to the same frame: double only the tip mass from 200 to 400 kg, then restore it and double only the tip rotary inertia from 60 to 120 kg m². Predict whether either change can raise a natural frequency for the same stiffness and compute the fractional shift of the third mode in each case. Use the negligible-member-mass row throughout. Check the frame frequency measurements.

Derive bounce and pitch modes of a supported machine

A long machine supported on two mounts can translate and rotate as a nearly rigid body even if there is negligible frame bending. Let the mass centre move vertically by \(z\) and rotate by small angle \(\theta\), with positive rotation raising a point to the right. Vertical spring deflections relative to ground are \(z-a\theta\) on the left and \(z+b\theta\) on the right. Measure displacements from static equilibrium. The kinetic energy is \((m\dot z^2+I_G\dot\theta^2)/2\), and the spring energy is \([k_L(z-a\theta)^2+k_R(z+b\theta)^2]/2\).

Differentiating potential energy gives stiffness terms \(K_{zz}=k_L+k_R,\ K_{\theta\theta}=k_La^2+k_Rb^2,\ K_{z\theta}=-k_La+k_Rb\). The mass matrix is diagonal because translation was measured at the centre of mass. A vertical translation produces a moment whenever the weighted mount locations fail to balance, and a pure rotation then also produces a vertical force by reciprocity. If \(k_La=k_Rb\) the modes are pure translation and pure pitch. Equal spring rates alone do not guarantee decoupling when the lever arms differ.

For free motion solve \((K-\omega^2 M)\phi=0\). In mixed coordinates, metres and radians label different displacement entries, so a numerical component ratio needs units or a stated length scale. Measured vertical motions at two actual sensor locations provide an unambiguous observable mode shape.

Separate a heaving mode from a rocking mode

Let \(m=200\) kg, \(I_G=40\,\mathrm{kg\,m^2}\), \(a=b=0.50\) m and mount rates \(k_L=30000,\ k_R=50000\,\mathrm{N/m}\). The stiffness entries are 80000 N/m, 20000 N m/rad and 10000 N in the mixed term. Setting the determinant to zero gives \((80000-200\lambda)(20000-40\lambda)-10000^2=0\) with \(\lambda=\omega^2\). Dividing through by 8000 yields

\[\lambda^2-900\lambda+187500=0.\]

The squared frequencies are 327.5 and 572.5 s⁻², giving 2.88 and 3.81 Hz.

For the lower mode the first row implies

\[\theta/z=-(80000-200\times327.5)/10000=-1.45\,\mathrm{rad/m}.\]

If mass-centre motion has 1 mm amplitude, the mount-point displacements are 1.725 and 0.275 mm, in phase but strongly unequal. The higher mode gives \(\theta/z=+3.45\,\mathrm{rad/m}\), so the left point now moves oppositely to the right. An accelerometer placed close to a mode’s nodal point can scarcely detect it although that mode remains physically present. For the low mode the vertical node lies about \(1/1.45=0.69\) m to the right of the centre, beyond the right mount. Two well-separated measurement points make the rotational contribution identifiable.

A static load experiment can identify the stiffness coupling before a modal test. Apply a known vertical force \(F\) at the centre and no external moment. The pitch-equilibrium equation gives \(\theta=-K_{z\theta}z/K_{\theta\theta}=-0.50z\) rad per metre for these mounts. Substitution into the vertical balance leaves effective static stiffness \(80000-10000^2/20000=75000\,\mathrm{N/m}\). Under 150 N centre load, predicted motion is 2.00 mm and pitch −0.0010 rad, giving left and right mount readings of 2.50 and 1.50 mm. A centre gauge alone would only indicate an apparent softening, while the unequal pair exposes the rotational coupling that later appears in the two mode shapes.

Find a sensor position that can see a mode

Use the first three bending modes of an ideal simply supported uniform beam as a continuous analogue of coupled oscillators. A local displacement transducer reports a modal coordinate multiplied by the signed shape at the measurement location.

Find a sensor position that can see a mode. Horizontal axis: Sensor position / beam span. Vertical axis: Signed modal displacement, unit antinode. Data follow the figure.
A midspan sensor misses the second mode even if excitation and damping would produce a large second modal coordinate. At one third span the third mode is invisible. Several sensor locations help distinguish a missing mode from a measurement node.
Read values from the plot
Signed modal displacement, unit antinode at selected values of Sensor position / beam span.
Sensor position / beam spanMode 1Mode 2Mode 3
0000
0.250.7071110.70711
0.511.2246e−16−1
0.750.70711−10.70711
11.2246e−16−2.4493e−163.6739e−16

Download all 201 plotted samples (CSV)

Interactive calculation · change the inputs of this example

Move the sensor to a node and then change mode number. A zero local reading does not imply a stationary beam.

The curves below are recalculated from this section’s equations in your browser. The fixed reference plot above remains available for comparison.

Modal participation and absorber tuning

Project external forcing onto vibration modes and determine when a vibration absorber suppresses displacement at a selected frequency.

From first principles

Project a physical force onto a vibration mode

For small undamped motions a structure obeys \(M\ddot{\mathbf x}+K\mathbf x=\mathbf f(t)\) with symmetric mass and stiffness matrices. Its normal modes satisfy

\[K\boldsymbol\phi_j=\omega_j^2M\boldsymbol\phi_j.\]

Expand displacement in these mode shapes, using time-dependent coefficients \(q_j\). Premultiply the result by the transpose of one mode.

\[\mathbf x=\sum_j\boldsymbol\phi_j q_j,\]
\[\sum_j(\boldsymbol\phi_i^\mathsf TM\boldsymbol\phi_j\,\ddot q_j+\boldsymbol\phi_i^\mathsf TK\boldsymbol\phi_j\,q_j)=\boldsymbol\phi_i^\mathsf T\mathbf f .\]

For distinct frequencies, symmetry makes different modes orthogonal under both matrices. The corresponding off-diagonal products vanish, leaving a separate scalar oscillator for the selected mode.

\[m_i\ddot q_i+m_i\omega_i^2q_i=Q_i(t),\]
\[m_i=\boldsymbol\phi_i^\mathsf TM\boldsymbol\phi_i,\]
\[Q_i=\boldsymbol\phi_i^\mathsf T\mathbf f .\]

The force projection has a direct interpretation as work per unit modal displacement. A symmetric load can have zero projection onto an antisymmetric mode despite a large total force. The displacement at a particular sensor is obtained only after adding its components from all excited modes.

Background · Modal participation
\[Q_j=\phi_j^\mathsf T f\]

A mode is excited according to its overlap with the force. Always state how its mode vector and modal mass were normalised.

Derivation and applications

Determine how a point force appears in collocated modal measurements

The displacement measured at the force location can have a zero between two structural resonances. Consider an undamped linear structure with two relevant modes, distinct natural frequencies \(\omega_1<\omega_2\) and modal masses \(m_j>0\). Apply a harmonic point force of complex amplitude \(F\) at coordinate \(a\) and measure displacement at the same coordinate. For modal shape component \(\phi_j(a)\), the generalised force is \(\phi_j(a)F\), and reconstruction at the sensor supplies a second factor of that component.

\[q_j=\frac{\phi_j(a)F}{m_j(\omega_j^2-\omega^2)},\]
\[H_{aa}=\frac{x_a}{F}=\frac{A_1}{\omega_1^2-\omega^2}+\frac{A_2}{\omega_2^2-\omega^2},\]
\[A_j=\frac{\phi_j(a)^2}{m_j}.\]

The residues \(A_j\) are positive when both modes are visible. Between the two poles the first denominator is negative and the second positive. Set the sum to zero and multiply through by both denominators to find the antiresonance.

\[A_1(\omega_2^2-\omega_z^2)+A_2(\omega_1^2-\omega_z^2)=0,\]
\[\omega_z^2=\frac{A_1\omega_2^2+A_2\omega_1^2}{A_1+A_2}.\]

A zero in the measured displacement can therefore result from cancellation of two finite modal displacements. Its position also reveals their relative participation without requiring the absolute force calibration.

\[\frac{A_1}{A_2}=\frac{\omega_z^2-\omega_1^2}{\omega_2^2-\omega_z^2}.\]

Separated force and response locations can give signed residues and change the interlacing. With damping a finite minimum commonly replaces the exact zero, so using its frequency as an exact antiresonance is an approximation.

Worked example

Predict the dip of a two-mode stage

For \(\omega_1=10.0\) rad/s, \(\omega_2=20.0\) rad/s and \(A_1=2A_2\), the squared zero frequency is \((2\times400+100)/3=300\) s⁻², hence \(\omega_z=17.3\) rad/s. At that frequency the first contribution is \(2A_2/(100-300)=-0.0100A_2\) and the second is

\[A_2/(400-300)=+0.0100A_2.\]

The sensor is stationary while both modes respond.

Change the inputs and inspect this calculation below

Second application

Recover a relative participation from a measured minimum

A different collocated test gives resonances at 30.0 and 50.0 Hz and a negligible-damping minimum at 40.0 Hz. Ratios of squared angular frequencies can equally be expressed through squared frequencies in hertz. The residue ratio is

\[(40^2-30^2)/(50^2-40^2)=7/9=0.778.\]

With equal modal masses the first shape magnitude at the force point is \(\sqrt{7/9}=0.882\) of the second.

Interactive calculation · Change the inputs of this example

Use the adjustable quantities to test the two worked calculations above. The plot recomputes this derivation’s balance or constitutive relation; its numerical readout reports the quantities needed for the forward calculation and the inverse or design question. Keep the fixed assumptions stated in the readout when comparing with the example values.

Recover motion from mode amplitudes

Knowing a structure’s natural frequencies does not yet tell you which frequencies a particular actuator will excite. For a linear undamped system write \(M\ddot x+Kx=f(t)\) and let \(\phi_j\) be a real mode shape solving \(K\phi_j=\omega_j^2M\phi_j\). Assume a complete set of independent modes and expand the displacement \(x=\sum_j\phi_j q_j\). Multiplying the equation by \(\phi_i^T\) uses mass and stiffness orthogonality to remove other modal coordinates.

\[m_i\ddot q_i+k_iq_i=\phi_i^Tf(t),\]
\[m_i=\phi_i^TM\phi_i,\]
\[k_i=\omega_i^2m_i .\]

Multiplying a mode shape by a constant changes the numerical modal mass and generalised force, while the reconstructed physical motion remains invariant. Thus a tabulated mode shape needs its normalisation if it is used to compute a physical response. A forcing pattern whose projection vanishes excites none of that mode from rest, even if the excitation frequency equals its natural frequency.

Select a mode by choosing the actuator pattern

Suppose two identical masses 2 kg each have mode shapes \((1,1)\) and \((1,-1)\), with frequencies 10 and 20 rad/s. Both modal masses are 4 kg. A 12 N harmonic force on the first mass projects 12 N onto each mode in this normalisation. At a forcing frequency of 5 rad/s the undamped steady modal amplitudes are

\[12/[4(10^2-5^2)]=0.0400\,\mathrm m,\]
\[12/[4(20^2-5^2)]=0.00800\,\mathrm m.\]

Recombination gives first and second physical amplitudes 0.0480 and 0.0320 m.

Now distribute the same total force as 6 N on each mass in phase. The first projection stays 12 N and the second becomes \(6-6=0\). The masses now both move 0.0400 m. Relocating or phasing actuators can therefore change observed vibration without changing any mass, spring or natural frequency.

Cause the primary displacement to vanish

Attach an auxiliary mass \(m_a\) by spring \(k_a\) to a primary mass \(m_p\) grounded by spring \(k_p\). A harmonic force of amplitude \(F\) acts on the primary mass. Seek displacement amplitudes \(X_p,X_a\). The absorber equation is

\[-k_aX_p+(k_a-m_a\omega^2)X_a=0.\]

At \(\omega^2=k_a/m_a\) this enforces \(X_p=0\). The primary equation then gives

\[X_a=-F/k_a.\]

The absorber’s spring force balances the excitation while the primary mass is stationary in this ideal steady response.

For \(m_a=0.50\,\mathrm{kg}\), a measured forcing frequency of 20 Hz requires

\[k_a=m_a(2\pi20)^2=7896\,\mathrm{N/m}.\]

An 8 N forcing amplitude gives absorber travel amplitude 1.01 mm. The two coupled resonances bracket this tuned antiresonance; startup or a change of shaft speed can pass through them. Damping limits the resonant peaks but generally prevents the exact cancellation obtained from these undamped equations.

OneSimulation · How can two resonant modes cancel the primary displacement?

Apply a sinusoidal force to a 5 kg primary mass supported by a 500 N/m spring. An attached 0.5 kg absorber connects through a 50 N/m spring. At the undamped tuning frequency the absorber equation forces the primary displacement to zero. The full coupled system still has two distinct natural frequencies. With mass-normalised modes and the force and displacement at coordinate 1, the receptance is

\[\frac{X_1}{F_1}=\sum_j\frac{\phi_{1j}^2}{\omega_j^2-\omega^2+2i\zeta_j\omega_j\omega}.\]

OneSimulation obtains the eigenpairs from the mass-scaled stiffness. The eigenfrequencies are 1.36 and 1.86 Hz. Between these frequencies the two undamped real contributions have opposite signs. They cancel at 1.59 Hz. The code checks this zero and independently verifies the static compliance. Increase the common modal damping ratio and inspect the notch: losses shift the modal phases, so the exact zero becomes a finite minimum.

"""A force on the primary mass excites two modes of a tuned absorber."""
import matplotlib.pyplot as plt
import numpy as np
from onesim.numerics.linear.matrices.dense_linear_algebra import symmetric_eigensystem

mass = np.array([5., 0.5])  # kg, primary and absorber
support, spring = 500., 50.  # N/m, support and connecting spring
stiffness = np.array([[support+spring, -spring], [-spring, spring]])
scale = np.diag(1/np.sqrt(mass))
omega2, shapes = symmetric_eigensystem(scale @ stiffness @ scale)
modes = scale @ shapes
residues = modes[0]**2      # applied force and measured motion both at mass 1
tuned = np.sqrt(spring/mass[1])
assert abs(np.sum(residues/(omega2 - tuned**2))) < 1e-12
assert np.isclose(np.sum(residues/omega2), 1/support)

frequency = np.linspace(1.0, 2.3, 600)  # Hz
omega = 2*np.pi*frequency[:, None]
fig, ax = plt.subplots(figsize=(7, 4), constrained_layout=True)
for damping, colour in [(0.005, "#19596a"), (0.04, "#a5442e")]:
    denominator = omega2 - omega**2 + 2j*damping*np.sqrt(omega2)*omega
    response = np.sum(residues / denominator, axis=1)
    ax.semilogy(frequency, 1000*abs(response), color=colour,
                label=f"Both modal damping ratios {100*damping:g}%")

ax.axvline(tuned/(2*np.pi), color="0.5", linestyle=":", label="Undamped cancellation")
ax.set(xlabel="Excitation frequency (Hz)", ylabel="Primary displacement / force (mm/N)")
ax.legend(fontsize=8)
fig.savefig("machine-dynamics.png", dpi=170)
Two resonant displacement peaks bracket a deep tuning notch; increasing modal damping reduces both peaks and raises the displaced minimum.
A low reading at the primary mass can coexist with substantial absorber motion. The plotted response and static-limit check both refer to the force application point.

Download the Python example

Change the inputs of this exact example and compare the recalculated curves with the recorded OneSimulation output above. The browser evaluates the stated analytical or modal reference.

Choose where to observe cancellation

At the tuned absorber frequency a sensor on the primary reports zero ideal steady displacement, while a sensor on the attached mass records finite motion. A force transducer between the bodies measures the full applied excitation in the opposing phase. Moving the sensor can therefore turn the same test from an apparent null into a readily measurable response, without altering the underlying eigenfrequencies.

Project a spatially distributed load onto a flexible member

A beam or string has motion distributed along its length. Its modal forcing is determined by a spatial integral, analogous to the vector dot product for discrete coordinates. For a taut uniform string of length \(L\), linear density \(\mu\) and constant tension \(H\), small transverse displacement \(w(x,t)\) obeys \(\mu w_{tt}-H w_{xx}=p(x,t)\). The tension term follows from the difference in vertical tension components on a short segment. Assume both ends fixed in displacement and neglect bending stiffness, damping and the change of tension caused by stretching. The modes are \(\phi_n=\sin(n\pi x/L)\), with frequencies \(\omega_n=(n\pi/L)\sqrt{H/\mu}\).

Expand \(w=\sum\phi_n q_n\), multiply by \(\phi_j\) and integrate over the length. The mass integral is

\[m_j=\mu\int_0^L\phi_j^2dx=\mu L/2.\]

Integration by parts of the tension term gives the modal stiffness \(k_j=m_j\omega_j^2\), with the fixed-end boundary terms vanishing. The modal input becomes

\[Q_j=\int_0^Lp\phi_jdx.\]

Under a uniform harmonic load amplitude \(p_0\),

\[Q_j=\frac{p_0L}{j\pi}[1-(-1)^j].\]

Even modes have zero generalised force because their positive and negative portions cancel exactly. A point load at \(x_0\) instead yields

\[Q_j=F\phi_j(x_0).\]

Moving an actuator or changing a load footprint can thus suppress a resonance by symmetry without changing the material, tension or natural frequency.

Estimate a cable’s displacement from its first few modes

A laboratory cable spans 2.0 m under 200 N tension and has linear density 0.50 kg/m. Its wave speed is \(20\,\mathrm{m/s}\), so \(f_1=20/(2L)=5.0\,\mathrm{Hz}\) and \(m_j=0.50\,\mathrm{kg}\). Apply a distributed harmonic pressure-equivalent line load \(p_0=0.40\,\mathrm{N/m}\) at 2.0 Hz. For mode one, \(Q_1=2(0.40)(2)/\pi=0.509\,\mathrm N\), and its dynamic stiffness is

\[0.50[(2\pi5)^2-(2\pi2)^2]=414.5\,\mathrm{N/m}.\]

Its modal amplitude is 1.23 mm.

The third mode has \(Q_3=0.170\,\mathrm N\), \(f_3=15\) Hz and amplitude \(0.170/\{0.50[(2\pi15)^2-(2\pi2)^2]\}=0.0390\,\mathrm{mm}\). At the midpoint \(\phi_1=+1\) while \(\phi_3=-1\), so the two-term prediction is approximately 1.19 mm. The next odd mode contributes with the opposite sign again, but is far stiffer at this drive frequency. In the static limit an independent check follows from the parabolic string solution \(w(L/2)=p_0L^2/(8H)=1.00\,\mathrm{mm}\). If a strong measured response appears at the symmetric load’s even-mode resonance, investigate load asymmetry, asymmetric support stiffness or a disturbed initial condition before assigning a nonzero ideal modal projection.

The spatial convergence pattern can be estimated before adding many terms. For odd mode number \(n\) well above the forcing frequency, the uniform-load projection decreases as \(1/n\) while modal stiffness increases as \(n^2\). Each displacement contribution therefore decreases roughly as \(1/n^3\). A point actuator at midspan instead gives modal projections of essentially alternating constant magnitude for odd modes, producing only a \(1/n^2\) displacement decay. Hence a truncation that accurately predicts the response to a distributed flow load can be less accurate for an impulsive local tap. Strain or slope predictions may require still more terms because a spatial derivative introduces an additional factor of mode number. Choose the retained modes for the actual load and observed quantity.

The uniform cable problem admits an independent harmonic calculation without modal truncation. Set \(w(x,t)=W(x)\cos\Omega t\). The governing equation gives

\[W''+\kappa^2 W=-p_0/H,\]
\[\kappa=\Omega\sqrt{\mu/H}.\]

Symmetry about midspan and fixed ends select \(W(x)=[p_0/(\mu\Omega^2)]\{\cos[\kappa(x-L/2)]/\cos(\kappa L/2)-1\}\), provided the denominator is nonzero. For the test above \(\kappa L/2=0.6283\) and \(W(L/2)=0.40[1/\cos(0.6283)-1]/[0.50(2\pi2)^2]=1.196\,\mathrm{mm}\). This direct boundary-value result confirms both the signs and the scale of the first two odd-modal contributions.

As the excitation approaches the first natural frequency, \(\kappa L/2\) approaches \(\pi/2\) and the undamped steady expression becomes singular. An actual time record may instead show progressively growing amplitude before damping or geometric effects intervene. At very low frequency expand \(\sec q\simeq1+q^2/2\); substituting \(q=\Omega L\sqrt{\mu/H}/2\) recovers the static midpoint displacement without subtracting two nearly equal numerical values. The modal and spatial calculations thus furnish independent checks in the static, off-resonant and resonant limits.

What happens to the notch of a tuned absorber?

Attach an absorber of mass 0.10 times the primary mass, tuned to the primary’s undamped frequency. Include 2.5% primary damping. Solve the complex two-mass force balance for primary displacement under harmonic forcing; the absorber spring and dashpot act on relative motion.

What happens to the notch of a tuned absorber?. Horizontal axis: Drive / primary natural frequency. Vertical axis: Primary motion / static deflection. Data follow the figure.
Without absorber damping the primary displacement vanishes at the tuned frequency, with response peaks on both sides. Absorber damping fills the notch and changes those adjacent peaks. An installation with variable drive speed must check the entire band.
Read values from the plot
Primary motion / static deflection at selected values of Drive / primary natural frequency.
Drive / primary natural frequencyAbsorber damping ratio 0Absorber damping ratio 0.06Absorber damping ratio 0.2
0.351.15781.15781.1577
0.68752.27762.26952.2234
1.0250.493751.19882.9457
1.36251.55461.49461.2562
1.70.574990.572350.55496

Download all 401 plotted samples (CSV)

Interactive calculation · change the inputs of this example

Detune the absorber, then add damping. Compare the cancellation notch with both adjacent peaks.

The curves below are recalculated from this section’s equations in your browser. The fixed reference plot above remains available for comparison.

How a longitudinal pulse reflects from a change in rod section

A tap on one end of a rod reaches a receiver after a finite delay. Two rods joined end to end can even return a pulse before the receiver sees a far-end reflection. Derive propagation speed and distinguish the displacement amplitude from the energy carried by a pulse.

From the cut force to a travelling disturbance

Measure the small axial displacement \(u(x,t)\) from a stress-free reference. In a slender homogeneous rod of area A, tensile force is

\[N=EA u_x.\]

A slice of length dx and mass \(\rho A\,dx\) accelerates because its right and left forces differ by \(N_x dx\). For constant properties, cancelling A gives

\[\rho A u_{tt}=(EAu_x)_x,\]
\[u_{tt}=c^2u_{xx},\]
\[c=\sqrt{E/\rho}.\]

Either \(u=f(x-ct)\) or \(u=g(x+ct)\) satisfies this equation by differentiation. Curves of constant phase move right or left with speed c. Long-wavelength assumptions suppress lateral inertia and radial modes. Rod area cancels from wave speed but remains in the force carried at given particle velocity. For a right-moving pulse \(v=u_t=-cu_x\), so tensile force \(N=-Zv\), with mechanical impedance \(Z=\rho Ac=EA/c\). The sign reverses for a left-moving wave.

Match velocity and force at a bonded junction

Let amplitudes I, R and T denote incident, reflected and transmitted particle velocity at the junction. A massless, perfectly bonded interface requires equal velocities and transmitted force. Apply the preceding sign convention separately to each travelling direction. The two equations determine two unknowns.

\[I+R=T,\]
\[-Z_1 I+Z_1 R=-Z_2 T,\]
\[{R\over I}={Z_1-Z_2\over Z_1+Z_2},\]
\[{T\over I}={2Z_1\over Z_1+Z_2}.\]

The instantaneous power transported to the right is \(-Nv=Zv^2\) for a single right-moving wave. For the same pulse shape the reflected energy fraction is \((R/I)^2\) and the transmitted fraction is \((Z_2/Z_1)(T/I)^2\). They sum to one. A transmitted velocity amplitude exceeding the incident amplitude can thus be compatible with conservation of energy.

A stepped rod and a pulse-echo observation

Join two aluminium rods of areas 80 and 160 mm², \(E=70\) GPa and \(\rho=2700\) kg/m³. Both have \(c=5092\) m/s, but the second impedance is twice the first. An incident velocity of 0.30 m/s produces a reflected −0.10 m/s and a transmitted 0.20 m/s. The reflected pulse carries one ninth of the energy. Reversing the experiment makes the reflection positive and the transmitted velocity 0.40 m/s for the same incident amplitude. The two energy fractions are unchanged on reversal.

A receiver at the tap detects a reflected pulse 0.40 ms after launch, before any far-end reflection contaminates it. The return path covers the distance twice, so the inferred junction is \(c(0.00040)/2=1.02\) m away. Measure pulse velocity rather than strain when comparing the signs to the plot. Incident tensile force has sign opposite incident velocity with the convention used here.

Keep the incoming pulse fixed and change the area ratio from 2 to 0.5. Determine which velocity component reverses sign and compare reflected energy fractions. Explain the difference by writing power balance for the two experiments.

Tutorial · infer a second cross-section

On a uniform material an isolated junction returns 25% of the incident velocity amplitude with the same sign. Infer the area ratio and transmitted energy fraction. How could an energy-only measurement leave the geometry ambiguous?

Show the inverse relation

Let \(z=Z_2/Z_1=A_2/A_1\). Then \(0.25=(1-z)/(1+z)\), so \(z=0.60\). The transmitted velocity is \(1.25 I\). Its energy fraction is

\[0.60(1.25)^2=0.9375.\]

Measuring only the reflected energy gives 0.0625 and loses the sign of the amplitude. A thickening by a factor \(1/0.60\) would give the same energy reflection and the opposite sign in the velocity trace.

Further reading · Bower, Applied Mechanics of Solids · solutions to problems involving vibrations and wave propagation

Why the frequencies of a bending beam are not equally spaced

A distributed beam can bend into infinitely many shapes. Derive the relation between wavelength and oscillation frequency, then compare the measured response of a beam with the mode family predicted by its supports.

Combine transverse force, moment and curvature

Take a straight uniform beam with small transverse deflection \(w(x,t)\), density \(\rho\), area A and second moment of area I about the bending axis. Euler–Bernoulli kinematics keeps cross-sections perpendicular to the centreline. The bending resistance is proportional to curvature \(EI w_{xx}\). For a load-free part of the beam the gradient of moment supplies shear and the gradient of shear accelerates the mass. With restoring forces opposing deflection, the resulting equation is

\[\rho A\,w_{tt}+EI\,w_{xxxx}=0 .\]

The fourth spatial derivative calls for four boundary conditions. At a simple support the displacement vanishes and the bending moment is zero, hence

\[w=w_{xx}=0.\]

A clamp instead fixes displacement and slope. Interchanging a pin and a clamp changes the allowed shape family even if the span and material remain fixed.

Obtain the simply supported series

Try \(w=W\sin(kx)\cos(\omega t)\). Two spatial derivatives bring down \(-k^2\), and four give \(+k^4\). Substitution balances the inertia and stiffness terms. The conditions at x=0 hold for every k in this sine family. At x=L the sine must vanish, yielding

\[\omega^2={EI\over\rho A}k^4,\]
\[k_n={n\pi\over L},\]
\[f_n={n^2\pi\over 2L^2}\sqrt{EI\over\rho A}.\]

A long travelling sinusoid has phase velocity \(\omega/k=k\sqrt{EI/(\rho A)}\). The group velocity \(d\omega/dk\) is twice that value in this model. A localized pulse contains many wavelengths, which can therefore separate as it propagates. Predictions at wavelengths near the thickness require accounting for rotary inertia and shear deformation.

Choose sensor positions as carefully as the frequency range

Use a 1 m steel strip 20 mm wide and 4 mm thick with \(E=200\) GPa and \(\rho=7800\) kg/m³. For bending about the thin direction \(I=bh^3/12\) and \(I/A=h^2/12\). The first three simply supported frequencies are roughly 9.18, 36.7 and 82.7 Hz. Doubling the width alone doubles stiffness and mass together and leaves these frequencies unchanged. Doubling thickness doubles each frequency. Shortening the span by 20% increases all three by \(1/0.8^2=1.56\).

At the centre a displacement pickup sees \(\sin(n\pi/2)\). It sees the first mode at its antinode and misses the second mode entirely. At the quarter point it sees that second mode strongly. An absent spectral peak can therefore result from excitation or sensing at a node. Move the measuring point before adjusting a fitted damping value to explain its absence.

Find a common node of the first and third modes and a location that suppresses the second mode alone. Change the thickness and then the span. Use the resulting frequencies to test whether each scaling is linear or quadratic.

A related OneSimulation calculation

For a frame whose geometry and end payload preclude the simply supported sine family, compare the first three computed modes after changing the tip mass. Test whether all frequencies scale by the same factor.

Compare frame modes with OneSimulation

Tutorial · distinguish distributed bending from a tensioned string

A simply supported specimen has prominent peaks at 12 Hz and 108 Hz with the receiver at midspan. Infer which bending modes these could be and predict the frequency and receiver location for the missing mode. What would the third-to-first frequency ratio be for an ideal string?

Show the mode test

The ratio \(108/12=9\) agrees with \(n^2\) for \(n=3\). The second bending mode should lie near \(4(12)=48\) Hz. Measure at one quarter span and excite away from its nodes. An ideal uniform string has \(\omega=ck\) and a third-to-first ratio of 3. Checking both the midspan node and the shifted pickup spectrum distinguishes these models more effectively than a single peak.

Further reading · MIT 2.003SC · lecture 27 on vibration of continuous structures

Estimating a cantilever frequency from energy

A clamped beam carries a small sensor at its tip. Its precise mode shape is unknown. Use the static deflection shape to approximate the fundamental frequency and see why concentrating a small mass at the tip has a large effect.

Choose a displacement field that respects the support

Write \(w(x,t)=q(t)\phi(s)\) with \(s=x/L\), taking \(q\) as tip displacement. Choose the shape from a uniform cantilever under a static transverse tip force. The bending moment varies linearly from root to tip. Integrating curvature twice with \(w(0)=w'(0)=0\), then normalizing at \(s=1\), gives

\[\phi=s^2(3-s)/2.\]

The shape satisfies both essential clamp conditions. Its free-tip shear need not match the exact unloaded vibration mode. The energy formulation can use such admissible trial shapes.

Background · Rayleigh quotient
\[R(u)=u^\mathsf TK u/(u^\mathsf TM u)\]

For symmetric stiffness and positive mass this estimates squared angular frequency. A kinematically admissible displacement is required for a useful structural estimate.

Compute effective stiffness and mass from the same field

The strain energy density of a slender beam in bending is \(\tfrac12 EI w_{xx}^2\). Its translational kinetic energy is \(\tfrac12\rho A w_t^2\) per unit length. Changing variables from x to s introduces different powers of L into the two integrals. Include a point mass M at the tip, neglecting its rotary inertia.

\[U={EI q^2\over 2L^3}\int_0^1(\phi'')^2\,ds,\]
\[K={\dot q^2\over2}\left[\rho AL\int_0^1\phi^2\,ds+M\right].\]

Since \(\phi''=3(1-s)\), the stiffness integral is 3. Squaring \(s^2(3-s)/2\) and integrating \( (9s^4-6s^5+s^6)/4\) gives \(33/140\). The Euler–Lagrange equation for q is consequently a single oscillator equation with

\[\omega_R^2={3EI/L^3\over(33/140)\rho AL+M}.\]

For M=0 this gives the dimensionless coefficient \(\sqrt{140/11}=3.5675\). Solving the exact unloaded cantilever condition \(\cosh\beta\cos\beta=-1\) gives

\[\beta_1^2=3.5160.\]

The estimate is high by about 1.5%. The Rayleigh minimum principle explains that direction of error for conservative systems with admissible trial shapes. Restricting motion to a single shape restricts the set over which the energy quotient can attain its minimum.

Choose a sensor after estimating its dynamic effect

Take \(EI=10\) N m², \(L=0.50\) m and total beam mass 0.40 kg. The tip stiffness is 240 N/m and the distributed effective mass is only 0.0943 kg. The estimate gives 8.03 Hz without a sensor and 6.49 Hz with a 0.05 kg tip sensor. The sensor weighs one eighth of the beam, yet it has over half the effective mass associated with the chosen tip coordinate.

Place the same sensor at half-span instead. There \(\phi(0.5)=0.3125\). Its kinetic energy contributes \(M\phi(0.5)^2=0.00488\) kg to the effective mass, so the estimate rises to 7.83 Hz. The sensor measures a smaller local motion as it perturbs the frequency less. Compare that trade-off at different attachment positions with the plot.

Move along the position axis with a fixed sensor mass. Identify the interval in which frequency is most sensitive to changing attachment position. Double the sensor mass and check whether the change in frequency doubles at the tip.

A related OneSimulation calculation

The course frame model has several modes and an independently variable payload rotary inertia. Compare a pure translation-mass change with a rotary-inertia change; the scalar point-mass estimate above addresses the first mechanism.

Open the OneSimulation frame eigenvalue experiment

Tutorial · estimate an unknown attached mass

The same bare beam is fitted with a small tip part and resonates at 6.0 Hz. Estimate the attached mass. Give one reason the inferred mass could differ from a scale reading even when the frequency measurement is accurate.

Show the mass estimate

The required effective mass is

\[240/(2\pi\cdot6)^2=0.1689\,\mathrm{kg}.\]

Subtract 0.0943 kg for the beam to obtain about 0.0746 kg. Clamp compliance would reduce the effective stiffness and frequency, which this fit would interpret as extra tip mass. The trial shape and omission of rotary inertia also limit the estimate for a part with appreciable extent.

Further reading · Bower, Applied Mechanics of Solids · Rayleigh–Ritz methods

Weak forms and finite elements

Derive a variational statement by integration by parts, assemble element matrices for a one-dimensional rod and explain what the Galerkin solution minimises.

From first principles

Obtain the weak diffusion problem by moving one derivative

For a stationary diffusion problem \(-\nabla\cdot(k\nabla u)=f\), suppose temperature is prescribed on part of the boundary and the outward flux \(q_n=-k\nabla u\cdot\mathbf n\) on the remainder. A classical second derivative may not exist across a material interface. Instead multiply the conservative equation by a smooth test function \(v\) that vanishes where \(u\) is prescribed. The divergence theorem moves one derivative from the flux onto \(v\):

\[\int_\Omega k\nabla u\cdot\nabla v\,d\Omega=\int_\Omega fv\,d\Omega-\int_{\Gamma_N}vq_n\,d\Gamma .\]

Approximate \(u\) with continuous element shape functions \(N_j\) that are differentiable inside each element. Choose each allowable shape function as the test function. Linearity then yields element contributions

\[K_{ij}^{(e)}=\int_e k\nabla N_i\cdot\nabla N_j\,d\Omega,\]
\[f_i^{(e)}=\int_e fN_i\,d\Omega .\]

Neighbouring elements contribute to the same global unknown at a shared node. Adding their contributions enforces weak equilibrium. The flux sign in the boundary term follows from an outward-positive definition; switching to prescribed inward heat supply reverses that sign in the load vector.

Background · Weak form
\[\int k\nabla u\cdot\nabla v\,dV=\int fv\,dV+\text{boundary terms}\]

Integration by parts lowers the derivative requirement. Essential and natural boundary data enter the discrete system differently.

Derivation and applications

How a Robin boundary enters both the stiffness matrix and the load

A convecting boundary couples an unknown surface temperature to an ambient temperature. Unlike a prescribed heat source it contributes to both sides of the assembled equations. Consider steady diffusion \(-\nabla\cdot(k\nabla T)=s\) in a two-dimensional region of unit thickness, with \(k>0\). On a straight boundary segment impose the empirical film law \(-k\nabla T\cdot\mathbf n=h(T-T_\infty)\) using the outward normal. Multiply the field equation by a test function \(v\) vanishing on prescribed-temperature boundaries, integrate, and apply the divergence theorem:

\[\int_\Omega k\nabla v\cdot\nabla T\,dA-\int_{\partial\Omega}v k\nabla T\cdot\mathbf n\,ds=\int_\Omega vs\,dA .\]

Substitution on the film boundary \(\Gamma\) places the unknown surface term on the left and the ambient contribution on the right:

\[\int_\Omega k\nabla v\cdot\nabla T\,dA+\int_\Gamma hvT\,ds=\int_\Omega vs\,dA+\int_\Gamma hvT_\infty\,ds\]

with any other natural boundary terms added separately. To assemble one linear edge of length \(\ell\), use edge functions \(N_1=1-\xi\), \(N_2=\xi\), \(\xi\in[0,1]\). Insert the nodal interpolation for \(T\) and choose each \(N_i\) as test function. Constant \(h,T_\infty\) give

\[K_\Gamma=\frac{h\ell}{6}\begin{pmatrix}2&1\\1&2\end{pmatrix},\qquad f_\Gamma=\frac{h\ell T_\infty}{2}\begin{pmatrix}1\\1\end{pmatrix}.\]

The off-diagonal term is present because both nodes influence temperature across the same edge. In the limit \(h=0\) the boundary is insulated. A very large film coefficient constrains the temperature toward ambient but can introduce a large stiffness contrast.

Worked example

Assemble a convecting edge by hand

Use a one-metre out-of-plane thickness, \(\ell=0.300\) m, \(h=20.0\) W/(m² K) and \(T_\infty=290\) K. Then \(K_\Gamma\) has diagonals \(2.00\) W/K and off-diagonals \(1.00\) W/K. The load is \((870,870)\) W. At nodal temperatures \(300\) and \(310\) K the film residual \(K_\Gamma T-f_\Gamma\) is \((40,50)\) W. The sum \(90\) W agrees with \(h\ell[(300+310)/2-290]\).

Second application

Test a constant solution before using the boundary routine

Set both temperatures to \(290\) K, the ambient value. Each row has sum \(3.00\) W/K, so every residual is \(3(290)-870=0\). If the code includes the ambient load but forgets the matrix, it predicts \(1740\) W of heating at thermal equilibrium. This constant-field patch test detects sign errors and omission of the surface matrix independently of the volume mesh.

Reduce the differentiability required by equilibrium

A rod is fixed at \(x=0\), pushed by a distributed load \(f\) and by an end force \(t\) at \(x=L\). Axial displacement \(u\) satisfies \(-(EAu')'=f\), \(u(0)=0\) and \(EAu'(L)=t\). The product \(EA\) is positive. A trial profile assembled from linear pieces has jumps in its derivative, so differentiating it twice pointwise is unsuitable. Instead multiply the strong equation by a test displacement \(v\) vanishing at the fixed end and integrate by parts once.

The resulting equation is

\[\int_0^L EA\,u'v'\,dx=\int_0^L fv\,dx+t v(L).\]

Only first derivatives are required. The fixed displacement is imposed directly on trial and test spaces; the end traction appears in the load functional. This clarifies why prescribing both force and displacement independently at the same end can overconstrain a second-order problem. The test functions represent allowable virtual displacements, and the integral identity expresses equality of internal and external virtual work.

Background · Why can the derivative jump while the displacement stays continuous?

At a bonded interface with no concentrated force, displacement and axial force are continuous. If \(EA\) jumps, the strain \(u'\) can jump inversely even though the product \(EAu'\) is continuous. For a continuous piecewise linear displacement, the weak first derivative is the ordinary piecewise constant slope. The squared-gradient energy is therefore finite.

A displacement jump is different. Replacing a jump of size \(d\) by a straight ramp over width \(\delta\) costs strain energy \(EA d^2/(2\delta)\) for constant positive stiffness, which diverges as the ramp shrinks. A standard conforming displacement space encodes this distinction. If the mechanics really allow slip, the interface needs its own model and a space which permits the two traces to differ.

Assemble one element and connect it to its neighbour

On an element from \(x_i\) to \(x_{i+1}\) of length \(h\), use shape functions \(N_1=1-s,\ N_2=s\) with \(s=(x-x_i)/h\). Their physical derivatives are \(-1/h,\ 1/h\). For constant \(EA\), integrating products \(EA N'_aN'_b\) gives the matrix \((EA/h)\left(\begin{smallmatrix}1&-1\\-1&1\end{smallmatrix}\right)\). A constant distributed load contributes \(fh(1,1)^T/2\). Summing element contributions for a shared global node enforces balance there without prescribing the internal traction manually.

Take \(L=1,\ EA=1,\ f=2,\ t=0\) in consistent units and use two equal elements. After eliminating the fixed displacement, the stiffness matrix is \(\left(\begin{smallmatrix}4&-2\\-2&2\end{smallmatrix}\right)\) and the load is \((1,0.5)^T\). Solving gives

\[u(0.5)=0.75,\ u(1)=1.\]

The exact solution is \(2x-x^2\) and agrees at both nodes. Inside the first element at \(x=0.25\), the linear interpolant gives 0.375, whereas the exact value is 0.4375. Nodal agreement can coexist with a substantial interior error.

Assemble a physical triangle from a reference element

A line element has one length scale. A triangle can stretch, rotate and shear, so the element area alone cannot determine its diffusion matrix. Start with the reference vertices \((0,0),(1,0),(0,1)\) and the linear shape functions \(1-\xi-\eta,\xi,\eta\). Send the reference triangle to a physical cell with vertices \(P_0,P_1,P_2\) by \(x=P_0+J(\xi,\eta)^T\), where the columns of \(J\) are \(P_1-P_0\) and \(P_2-P_0\). For a nondegenerate triangle, the chain rule and area transformation give

\[\nabla_x N_i=J^{-T}\nabla_{\xi,\eta}\widehat N_i,\]
\[dx\,dy=|\det J|\,d\xi\,d\eta .\]

To see why the inverse transpose occurs, take an arbitrary displacement \(d\widehat x\). Both gradients must describe the same change in a shape function. Thus \((\nabla_xN_i)^TJ\,d\widehat x=(\nabla\widehat N_i)^Td\widehat x\) for every such displacement. For unit isotropic conductivity, the transformed gradients are constant and the physical stiffness entries reduce to

\[K_{ij}=|T|\nabla N_i\cdot\nabla N_j,\]

with \(|T|=|\det J|/2\). A constant cell load \(f\) contributes \(f|T|/3\) at each vertex because each linear shape function has mean \(1/3\).

A sheared cell and an exact affine-field check

Take \(P_0=(0,0), P_1=(2,0), P_2=(1,1)\). The columns of \(J\) are \((2,0)\) and \((1,1)\), so the cell area is \(1\). Applying \(J^{-T}\) to the three reference gradients gives \((-1/2,-1/2),(1/2,-1/2),(0,1)\). Their dot products and the load \(f=3\) yield

\[K=\begin{pmatrix}1/2&0&-1/2\\0&1/2&-1/2\\-1/2&-1/2&1\end{pmatrix},\qquad b=(1,1,1)^T.\]

Every row sums to zero because a constant field has zero gradient. For a more discriminating test use \(u=x+2y\), with vertex values \(U=(0,2,3)^T\). Weighting the three gradients by these values gives \((1,2)\). The physical integral of its squared gradient equals \(1(1^2+2^2)=5\), and direct multiplication gives \(U^TKU=5\). A transposed mapping error can pass the constant test and fail this second one.

Identify the energy that is best approximated

Let \(a(u,v)=\int EA\,u'v'\) and denote the external work by \(\ell(v)\). The discrete solution \(u_h\) satisfies \(a(u_h,v_h)=\ell(v_h)\) for every test function from its finite-dimensional space. The continuous solution satisfies the same equation for every such test, so \(a(u-u_h,v_h)=0\). This Galerkin orthogonality means the error is perpendicular to the trial space in the energy inner product. For any other admissible discrete \(w_h\), write \(u-w_h=(u-u_h)+(u_h-w_h)\) and expand its squared energy norm. The cross term vanishes and \(\|u-w_h\|_a^2=\|u-u_h\|_a^2+\|u_h-w_h\|_a^2\).

Thus the conforming Galerkin solution is the best energy approximation in its space for this symmetric linear problem and exact integration. The statement concerns a specific norm and model. It does not guarantee pointwise optimal stresses or carry unchanged into nonsymmetric transport problems. In the rod example the computed strain is constant on each element, replacing a linearly varying exact strain. Refinement improves this derivative field even when a table of nodal displacements already looks exact.

Recover a support reaction

The reaction at a prescribed-displacement node is hidden if one inspects only the reduced interior system. Assemble all element internal forces \(Ku_h\) before discarding constrained rows, then subtract the full external load vector. The entries at free degrees of freedom should be near zero; the entry at a prescribed degree of freedom gives the reaction in the chosen sign convention.

In the uniformly loaded rod, the first element strain is

\[(0.75-0)/0.5=1.5.\]

Its internal nodal force at the left is \(-1.5\), while the first node receives an external distributed-load share of \(+0.5\). Their difference \(-2\) is the support reaction. It balances the total applied load \(2\cdot1=2\). Looking only at the derivative in the first element would have reported magnitude 1.5, missing that load share. A reaction from assembled balance and a stress recovered by pointwise differentiation are related but distinct quantities on a finite mesh.

Obtain actual norm errors from the Galerkin property

For \(-u''=f\) on the unit interval with homogeneous Dirichlet values, the elementary energy inner product is \(a(u,v)=\int u'v'\). Let \(I_hu\) be the continuous piecewise-linear interpolant of a sufficiently smooth exact solution at mesh nodes. On each element its slope is the average of \(u'\). Every linear finite-element test function \(v_h\) has constant derivative on that element. Consequently

\[\int_E(u-I_hu)'v_h'=v_h'[u-I_hu]_{\partial E}=0.\]

Summing proves global energy orthogonality.

The Galerkin solution satisfies the same orthogonality, and positive definiteness gives uniqueness. Thus \(u_h=I_hu\) in this one-dimensional, constant-coefficient problem with exactly integrated load and matching boundary values. Nodal errors vanish, although the field and derivative between nodes can still be inaccurate. Variable coefficients inside an element generally destroy the simple telescoping argument because the factor multiplying \(v_h'\) is no longer constant. The result also should not be transferred to multidimensional triangulations without proof.

Compare nodal, field and flux accuracy for one solution

Choose \(u=x(1-x)\), so \(f=2\). On an element starting at \(a\) write \(s=x-a\in[0,h]\). Subtract the straight interpolant from the parabola to get \(u-u_h=s(h-s)\), vanishing at both nodes and attaining \(h^2/4\) at the element centre. Its derivative is \(h-2s\); the exact and numerical slopes agree at the midpoint but differ by magnitude \(h\) at each endpoint taken from that element. Testing only the midpoint slope or the nodal values would entirely conceal these other discrepancies.

Compute the squared energy error on this element:

\[\int_0^h(h-2s)^2ds=h^3/3.\]

With \(1/h\) equal elements, the global energy error is \(h/\sqrt3\). Similarly the element squared field error is \(\int_0^hs^2(h-s)^2ds=h^5/30\), giving global \(L^2\) error \(h^2/\sqrt{30}\). For \(h=1/4\), the two errors are approximately 0.14434 and 0.01141; the maximum field error is 0.015625. Halving the mesh width halves the energy error but divides the field error by four. All these measurements concern the very same numerical solution whose nodal error is exactly zero.

For a physical diffusion flux with constant conductivity one, flux error equals minus derivative error. A cell-averaged flux test is also special here: the numerical slope equals the exact average slope on each element for the same reason used in the proof. To verify local flux resolution, compare at more than a midpoint or a cell average and retain the measure used for convergence. A reported order is a statement about an observable and a norm as well as a finite-element space.

These formulas also identify a misleading manufactured test: if an automated comparison stores only nodal differences, the estimated order is undefined because both coarse and fine errors vanish. Adding independently evaluated quadrature points inside elements exposes the field error immediately. To check a flux implementation, use a quadrature rule capable of resolving the squared linear derivative error; a one-point midpoint rule would again report zero despite the nonzero exact energy norm.

Distribute a moving point source in a weak form

A one-dimensional Poisson problem has a concentrated source \(Q\delta(x-a)\). Its weak load against a linear hat function is \(Q\phi_i(a)\), so the two adjacent degrees of freedom share it in proportion to their shape functions.

Distribute a moving point source in a weak form. Horizontal axis: Source position within one element. Vertical axis: Nodal load / total point load. Data follow the figure.
At 30% of the element length the split is 70% left, 30% right. The loads sum to Q and reproduce the correct first moment. Placing the whole source at the nearest node preserves total load but jumps abruptly at mid-element.
Read values from the plot
Nodal load / total point load at selected values of Source position within one element.
Source position within one elementLeft basis functionRight basis function
010
0.250.750.25
0.50.50.5
0.750.250.75
101

Download all 241 plotted samples (CSV)

Change parameters · Distribute a moving point source in a weak form

Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.

Wave speeds and numerical dispersion

Derive the leapfrog dispersion relation, use the Courant condition to distinguish boundedness from accurate travel time and initialise a standing-wave calculation consistently.

From first principles

Derive the numerical wave dispersion relation by advancing a single mode

Consider a one-dimensional homogeneous wave with speed \(c\), uniform spatial grid \(h\) and time increment \(\Delta t\). Centred second differences approximate both accelerations and spatial curvatures using the values on either side of their evaluation point. The governing equation \(u_{tt}=c^2u_{xx}\) becomes

\[u_j^{n+1}-2u_j^n+u_j^{n-1}=C^2(u_{j+1}^n-2u_j^n+u_{j-1}^n),\]
\[C=c\Delta t/h .\]

To determine what the grid does to one travelling component, insert \(u_j^n=e^{i(kjh-\omega n\Delta t)}\) and divide by the value at \((j,n)\). In both directions the pair of opposite phases combines to a cosine. Using \(2-2\cos z=4\sin^2(z/2)\) then gives

\[\sin^2(\omega\Delta t/2)=C^2\sin^2(kh/2).\]

Long wavelengths recover \(\omega\simeq c|k|\). Short waves can propagate at a different phase speed even in a perfectly homogeneous physical medium. Requiring a real \(\omega\) for every resolved \(k\) gives \(C\le1\). This derivation concerns interior grid modes; domain boundaries can introduce reflected waves as a separate numerical effect.

Derivation and applications

Derive a conserved energy for the centred wave update

A time-stepping method can support a numerical travelling wave while transporting its phase at a slightly incorrect speed. For a second diagnostic, ask whether total discrete vibration energy remains bounded. Consider a uniform one-dimensional periodic grid for \(u_{tt}=c^2u_{xx}\), unit mass density and no forcing. Denote the forward spatial difference by \(D\) and the half-step velocity by \(v^{n+1/2}=(u^{n+1}-u^n)/\Delta t\). Summation by parts on this grid gives \(\langle v,D^\mathsf TD u\rangle=\langle Dv,Du\rangle\) using the grid inner product. The centred step can be written

\[v^{n+1/2}-v^{n-1/2}=-c^2\Delta t D^\mathsf TD u^n .\]

Take the inner product with \((v^{n+1/2}+v^{n-1/2})/2\). The left side becomes a difference of two kinetic energies. On the right use \(\Delta t(v^{n+1/2}+v^{n-1/2})=u^{n+1}-u^{n-1}\) and move \(D\) to the other factor:

\[E^{n+1/2}=E^{n-1/2},\]
\[E^{n+1/2}=\tfrac12\|v^{n+1/2}\|^2+\tfrac12c^2\langle Du^{n+1},Du^n\rangle.\]

The potential term couples consecutive time levels. Writing it in terms of the midpoint displacement \(\bar u=(u^{n+1}+u^n)/2\) identifies when the invariant bounds the solution:

\[E^{n+1/2}=\tfrac12\|v\|^2-\tfrac18 c^2\Delta t^2\|Dv\|^2+\tfrac12c^2\|D\bar u\|^2 .\]

Since \(\|Dv\|\le2\|v\|/\Delta x\), the kinetic part is bounded below by \((1-C^2)\|v\|^2/2\), with \(C=c\Delta t/\Delta x\). The invariant controls nonconstant waves for \(C<1\). An exact but indefinite conservation law alone would not guarantee a bounded numerical solution.

Worked example

Read a timestep from a material and grid

Take \(c=100\) m/s, \(\Delta x=0.0500\) m and \(\Delta t=0.400\) ms. Then \(C=0.800\) and the bound preserves at least \(1-C^2=0.360\) of the usual half-step kinetic term even in the worst spatial mode. The customary limiting step from this argument is \(0.500\) ms.

Second application

Show why equality of successive energies can mislead

Take the alternating grid mode for which \(\|Dv\|=2\|v\|/\Delta x\), and choose adjacent displacements whose midpoint is zero. At \(C=1.20\) the invariant for this state is

\[E=(1-1.44)\|v\|^2/2=-0.220\|v\|^2.\]

Negative energy here is a property of the numerical quadratic form. A solver can preserve it exactly and still exhibit amplitude growth.

Distinguish transport of phase from transport of energy

A taut string with small transverse displacements and fixed tension obeys \(u_{tt}=c^2u_{xx}\). The physical speed \(c\) is independent of wavelength in this ideal one-dimensional model. A discrete solver can transport long waves at nearly the correct speed while short waves arrive late. In a pulse comprising many wavelengths, this artificial dependence on frequency distorts its shape even in a stable computation. A phase comparison at a probe provides information beyond monitoring maximum amplitude.

Use centred second differences in both time and space, with \(C=c\Delta t/h\). Solving explicitly for the new level gives

\[u_i^{n+1}=2u_i^n-u_i^{n-1}+C^2(u_{i-1}^n-2u_i^n+u_{i+1}^n).\]

To initialise, expand \(u(\Delta t)=u(0)+\Delta t\,v(0)+(\Delta t)^2 c^2u_{xx}(0)/2+\cdots\). Replacing \(u_{xx}(0)\) by the same spatial difference gives a first level consistent with the initial velocity and acceleration. Simply copying the starting displacement to level one can introduce a spurious launch velocity.

Derive the discrete dispersion relation

Take a travelling mode \(u_i^n=\exp[\mathrm{i}(i\theta-n\omega_h\Delta t)]\) with spatial phase \(\theta=kh\). Inserting it makes the temporal second difference proportional to \(-4\sin^2(\omega_h\Delta t/2)\) and the spatial second difference proportional to \(-4\sin^2(\theta/2)\). Thus on the positive-frequency branch

\[\sin(\omega_h\Delta t/2)=C\sin(kh/2).\]

A real \(\omega_h\) exists for all resolvable real spatial phases only when \(C\leq1\). If \(C>1\), the shortest wave makes the right-hand side exceed one; a temporal amplification root then lies outside the unit circle. Even when stable, the ratio of numerical to physical phase speed is \(2\arcsin[C\sin(\theta/2)]/(C\theta)\). A fine spatial sample makes \(\theta\) small and the ratio tends to one. At \(C=1\) the ideal uniform one-dimensional interior stencil reproduces the wave phase on the resolved branch. Boundaries, material transitions and multiple dimensions require separate analysis.

Long waves travel at the expected speed for all three Courant numbers; shorter grid waves slow appreciably below the unit Courant number.
Centred one-dimensional wave discretisation. A short wave remains stable for the illustrated Courant numbers while accumulating substantial phase error in two of the runs.

Estimate a travel-time error

Take \(C=0.5\) and four points per wavelength, so \(\theta=\pi/2\). Then

\[\omega_h\Delta t=2\arcsin[0.5\sin(\pi/4)]=0.72273\,\mathrm{rad}.\]

The physical advance is

\[C\theta=\pi/4=0.78540\,\mathrm{rad}.\]

The numerical phase speed is about 0.920 of the true speed. After ten physical periods, its accumulated phase is about 9.20 cycles. A stable solution can therefore be nearly one oscillation behind while retaining a visually plausible amplitude.

Group velocity is \(d\omega_h/dk\), obtained by differentiating the dispersion relation. On this branch \(v_g/c=\cos(\theta/2)/\sqrt{1-C^2\sin^2(\theta/2)}\), about 0.756 in the four-point example. A narrow-band packet’s envelope and an individual crest then propagate at different numerical speeds. When interpreting a probe trace, say whether the reported arrival corresponds to a crest, an envelope or a threshold. Repeat the calculation at additional points per wavelength using the same Courant number to isolate spatial-phase improvement from changes in the time integration.

Interpret the grid’s travelling domain of dependence

In one explicit wave step, a node uses only itself and its two nearest neighbours. After \(n\) steps its numerical domain of dependence extends at most \(n\) grid cells to either side. The continuous wave at the same time can depend on initial data a distance \(cn\Delta t\) away. For convergence that physical domain must fit inside the numerical one, giving \(c\Delta t\leq h\). This reproduces the Courant condition from geometry without inserting a Fourier mode. It is a necessary information-speed test; by itself it does not establish stability or accuracy of an arbitrary scheme.

As an example, with \(c=340\) m/s and \(h=0.01\) m, the step bound is about 29.4 microseconds. A 20 microsecond step satisfies it but need not give an accurate answer for a mode represented by only three or four points per wavelength. Time-of-flight information and wavelength resolution are related to different discretisation choices. Document both when comparing two wave calculations.

Derive a reflected wave from a discrete outgoing condition

For a one-dimensional wave travelling right at speed \(c\), the outgoing continuum condition is \(u_t+cu_x=0\) at the right boundary. It annihilates an exact right-travelling waveform. A numerical boundary update using forward time and backward space gives

\[u_N^{n+1}=(1-C)u_N^n+C u_{N-1}^n,\]

where \(C=c\Delta t/h\). A wave satisfying the interior discrete dispersion relation need not satisfy this one-sided relation. Even when the continuum boundary is perfectly absorbing, a mismatch of discrete phase relations can send energy back into the computational domain.

Let \(z=e^{-i\omega\Delta t}\), with the incident and reflected grid waves represented by \(e^{i\theta(j-N)}z^n\) and \(R e^{-i\theta(j-N)}z^n\). At the boundary their sum is \(1+R\) times \(z^n\). Substitution in the outgoing update and grouping incident and reflected terms gives

\[R=-\frac{z-1+C-Ce^{-i\theta}}{z-1+C-Ce^{i\theta}}.\]

This amplitude ratio assumes a homogeneous grid, a propagating frequency and distinct incident and reflected branches. It compares each wave at the boundary itself. Signals measured farther inward acquire additional phase and travel-time factors and can interfere if both arrive in the same observation window.

Calculate a reflection generated by numerical mismatch

Use the centred wave scheme with \(C=1/2\) and grid angle \(\theta=\pi/2\), four cells per wavelength. The interior relation gives \(\sin(\omega\Delta t/2)=(1/2)\sin(\pi/4)=1/(2\sqrt2)\), hence \(z=0.75-i\sqrt7/4\). The incident mismatch in the numerator is \(0.25-i(\sqrt7/4-0.5)\); the reflected denominator is \(0.25-i(\sqrt7/4+0.5)\). Squaring the magnitudes gives \((3-\sqrt7)/4\) and \((3+\sqrt7)/4\), respectively. Therefore \(|R|=\sqrt{(3-\sqrt7)/(3+\sqrt7)}\approx0.2505\). Roughly one quarter of the incident amplitude is reflected solely by this discrete boundary treatment.

For incident and reflected branches on the same symmetric grid, their group-speed magnitudes match. The corresponding reflected energy fraction is \(|R|^2\approx0.0627\), about six percent. That is small enough for a short experiment to appear satisfactory until the pulse returns to a sensor. Testing only the incident travel time would miss this boundary error. Compare a time window before reflection with the expected window for the return journey.

At \(C=1\) and \(0<\theta<\pi\), the right-moving interior root is \(z=e^{-i\theta}\). The numerator vanishes exactly and the boundary update transmits that branch without reflection. This exact compatibility is special to this one-dimensional grid, this step size and this outgoing condition. Varying the propagation angle in two dimensions, changing an interface spacing or using a higher-order interior stencil changes the phase relation that the boundary operator needs to match.

There is a practical way to isolate this reflection in a pulse computation. Record incident and outgoing velocity or flux at the same interior sensor, and choose the duration so that the reflected signal arrives after the incident pulse has passed. Normalise amplitudes in the same physical variable, and avoid dividing a pressure peak by a displacement peak. A broadband pulse contains many values of the grid angle, so its returned waveform can change shape even when each monochromatic component obeys the calculated reflection coefficient.

Change parameters · Wave speeds and numerical dispersion

Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.

Why two finite-element wave solvers propagate the same mode at different speeds

Build the element mass matrix by integrating shape functions and track the effect of diagonal lumping on the wave spectrum.

From a continuum wave to nodal masses

For \(u_{tt}=c^2u_{xx}\), multiply by a test function and integrate by parts. On a periodic line the boundary contributions cancel. A piecewise-linear element of width \(h\) uses shape functions \(1-\xi,\xi\), with \(\xi\in[0,1]\). Integrating products of shape functions gives

\[M_e=(h/6)\left(\begin{smallmatrix}2&1\\1&2\end{smallmatrix}\right).\]

Integrating derivative products gives

\[K_e=(c^2/h)\left(\begin{smallmatrix}1&-1\\-1&1\end{smallmatrix}\right).\]

Row-sum lumping replaces each mass row by its sum on the corresponding diagonal, \(h/2\). This preserves the mass associated with a uniform velocity but changes the response to a velocity that varies within an element.

Background · Numerical dispersion
\[c_{\rm ph,h}=\omega_h(k)/k\]

A discretised wave can retain its amplitude and still propagate at the wrong speed. Compare phase and group errors over the actual resolved wavelengths.

Diagonalise the assembled periodic problem

A periodic nodal mode has \(u_j=e^{ij\theta}\). Each neighbour contributes \(e^{\pm i\theta}\) relative to node \(j\). Thus \(K\) multiplies by \(2c^2(1-\cos\theta)/h\), consistent \(M\) by \(h(2+\cos\theta)/3\), and lumped \(M\) by \(h\). Dividing stiffness by mass gives the discrete squared frequency. Relative to the exact frequency \(c\theta/h\),

\[\frac{\omega_L}{c\theta/h}=\frac{2\sin(\theta/2)}{\theta},\]
\[\frac{\omega_C}{c\theta/h}=\frac{2\sin(\theta/2)}{\theta}\sqrt{\frac{3}{2+\cos\theta}}.\]

Both tend to one for long waves; the leading quadratic errors have opposite signs. This is a spatial effect, present even with exact time integration.

Two wavelengths in one mesh

At four cells per wavelength \(\theta=\pi/2\). The lumped ratio is \(2\sqrt2/\pi\approx0.9003\); the consistent ratio is about 1.1027. One wave solver lags by roughly ten per cent and the other leads by roughly ten per cent. At eight cells per wavelength the ratios move much closer to one, but repeated propagation over many wavelengths can still accumulate visible phase error.

At the shortest grid mode \(\theta=\pi\), the consistent frequency is \(\sqrt{12}c/h\) and the lumped frequency \(2c/h\). A central-difference time integrator stable for \(h_t\omega\le2\) therefore requires a smaller step for the consistent mass. Accuracy at one wavelength and stability at the grid scale are different design criteria.

Tutorial on interpreting a convergence test

Which mass gives the exact kinetic energy for a linear velocity varying from \(v\) to \(-v\) on one element?

Worked solution

The continuum energy with unit density is \(hv^2/6\). The consistent matrix reproduces it by exact integration. The lumped kinetic energy is \(hv^2/2\), because it assigns both end masses the full endpoint speed.

How would you isolate spatial dispersion from time stepping in a measurement of a cavity eigenfrequency?

Worked solution

Solve the generalised eigenproblem \(Kq=\omega^2Mq\) directly for increasingly fine meshes or converge time steps on each fixed mesh. Then compare with the continuum frequency and report both \(h\) and the time tolerance.

Vibrations of monoatomic and diatomic chains

Derive normal modes from a local force law and identify the physical motion behind the acoustic and optical branches.

From first principles

Turn a local spring law into a phonon dispersion relation

Consider identical atoms of mass \(m\) spaced by \(a\) along a chain. Write \(u_j\) for the displacement from the equilibrium position of atom \(j\). For small changes of bond length, expand the bond energy to second order about its minimum. Its first derivative vanishes and its positive second derivative \(K\) is the measured bond stiffness. The bond on the right pulls with force \(K(u_{j+1}-u_j)\); the left bond contributes \(K(u_{j-1}-u_j)\). Newton’s law gives

\[m\ddot u_j=K(u_{j+1}-2u_j+u_{j-1}) .\]

Translation of a normal mode by one site can change its phase but not its shape. Insert \(u_j=Ue^{i(kja-\omega t)}\), divide by the common amplitude, and simplify:

\[-m\omega^2=K(e^{ika}+e^{-ika}-2)=-4K\sin^2(ka/2),\]
\[\omega=2\sqrt{K/m}\,|\sin(ka/2)|.\]

For wavelengths much larger than \(a\),

\[\sin(ka/2)\simeq ka/2.\]

The slope gives the sound speed \(a\sqrt{K/m}\). At \(k=0\) all atoms move together and no bond stretches, which explains the zero frequency. More than one atom per primitive cell permits internal relative motion even at \(k=0\), the ingredient needed for an optical branch.

Derivation and applications

Count the modes that crowd against a chain’s band edge

Why can a narrow frequency bin near the top of a vibration band contain a substantial share of all modes? Take a monoatomic chain of \(N\) equal masses \(m\) with one longitudinal displacement each. Impose periodic ends and use identical harmonic nearest-neighbour springs of stiffness \(K\) with spacing \(a\). The frequency on the positive half of the first zone rises monotonically to \(\omega_m=2\sqrt{K/m}\). Inverting that branch gives the wavevector bounding the states below a trial frequency,

\[k(\omega)=\frac{2}{a}\arcsin\!\left(\frac{\omega}{\omega_m}\right),\qquad 0\leq\omega\leq\omega_m .\]

Allowed wavevectors are spaced by \(2\pi/(Na)\). Counting the interval of width \(2k(\omega)\) includes both propagation directions. In a large chain the fractional count and its derivative per atom are therefore

\[F(\omega)=\frac{2k(\omega)}{2\pi/(Na)}\frac{1}{N}=\frac{2}{\pi}\arcsin\!\left(\frac{\omega}{\omega_m}\right),\]
\[g(\omega)=\frac{dF}{d\omega}=\frac{2}{\pi\omega_m\sqrt{1-(\omega/\omega_m)^2}}.\]

Here \(g\,d\omega\) is a fraction of the modes. The normalization follows from \(F(\omega_m)=1\), as required by the count of independent displacements. Near the edge the slope of the dispersion tends to zero, so evenly spaced wavevectors map into progressively smaller frequency intervals. This causes an integrable singularity in the continuum density. A finite spectrometer bin always contains a finite count. A measured spectrum can also weight modes differently through a probe’s coupling to atomic motion.

Worked example

Count modes within the upper tenth of the band

For \(N=10{,}000\), the interval between \(0.9\omega_m\) and the upper edge contains \(N[1-(2/\pi)\arcsin(0.9)]\simeq2871\) modes, allowing a mode or two for endpoints. A uniform distribution in frequency would give 1000. A nearly stationary wave packet near the upper edge and a large number of modes per unit frequency have the same origin in the small group velocity.

Second application

Use the spectral median to infer a spring stiffness

An ideal chain with atomic mass \(5.00\times10^{-26}\,\mathrm{kg}\) has half of its longitudinal modes below an ordinary frequency of \(4.00\,\mathrm{THz}\). Setting \(F=1/2\) gives

\[\omega_{1/2}/\omega_m=\sin(\pi/4).\]

The upper frequency is \(5.66\,\mathrm{THz}\), and \(K=m(2\pi f_m)^2/4=15.8\,\mathrm{N/m}\). The frequency ratio is unchanged by conversion to angular frequency, but the final stiffness requires that conversion.

Try it · Chain count

Vary the physical parameters in the derived relation. Use the units and assumptions in the readout to connect the curves to the two worked examples. A parameter study can test the forward prediction; the same relation can then be inverted to infer a parameter from a measurement.

From bond extension to a travelling displacement

Let atoms of mass \(m\) on a line be coupled by springs of stiffness \(K\), spaced \(a\) apart. The spring to the right pulls site \(n\) by \(K(u_{n+1}-u_n)\); the left contributes \(K(u_{n-1}-u_n)\). A uniform shift produces no force. Translation symmetry suggests \(u_n=u e^{i(kna-\omega t)}\). Substitution gives

\[\omega^2(k)=\frac{2K}{m}(1-\cos ka)=\frac{4K}{m}\sin^2(ka/2).\]

The sound speed at long wavelength is \(a\sqrt{K/m}\), consistent with a continuum rod whose one-dimensional stiffness is \(Ka\) and whose mass per length is \(m/a\). At \(k=\pi/a\) neighbouring atoms move in opposition and the slope of the dispersion vanishes. A wave packet made of nearby \(k\)'s moves with the group velocity \(d\omega/dk\), which can differ greatly from the phase velocity \(\omega/k\) near the boundary.

Background · Why must one vibration have exactly zero frequency?

Give every atom the same displacement. If the potential energy depends only on separations, no bond changes length and no atom experiences a restoring force. Differentiate the force with respect to this uniform translation. For one displacement direction the resulting row-sum condition on the force constants is

\[\sum_j K_{ij}=0,\]
\[D\,(\sqrt{m_1},\ldots,\sqrt{m_N})^T=0,\]
\[D=M^{-1/2}KM^{-1/2}.\]

With unequal masses the translational eigenvector is uniform in physical displacement, while its mass-weighted components vary. A nonzero frequency at zero wavevector may reveal missing neighbour interactions in a numerical model. A real spring to a substrate also breaks translation symmetry and produces a physical gap. The boundary conditions decide which explanation is plausible.

Introduce an internal coordinate

Place masses \(m,M\) alternately, with spacing \(a/2\) between neighbours and cell period \(a\). Let their displacements in cell \(n\) be \(Ue^{ikna}\) and \(Ve^{ikna}\) times the same time factor. The two force balances contain sums of neighbouring amplitudes. For example the A mass sees B in cell \(n\) and in cell \(n-1\), giving \(m\omega^2 U=2KU-K(1+e^{-ika})V\). Exchanging the masses and conjugating the phase gives the second row. Requiring a nonzero solution yields

\[mM\omega^4-2K(m+M)\omega^2+4K^2\sin^2(ka/2)=0 .\]

There are two nonnegative solutions for \(\omega^2\) per \(k\). With \(N\) cells under periodic boundary conditions this gives \(2N\) longitudinal modes, exactly matching the number of independent displacements. At \(k=0\) the lower branch has \(U=V\) and zero frequency. For the upper branch the centre of mass stays fixed, \(mU+MV=0\), with \(\omega^2=2K(1/m+1/M)\). An electric field can excite some optical modes in polar crystals; the branch name alone does not guarantee optical activity.

A gap and a sound speed answer different questions

At the zone boundary \(1+e^{ika}=0\), so the sublattices decouple. If \(M=4m\), the two edge frequencies are \(\sqrt{K/(2m)}\) and \(\sqrt{2K/m}\), a factor of two apart. When the masses become identical the two folded branches meet, recovering the original monoatomic chain in a doubled cell. An apparent branch boundary created by plotting in a smaller zone need not be a physical frequency gap.

Expand the determinant for small \(k\) on the lower branch. Since \(\omega^2\) scales as \(k^2\), discard the term of order \(k^4\). This gives

\[v_s=a\sqrt{K/[2(m+M)]}.\]

The two springs in a cell act in series for long waves, while both masses contribute to inertia. The sound speed alone determines a stiffness-to-mass ratio; measuring the upper branch supplies independent information about the internal motion.

The acoustic branch rises from zero, the optical branch remains above it, and a frequency interval separates them throughout the zone.
For a four-to-one mass ratio the zone-edge frequencies differ by a factor of two. The shaded interval contains no longitudinal normal mode of the infinite chain.
Try it · Diatomic

Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.

Convert a mode count into thermal predictions

Quantisation assigns a harmonic mode levels \(\hbar\omega(j+1/2)\). The thermal part of its mean energy is \(\hbar\omega/[\exp(\hbar\omega/k_BT)-1]\). Low-temperature excitations thus select long-wavelength acoustic modes while high-frequency optical modes remain scarcely populated. Counting states in a three-dimensional sphere gives a low-frequency density proportional to \(\omega^2\) for linear branches. Rescaling the energy integral by \(\hbar\omega/k_BT\) gives thermal energy proportional to \(T^4\) and heat capacity proportional to \(T^3\). Dimensionality and linear dispersion are essential assumptions behind that power.

Count thermally generated vacancies

A mode calculation for a perfect crystal starts with one atom on every site. Heating a real sample can leave some atoms at a surface or reservoir and some lattice sites empty. How large should that defect population be even at thermal equilibrium? Consider \(N\) equivalent sites and \(n_v\) independent vacancies. At fixed temperature and pressure let \(g_f\) be the Gibbs cost of making one vacancy and transferring its atom to the reservoir. It may contain local vibrational contributions. We count the separate entropy of choosing the missing sites explicitly.

There are \(W=N!/[n_v!(N-n_v)!]\) such arrangements. With \(x=n_v/N\) and macroscopic occupations, Stirling’s formula gives

\[\frac{G-G_0}{N}=xg_f+k_BT\left[x\ln x+(1-x)\ln(1-x)\right].\]

Minimizing with respect to \(x\) gives

\[g_f+k_BT\ln[x/(1-x)]=0.\]

The second derivative is positive. Thus \(x=1/(1+e^{g_f/(k_BT)})\). For positive \(g_f\gg k_BT\) there are few vacancies and \(x\simeq e^{-g_f/(k_BT)}\). Each vacancy costs energy, but at tiny \(x\) the number of possible positions grows fast enough to favour a nonzero population. A finite microscopic specimen can still contain zero vacancies at a given instant.

Take \(g_f=0.800\,\mathrm{eV}\) as constant over the chosen range and \(k_B=8.6173\times10^{-5}\,\mathrm{eV/K}\). At \(900\,\mathrm K\), \(k_BT=0.07756\,\mathrm{eV}\) and \(x=3.31\times10^{-5}\). A region with \(10^{15}\) sites contains an expected \(3.31\times10^{10}\) empty sites. At \(600\,\mathrm K\) the equilibrium fraction drops to \(1.91\times10^{-7}\). Rapid cooling may leave an excess because vacancies must migrate to sinks before the concentration relaxes. The formation free energy in this calculation sets an equilibrium population. A migration barrier would enter the time to attain it.

A light substitution can localize a vibration

An infinite monatomic chain has a continuous vibration band, while a single altered atom can support a vibration spatially concentrated near one site. Let identical springs of stiffness \(K\) connect masses \(m\) on a chain of spacing \(a\), except the central mass at site zero is \(M\). Seek a symmetric localized solution with alternating neighbouring amplitudes \(u_n=A(-q)^{|n|}e^{-i\omega t}\) for \(0<q<1\). Alternation is motivated by the top of the perfect-chain band where adjacent atoms oscillate out of phase. Exponential decay supplies the localization.

At any ordinary site away from the impurity, the equation \(-m\omega^2u_n=K(u_{n+1}+u_{n-1}-2u_n)\) gives

\[m\omega^2=K(2+q+q^{-1}).\]

Since \(q+q^{-1}>2\), this frequency lies above the perfect-chain band edge \(\omega_{\max}=2\sqrt{K/m}\). At site zero both neighbours have displacement \(-q u_0\), giving \(M\omega^2=2K(1+q)\). Eliminating \(\omega\) and cancelling \(1+q\) yields

\[q=\frac{M}{2m-M},\]
\[\omega^2=\frac Km(2+q+q^{-1}).\]

The physical condition \(0<q<1\) requires a lighter central mass \(0<M<m\). A heavy isotope can still scatter travelling waves or produce resonant response within the band. This ansatz predicts no exponentially localized symmetric mode above the band for the heavier substitution. Its absence follows from the admissible decay factor rather than an assumption that a heavy impurity cannot move.

Predict a localized spectral peak

Take host atomic mass \(m=4.00\times10^{-26}\) kg, spring stiffness \(K=40.0\) N/m, lattice spacing \(a=0.300\) nm and impurity \(M=m/2\). The host upper angular frequency is

\[2\sqrt{40.0/(4.00\times10^{-26})}=6.32\times10^{13}\,\mathrm{rad/s}.\]

For the impurity \(q=1/3\), so \(\omega^2=(16/3)K/m\), giving \(\omega=7.30\times10^{13}\) rad/s or \(f=11.6\) THz. The ordinary chain ends near \(10.1\) THz.

The neighbour amplitude is minus one third of the central amplitude, and the second neighbour has plus one ninth. Expressing the absolute envelope as \(e^{-|n|a/\xi}\) gives localization length \(\xi=a/\ln3=0.273\) nm. As \(M\) approaches \(m\) from below, \(q\) approaches one, localization length diverges and the extra frequency merges with the band edge. A finite-chain calculation should therefore vary chain length before claiming that a very weak impurity mode is spatially localized: a box shorter than its decay length cannot separate that broad tail from a standing host mode.

Spatially resolved displacement data can provide two independent estimates of impurity mass. Invert the decay-factor relation to obtain \(M/m=2q/(1+q)\) from neighbouring displacement amplitudes. Separately insert the measured localized frequency and the same host force constant in the central equation of motion. Agreement tests the assumption that the impurity changes only inertia. A substituted atom may also change the two neighbouring springs: in that case the observed frequency and decay factor can no longer be fitted by altering mass alone. This inversion distinguishes an isotope-like substitution from a stronger local bonding perturbation.

A weak second impurity far away perturbs the localized mode only through its exponentially small tail. Bringing two such impurities within a few decay lengths allows the modes to mix and split in frequency, offering another test of their spatial localization.

Rotational and vibrational populations in a molecular gas

A pressure thermometer and a calorimeter do not count molecular degrees of freedom in the same way. A dilute diatomic gas can retain nearly ideal pressure while its heat capacity changes appreciably as discrete internal levels become populated. Build the molecular partition function, derive the rotor and oscillator contributions, and infer temperatures from line populations without treating spectral intensity as a direct state count.

When a molecule's partition function factorises

Assume a dilute gas of stable diatomic molecules with weak interparticle interactions. Approximate one molecule's Hamiltonian by independent translational, rotational, vibrational and electronic parts. This requires a bond sufficiently stiff that rotation does not greatly alter vibrational energy and a temperature well below electronic excitations or dissociation when the electronic factor is treated as constant. If energies add and allowed states form a product, Boltzmann factors multiply. Thus \(q=q_{\rm tr}q_{\rm rot}q_{\rm vib}q_{\rm el}\), \(Z_N\simeq q^N/N!\) in the dilute classical translational regime. The logarithm converts this product into additive free energies, energies and heat capacities.

The translational factor \(V/\lambda_T^3\) provides the volume derivative and hence ideal pressure \(Nk_BT/V\). A volume-independent internal factor changes neither that derivative nor the associated translational equation of state. It does change entropy, chemical potential and calorimetry. The molar heat capacities satisfy \(C_p-C_V=R\) for a fixed-composition ideal gas, even when both vary strongly with temperature. Dissociation, chemical equilibration or significant intermolecular interactions can change the conclusion for the measured sample.

One danger is double-counting states. Angular momentum orientations belong to rotational degeneracy, oscillator quanta to vibration, electronic spin and nuclear exchange symmetry may constrain one another. A constant electronic degeneracy contributes an additive entropy \(Nk_B\log g\) but no internal energy or heat capacity at fixed level energies. A large heat capacity is evidence for energetically separated states becoming populated, not just for a large number of exactly degenerate states.

Derive the quantum rigid-rotor contribution

For a molecule of moment of inertia \(I\) about its centre of mass, rotational Hamiltonian is \(\hat L^2/(2I)\). Angular momentum eigenvalues are \(\hbar^2J(J+1)\), with \(2J+1\) projections at fixed \(J=0,1,\ldots\). Define rotational temperature \(\theta_r=\hbar^2/(2Ik_B)\). For distinguishable nuclei and a common nuclear spin factor omitted, the rotational sum and populations are

\[q_r=\sum_{J=0}^\infty(2J+1)e^{-\theta_r J(J+1)/T},\]
\[p_J=(2J+1)e^{-\theta_r J(J+1)/T}/q_r .\]

At high temperature the populated range contains many adjacent \(J\) values. Replacing the sum with an integral and substituting \(u=J(J+1)\) gives

\[q_r\simeq T/\theta_r.\]

Hence \(U_r\simeq Nk_BT\), \(C_{V,r}\simeq Nk_B\), the classical result for two independent rotational kinetic energies of a linear object. At low temperature only \(J=0\) and \(J=1\) matter. Their degeneracies and gap \(2k_B\theta_r\) give \(q_r\simeq1+3e^{-2\theta_r/T}\) and an exponentially vanishing heat capacity. Keeping the degeneracy three is essential for both its magnitude and the temperature of its turn-on.

For an illustrative heteronuclear rotor with \(\theta_r=85\) K, direct summation at 20 K gives \(q_r=1.00061\) and \(C_{V,r}=0.0440k_B\) per molecule. At 90 K the corresponding values are 1.471 and 1.063. At 300 K the heat capacity is 1.002. A small overshoot above the classical rotational value is possible during the crossover. A model that simply switches from zero to one classical degree contribution at \(T=\theta_r\) misses the entire smooth population redistribution and cannot predict line ratios.

The most populated \(J\) need not be zero, despite increasing energies, because the projection multiplicity increases with \(J\). Viewing the numerator as a smooth function of \(J\) gives \(J_{\rm peak}\simeq[\sqrt{2T/\theta_r}-1]/2\), to be checked against neighbouring integer values. The estimate is unreliable if it predicts only one or two populated levels. Computing a short discrete sum costs little and reveals its own truncation error through the final omitted weights.

Derive oscillator energy and heat capacity from a geometric series

Near its bond-length minimum approximate the interaction by a spring. With reduced mass \(m_r\) and angular vibration frequency \(\omega_v\), quantum energies are \(E_n=\hbar\omega_v(n+1/2)\). Define \(\theta_v=\hbar\omega_v/k_B\). Summing the resulting geometric series and differentiating gives

\[q_v=\frac{e^{-\theta_v/(2T)}}{1-e^{-\theta_v/T}},\]
\[\frac{U_v}N=k_B\theta_v\left(\frac12+\frac1{e^{\theta_v/T}-1}\right),\]
\[\frac{C_{V,v}}{Nk_B}=\frac{x^2e^{-x}}{(1-e^{-x})^2},\]
\[x=\theta_v/T .\]

The zero-point term contributes energy but no heat capacity at fixed frequency. For \(x\ll1\) the heat capacity approaches \(k_B\) per independent vibrational mode, comprising kinetic and potential contributions. For \(x\gg1\) excitation is too costly and the heat capacity behaves as \(k_Bx^2e^{-x}\). A molecule can still vibrate quantum mechanically in its ground state while contributing virtually no vibrational heat capacity. A calorimeter measures sensitivity of mean energy to temperature and need not see the ground-state motion.

Take \(\theta_v=3000\) K. At \(T=300\) K the vibrational contribution is only \(0.00454k_B\), while at 1200 K it reaches \(0.609k_B\). Combining with the earlier rotor gives molar \(C_V\) approximately \(2.507R\) at 300 K and \(3.109R\) at 1200 K, assuming stable composition and frozen electronic structure. For acoustic measurements the ideal adiabatic ratio \(\gamma=(C_V+R)/C_V\) then decreases from about 1.399 to 1.322. An acoustic drive faster than vibrational relaxation can measure a frequency-dependent effective ratio because internal populations fail to remain equilibrated through a compression cycle.

Compare this single oscillator with the frequency distribution in the lattice heat-capacity plot

Nuclear exchange and the symmetry number

For a homonuclear molecule, rotating its classical orientation by half a turn end for end does not create a second distinct arrangement. In a high-temperature rotational count a symmetry number two therefore divides the distinguishable-nuclei rotor partition function once the compatible spin states are accounted for. Since this factor is constant with temperature it shifts entropy and chemical potential, but not the classical rotational energy or heat capacity. At low temperature it is important to treat actual quantum parity, not divide every level by two.

A homonuclear diatomic rotational wavefunction acquires a factor \((-1)^J\) under exchange of nuclei. The complete state also includes nuclear spin, electronic and vibrational parts. For ordinary molecular hydrogen in its electronic and vibrational ground state the protons are spin-half fermions. Antisymmetry pairs even \(J\) with the single antisymmetric spin singlet and odd \(J\) with the three symmetric triplet spin states. In true spin-conversion equilibrium the rotor sum uses weights one or three in addition to \(2J+1\). At temperatures large compared with rotational spacing, even and odd \(J\) sectors have nearly equal rotational sums and the equilibrium odd-to-even population ratio approaches three.

Conversion between spin species can be slow. A rapidly cooled sample may preserve its prepared fractions rather than attain spin equilibrium. Then compute separate parity-restricted partition functions for fixed species numbers, and average their thermal observables with the frozen proportions. Allowing the total odd fraction to relax yields a different heat capacity, including the energy liberated by conversion. Two experiments on chemically identical hydrogen can consequently report different heating curves because their preparation constrains different internal sectors.

Use intensities only after accounting for the instrument

An absorption line originating from level \(J\) has a strength depending on more than its population. Transition moment, polarisation, transition frequency, stimulated emission correction, instrument response and path length can all enter. Suppose line strengths and detector factors have been divided out to yield quantities proportional to level populations \(N_J\). Then a straight-line fit of \(\log[N_J/(2J+1)]\) against \(J(J+1)\) has slope \(-\theta_r/T\) for the simple heteronuclear model. Its intercept depends on total particle number, partition function and residual instrumental gain.

For \(\theta_r=10\) K, a measured corrected ratio \(N_2/N_0=2.00\) implies \(2=5e^{-60/T}\) and \(T=65.5\) K. Omitting the factor of five would make an upper population larger than the lower one appear incompatible with positive temperature. The inferred temperature assumes the rotational populations are equilibrated at one temperature; an optically pumped or rapidly expanding sample may have different rotational and translational distributions.

A plot over several \(J\) values can test whether one slope is adequate. Curvature may come from centrifugal distortion, line saturation, unresolved overlap, multiple temperatures or a wrong nuclear-spin degeneracy. Alternating residuals for even and odd \(J\) indicate a different physical problem from a smooth quadratic residual against \(J(J+1)\). Repeat with lower optical depth to isolate saturation, and use independently measured transition frequencies to fix level energies before fitting populations.

Recover molecular translation separately from internal structure

In a low-density molecular beam, the translational speed distribution is often easier to measure than the internal populations. For an equilibrium gas leaving a small opening into vacuum, the molecular flux is weighted by the normal velocity. Fast molecules reach and cross the aperture more frequently, so the distribution of speeds in the beam differs from the Maxwell speed distribution inside the reservoir. The mean translational energy of molecules in an effusive beam is \(2k_BT\), whereas the bulk mean is \(3k_BT/2\). This selectivity occurs even when rotational and vibrational populations remain canonical.

To derive the difference, start with the bulk velocity density proportional to \(e^{-mv^2/(2k_BT)}\). Write the outward normal speed as \(v\cos\theta\), integrate over the outward hemisphere and include the velocity-space shell factor \(v^2dv\). The resulting beam speed density is proportional to \(v^3e^{-mv^2/(2k_BT)}dv\), while the original bulk speed density has \(v^2\). Taking a ratio of Gaussian moments gives the stated energy. Comparing a beam energy to the wrong bulk prefactor would yield a temperature one third too high.

If the aperture is small compared with the mean free path and transition-detection efficiency is independent of speed after correction, internal state probabilities factor out of this flux weighting. A rotational population ratio can then report the reservoir temperature while the observed mean translational energy follows the effusive weighting. In a dense nozzle undergoing many collisions, expansion can cool translation and rotation differently. An inferred rotational and translational temperature disagreement is therefore not automatically bad calibration; first identify whether the beam is effusive, collisionally expanding or selectively detected.

As a bench example, a beam mean translational energy of 0.060 eV corresponds to approximately 348 K under effusion, using \(k_B=8.6173\times10^{-5}\) eV/K. Treating it as the bulk mean would give about 464 K. Compare against a population ratio from two corrected lines spanning \(80k_B\) kelvin and equal degeneracies. At the two temperatures the predicted ratios are about 0.795 and 0.842. Resolving this difference demands a relative line calibration appreciably better than six percent even though the two erroneous temperature interpretations differ by more than one hundred kelvin.

An isotope mixture reveals which spectral changes affect entropy

Compare two isotopic forms with the same approximate electronic potential surface. Bond force constant and equilibrium bond length then remain nearly unchanged while reduced nuclear mass changes. The harmonic vibrational frequency scales as \(m_r^{-1/2}\), while the rotational temperature scales as \(m_r^{-1}\). Consequently vibration and rotation respond differently to the same isotope substitution. Their shifts can jointly test whether two sets of spectral features genuinely belong to the same molecular carrier.

Suppose the reduced mass rises by a factor 1.21. A vibrational line at 2000 inverse centimetres moves approximately to 1818 inverse centimetres, and a rotational constant initially 2.00 inverse centimetres moves to 1.65 inverse centimetres. The vibrational characteristic temperature follows from \(hc\widetilde\nu/k_B\), about 1.4388 K per inverse centimetre. At room temperature the two vibrational gaps still greatly exceed thermal energy, so the vibrational heat capacity can remain small even though the spectral isotope shift is easy to resolve.

The zero-point energies nevertheless differ. For this vibrational example their difference is \(hc(2000-1818)/2\) per molecule, corresponding to about 131 kelvin in thermal units or 1.09 kJ/mol. Such offsets cancel within a fixed-species heat-capacity derivative but can matter to comparisons of chemical equilibrium or isotopic exchange. An analysis that discards all constant energy offsets independently in each molecular species can corrupt a reaction free energy unless it restores a consistent reference across reactants and products.

For a thermal entropy contribution from this one oscillator use \(S_v=k_B[(n+1)\log(n+1)-n\log n]\) with \(n=1/(e^x-1)\). This follows by inserting \(U_v\) and \(\log q_v\) into \(S=k_B\log q+U/T\); the zero-point contributions cancel exactly. Thus the measured isotope shift can change vibrational entropy via occupancy even while the zero-point offset itself contributes no entropy. It is helpful to evaluate all three quantities—energy difference, entropy difference and heat-capacity difference—rather than presume that a line shift must have the same thermodynamic role in each.

An internal relaxation time appears in frequency-dependent calorimetry

The equilibrium partition function assumes internal mode populations re-equilibrate on times short compared with the measurement. Model one slower internal degree by an internal energy \(U_s\) relaxing toward its equilibrium value at the instantaneous translational temperature \(T\), with \(\dot U_s=[U_{s,\rm eq}(T)-U_s]/\tau_s\). For a small oscillation around \(T_0\),

\[\delta U_{s,\rm eq}=C_s\delta T.\]

In the \(e^{-i\omega t}\) convention, the complex internal heat capacity and the total measured capacity including an instantaneous background \(C_f\) are

\[C^*(\omega)=C_f+\frac{C_s}{1-i\omega\tau_s}.\]

At low frequency the capacity is \(C_f+C_s\). At high frequency the slow internal energy cannot follow and the apparent in-phase capacity approaches \(C_f\). Its out-of-phase component peaks at \(\omega\tau_s=1\), where real and imaginary increments equal \(C_s/2\). The structure resembles dielectric relaxation because both arise from one relaxing state variable driven by a controlled sinusoid. It follows here from an explicit energy-exchange model and its assumptions.

Take a molar fast contribution \(2.50R\), slow equilibrium contribution \(0.60R\) and relaxation time 2 ms. The full equilibrium value is \(3.10R\). At about 79.6 Hz the real measured capacity is \(2.80R\) and the imaginary increment magnitude \(0.30R\). A heat pulse much shorter than two milliseconds initially raises the temperature as if the capacity were close to \(2.50R\), then energy flows into the internal mode. A slow calorimetric ramp can be perfectly consistent with a faster acoustic measurement that infers a smaller active capacity.

A sample container connected to a thermal bath produces its own complex temperature response even if molecular populations are always equilibrated. Disentangle those effects by calibrating the empty cell or an inert reference gas across the same frequency range, changing pressure to alter collision-mediated internal-relaxation time, and checking the predicted equilibrium limit from independently known level spacings. A mechanical resonance in the apparatus can be separated by varying cell geometry while keeping gas composition fixed. Fitting one imaginary peak to a molecular relaxation model without these controls does not uniquely determine the microscopic relaxation time.

How a line ratio and a calorimeter constrain degeneracies differently

Two groups report a low-energy excited manifold with dimensionless population ratio \(r=N_1/N_0\) at two temperatures. A single ratio determines only \(r=(g_1/g_0)e^{-\Delta/(k_BT)}\), so changing the assigned degeneracy changes the inferred gap. Taking the log ratio at two known temperatures removes a common degeneracy factor. The slope of \(\log r\) against \(1/T\) is minus the gap in kelvin, and the intercept is the log degeneracy ratio if the line-strength calibration and equilibrium assumptions hold.

For illustrative values \(r=0.300\) at 100 K and \(r=0.949\) at 200 K, the log change is approximately 1.152. Dividing by the inverse-temperature change magnitude 0.005 per kelvin gives \(\Delta/k_B\simeq230\) K. Inserting the first ratio gives \(g_1/g_0\simeq3.00\). The same two-manifold model predicts a dimensionless heat capacity \(x^2r/(1+r)^2\) per molecule. At 100 K it is about 0.94, a separate calorimetric prediction independent of the absolute number of detected photons.

A third temperature materially improves the test. An unseen nearby manifold or a line strength that changes with instrumental settings may fit two exact population ratios but produce curvature and excess heat capacity elsewhere. Spectroscopy resolves ordered energy differences while calorimetry sums energy variances over all accessible states. Their combination offers more information than adding further precision to one population measurement under the same ambiguous degeneracy assumption.

Compress a gas without pretending its heat capacity stays constant

A reversible adiabatic compression is often summarised by a fixed exponent \(\gamma\). That power law assumes temperature-independent heat capacities along the path. Molecular populations give a direct case where the exponent changes. For an ideal gas at fixed composition,

\[dS=C_V(T)dT/T+Nk_B\,dV/V.\]

Along a reversible adiabatic path set the sum to zero and integrate. The volume ratio is determined by an integral of measured or calculated \(C_V(T)/T\), not by a universal constant exponent across every temperature.

As an illustrative calculation approximate translation and fully active rotation by \(C_V=2.5Nk_B\) plus one harmonic vibrational mode with \(\theta_v=3000\) K. Heating from 300 to 1200 K at constant entropy gives a volume contraction factor from the fast degrees alone of \(4^{2.5}=32\). The vibrational entropy difference adds another factor \(e^{\Delta S_v/(Nk_B)}\). At 300 K the oscillator entropy is only about \(0.00050k_B\), while at 1200 K it is about \(0.309k_B\). The combined estimate requires \(V_i/V_f\simeq43.6\), a substantially larger compression than the frozen-vibration approximation predicts.

This comparison assumes ideal gas throughout and no dissociation, conditions to be checked in a real large compression. It nevertheless identifies the mechanism: part of the compression work goes into levels that were effectively inactive initially. Using the final high-temperature heat capacity across the whole path would err in the opposite direction by assigning that energy storage to the low-temperature portion as well. The entropy integral correctly weights each temperature interval by its actual internal population response.

A numerically stable solution can avoid differentiating noisy calorimetry. Integrate the entropy increment from tabulated heat capacities in the log-temperature variable. Compare an adaptive integral with a refined straightforward grid, paying particular attention to the rotational or vibrational crossover scale. Alternatively compute endpoint entropies from partition functions when an independently justified spectral model exists. Agreement between calorimetric integration and spectroscopy-derived endpoint entropy checks both assignments without demanding exact agreement of noisy pointwise derivatives.

Experimental pressure also checks the endpoint calculation independently. After equilibration, the ideal equation of state predicts \(p_f/p_i=(T_f/T_i)(V_i/V_f)\), approximately 174 for this idealised path. Finite heat leakage or a pressure-dependent nonideality can change that value. A rapid adiabatic compression can be irreversible even if little heat leaves the chamber, and then the measured entropy can increase. Distinguish a reversible reference calculation from an actual rapid piston protocol before using a mismatch to infer missing molecular levels.

An independent isotropic acoustic test at a fixed initial temperature infers \(\gamma\) from the small-amplitude sound speed \(c_s^2=\gamma RT/M\), where \(M\) is molar mass. At fixed molecular mass a decrease of \(\gamma\) from 1.40 to 1.32 at the same temperature would lower sound speed by the square root of their ratio, roughly three percent. That comparison must truly hold temperature fixed: the large direct thermal dependence of sound speed can easily exceed the internal-mode effect. Frequency-resolved acoustics can see part of a vibrational mode freeze dynamically while equilibrium spectroscopy still predicts its population. Record both phase velocity and acoustic attenuation if the aim is to identify a relaxation time. Across the relaxation band, dispersion without the corresponding dissipative response should prompt a check of transducer phase calibration and acoustic boundary conditions.

Read the rotational level spacing from thermal energy storage

Sum the discrete levels of a linear rotor and compare the heat capacity with equipartition as temperature rises.

Tutorial · Identify a rotor inertia from spectral spacing

For a heteronuclear linear rotor the lowest pure rotational transition has ordinary frequency 120 GHz. Infer \(\theta_r\), the moment of inertia and the expected \(J=1\) to \(J=0\) population ratio at 10 K. How could an isotope substitution test the interpretation?

Use the transition gap and keep angular and ordinary frequency distinct

The gap is \(2k_B\theta_r=h\nu\), so \(\theta_r=2.88\) K and \(I=\hbar^2/(2k_B\theta_r)=1.40\times10^{-46}\) kg square metres. The population ratio is

\[3e^{-5.76/10}=1.69.\]

The upper manifold contains more molecules even though each of its levels has lower individual Boltzmann weight. Increasing reduced mass at nearly fixed bond length increases \(I\), reducing the transition frequency approximately inversely with reduced mass. A vibrational frequency from the same spring would scale instead with inverse square root of reduced mass.

Tutorial · Infer an excitation temperature from calorimetry

A gas of linear molecules has molar \(C_V=2.91R\) at a temperature where translation and rotation contribute \(2.50R\). Neglect electronic excitation and estimate the characteristic temperature of a single harmonic vibration in units of measurement temperature. Would a measured \(C_p\) be usable unchanged?

Invert the oscillator contribution and verify its feasible range

The remaining \(0.41R\) lies between zero and the one-mode classical limit \(R\). Solve \(x^2e^{-x}/(1-e^{-x})^2=0.41\) on positive \(x\). At 3.0 it is 0.496 and at 3.5 it is 0.393, placing the root near 3.41. Thus \(\theta_v\) is about 3.41 times measurement temperature. Use several temperatures to verify the characteristic value and frozen-composition model. For ideal gas at fixed composition, subtract \(R\) from \(C_p\) before applying this constant-volume balance. Latent processes, reaction and internal relaxation would require an extended model.

Tutorial · Distinguish equilibrium hydrogen from a frozen spin mixture

At low temperature only \(J=0\) in the even sector and \(J=1\) in the odd sector contribute. Use \(\theta_r=85\) K and \(T=30\) K. Estimate the equilibrium odd fraction and compare the energy stored in a sample frozen at a three-quarter odd fraction, measured relative to the common lowest even state.

Normalise both sectors and identify the energy released on conversion

The relative weight of \(J=1\) is \(3(2J+1)e^{-170/30}=0.0311\); the even ground state has weight one. The equilibrium odd fraction is approximately 0.0302. A frozen sample at odd fraction 0.75 stores about \(0.75(170)k_B=127.5k_B\) kelvin of rotational energy per molecule, versus about \(5.1k_B\) kelvin for equilibrium. The excess expressed per mole is roughly \(R(122.4\,{\rm K})=1.02\) kJ/mol.

The frozen low-temperature heat capacity can be small even while substantial energy remains trapped in the odd sector. A calorimeter monitoring a slowly converting sample measures time-dependent heat release, not simply the derivative of a stationary restricted partition function. Measure the spin fraction independently or vary equilibration time before comparing its heat curve with an equilibrium prediction.

Cambridge Statistical Physics · molecular partition functions and internal degrees of freedom

Hamiltonian motion viewed in other coordinates and frames

Test phase-space area in a numerical orbit, track an observer change, then compare a relativistic worldline with a semiclassical quantisation condition.

  1. Energy and geometric integration
  2. Störmer–Verlet and a discrete invariant
  3. Implicit midpoint, reversibility and the phase of an oscillator
  4. What different observers measure
  5. Relativistic particle dynamics and the field tensor
  6. Semiclassical quantization
  7. A phase accumulated by slowly turning a magnetic field
  8. A magnetic orbit that spirals outward in a perfect vacuum
  9. How a turning point supplies the missing semiclassical phase
  10. Ensembles, thermodynamic potentials and measurable curvature
  11. Master equations, detailed balance and probability currents

Energy and geometric integration

Compare three time updates on a conservative oscillator and explain why a method can have small short-term state error yet distort an orbit over many periods.

From first principles

Build an oscillator update out of two area-preserving shears

Take one undamped oscillator of mass \(m>0\) and stiffness \(k>0\). Its canonical position \(q\) and momentum \(p\) satisfy

\[\dot q=p/m,\]
\[\dot p=-kq.\]

Exact trajectories run along energy ellipses and preserve phase-plane area. If both slopes are taken at the left endpoint, the update and its area factor are

\[\begin{pmatrix}q_{n+1}\\p_{n+1}\end{pmatrix}=\begin{pmatrix}1&h/m\\-hk&1\end{pmatrix}\begin{pmatrix}q_n\\p_n\end{pmatrix},\qquad \det=1+h^2k/m .\]

A positive factor greater than one at each step makes the numerical orbit spiral outward. Instead update the momentum at fixed position, then move the position using that new momentum. Both operations are shears:

\[p_{n+1}=p_n-hkq_n,\]
\[q_{n+1}=q_n+h p_{n+1}/m.\]

The product matrix has diagonal entries \(1-h^2k/m\) and \(1\), with off-diagonal product \(-h^2k/m\), giving determinant one. Its eigenvalues form a conjugate pair on the unit circle when \(|2-h^2k/m|<2\). This calculation explains the bounded oscillatory behaviour for \(0<h\sqrt{k/m}<2\). Preserving area alone would also allow one real mode to grow while another shrinks. It does not establish either stability or exact conservation of the original energy.

Background · Symplectic map
\[(D\Phi)^\mathsf T J(D\Phi)=J\]

This is preservation of the canonical symplectic form. It provides control of long-time structure without guaranteeing that every trajectory has the exact phase.

Derivation and applications

Which quadratic energy does symplectic Euler preserve?

An undamped linear oscillator conserves the physical sum of kinetic and potential energy. A geometric time integrator may conserve a nearby quadratic form instead. Take \(q''=-\omega^2q\) with constant \(\omega\) and unit mass. Scale velocity by setting \(u=\dot q/\omega\) so that both variables have units of length, and write \(z=h\omega\). Use the kick-then-drift version of symplectic Euler. Its step is two triangular shears:

\[u'=u-zq,\]
\[q'=q+zu'=(1-z^2)q+zu .\]

To find a preserved quantity, test a quadratic form \(I=q^2+u^2+\alpha qu\). The changes of the ordinary sum and the product follow directly by multiplication and collection:

\[q'^2+u'^2-q^2-u^2=z(q'u'-qu),\]
\[I'-I=(z+\alpha)(q'u'-qu).\]

Choosing \(\alpha=-z\) cancels the entire change at every step. Completing the square identifies the range where the invariant confines trajectories to closed ellipses:

\[I=q^2+u^2-zqu=(u-zq/2)^2+(1-z^2/4)q^2.\]

For \(|z|<2\) the form is positive definite. The physical energy is proportional to \(q^2+u^2\) and can oscillate, but the invariant bounds it. As \(h\to0\) the tilted ellipse approaches the exact energy circle. At the endpoint \(|z|=2\) the quadratic form ceases to bound both variables; preservation of an indefinite form alone does not guarantee stable trajectories.

Worked example

Follow a moderate step exactly

Take \(\omega=2.00\) s⁻¹, \(h=0.250\) s, \(q=1.00\) m and \(u=0\). Then \(z=0.500\), \(u'=-0.500\) m and \(q'=0.750\) m. The ordinary sum falls from \(1.00\) to \(0.8125\) m². But \(I'=0.8125-0.500(0.750)(-0.500)=1.00\) m². A plot restricted to physical energy at one time could mistake the discrepancy for damping.

Second application

Diagnose a seemingly exact conservation test outside stability

Choose \(z=2.50\) and the same initial \((q,u)=(1,0)\). One step gives \((-5.25,-2.50)\). The ordinary sum is \(33.8125\), whereas the cross term is \(2.50(13.125)=32.8125\), so \(I'=1\). The invariant remains exact while the amplitude grows. Testing positivity of the conserved quadratic form therefore supplies information absent from a conservation-only check.

Choose the diagnostic before choosing the method

A mass on an ideal spring with unit mass and stiffness obeys \(\dot q=p,\ \dot p=-q\). The state moves on circles with conserved energy \(H=(q^2+p^2)/2\). At short times a state norm measures trajectory error, but over many periods there are independent questions about amplitude, phase and energy. A time-stepping method that systematically increases the orbit radius can produce an artificial runaway even on this simplest stable physical system.

Forward Euler updates \(q_{n+1}=q_n+hp_n,\ p_{n+1}=p_n-hq_n\). Square and add: the cross terms cancel, leaving \(H_{n+1}=(1+h^2)H_n\). The phase space area factor of the update matrix is its determinant \(1+h^2\), also greater than one. Backward Euler instead contracts energy by \(1/(1+h^2)\). The second method is stable in the sense of bounded states, but it removes mechanical energy from an undamped model. The sign of drift explains much more here than a solitary endpoint comparison.

Update momentum before position

The momentum-first symplectic Euler scheme sets \(p_{n+1}=p_n-hq_n\) and \(q_{n+1}=q_n+hp_{n+1}\). Its update matrix in \((q,p)\) has rows \((1-h^2,h)\) and \((-h,1)\). Its determinant is one and trace is \(2-h^2\). For \(0<h<2\), the two eigenvalues are a complex conjugate pair of unit magnitude because their product is one and the trace lies strictly between −2 and 2. The resulting numerical frequency satisfies

\[2\cos\theta=2-h^2.\]

Thus phase error still accumulates even if the amplitudes remain bounded.

Direct substitution also verifies an exact discrete invariant \(\tilde H=(q^2+p^2-hqp)/2\). For \(h<2\) the corresponding quadratic form is positive definite, so constant \(\tilde H\) confines the state to an ellipse. The exact physical energy can fluctuate around its initial level as the point moves around that ellipse. Area preservation alone would not guarantee this behaviour: for \(h>2\) the determinant remains one but real reciprocal eigenvalues permit growth. The eigenvalue and invariant calculations supply the missing qualification.

Check a long-time forecast with numbers

Start at \((q,p)=(1,0)\) with \(h=0.1\). Forward Euler gives \((1,-0.1)\) and \(H=0.505\) after one step. After 100 steps the exact multiplicative law predicts

\[H=0.5(1.01)^{100}=1.3524.\]

Symplectic Euler instead gives \((0.99,-0.1)\), \(H=0.49505\), but \(\tilde H=0.5\) again. The first step alone might suggest that the second scheme dissipates energy. The invariant predicts that the decrease cannot continue monotonically over many periods.

Implicit midpoint, \((y_{n+1}-y_n)/h=J(y_n+y_{n+1})/2\) with the skew-symmetric oscillator matrix \(J\), preserves the exact quadratic energy. Dot both sides with the midpoint state. The left side is proportional to \(H_{n+1}-H_n\) and the right side is zero by skew symmetry. Its rotations need not accumulate the exact physical phase, since the rotation angle per step is \(2\arctan(h/2)\). A meaningful long-time study therefore records measured period, energy range and reversibility alongside any state error after a specified number of cycles.

Forward Euler energy grows from 0.5 to 1.35, backward Euler energy decays, and symplectic Euler energy oscillates around 0.5.
An ideal oscillator sampled with step 0.1. Checking only the first few updates obscures the systematic growth or decay visible after 100 steps.

Test an algorithm by reversing the clock

A method is time symmetric if taking a step of length \(h\) and then a step of length \(-h\) restores the starting state, up to arithmetic and solve tolerance. For the midpoint update, exchanging the old and new values leaves their average unchanged and changes both sides of the difference equation consistently. This gives exact reversibility for an accurately solved implicit step. For forward Euler on the oscillator, the product of the forward and backward matrices is \((1+h^2)I\), so reversal actually scales the state.

At \(h=0.1\), the simple reversal from \((1,0)\) therefore returns \((1.01,0)\) for forward Euler, making the failure visible in one pair of steps. This diagnostic is useful only for a reversible underlying evolution paired with its time-reversed integration law. A dissipative or dissipatively constrained physical system has different requirements. Reversibility, energy preservation and phase accuracy probe separate mathematical properties, each with a different operational test.

Test a flow map on a small cell of phase space

For canonical coordinates \(z=(q,p)\), a differentiable Hamiltonian update \(z_+=\Psi(z)\) is symplectic when its Jacobian \(D\Psi\) preserves the matrix \(J=\left(\begin{smallmatrix}0&1\\-1&0\end{smallmatrix}\right)\) through \(D\Psi^T J D\Psi=J\). Direct multiplication shows that for any real two-by-two matrix \(M\), \(M^TJM=(\det M)J\). Thus in one degree of freedom symplecticity is equivalent to preserving oriented area. A small rectangle of nearby initial conditions should map to a region of the same signed area even when its sides stretch or tilt.

For more than one degree of freedom, preserving ordinary volume is necessary but no longer sufficient. A map may stretch one canonical \((q,p)\) plane and compress another by the reciprocal factor. Its full determinant remains one while the area pairing in each plane changes. Energy is a further, independent diagnostic: an area-preserving map can move individual points among nearby energy contours. The determinant calculation tests a geometric property of the map across neighbouring trajectories, rather than just the energy at one chosen state.

Compare the phase volume of an oscillator ensemble

For \(q'=p,\ p'=-q\) with unit frequency, forward Euler gives \(M=\left(\begin{smallmatrix}1&h\\-h&1\end{smallmatrix}\right)\), of determinant \(1+h^2\). Backward Euler gives \((I-hA)^{-1}\), where \(A\) has off-diagonal entries \(1,-1\), so its determinant is \(1/(1+h^2)\). A kick followed by a drift gives the symplectic Euler matrix with rows \((1-h^2,h)\) and \((-h,1)\), whose determinant is exactly one. These facts hold for every input rectangle, so they can be checked by integrating its corners rather than relying on a single solution.

Choose \(h=0.2\) and an initial ensemble occupying a rectangle of area 0.01 in normalised phase coordinates. After 25 steps forward Euler predicts area \(0.01(1.04)^{25}\approx0.02666\). Backward Euler gives \(0.01/(1.04)^{25}\approx0.00375\). Symplectic Euler preserves 0.01. Repeated steps compound even a four percent per-step area change into a substantial distortion. For the oscillator all three approximate individual paths can initially look plausible, so this ensemble diagnostic reveals information inaccessible in a short plot of one coordinate.

As a counterexample in four dimensions, scale the first pair of coordinates by \((2,1)\) and the second pair by \((1/2,1)\). The volume multiplier is one, but the first canonical area doubles while the second halves. A full symplecticity test must check \(M^TJM-J\) using the correctly ordered canonical coordinate pairs. An algorithm preserving volume in an arbitrary collection of engineering state units is not automatically qualified for long-time Hamiltonian integration.

Area preservation also survives composing individual canonical shears: the determinants multiply and every shear has determinant one. This explains why reversing the order of a kick and a drift changes the phase error but preserves the two-dimensional area test. The two compositions may therefore produce different numeric positions while agreeing precisely on one geometric invariant. A useful verification suite includes both ensemble area and a trajectory observable with a known time dependence.

Change parameters · Energy and geometric integration

Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.

Störmer–Verlet and a discrete invariant

Derive the leapfrog update, identify its oscillatory stability interval and quantify the difference between bounded energy and correct phase.

From first principles

Derive a reversible position update from Newton’s law

For a force that depends only on position, \(m\ddot q=F(q)\), the acceleration can be evaluated at a stored position without an implicit solve. Expand the exact position one step forward and one step backward about the same time \(t_n\). The odd derivatives reverse sign and cancel when the expansions are added:

\[q(t_n+h)+q(t_n-h)=2q(t_n)+h^2\ddot q(t_n)+O(h^4).\]

Replace acceleration by force divided by mass and solve for the forward position. The resulting relation is unchanged if the labels \(n+1\) and \(n-1\) are exchanged:

\[q_{n+1}=2q_n-q_{n-1}+\frac{h^2}{m}F(q_n).\]

Introduce the staggered momentum \(p_{n-1/2}=m(q_n-q_{n-1})/h\). The same algebra becomes an impulse followed by a drift,

\[p_{n+1/2}=p_{n-1/2}+hF(q_n),\]
\[q_{n+1}=q_n+h p_{n+1/2}/m .\]

A specified momentum at \(t=0\) starts the first half step with \(p_{1/2}=p_0+h F(q_0)/2\). For smooth forces the method has second-order position accuracy. It is important to distinguish the staggered momentum from momentum at the stored position time when checking energy.

Derivation and applications

Why a stable Verlet trajectory can arrive at the wrong time

Long-term energy behaviour is important in reversible mechanics, but phase error can dominate a timing measurement. Consider the velocity-independent linear oscillator \(q''=-\omega^2q\). Use a uniform step \(h\), an accurately initialized first point and the position recurrence obtained by eliminating the half-step momenta in Verlet. Write \(z=h\omega\):

\[q_{n+1}-2q_n+q_{n-1}=-z^2q_n .\]

Assume a discrete mode \(q_n=e^{in\vartheta}\). Divide by the mode value at \(n\) and combine the two exponentials. The angle advanced per step obeys

\[2\cos\vartheta-2=-z^2,\]
\[\sin(\vartheta/2)=z/2 .\]

For \(0<z<2\) choose the branch continuous with the exact oscillation at small \(h\). The discrete angular frequency and its expansion are

\[\widetilde\omega=\frac2h\arcsin(z/2)=\omega\left[1+\frac{z^2}{24}+O(z^4)\right].\]

The numerical oscillator runs slightly fast even though its amplitude can remain bounded indefinitely. Its phase lead grows approximately linearly with elapsed time at fixed step. Above \(z=2\) the dispersion relation permits no real phase angle, signaling a separate stability failure. The formula concerns time discretization alone; incorrect initial half-step velocities can add an initial phase offset.

Worked example

Estimate a ten-period timing error

For \(\omega=5.00\) rad/s and \(h=0.100\) s, \(z=0.500\) and \(\widetilde\omega=20\arcsin(0.250)=5.054\) rad/s. Ten true periods last \(12.57\) s. Over that duration the numerical phase gains about \((5.054-5.00)(12.57)\simeq0.674\) rad. The estimated time at which the numerical oscillator completes its tenth period is \(20\pi/5.054=12.43\) s, about \(0.13\) s too soon.

Second application

Select a step from a phase requirement

Suppose 100 periods should accumulate less than \(0.100\) rad of phase error. The leading estimate gives \(2\pi(100)z^2/24<0.100\), so \(z<0.0618\). For \(\omega=5.00\) rad/s this means \(h<0.0124\) s. A choice based only on the stability requirement \(h<0.400\) s would be far too coarse. Halving a small step should reduce the accumulated phase error by approximately four at fixed physical duration.

Position and momentum at staggered times

For unit mass and a time-independent potential \(V(q)\), the equations are

\[q'=p,\ p'=-V'(q).\]

Treat the potential force over a half step, drift with the updated momentum for a full step, then use the new position for the last half kick. This yields

\[p_{n+1/2}=p_n-\tfrac h2V'(q_n),\]
\[q_{n+1}=q_n+hp_{n+1/2},\]
\[p_{n+1}=p_{n+1/2}-\tfrac h2V'(q_{n+1}).\]

Successive half kicks at the same position share a force evaluation. Reversing the sign of \(h\) exactly undoes the steps in reverse order, in exact arithmetic. Subtracting consecutive position increments gives

\[q_{n+1}-2q_n+q_{n-1}=-h^2V'(q_n).\]

The starting position and velocity must initialise the very first half step correctly; using the full velocity as the half-step velocity injects an initial phase error.

The oscillator has an exactly computable modified energy

For \(V=\omega^2q^2/2\) define \(z=h\omega\). The position coefficient of \(q_n\) after one step is

\[a=1-z^2/2;\]

the momentum coefficient of \(q_n\) is \(-h\omega^2(1-z^2/4)\). The full map has equal diagonal entries \(a\) and off-diagonal entries \(h,-hc\) with \(c=\omega^2(1-z^2/4)\). Since \(a^2+h^2c=1\), expanding squares shows \(p_{n+1}^2+cq_{n+1}^2=p_n^2+cq_n^2\).

When \(0<z<2\), \(c>0\) and level sets of this invariant are bounded ellipses. The eigenvalues are \(e^{\pm i\theta}\) with \(\cos\theta=a\). Beyond two, one real eigenvalue has magnitude greater than one and trajectories generically grow. At exactly two the invariant loses control of position and a repeated eigenvalue can cause linear growth. An apparently bounded run starting from specially chosen data at the threshold cannot certify stability for arbitrary perturbations.

Follow a step and its timing

For \(\omega=1,h=1,q_0=1,p_0=0\), the half kick gives \(-0.5\), the drift gives \(q_1=0.5\), and the final half kick gives \(p_1=-0.75\). The physical energy decreases from 0.5 to 0.40625 in this first step. The modified energy \((p^2+0.75q^2)/2\) equals 0.375 at both points. The discrete phase is \(\theta=\pi/3\), so the computed trajectory returns after six steps. The true oscillator returns after \(2\pi\approx6.283\) seconds. A stable trajectory with a bounded energy error can therefore accumulate a large timing error over many cycles.

For small \(z\), expanding \(\theta=2\arcsin(z/2)\) gives

\[\theta=z+z^3/24+O(z^5).\]

At a fixed final time the accumulated phase error is therefore second order in \(h\). A period estimate and an energy trace probe different aspects of long-time integration and should be reported separately.

Why the initial velocity test matters

A test with only the initial position nonzero may conceal the borderline instability at \(h\omega=2\). At that boundary the update is

\[q_{n+1}=-q_n+hp_n,\ p_{n+1}=-p_n.\]

For \(p_0=0\) the positions merely alternate sign forever. With \(q_0=0\) and \(p_0=1\), however, explicit iteration gives

\[p_n=(-1)^n,\]
\[q_n=(-1)^{n-1}nh.\]

The position magnitude grows linearly. A stability test must account for all independent starting directions or small perturbations of the chosen one, especially when an eigenvalue of modulus one is repeated.

Prove conservation of angular momentum by individual substeps

For a particle of constant mass in a radial potential \(V(\|q\|)\), the force is parallel to the position vector. Its angular momentum is \(L=q\times p\). During a kick of duration \(\tau\), momentum changes by \(\tau F(q)\) at fixed position, so the change in \(L\) is

\[\tau q\times F(q)=0.\]

During a drift, position changes by \(\tau p/m\) at fixed momentum, giving change \((\tau/m)p\times p=0\). The full kick–drift–kick map therefore preserves angular momentum exactly in arithmetic without rounding, for any step length for which these evaluations are defined.

The proof uses radial force and the relationship between velocity and momentum. An external noncentral force exerts a physical torque, while a coordinate-dependent mass matrix changes the drift subflow. Under either modification the two zero cross products need rechecking. The argument also gives no bound on energy or phase. Exact conservation of angular momentum constrains orbital geometry but leaves freedom to move from the correct energy level onto a nearby one or to return to a point on the orbit at the wrong time.

Compare three diagnostics on an elliptical oscillator trajectory

Use unit mass and two-dimensional potential \(V=(x^2+y^2)/2\). Start at \(q=(1,0)\), \(p=(0,2)\), so \(L=2\) and physical energy is

\[E=(1+4)/2=2.5.\]

At step \(h=0.5\), the first half kick gives

\[p_{1/2}=(-0.25,2).\]

The drift leads to \(q_1=(0.875,1)\). The last half kick subtracts \(0.25q_1\), giving \(p_1=(-0.46875,1.75)\). The resulting planar angular momentum is \(0.875(1.75)-1(-0.46875)=2\), exactly as proved.

Calculate energy separately. The squared position is \(0.875^2+1=1.765625\), and the squared momentum is

\[0.46875^2+1.75^2=3.2822265625.\]

Hence the physical energy after this step is 2.52392578125, about 0.96 percent above the initial value. The exact continuous position at this time is \((\cos0.5,2\sin0.5)\approx(0.87758,0.95885)\), so the position error is concentrated in the second coordinate. Angular momentum, physical energy and the individual trajectory coordinates expose three distinct properties of the same update.

Because the harmonic force is separable by coordinate, the modified invariant from the scalar oscillator adds across the two directions: \([\|p\|^2+(1-h^2/4)\|q\|^2]/2\) is constant. Substitution gives 2.46875 at both steps, independently checking the arithmetic. For a general radial potential this particular quadratic modified invariant no longer follows, while the angular momentum proof remains valid. A conservation claim should identify the symmetry responsible rather than assuming every observed invariant survives a change of potential.

If there were a small constant transverse force, the physical change in angular momentum would be the time integral of \(q\times F_{\rm ext}\). A better diagnostic would subtract the accumulated applied torque from the measured change in \(L\), rather than demand that \(L\) remain fixed. This distinction also guards against a subtle implementation error: zeroing a real torque to improve a conservation plot would change the physical problem and could hide a significant trajectory bias.

Measuring the signed torque makes its direction as well as its magnitude available for this balance check.

Estimate the phase error of a stable Verlet orbit

Eliminate momentum from velocity Verlet for the harmonic oscillator. A discrete sinusoid obeys \(\cos\theta=1-(h\omega)^2/2\). Its angular frequency is \(\theta/h\); divide by \(\omega\) before comparing steps.

Estimate the phase error of a stable Verlet orbit. Horizontal axis: Step × physical angular frequency. Vertical axis: Numerical / physical angular frequency. Data follow the figure.
At hω = 1 the numerical frequency exceeds the true one by about 4.72%. The scheme can maintain a bounded orbit yet acquire a substantial phase error after many cycles. The chart stops below the stability boundary at two.
Read values from the plot
Numerical / physical angular frequency at selected values of Step × physical angular frequency.
Step × physical angular frequencyDiscrete frequencySmall-step expansion
0.0111
0.5051.01091.0106
11.04721.0417
1.4951.12951.0931
1.991.47811.165

Download all 301 plotted samples (CSV)

Change parameters · Estimate the phase error of a stable Verlet orbit

Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.

Implicit midpoint, reversibility and the phase of an oscillator

Imagine integrating a mechanical trajectory forward, saving only its end state and then running the same method backward. Recovering the start is a stronger demand than obtaining a plausibly small one-step error. Even exact recovery does not guarantee that an oscillation peaked at the correct time.

Build a method from a centred difference

Integrate \(y'=f(t,y)\) over an interval of length \(h\). Midpoint quadrature approximates the integral by \(h\) times its integrand at \(t_n+h/2\). The arithmetic mean of the unknown endpoint states approximates the exact midpoint state up to order \(h^2\) on a smooth trajectory. Using this mean as the derivative's state argument gives

\[y_{n+1}-y_n=h f\!\left(t_n+h/2,(y_n+y_{n+1})/2\right).\]

Errors from midpoint quadrature and from evaluating \(f\) at the approximate midpoint both contribute \(O(h^3)\) locally, giving global order two on a fixed interval under the usual regularity and stability conditions. In general the unknown appears inside \(f\), so an implicit equation must be solved. If \(f\) is Lipschitz with constant \(L_f\), direct fixed-point iteration contracts when \(|h|L_f/2<1\). Newton iteration can converge over a wider range. Neither a failed nonlinear solve nor loose tolerances inherit the exact algebraic properties of the method.

Exchange \(y_n,y_{n+1}\) and replace \(h\) by \(-h\). The left side changes sign, the arithmetic midpoint is identical and the midpoint time is identical if the reverse step starts at \(t_{n+1}\). Thus, on the same locally unique solution branch,

\[\Phi_{-h}=\Phi_h^{-1}.\]

A round trip using variable steps must repeat the accepted steps in reverse order. Independently choosing a new adaptive mesh on the way back need not retrace the states.

Solve the step for a harmonic oscillator

Write \(q'=\omega p,\ p'=-\omega q\), with scaled momentum \(p\) in the same units as \(q\), and \(z=q+ip\). The ODE becomes

\[z'=-i\omega z.\]

Solving the linear midpoint equation gives the scalar multiplier

\[M(u)=\frac{1-iu/2}{1+iu/2}=\exp[-2i\arctan(u/2)],\]
\[u=\omega h.\]

Its numerator and denominator are complex conjugates. Hence it preserves \(q^2+p^2\), proportional to the oscillator energy, exactly in real arithmetic. For any radius or step size \(M(-u)M(u)=1\). The rotation per step is

\[\theta=2\arctan(u/2)=u-u^3/12+O(u^5).\]

The numerical phase lags by \(u-\theta\) per step. After \(N\) steps the accumulated lag is \(N(u-\theta)\), increasing linearly in elapsed time even while the energy remains exactly constant.

Compare explicit midpoint Runge–Kutta. A half Euler predictor leads to

\[M_{\rm RK2}=1-iu-u^2/2.\]

It also has order two, but \(|M_{\rm RK2}|^2=1+u^4/4\). The amplitude grows slowly at every nonzero step. A forward and reverse pair multiplies the starting amplitude by \(1+u^4/4\). In a conservative problem these two second-order procedures can produce visibly different long records.

Inspect the return and the lag separately

With \(\omega=1\), \(h=0.5\), \(N=20\), exact accumulation is 10 radians. Midpoint gives \(40\arctan(0.25)=9.7991\) radians, a lag of \(0.2009\) radians. The explicit round trip multiplies the radius by \((1+0.5^4/4)^{20}\simeq1.364\). The implicit round trip returns the original radius and phase to roundoff. Run both updates below. Compare results at equal elapsed time by halving \(h\) and doubling \(N\). The phase error should drop by about a factor of four. The graph uses computed steps for the methods and a more finely sampled exact reference.

Tutorial on designing an accuracy criterion

A solver preserves the harmonic energy exactly over a simulation of 100 time units with \(\omega=1\). A measurement also requires phase error below 0.01 radians. Use the leading midpoint error to estimate an admissible step. How would you verify it?

Work through the solution

The accumulated phase error is approximately \(T\omega^3h^2/12\). Solving \(100h^2/12<0.01\) gives \(h<0.0346\). Verify at a chosen integer step count using \(T-2N\arctan[T/(2N)]\), or by convergence against a refined trajectory that measures the phase continuously. Energy alone has zero error for all these steps, so it cannot certify the phase target.

Further reading · Hairer's TUM geometric numerical integration course, symmetric methods.

What different observers measure

A moving observer carries clocks, rulers and a calibrated test charge. A statement about the electric field must specify which observer held that test charge at rest. In this chapter we derive how different measurements can agree on the force law and yet assign different electric fields, magnetic fields and charge densities to the same physical apparatus. A current-carrying wire and a light pulse will provide independent checks.

Events, synchronisation and directed boosts

Use two inertial coordinate systems with aligned axes. The primed origin moves at speed \(v\) in the positive laboratory \(x\) direction. Choose coincident origins when both clocks read zero and synchronise distant clocks in each frame by light signals. Homogeneity makes the transformation linear. The worldline of the primed origin requires

\[x'=A(x-vt).\]

A light ray moving along either axial direction must still obey \(x'=\pm ct'\). Substituting its two possible worldlines into the linear map fixes the relative coefficients of \(x\) and \(t\) in \(t'\). Reversing the transformation by changing the sign of \(v\) fixes the remaining scale.

\[x'=\gamma(x-vt),\]
\[t'=\gamma(t-vx/c^2),\]
\[y'=y,\]
\[z'=z,\]
\[\gamma=(1-v^2/c^2)^{-1/2}.\]

The squared interval \(c^2\Delta t^2-|\Delta\mathbf r|^2\) is unchanged, a direct algebra check that detects a surprising number of sign choices. Two sparks separated by 3.0 m along a laboratory bench and simultaneous on laboratory clocks have \(\Delta t'=-7.51\) ns for \(v=0.60c\), if the second event is at larger \(x\). Their ordering in this frame is consistent with their spacelike separation. Events joined by a light signal are null-separated and retain their order under this boost.

Length measurements need two simultaneous endpoint readings in the chosen frame. A bar at rest in the lab and parallel to the axis has length \(L/\gamma\) in the primed frame. Substituting the simultaneous laboratory endpoint events into the boost instead gives \(\gamma L\), but their primed times differ. This distinction reappears when we count charge per unit length in a moving wire. The result of that count depends on the spacetime slice used to perform it.

A current is a rate of charge crossing a surface

Begin with a single population of particles, each carrying charge \(q\), whose proper number density is \(n_0\). Their counting volume is Lorentz-contracted only along their motion. The lab assigns density \(n=\gamma_u n_0\) and current density \(q n\mathbf u\). Both are components of \(j^\mu=q n_0 u^\mu\), where \(u^\mu=\gamma_u(c,\mathbf u)\) is the four-velocity. Independent species can be superposed. A total four-current can consequently be spacelike even though every material particle moves more slowly than light.

\[\rho'=\gamma(\rho-vJ_x/c^2),\]
\[J'_x=\gamma(J_x-v\rho),\]
\[J'_y=J_y,\]
\[J'_z=J_z .\]

The usual continuity law becomes \(\partial_\mu j^\mu=0\) with \(\partial_0=c^{-1}\partial_t\). Transformation of the derivative and of the current cancels exactly in this contraction. An isolated finite charge distribution has an observer-independent total charge if each observer integrates through a complete spacelike slice. One way to see this is to connect the two slices by a large timelike enclosing wall. Four-dimensional flux conservation sets the difference between the two charge integrals equal to the current crossing the wall. For a wall outside all the charge trajectories that last contribution vanishes.

For a charge-neutral straight wire carrying conventional current \(I=2.0\) A along \(+x\), a frame moving parallel to the wire at \(0.20c\) assigns line density \(\lambda'=-\gamma vI/c^2=-1.36\) nC/m. Transverse cross-section is unchanged. There is no requirement that electrons themselves travel at \(0.20c\). Both the mobile and immobile species contribute to the transformed density. The ideal wire is infinitely long, so one cannot integrate its transformed charge density out to infinity and apply the finite isolated system argument.

Obtaining field components from measured forces

Place a test charge at rest at an event in the primed frame. In the lab it has velocity \(v\mathbf e_x\) and force \(q(\mathbf E+\mathbf v\times\mathbf B)\). To transform the force, transform the corresponding momentum change. For a small transverse kick, \(dp'_y=dp_y\) while \(dt'=dt/\gamma\) on the test charge's path. Thus \(F'_y=\gamma F_y\) and similarly for \(z\). For the parallel component use \(dp'_x=\gamma(dp_x-v\,d\mathcal E/c^2)\) and \(d\mathcal E/dt=vF_x\). The result is

\[F'_x=F_x.\]

Dividing by \(q\) gives the electric field. Requiring the same force law for charges moving transversely, or transforming the magnetic flux measured by a moving loop, gives the magnetic field.

\[\mathbf E'_\parallel=\mathbf E_\parallel,\]
\[\mathbf B'_\parallel=\mathbf B_\parallel,\]
\[\mathbf E'_\perp=\gamma(\mathbf E+\mathbf v\times\mathbf B)_\perp,\]
\[\mathbf B'_\perp=\gamma(\mathbf B-\mathbf v\times\mathbf E/c^2)_\perp .\]

Imagine a uniform \(+y\) electric field of 90.0 kV/m and a \(+z\) magnetic field with \(cB=150\) kV/m. For a boost along \(+x\), the \(y\) component of \(\mathbf v\times\mathbf B\) is negative. At \(\beta=0.60\) the electric field vanishes. The remaining magnetic field has \(cB'=1.25(150-54)=120\) kV/m or 0.400 mT. A particle comoving with that frame feels no force at that event. A different particle moving across the magnetic field can still curve.

Vary the observer speed and compare the electric and magnetic field invariants

Compare two force measurements near an ideal wire

Return to the 2.0 A wire and put the observation point 1.0 cm along \(+y\). Ampère's law gives \(B_z=\mu_0I/(2\pi r)=40.0\) microtesla. The lab radial electric field is zero in this idealised symmetric model. A positive test charge moving along \(+x\) at \(0.20c\) experiences an inward magnetic force per unit charge of 2.40 kV/m. In its momentary rest frame the wire's negative line charge produces an inward radial electric field. The field from Gauss's law is \(|\lambda'|/(2\pi\epsilon_0r)=2.45\) kV/m. The difference in the reported transverse forces is precisely the factor \(\gamma=1.0206\) derived from the momentum kick.

There is no contradiction between a field with zero laboratory divergence outside the wire and a different electric field in the primed frame. The charge density at the wire itself also transforms. If the laboratory wire carries a real driving surface charge and a return conductor, add their fields and charges before transforming. A claimed measurement of this ideal result without specifying the return path and electrostatic shielding needs a separate model for those additional fields.

When can a field be made purely electric or magnetic?

Direct substitution in the transverse transformation leaves the scalars \(B^2-E^2/c^2\) and \(\mathbf E\cdot\mathbf B\) unchanged. The first is a difference, so retain its sign. If the second is nonzero, no observer sees either field vanish. If the fields are orthogonal and \(E<cB\), choose \(\mathbf v=\mathbf E\times\mathbf B/B^2\). The vector identity for \((\mathbf E\times\mathbf B)\times\mathbf B\) cancels \(\mathbf E\), and the required speed is below \(c\). With \(E>cB\), choosing \(c^2\mathbf E\times\mathbf B/E^2\) instead cancels \(\mathbf B\).

When both invariants vanish one must still distinguish a field identically zero from a nonzero null field. A vacuum travelling plane wave satisfies \(E=cB\) and orthogonality everywhere. The advertised boost would then require speed \(c\). An observer can lower its measured frequency and amplitude continuously by following the wave at increasing speed but can never transform away its nonzero field. A superposition of waves need not be null. A standing wave has positions and times where only one of the fields is present.

Phase matching across inertial frames

Every observer agrees on whether a particular spacetime event is a crest. The phase \(\mathbf k\cdot\mathbf r-\omega t\) therefore labels the same event in each frame. Substituting the inverse coordinate transformation gives the transformation of frequency and wavevector. For vacuum propagation at laboratory angle \(\theta\) to the boost, divide the transformed longitudinal wavenumber by the transformed magnitude.

\[\omega'=\gamma\omega(1-\beta\cos\theta),\]
\[\cos\theta'=\frac{\cos\theta-\beta}{1-\beta\cos\theta}.\]

An observer chasing a collinear 600 nm light wave at \(0.60c\) sees half its frequency and a wavelength of 1200 nm. A beam entering at \(90^\circ\) to the boost appears at \(\cos\theta'=-0.60\) and frequency \(1.25\omega\). Asking for a transverse Doppler shift without saying in whose frame the angle is a right angle leaves the problem under-specified. A detector counts phase fronts crossing its own trajectory and its own clock sets the elapsed time.

A boosted light beam also transports momentum

Frequency alone does not specify the energy measured by a moving detector. Its collecting surface and clock must be assigned to an observer. For a monochromatic collimated beam in vacuum, one route is to transform both fields and calculate their new Poynting vector. Another route is to transform the stress-energy tensor, whose energy density, momentum density and momentum flux describe the same field together. This second route shows explicitly which measured quantity is being transformed and extends to superposed beams with zero mean momentum in one frame.

For a right-moving plane wave along \(x\), the energy density is \(u=S_x/c\), momentum density is \(u/c\) and normal momentum flux is \(u\). In coordinates with \(x^0=ct\), the relevant block has \(T^{00}=T^{01}=T^{10}=T^{11}=u\). Boost both indices using the same Lorentz matrix as for coordinates. The transformed energy density follows directly:

\[T'^{00}=\gamma^2(T^{00}-2\beta T^{01}+\beta^2T^{11})=\gamma^2(1-\beta)^2u .\]

The frequency Doppler factor enters twice. One factor corresponds to lower energy per photon and one to the changed number per unit volume. For a finite pulse, its length at a common primed time grows for an observer following it, so the total energy changes by only one Doppler factor. Volumes measured between equal-time spatial endpoints must be computed on the appropriate observer's simultaneity slice, just as for a moving rod.

Now superpose two equal-intensity mutually incoherent plane waves in opposite axial directions. In the laboratory \(T^{01}=0\), while \(T^{11}=T^{00}=u\) for the combined radiation. An observer moving at \(0.60c\) obtains \(u'=\gamma^2(1+\beta^2)u=2.125u\), with net flux \(S'_x=-2\gamma^2\beta\,cu=-1.875\,cu\). The counterpropagating beam that the observer meets head-on is blueshifted, while the other is redshifted. Energy density remains greater than the magnitude of momentum density times \(c\), as required for a superposition of distinct propagation directions. This check fails if one transforms a zero Poynting vector as though it were the spatial component of a four-vector with no stress information.

The direction-independent radiation field in an ideal cavity has \(T^{ii}=u/3\) for each spatial axis in its rest frame rather than \(T^{11}=u\). The one-third comes from averaging \(n_i^2\) over a sphere. The moving observer then sees \(u'=\gamma^2u(1+\beta^2/3)\) and a net longitudinal flux. At \(\beta=0.60\) the energy-density factor is 1.75. An isotropic thermal field becomes directionally distorted; assigning one Doppler factor to the whole sky would give neither the correct integrated energy density nor its directional spectrum.

A moving parallel-plate capacitor tests surface sources

Choose large parallel conducting plates at \(z=\pm d/2\) carrying opposite uniform surface densities \(\pm\sigma\). Ignore edge effects in the central region. In the lab the field between them has magnitude \(E_0=\sigma/\epsilon_0\) and there is no magnetic field. A frame boosted along \(+x\) sees both plates move at \(-v\). Their areas contract along \(x\), so their surface charge magnitudes become \(\gamma\sigma\); their equal and opposite surface currents point in opposite senses. Use Gauss's law and the magnetic jump condition on each sheet to reconstruct the transformed fields. The current sheets reinforce magnetically between the plates and cancel outside, just as electric sheets of opposite charge do electrostatically.

For laboratory electric field along \(+z\), the moving observer has \(E'_z=\gamma E_0\) and \(B'_y=+\gamma vE_0/c^2\). Cross the primed plate velocity \(-v\mathbf e_x\) with this magnetic field to find a force along \(-z\) on a positive surface charge, partly cancelling the enhanced electric attraction towards the opposite plate. When finding the force on a sheet, use the fields of the other sheet or the arithmetic mean of the two limiting fields. Substituting the total interior field without removing the self contribution would double the result.

At \(E_0=2.00\) MV/m and \(\beta=0.60\), the primed interior field is 2.50 MV/m and its magnetic field 5.00 mT. Per positive surface charge the transverse attraction from the opposite sheet has magnitude \(\gamma E_0(1-\beta^2)/2=E_0/(2\gamma)\). This is 0.800 MV/m, compared with 1.00 MV/m in the laboratory. The transformation factor is inverse \(\gamma\) because the charge in this example is at rest in the original laboratory; the earlier force derivation placed the test charge at rest in the primed frame. Interchanging those initial conditions without changing the time conversion reverses the factor.

Multiplying the primed force per charge by the larger surface density \(\gamma\sigma\) restores the same force per transverse plate area in this tangential boost. The cancellation supplies a local cross-check among length contraction, field transformation and mechanical force. A complete calculation of the total energy or momentum of an accelerated finite capacitor must also account for stresses in its supports and for the fields near its edges. Taking the uniform central field times a transformed volume is adequate for a local comparison, but does not by itself describe that whole closed mechanical system.

Test a field transformation with an invariant

Change observer speed, compare the separately transformed fields and inspect the invariant combination. Agree on the event before comparing measurements.

Worked observer problem · a null of one component does not imply a vanishing field

At one event a laboratory finds \(\mathbf E=(30,40,0)\) kV/m and \(c\mathbf B=(0,0,50)\) kV/m. Another laboratory reports that it can remove the magnetic field by boosting along the direction of \(\mathbf E\times\mathbf B\). Test the claim and predict the fields for a boost of speed \(0.80c\) along this direction. Does the local measurement establish that this is an infinite plane wave?

Evaluate the invariants and transform the transverse field

The electric and scaled magnetic fields both have magnitude 50 kV/m and are perpendicular. Both quadratic Lorentz invariants vanish, while the fields themselves are nonzero. With \(\mathbf v\) along \(\mathbf E\times\mathbf B\), both field vectors are perpendicular to the boost. The cross terms reduce their magnitudes by a common factor \(\gamma(1-\beta)=1/3\) for this speed, so \(E'=cB'=16.7\) kV/m. Their directions in this transverse configuration are unchanged. No subluminal boost removes either nonzero field, as follows also by applying the inverse transformation to an alleged zero field.

A pulse at one point can have these local field values, as can the field near a suitable superposition at a particular event. A local tensor and its invariants contain no information about all the field derivatives elsewhere. To establish a plane-wave model measure spatial phase across transverse probes, verify the propagation relation at separated stations and bound amplitude variation over the required observation region. Infinity is an idealisation established only to a scale specified by the experiment.

As an error check, compare the measured difference \(E^2-c^2B^2\) with the propagated uncertainties of both meters. Small nonzero estimated differences near a null may be statistically insignificant, while a systematic alignment error in \(\mathbf E\cdot\mathbf B\) can obscure orthogonality. Classifying a field as electric-dominated or magnetic-dominated from a difference of nearly equal large squares requires an uncertainty budget. The exact mathematical classification and the experimental confidence in assigning it answer different questions.

Recover a source direction from two clocks and a known speed

Two perfectly synchronised receivers travel with equal speed in opposite directions along the laboratory axis. They sample the same monochromatic plane wave. Their measured frequencies are proportional to \(1-\beta\cos\theta\) and \(1+\beta\cos\theta\), with a common Lorentz factor. Taking their difference divided by their sum determines \(\beta\cos\theta\) without prior knowledge of emitted frequency. Their sum then fixes that frequency once the speed is calibrated. The construction combines two observer assignments rather than treating a transverse Doppler correction as an unknown empirical shift.

For speeds of half the speed of light and a measured frequency ratio of three to two, with the receiver travelling toward negative \(x\) recording the higher value, the inferred cosine is 0.40. If their average measured frequency is 600 THz, the emitted laboratory frequency is about 520 THz. A second direction on the opposite side of the boost axis has the same cosine, so the two receivers alone cannot determine the full incoming unit vector.

A third receiver with a nonparallel velocity supplies another directional projection. Detector clocks must be calibrated in their respective rest frames and each must see the same stable source frequency. If the source itself chirps between noncoincident measurements, that chirp can imitate an angular shift. Using overlapping signals and comparing phase histories addresses this limitation more directly than quoting only two peak frequencies.

Tutorial · Infer charge and current from two observers

A uniform channel carries an unknown lab line charge \(\lambda\) and current \(I\) along its axis. Observers moving at \(+0.30c\) and \(-0.30c\) measure line densities 1.0 and 3.0 nC/m respectively. Recover the laboratory quantities. Can a third observer travel alongside this current so that the measured current vanishes?

Recover the two independent quantities and classify the current

Adding the readings gives \(2\gamma\lambda=4.0\) nC/m, so \(\lambda=1.908\) nC/m. Subtraction gives \(2\gamma\beta I/c=2.0\) nC/m and hence \(I=0.953\) A. Reinsert both signs in the original equations as a check. The speed needed to cancel the current would be \(I/\lambda=5.00\times10^8\) m/s. It exceeds the speed of light. The current four-vector is spacelike since \(I^2>(c\lambda)^2\).

A frame with zero line charge can instead move at \(v=c^2\lambda/I=0.600c\). A spacelike total current is possible for superposed charge carriers of opposite sign. The calculation would rule out a model consisting solely of one sign of carriers all propagating with a common subluminal drift velocity. It does not rule out the measured pair of densities.

Tutorial · What does a moving pulse detector count?

A 10.0 ns rectangular-envelope light pulse moves in \(+x\) in vacuum. A detector moves along the same direction at \(0.60c\). Compute the interval between its encounters with the leading and trailing edges using laboratory kinematics, then its own clock. Predict its measured peak intensity and fluence relative to a stationary detector for a broad collimated beam.

Track the two crossing events and transform the flux

The pulse is \(c(10.0\,\mathrm{ns})\) long in the lab. Its back approaches the moving detector at coordinate closing speed \(c-v=0.40c\), so the two events occur 25.0 ns apart in laboratory time. Both events lie on the detector worldline, so its proper interval is 20.0 ns. This agrees with the inverse Doppler factor of two. A pulse of enough cycles to define a carrier now has half the frequency and twice its envelope duration.

For a transverse plane wave the field amplitude transforms as \(\gamma(1-\beta)=0.50\) times the laboratory value. The primed Poynting flux is therefore one quarter as large. Integrating over twice the proper duration gives one half the original energy per unit transverse area. The cross section perpendicular to the boost is unchanged. Photons are registered with half their laboratory energy and the same total number if the beam is entirely collected, an independent check on the fluence result.

Cambridge Electromagnetism · electromagnetism and relativity

Relativistic particle dynamics and the field tensor

A circular track measures momentum per charge. A clock following the particle registers proper time, and a detector records how much kinetic energy it has gained. We will put these observations in one dynamical equation, solve that equation in uniform fields and exhibit a numerical pusher that can get the energy right while its orbit phase slowly slips.

What the track, clock and calorimeter measure

Consider a particle of invariant mass \(m\), signed charge \(q\) and ordinary velocity \(\mathbf v\). Inertial observers agree on the proper time between neighbouring events on its timelike worldline,

\[d\tau=dt\sqrt{1-v^2/c^2}.\]

Adopt coordinates \(x^\mu=(ct,x,y,z)\) and metric \(g=\mathrm{diag}(1,-1,-1,-1)\). Dividing the displacement by proper time produces a vector of fixed Minkowski norm. Multiplying it by invariant mass gives four-momentum.

\[u^\mu=\gamma(c,\mathbf v),\]
\[p^\mu=mu^\mu=(\mathcal E/c,\mathbf p),\]
\[\mathcal E^2-c^2|\mathbf p|^2=m^2c^4 .\]

Energy includes the rest term. Momentum is \(\gamma m\mathbf v\). Differentiating the last equation on a trajectory gives

\[d\mathcal E/dt=\mathbf v\cdot d\mathbf p/dt.\]

This identity replaces the nonrelativistic step of dotting \(m\mathbf a\) with velocity. A magnetic field can rotate momentum with fixed magnitude and energy, whereas an electric field can change energy by doing work.

Suppose an electron begins at rest and gains 10.0 keV of kinetic energy across an electrostatic potential difference in vacuum. Its rest energy is 511 keV, giving \(\gamma=1.01957\) and \(v/c=\sqrt{1-1/\gamma^2}=0.1950\). The nonrelativistic estimate is 0.1978. In a modest energy measurement the discrepancy could lie below the experimental spread. For a precise orbit calculation the 1.96 percent change in relativistic cyclotron period is measurable independently of that discrepancy in speed.

A linear map that produces the Lorentz force

Seek a local equation linear in field and four-velocity and covariant under boosts. For the energy component to give \(q\mathbf E\cdot\mathbf v\), and for the spatial components to give the electric force and the oriented cross product, construct the antisymmetric field tensor. With the stated metric and \(\epsilon^{123}=1\), set

\[F^{0i}=-E_i/c,\]
\[F^{i0}=E_i/c,\]
\[F^{ij}=-\epsilon^{ijk}B_k,\]
\[\frac{dp^\mu}{d\tau}=qF^{\mu\nu}u_\nu .\]

Lowering the index on \(u\) reverses the signs of its spatial components. The spatial product becomes \(q\gamma(\mathbf E+\mathbf v\times\mathbf B)\), and division by \(\gamma\) converts the proper-time derivative to \(d\mathbf p/dt\). The time component similarly yields

\[d\mathcal E/dt=q\mathbf E\cdot\mathbf v.\]

Contract the force with \(u_\mu\). The symmetric product \(u_\mu u_\nu\) annihilates the antisymmetric tensor, which proves that the evolution preserves the mass shell.

To recover Maxwell's kinematic constraints from potentials, put \(A^\mu=(\phi/c,\mathbf A)\) and \(F^{\mu\nu}=\partial^\mu A^\nu-\partial^\nu A^\mu\). Then \(F^{0i}=(\partial_t A_i+\partial_i\phi)/c=-E_i/c\), while the spatial-spatial components are the magnetic curl. Adding a four-gradient to \(A^\mu\) leaves the tensor unchanged because ordinary derivatives commute. The particle action \(S=-mc^2\int d\tau-q\int A_\mu dx^\mu\) gives the same force after integrating variations by parts with fixed endpoints. Gauge changes add only an endpoint term to this action. A trajectory measured with local forces cannot distinguish such potential representatives.

Compare the potentials and field-based description in the field-tensor chapter

Constant force, variable coordinate acceleration

Put a particle initially at rest in a uniform static electric field along \(x\). Let \(a_0=qE/m\) be signed. Integration of \(dp_x/dt=qE\) gives \(p_x=ma_0t\), so the speed tends to \(c\) even while momentum increases linearly. Proper-time evolution is simplest in terms of rapidity \(\eta\), where \(u^0=c\cosh\eta\), \(u^x=c\sinh\eta\). The two tensor equations imply \(d\eta/d\tau=a_0/c\).

\[t=\frac{c}{a_0}\sinh(a_0\tau/c),\]
\[x=\frac{c^2}{a_0}\{\cosh(a_0\tau/c)-1\},\]
\[\frac{dv_x}{dt}=\frac{a_0}{\gamma^3}.\]

The initial time and position are zero. The work \(qEx=mc^2(\cosh\eta-1)\) equals kinetic energy, which checks both the integration constant and the dimensional factor in the displacement. For an electron use the direction of the electric force as positive to simplify signs. At 20.0 kV/m it gains 1.0 keV in 5.0 cm. The energy gain follows from the static potential even though the speed does not grow exactly as the square root of distance. The field region must last long enough for the particle to cross it and fringe fields can alter the entry trajectory.

Compare momentum, coordinate time and proper time in the charged-worldline experiment

Helical motion, radius and period

A uniform magnetic field along \(z\) keeps \(p_z\), energy and \(|\mathbf p_\perp|\) fixed. Write \(p_x+ip_y\) as a complex number. The Lorentz force reduces to a first-order rotation equation and a single time integration gives the corresponding position. With positive \(B\), positive charges starting along \(+x\) initially turn towards \(-y\).

\[\frac{d}{dt}(p_x+ip_y)=-i\frac{qB}{\gamma m}(p_x+ip_y),\]
\[R=\frac{p_\perp}{|q|B},\]
\[T=\frac{2\pi\gamma m}{|q|B}.\]

The helical pitch is \(v_zT\). Radius gives transverse momentum and a calibrated period gives total energy through \(\gamma\). A track seen only in projection along the field gives no direct evidence that longitudinal momentum vanishes. A second view or a timing measurement can resolve this ambiguity.

At 10.0 keV the electron has \(pc=\sqrt{K(K+2mc^2)}=101.6\) keV. With entry perpendicular to a 2.0 mT field its radius is 0.169 m and its period 18.2 ns. Doubling the field halves both radius and period at fixed injection energy. Doubling momentum at fixed field doubles radius but changes period by the ratio of Lorentz factors. These are different tests of a track calibration. A beam with a spread of energies will dephase relative to a narrow timing gate even when every single particle remains in a perfectly uniform field.

A drift frame gives an exact crossed-field solution

For constant crossed fields with \(E<cB\), transform to the frame moving at \(\mathbf v_d=\mathbf E\times\mathbf B/B^2\). There \(E'=0\) and \(B'=\sqrt{B^2-E^2/c^2}\); calculate the transformed initial momentum and integrate a helix. Transform two successive equal-phase events back to the lab. Their perpendicular displacement in the electric-free frame is zero. If the motion has no component parallel to \(\mathbf B\), the entire displacement there is zero, and the average lab cycle velocity is exactly \(\mathbf v_d\). The detailed lab trace need not be circular and the instantaneous lab energy may oscillate.

Take \(E=30.0\) kV/m along \(y\) and \(B=0.50\) mT along \(z\). The drift is along \(+x\) at \(6.00\times10^7\) m/s. A particle injected at that velocity crosses the uniform fields on a straight line because the forces cancel. An initially stationary positive particle instead begins by accelerating along \(+y\). These observations can use the same field with different injected particles. If \(E\) exceeds \(cB\), this electric-free frame is unavailable. Transform to a magnetic-free frame and integrate electric acceleration instead.

Continuous rotation and a discrete experiment

A naive forward step \(\mathbf p_{n+1}=\mathbf p_n+q\Delta t\,\mathbf v_n\times\mathbf B\) adds a vector perpendicular to the previous momentum. Its squared norm increases by the squared magnitude of that kick. The apparent heating will persist in perfectly static uniform magnetic fields. For a purely magnetic update, evaluate the direction using the mean of old and new momenta. At fixed \(\gamma\), the resulting implicit two-dimensional linear map can be solved algebraically and is an exact rotation by a modified angle.

\[\delta=2\arctan\!\left(\frac{\omega_c\Delta t}{2}\right),\]
\[\omega_c=\frac{qB}{\gamma m}.\]

The sign of rotation follows the earlier complex equation. Dotting the update with the mean momentum gives zero change in squared norm, which verifies the energy property even for relatively large time steps. A common electromagnetic pusher surrounds the magnetic rotation by two electric half-kicks. In spatially varying fields, specify at what time and position each field is sampled, and check spatial interpolation and time convergence. For ultrarelativistic nearly cancelling electric and magnetic fields, preserving rotation in a pure field alone does not ensure cancellation is represented accurately.

Solve the constant tensor without transforming every time step

When uniform electric and magnetic fields are constant in spacetime, the Lorentz equation is a linear constant-coefficient equation for four-velocity as a function of proper time. Nonlinearity in ordinary time hides that simple structure, because the rate at which proper time accumulates changes along the orbit. Define the mixed tensor \(M^\mu{}_\nu=(q/m)F^{\mu\alpha}g_{\alpha\nu}\). In a uniform field it does not vary along the trajectory. A formal solution is then

\[u(\tau)=e^{M\tau}u(0),\]
\[x(\tau)-x(0)=\int_0^\tau e^{Ms}u(0)\,ds .\]

The coordinate formula is written as an integral since \(M\) can be singular, as it is in a purely magnetic field. Blindly replacing this integral by \(M^{-1}(e^{M\tau}-I)\) fails in exactly such simple cases. A power series for the integral or a block matrix exponential treats zero eigenvalues without an artificial inverse. Antisymmetry of the tensor implies \(M^{\mathsf T}g+gM=0\). Differentiating \(e^{M^{\mathsf T}\tau}ge^{M\tau}\) shows that it stays equal to \(g\), making preservation of \(u^\mu u_\mu=c^2\) a structural property of the exact mapping.

For parallel constant fields along \(z\), the matrix decomposes into a boost in the \(ct,z\) subspace and a rotation in \(x,y\). Write \(\alpha=qE/(mc)\), \(\Omega=qB/m\), and denote the initial four-velocity components by \(u_0^\mu\). The proper-time solution is

\[u^0=u_0^0\cosh\alpha\tau+u_0^z\sinh\alpha\tau,\]
\[u^z=u_0^z\cosh\alpha\tau+u_0^0\sinh\alpha\tau,\]
\[u^x+i u^y=(u_0^x+i u_0^y)e^{-i\Omega\tau}.\]

The longitudinal and transverse operations commute because they act in different subspaces. In lab time the transverse rotation slows as the electric field increases energy, although the proper-time rotation frequency stays constant. A particle therefore traces a helix whose transverse radius \(p_\perp/(|q|B)\) is fixed while the pitch evolves. A single measured turn time without a tagged position in the accelerating region is insufficient for an energy reconstruction.

As a numerical test use an electron, quoting magnitudes, with \(B=1.0\) mT, \(E=10.0\) kV/m and initial purely transverse speed \(0.10c\). One magnetic turn takes 35.72 ns in proper time and accumulates electric rapidity magnitude \(|\alpha|\tau\simeq0.2096\). The final Lorentz factor is \(\gamma_i\cosh(0.2096)=1.0272\), giving final kinetic energy about 13.9 keV, compared with 2.57 keV initially. The lab-time turn duration is \(\gamma_i\sinh(|\alpha|\tau)/|\alpha|\simeq36.2\) ns. Reversing the electric field changes the direction of the axial displacement but leaves final energy and turn duration unchanged for this initially transverse particle. Reversing the initial longitudinal velocity would generally break that energy symmetry.

Infer uncertainty and test units in a momentum reconstruction

A track fitter commonly reports field, radius, pitch, time and a fitted covariance matrix. The dynamical relation turns these observed quantities into momentum. Let \(L_z\) denote a signed pitch per turn. With known signed direction of circulation and calibrated absolute field magnitude,

\[|\mathbf p|=|q|B\sqrt{R^2+(L_z/2\pi)^2}.\]

For small errors, logarithmic differentiation gives weights for fractional radius and pitch errors:

\[d\log p=d\log B+w_R\,d\log R+w_L\,d\log |L_z|,\]
\[w_R=\frac{R^2}{R^2+(L_z/2\pi)^2},\]
\[w_L=1-w_R .\]

For \(R=0.20\) m and \(L_z=0.30\) m the radius accounts for 94.6 percent of the squared transverse-plus-longitudinal geometric factor. Independent relative uncertainties of 0.20 percent in field, 0.50 percent in radius and 2.0 percent in pitch yield about 0.525 percent uncertainty in total momentum. A common detector scale controlling both radius and pitch would enter with correlated signs and should not be counted as two independent errors. When the pitch tends to zero, use the original derivatives with respect to \(L_z\); a reported fractional error on a quantity consistent with zero is ill defined.

Differentiating \(K=\sqrt{m^2c^4+p^2c^2}-mc^2\) gives

\[d\log K=(\gamma+1)d\log p/\gamma.\]

The coefficient approaches two at low energy and one at very high energy. At the approximately 3.70 keV energy of the tutorial the above momentum error would imply about a 1.05 percent energy error. A kinetic-energy estimate from a small difference of nearly equal numbers can also lose numerical precision at much lower energies. Rationalise it as \(K=p^2c^2/(\sqrt{m^2c^4+p^2c^2}+mc^2)\) when working near rest.

Several independent checks use this reconstruction without assuming the track fitter is correct. The turn time inferred from the fitted \(\gamma\) can be compared with a separate timing channel. Reverse the magnetic field to reverse the direction of curvature while keeping the speed and energy approximately fixed. Translate the beam within a mapped uniform field and look for changing fitted radius that correlates with position, an indication of geometric or field-map bias. Finally plot the residual of the magnetic force law separately for transverse magnitude and angle. A time integrator may conserve momentum magnitude for symmetry reasons even when its field interpolation biases the phase or shifts the guiding centre systematically.

Advance a charge using relativistic momentum

Increase the impulse while following speed, energy and proper time. Identify the range where a Newtonian momentum update becomes inaccurate.

Worked timing problem · infer an accelerating voltage without a radius

A tagged electron bunch completes ten nearly circular turns in a calibrated 5.0 mT magnetic field. Two time stamps indicate an elapsed 73.0 ns. The field is perpendicular to the orbit. Assuming complete turns and negligible electrical work during the timed interval, estimate the injection energy. What timing precision would distinguish a one-percent change in that energy?

Use the relativistic period sensitivity rather than the energy fraction directly

The nonrelativistic turn period is

\[2\pi m/(eB)=7.145\,\mathrm{ns}.\]

The measured period is 7.30 ns, giving \(\gamma\simeq1.0217\) and \(K=(\gamma-1)mc^2\simeq11.1\) keV. The relative energy sensitivity is much larger than the relative period change when \(\gamma\) is close to one. A one-percent change in \(K\) corresponds to \(\Delta\gamma\simeq2.17\times10^{-4}\), or relative period change \(2.12\times10^{-4}\). Over the ten turns this gives approximately 15.5 ps.

To resolve that change spectroscopically, uncertainties in the elapsed time and field scale must together be significantly smaller than the equivalent change. A constant pickup cable delay cancels if the same electronics register both ends of the interval, while a drift of its timebase scale does not. Timing over more turns improves the total accumulated signal but also increases exposure to field inhomogeneity, energy loss and dephasing among particles with different injection energies. A narrower timing histogram does not automatically eliminate a systematic field calibration.

Finally verify the integer turn count independently. Missing a pickup crossing would cause a much larger change in inferred energy than the desired resolution. The measured wave packet may broaden so strongly that later crossings overlap. Recording the full pickup waveform and tracking ordered crossings, along with an independent rough radius estimate, can constrain the turn assignment before fitting the small relativistic shift. A perfect circular image with no time labels cannot supply that missing count.

Why momentum and kinetic energy do not gain fixed fractions together

In an electrostatic accelerating gap, the kinetic energy increment for a particle passing between two equipotential surfaces is its charge times the potential drop, regardless of injection energy. This statement follows by integrating the Lorentz power law over the actual path. A magnetic guiding field can alter the path and transit time while doing no direct work. A time-dependent electric field, a missed equipotential endpoint or appreciable radiation changes the simple inference and must be addressed separately.

For an electron entering with 10 keV and acquiring an additional 10 keV, kinetic energy doubles. Its initial momentum times \(c\) is about 101.6 keV and its final value about 144.4 keV. The radius in the same subsequent perpendicular magnetic field increases by a factor approximately 1.42. Doubling the radius would instead require doubling momentum, which demands a substantially greater energy increment at this low initial energy. Comparing radii before and after a known voltage supplies an independent check on the sign and magnitude of a particle's charge-to-mass model.

A measured energy gain below the nominal voltage does not by itself diagnose radiation. The potential actually traversed, finite angular acceptance, entrance or exit fringe fields, collision losses and biases in reconstructing longitudinal momentum can all matter. Repeat with reversed field polarity or several injection energies and compare the kinetic-energy difference rather than the two radii directly.

Tutorial · Reconstruct a track with two measurements

A particle known to be an electron or positron crosses a uniform \(+z\) field of 1.0 mT. The projected radius is 0.200 m and the pitch magnitude is 0.300 m. Recover the transverse and longitudinal momentum, energy and period. What else must the detector record to determine the sign of charge?

Reconstruct both momentum components

The transverse momentum is \(|q|BR=3.20\times10^{-23}\) kg m/s. During a cycle the parallel displacement is \(p_zT/(\gamma m)=2\pi p_z/(|q|B)\), so \(|p_z|=7.65\times10^{-24}\) kg m/s. The quadrature total is \(3.29\times10^{-23}\) kg m/s, yielding \(p/(mc)=0.1206\), \(\gamma=1.00724\), and approximately 3.70 keV kinetic energy. The period is about 36.0 ns.

Neither radius nor pitch magnitude carries the signed circulation. Record the direction of traversal relative to the calibrated direction of magnetic field. Reversing both charge and the direction of traversal yields the same unlabelled transverse ring. If timing or two ordered detectors supply a direction, the sign follows from the first Lorentz kick.

Tutorial · Can a constant-energy circle be trusted?

A pusher uses 20 uniform steps per exact cyclotron period in a uniform magnetic field. It reproduces initial kinetic energy to machine precision for 50 turns. Estimate the phase drift from the midpoint rotation formula. Design a refinement diagnostic that distinguishes a time-discretisation bias from a field calibration error.

Compare the exact and discrete angles

The exact unsigned angle per step is

\[h=2\pi/20=0.31416.\]

The discrete one is

\[2\arctan(h/2)=0.31161.\]

The accumulated deficit over 1,000 steps is about 2.55 rad, roughly 0.41 turn. The method can keep every track point on a closed momentum circle yet miss the pickup electrode by a large fraction of a revolution. Coordinate radius may depend on how positions were staggered, so perform the angular comparison on momentum first.

Double the number of steps at fixed physical end time and take the difference in unwrapped phases. The leading angular error \(h^3/12\) per step becomes a quadratic global error, so halving the step should reduce it by about four. A calibration error in \(qB/(\gamma m)\) persists under time refinement. Track both the expected frequency and the convergence of the time series; comparing the coordinates at a single late time can confuse complete turns with near agreement.

Cambridge Electromagnetism · four-vectors, fields and charged matter

Semiclassical quantization

Use a local wavelength to construct the quantization rule for a smooth well and recognize where that construction breaks down.

From first principles

Build the semiclassical phase and the turning-point condition

In a classically allowed interval define \(p(x)=\sqrt{2m[E-V(x)]}>0\) and seek a one-dimensional stationary wave \(\psi=A(x)e^{iS(x)/\hbar}\). Assume \(p\) varies little over a local wavelength. Substitute into the Schrödinger equation and separate terms by powers of \(\hbar\). The leading real and next imaginary balances give

\[(S')^2=p^2,\]
\[2A'S'+AS''=0\quad\Longrightarrow\quad A^2 S'=\text{constant}.\]

Thus the phase increment is \(\int p\,dx/\hbar\) and the travelling-wave amplitude varies as \(p^{-1/2}\). This approximation fails where \(p=0\). Near each smooth simple turning point the potential is locally linear; the decaying exterior Airy solution matches an interior sine with phase shift \(\pi/4\). The waves entering from the left and right must describe the same standing wave. Combining the two end phases gives

\[\int_{x_-}^{x_+}p(x)\,dx=\pi\hbar(n+\tfrac12),\]
\[n=0,1,\ldots .\]

The offset comes from the two soft turning points. A hard wall imposes its own node condition and changes the quantization offset. The construction becomes more reliable when the state samples many local wavelengths inside the well.

Derivation and applications

Read a quantum level spacing from a classical clock

The semiclassical quantization rule uses the area swept in phase space. Its change with energy also carries information about time. Consider a smooth one-dimensional binding potential with two simple turning points \(x_\pm(E)\), mass \(m\), and many accessible levels. Write the half-cycle action using the positive momentum branch \(p(x,E)=\sqrt{2m[E-V(x)]}\):

\[I(E)=\int_{x_-}^{x_+}p(x,E)\,dx,\]
\[I(E_n)\simeq\pi\hbar(n+\tfrac12).\]

The endpoints move with energy, but their boundary contributions when differentiating the integral contain \(p(x_\pm)=0\). Inside the well \(\partial_Ep=m/p\). Its divergence near a simple turning point behaves as an inverse square root and is integrable. Using \(p/m=\dot x\) on the forward leg now gives

\[\frac{dI}{dE}=\int_{x_-}^{x_+}\frac{m}{p(x,E)}\,dx=\int_{x_-}^{x_+}\frac{dx}{\dot x}=\frac{T_{\rm cl}(E)}{2}.\]

Two neighbouring quantized actions differ by \(\pi\hbar\). If the classical period varies little over a level spacing, linearizing the action about one level leads to

\[E_{n+1}-E_n\simeq\frac{2\pi\hbar}{T_{\rm cl}(E_n)}=\frac{h}{T_{\rm cl}(E_n)} .\]

Thus a densely spaced part of the spectrum is associated with a long classical excursion. For a harmonic well the period is constant and the result is exactly the known spacing; near a separatrix the rapidly varying period makes a one-step linearization less reliable. Only the period of a complete return to the starting phase-space point belongs in this relation.

Worked example

Estimate a frequency from adjacent lines

Consider an approximately harmonic vibrational well with nearby levels separated by \(2.50\) meV. With \(h=4.136\) meV ps, the inferred classical period is \(1.65\) ps and the ordinary oscillation frequency is \(0.604\) THz. A transit from the left turning point to the right should take about \(0.827\) ps. Equating this one-way transit with the period would overestimate the energy spacing by two.

Second application

Predict the scaling change for a quartic well

In \(V(x)=\lambda x^4\) the turning point is \(x_t=(E/\lambda)^{1/4}\). Substituting \(x=x_tu\) into \(T_{\rm cl}=2\int_{-x_t}^{x_t}m\,dx/p\) leaves an energy-independent integral and gives

\[T_{\rm cl}\propto E^{-1/4}.\]

Therefore local level spacing grows as \(E^{1/4}\). At sixteen times the energy a spacing of \(0.180\) meV should become about \(0.360\) meV, assuming both regions contain enough levels for semiclassical counting. The quadratic trap would show no comparable growth.

Try it · Power law spacing

Vary the physical parameters in the derived relation. Use the units and assumptions in the readout to connect the curves to the two worked examples. A parameter study can test the forward prediction; the same relation can then be inverted to infer a parameter from a measurement.

A locally oscillating solution

Consider one-dimensional bound motion of mass \(m\) in a smoothly varying potential. In allowed regions the stationary equation is \(\psi''+p(x)^2\psi/\hbar^2=0\) with \(p=\sqrt{2m(E-V)}\). If the potential changes little over a local wavelength, a small interval resembles a free-particle region. Accumulating its local phase produces the action integral \(\int p\,dx/\hbar\). Yet a wave with changing local momentum must also change amplitude in order to conserve current.

Substitute \(\psi=A(x)\exp[iS(x)/\hbar]\). The leading real terms give

\[S'^2=p^2.\]

The next imaginary terms give \(2A'S'+AS''=0\), or \((A^2S')'=0\). Therefore each travelling contribution has amplitude proportional to \(1/\sqrt p\). Equivalently a classical particle dwells longer where it is slow, and the smoothed semiclassical probability mirrors this dwell time. The neglected derivative terms are small away from turning points when \(\hbar|p'|\ll p^2\).

Match through a turning point

At an ordinary turning point \(V(x_t)=E\) with nonzero slope, the local wavelength diverges and the previous criterion fails. Linearizing \(V\) there gives the Airy equation. Its decaying forbidden-side solution continues to an oscillatory allowed-side standing wave with a phase offset of \(\pi/4\). Matching decaying exterior tails on both sides of a well bounded by two such turning points imposes

\[\int_{x_-}^{x_+}p(x)\,dx=\pi\hbar(n+\tfrac12),\]
\[n=0,1,2,\ldots .\]

The offset encodes the two smooth reflections. An infinite hard wall instead imposes a node directly and has a different reflection phase. Applying this rule unchanged to a hard box would count its levels incorrectly. For slowly varying barriers the forbidden action also controls exponential attenuation, but the two-turning-point integral above determines the energies of a classically allowed well.

A trap with measurable spacings

For \(V=m\omega^2x^2/2\) let \(x_t=\sqrt{2E/(m\omega^2)}\). Put \(x=x_t\sin u\) in the action integral. The integrand becomes \((2E/\omega)\cos^2u\,du\) between \(-\pi/2\) and \(\pi/2\), yielding \(\pi E/\omega\). The rule gives \(E_n=\hbar\omega(n+1/2)\), exceptionally exact even for the oscillator’s lowest levels.

For a mechanical trap at frequency 100 kHz, \(E_4=4.5hf=2.98\times10^{-28}\) J, equivalent to \(21.6\) μK on division by \(k_B\). The spacing is \(hf\) or \(4.80\) μK. These temperatures express energy units; no equilibrium ensemble was assumed. As a transfer test consider \(V=gx^4\). Rescaling \(x=(E/g)^{1/4}y\) makes the action proportional to \(E^{3/4}\). Quantization gives \(E_n\propto(n+1/2)^{4/3}\), so successive spacings grow with excitation. At sufficiently high level number the action changes slowly over a wavelength, making the predicted trend more trustworthy than a low-level numerical prefactor.

An independent check on the energy spacing follows by differentiating the action with respect to energy. The integrand vanishes at the turning points, so their moving endpoints add no first-order term. Inside the integral \(\partial p/\partial E=m/p=1/v\). Consequently the derivative of the one-way action is the time for the classical particle to travel from one turning point to the other. Adjacent quantum levels at high excitation then have separation approximately \(h\) divided by the full classical period. Measuring a variation of level spacing with excitation is therefore also probing the dependence of the classical orbit period on energy.

Estimate tunnelling between two bound wells

A nearly symmetric double well can have pairs of quantum states concentrated mainly in classically separate regions. For one such pair take approximately orthogonal localized states \(|L\rangle,|R\rangle\) with equal isolated energy \(E_0\) and a small real tunnelling matrix element \(-J\). The sign of either localized basis state can be chosen so \(J>0\). The two-level Hamiltonian has symmetric and antisymmetric eigenstates with energies \(E_0-J\) and \(E_0+J\), respectively. A local preparation \(|L\rangle\) is a superposition of both and acquires a relative phase at rate \(2J/\hbar\).

On evolution the probability to be in the other well is \(P_R(t)=\sin^2(Jt/\hbar)\). The first complete transfer occurs at \(t_{\rm tr}=\pi\hbar/(2J)=h/(2\Delta E)\) with \(\Delta E=2J\). In a high smooth barrier the localized wave tails overlap weakly. A semiclassical estimate gives

\[J\simeq J_0 e^{-\mathcal S/\hbar},\]

with \(\mathcal S=\int_{x_1}^{x_2}\sqrt{2m[V(x)-E_0]}\,dx\) between inner turning points. This is an amplitude action. The through-barrier transmission probability of a scattering experiment instead contains twice that exponent. Confusing the two quantities gives an incorrect predicted change in the oscillation time.

Predict how a gate changes a tunnelling period

Suppose a symmetric electron double well shows a spectroscopic splitting \(\Delta E=40.0\) μeV. Its predicted first full transfer time is

\[h/(2\Delta E)=51.7\,\mathrm{ps}.\]

Use the measured splitting to eliminate the unknown semiclassical prefactor. A gate modification adds a nearly flat forbidden segment of width \(0.300\) nm where \(V-E_0=0.150\) eV and otherwise changes the wells negligibly. Using \(\hbar^2/(2m_e)=0.0381\) eV nm² gives decay wavenumber \(\kappa=\sqrt{0.150/0.0381}=1.98\) nm⁻¹. The added dimensionless action is 0.595.

If the prefactor and individual well frequencies remain similar, the new splitting is \(40.0e^{-0.595}=22.1\) μeV, and transfer time rises to \(93.6\) ps. Doubling the width change multiplies the splitting by the square of the original ratio, not by twice the original ratio. These estimates concern coherent dynamics before energy relaxation or phase noise destroys the relative phase.

A gate can also shift the two well bottoms differently. With detuning \(\delta\) the splitting is \(\sqrt{\delta^2+4J^2}\), while maximum transfer falls to \(4J^2/(\delta^2+4J^2)\). A larger measured splitting can therefore accompany poorer population transfer if symmetry is lost. Comparing spectroscopy and time-resolved populations distinguishes a changed tunnel coupling from an unintended potential offset.

The small tunnel coupling also sets a time criterion for disorder: a fluctuating left–right offset comparable with the splitting can produce substantial changes in both transfer amplitude and oscillation frequency. A static distribution of offsets across repeated preparations can wash out ensemble oscillations even when each individual preparation evolves coherently. Repeating the experiment after compensating the measured detuning separates this ensemble averaging from intrinsic energy relaxation. The semiclassical action comparison is most reliable when the two localized levels remain nearly resonant throughout the modification and no higher intrawell level enters the same small energy window.

Independent measurements of the individual well minima supply a practical detuning calibration.

A phase accumulated by slowly turning a magnetic field

A spin aligned with a slowly rotating field returns to its original measurement probabilities after one loop. Derive the additional phase that becomes observable when that path interferes with a reference path.

Separate following the state from acquiring a phase

Let a spin one-half have \(H=-(\hbar\omega_0/2)\,\mathbf n(t)\cdot\boldsymbol\sigma\), with \(\mathbf n\) a unit vector and constant \(\omega_0>0\). The two instantaneous energies are separated by \(\hbar\omega_0\). Prepare the lower-energy state and rotate \(\mathbf n\) on a smooth path. If the rate of change of its eigenvector is small compared with the gap in angular-frequency units, transitions to the upper state are small. Following one eigenstate still allows a time-dependent complex phase.

Write \(|\psi(t)\rangle=e^{i\alpha(t)}|n(t)\rangle\), substitute in the time-dependent Schrödinger equation and project onto \(\langle n|\). Normalization makes \(\langle n|\dot n\rangle\) imaginary. Consequently

\[\dot\alpha=-E_n/\hbar+i\langle n|\dot n\rangle .\]

The first contribution accumulates in proportion to elapsed time. The integral of the second depends on the path of the instantaneous eigenvector. The splitting into pieces changes with the arbitrary phase used to define \(|n(t)\rangle\); after a closed loop the geometric phase in a single-valued gauge is invariant modulo \(2\pi\).

Evaluate a circle on the sphere of directions

Represent the aligned spin by the column \((\cos(\theta/2),e^{i\phi}\sin(\theta/2))^T\). Its mean spin points along the polar angles \(\theta,\phi\). Hold \(\theta\) fixed and increase \(\phi\) by one revolution. Only the lower component contributes to the derivative. Its coefficient is its occupation weight:

\[i\langle n|\partial_\phi n\rangle=-\sin^2(\theta/2),\]
\[\gamma=-2\pi\sin^2(\theta/2)=-\pi(1-\cos\theta).\]

The solid angle enclosed by the latitude is \(2\pi(1-\cos\theta)\), found by integrating \(\sin\theta'\,d\theta'\,d\phi\) over the cap. The aligned spin accumulates minus half this angle. Reversing traversal changes its sign. As the cone closes to a point, the result vanishes continuously. Around the equator the result is \(-\pi\).

Predict an interference fringe

Split a coherent preparation into two equal-amplitude paths and arrange the reference so the dynamical phases match. If only the signal path gains \(\gamma\), an ideal balanced recombiner gives the bright-port probability \(P=(1+\cos\gamma)/2\) for zero additional reference phase. The overall phase of one isolated spin would never produce this signal. The reference path supplies a phase comparison.

For \(\theta=60^\circ\), the solid angle is \(\pi\), the geometric phase is \(-\pi/2\), and \(P=1/2\). For a circuit of the equator the same port becomes dark. Reversing the \(60^\circ\) loop still gives one-half at zero reference phase. Introduce a known reference shift \(\chi\): the probability becomes \([1+\cos(\chi+\gamma)]/2\) in the chosen convention. Choosing \(\chi=\pi/2\) changes the two directions of traversal into full and zero probability, revealing the sign.

Scan the reference phase

Set the cone angle, then vary the reference phase. The horizontal axis scans the cone angle and the marker value is returned in the readout. A source with finite path coherence would reduce the modulation depth, whereas unmatched dynamical phases would shift the fringe.

Tutorial on the following condition

A cone has angle \(60^\circ\). At what rate scale does uniform azimuthal rotation stop being reliably adiabatic, and why can a change in loop duration alter a real experiment?

Work through the solution

The off-diagonal eigenstate derivative has magnitude \(|\dot\phi|\sin\theta/2\), so one requires \(|\dot\phi|\sin\theta/(2\omega_0)\ll1\). Increasing duration reduces that coupling but also changes the dynamical phase and can permit decoherence. An interferometer must control both even when the ideal geometric phase has no dependence on duration.

Keep the cone angle at \(60^\circ\) but make two complete positive circuits before recombination. What probability appears at the bright port with zero reference phase? Would performing one forward and one reverse circuit give the same result?

Work through the solution

Each positive traversal contributes \(-\pi/2\). Two give \(-\pi\), hence zero bright-port probability. A positive and negative traversal instead add to zero, giving unit probability when dynamical phases are matched. These outcomes test orientation and addition of the geometric phase over consecutive cycles.

Estimate the sensitivity to a cone-angle calibration error at \(60^\circ\). Express the first-order phase error for one angular degree.

Work through the solution

Differentiating in radians gives

\[d\gamma/d\theta=-\pi\sin\theta.\]

Multiplication by \(\pi/180\) yields \(-0.0475\) radians of phase error per added degree at \(60^\circ\). At a port fringe extremum the intensity change from this small phase error begins quadratically. Near a half-bright fringe it appears linearly and is easier to detect.

Further reading · Tong, Topics in Quantum Mechanics, adiabatic theorem and Berry phase.

A magnetic orbit that spirals outward in a perfect vacuum

Track a charged particle in a prescribed uniform field, derive a rotation update and separate numerical energy growth from a real magnetic force.

Use the work law before solving the trajectory

A nonrelativistic charged particle of mass \(m\) and charge \(q\) moves perpendicular to a uniform, time-independent magnetic field \(B\hat{\mathbf z}\). There is no electric field and the dilute test particles do not affect the applied field. The Lorentz force gives \(\dot v_x=\omega v_y,\ \dot v_y=-\omega v_x\) for \(\omega=qB/m\). Dotting with \(\mathbf v\) gives zero, so the speed should stay constant. This property holds for either sign of the charge; the direction of rotation changes. It is a better initial test of a trajectory solver than how circular a short segment looks on screen.

Define \(J(v_x,v_y)=(v_y,-v_x)\), so \(J^T=-J\) and \(J^2=-I\). The exact velocity over a time step \(h\) is \([\cos(\omega h)I+\sin(\omega h)J]\mathbf v\). Integration in time gives a circular orbit of radius \(v_\perp/|\omega|\) once the guiding centre is chosen. A magnetic field alone bends a trajectory without changing its kinetic energy; a slowly growing orbit radius at fixed \(B\) and fixed initial speed demands an explanation.

Why forward Euler adds energy at every step

Euler gives \(\mathbf v_+=(I+dJ)\mathbf v\) with \(d=\omega h\). Squaring the norm eliminates the cross term because \(v^TJv=0\), leaving \(\|\mathbf v_+\|^2=(1+d^2)\|\mathbf v\|^2\). No nonzero step has exact unit gain. A geometric picture makes the bias tangible: a tangent step leaves the initial velocity circle on its outside, whatever the point of departure.

After \(N\) steps the speed factor is \((1+d^2)^{N/2}\). With 24 steps per physical orbit, \(d=2\pi/24\simeq0.2618\), so a full orbit multiplies speed by roughly 2.2. At shorter times or smaller steps this can resemble weak physical acceleration. Reducing \(h\) at fixed physical duration reduces the growth. Testing one step at fixed count, rather than comparing over a fixed physical interval, underestimates the cumulative error.

Solve a centred magnetic step exactly

Use the time-centred velocity in the Lorentz force:

\[\mathbf v_+-\mathbf v=d J(\mathbf v_++\mathbf v)/2.\]

Premultiply by the transpose of \(\mathbf v_++\mathbf v\). The left side is the difference of squared speeds and the right side vanishes, so the update preserves speed for every \(d\) in exact arithmetic. Rearranging yields a two-dimensional linear solve; using \(J^2=-I\) turns it into a rotation,

\[\mathbf v_+=\frac{1-t^2}{1+t^2}\mathbf v+\frac{2t}{1+t^2}J\mathbf v,\]
\[t=d/2.\]

These coefficients are \(\cos\alpha\) and \(\sin\alpha\) for \(\alpha=2\arctan(d/2)\). This is the magnetic rotation used in the nonrelativistic Boris integrator. For simultaneous electric fields, the usual split step adds two half electric impulses around the magnetic rotation. The current experiment isolates the magnetic part; it makes no claim about a nonuniform electric field or the accuracy of interpolation from a field mesh to particles.

Speed conservation does not fix arrival time

At small \(d\),

\[\alpha=d-d^3/12+O(d^5).\]

A speed-preserving orbit lags in gyrophase, even when its energy plot stays perfectly flat. After four true orbits at 24 steps per orbit the predicted lag is about 8.14 degrees. The browser advances the Euler and rotation velocities and reports both norm and lag. The y-axis rescales to fit both curves, so a sharply growing Euler error can flatten the appearance of the well-behaved curve. Inspect numerical values as well as the picture.

Suppose an optical pickup observes the time at which a dilute ion tracer first crosses a known line of sight after several orbits. A phase error can be an important measurement error even when the speed is exact. To use the trajectory as a reference, refine the step until the crossing time changes by less than the experimental timing resolution. If the required integration spans many revolutions, a uniform field permits exact substeps. In realistic fields one can retain a structure-preserving rotation while resolving spatial variation independently.

A separate diagnostic is time reversal. Starting from the final velocity and applying the rotation with \(-d\) exactly inverts a centred step, up to rounding. Forward Euler with \(-d\) after \(+d\) gives

\[(I-dJ)(I+dJ)=(1+d^2)I.\]

A forward/backward test detects the lost reversibility without knowing a single experimental constant.

Tutorial

Given an orbit with 48 steps per period, estimate the gyrophase error after ten periods using the leading asymptotic term.

Work through the solution

There are 480 steps with \(d=2\pi/48\). The accumulated lag is about \(480d^3/12\simeq0.0897\) rad, or 5.14 degrees. Doubling the number of steps per period reduces the leading accumulated error fourfold.

A computation preserves speed but reverses the sign of its orbit relative to observation. Would the magnetic work test detect the error?

Work through the solution

Both field signs give zero work. Check a signed initial acceleration component \(a_y=-qBv_x/m\) for a positive initial \(v_x\), or observe the oriented trajectory. A scalar invariant cannot detect all vector-sign errors.

What changes in the relativistic case with appreciable kinetic energy?

Work through the solution

Evolve momentum \(\mathbf p=\gamma m\mathbf v\) and infer velocity from momentum. In a uniform magnetic field without electric work \(\gamma\) stays constant, and the orbital frequency is reduced to \(|q|B/(\gamma m)\). An energy-preserving nonrelativistic integration at the wrong frequency would still give the wrong measured period.

How a turning point supplies the missing semiclassical phase

Far from a turning point the wavelength follows the classical momentum. At the turning point that approximation becomes singular. Derive the Airy connection, quantise a smooth well, distinguish a hard wall and estimate a tunnelling exponent with a defensible error check.

Expand the action before interpreting a local wavelength

For a stationary one-dimensional state with smooth potential \(V(x)\), write \(\psi=e^{iS(x)/\hbar}\). Substitution into Schrödinger's equation gives

\[S'^2-i\hbar S''=2m(E-V)=p^2(x).\]

Expand \(S=S_0+(\hbar/i)S_1+\cdots\). The leading terms give \(S_0'=\pm p\) and \(S_1'=-p'/(2p)\) in an allowed region where \(p>0\). Thus travelling waves have form \(C p^{-1/2}\exp[\pm i\int^x p\,dx/\hbar]\). The amplitude factor is physically essential: for a single such branch the current to leading order is \(\pm|C|^2/m\), independent of \(x\), as required for steady flux in a real potential. A constant amplitude with variable wavenumber would predict current piling up in a stationary region.

A local condition for this expansion is \(\hbar|p'|/p^2\ll1\) together with control over higher derivatives on the wavelength scale. Away from a barrier the phase can remain accurate even if absolute amplitude normalisation must be fixed globally. Where \(E<V\), define \(\kappa=\sqrt{2m(V-E)}\) with units of momentum. The local solutions become \(\kappa^{-1/2}\exp[\pm\int\kappa\,dx/\hbar]\). A single real decaying branch carries zero probability current by itself. Stationary tunnelling flux through a finite barrier involves a complex combination satisfying both exterior matching conditions, even though the leading size of transmission can often be inferred from the decaying exponential.

Resolve the apparent divergence near a simple turning point

Let \(x_t\) satisfy

\[V(x_t)=E,\]

with slope \(F=V'(x_t)>0\). Linearise \(V-E\simeq F(x-x_t)\). The local Schrödinger equation becomes

\[\psi''=(2mF/\hbar^2)(x-x_t)\psi.\]

Introduce length \(\ell=(\hbar^2/(2mF))^{1/3}\) and \(\xi=(x-x_t)/\ell\), leaving \(d^2\psi/d\xi^2=\xi\psi\). Its two independent solutions are \(\operatorname{Ai}\) and \(\operatorname{Bi}\). On the positive side \(\operatorname{Ai}(\xi)\) decays, whereas \(\operatorname{Bi}(\xi)\) grows. A bound state extending into a semi-infinite forbidden region selects the former. At \(\xi=0\) the Airy function is finite; the apparent divergence \(p^{-1/2}\) came from extending the outer approximation beyond its range.

The asymptotic forms for \(s>0\) large are

\[\operatorname{Ai}(s)\sim\frac{e^{-2s^{3/2}/3}}{2\sqrt\pi\,s^{1/4}},\qquad \operatorname{Ai}(-s)\sim\frac{\sin(2s^{3/2}/3+\pi/4)}{\sqrt\pi\,s^{1/4}} .\]

For a linear slope, \(2s^{3/2}/3\) equals \(|\int_{x_t}^x p\,dx|/\hbar\) on the allowed side or \(\int_{x_t}^x\kappa\,dx/\hbar\) on the forbidden side. Matching in an interval where \(|x-x_t|\gg\ell\) but the potential remains effectively linear gives the connection from a decaying tail of coefficient \(C\) to \(2C\,p^{-1/2}\sin[\hbar^{-1}\int_x^{x_t}p\,dx+\pi/4]\). The coefficient two and phase \(\pi/4\) both come from the same local solution. A turning point with zero slope, a sharp step or two turning points closer than their Airy lengths requires a different local treatment.

Join two decaying tails to a standing wave

For a smooth well with two well-separated simple turning points \(x_1,x_2\), the left tail matches to \(\sin[\hbar^{-1}\int_{x_1}^xp\,dx+\pi/4]\). The right tail matches to \(\sin[\hbar^{-1}\int_x^{x_2}p\,dx+\pi/4]\). Their zeros and logarithmic derivatives must coincide throughout the overlap, up to an overall sign. The sum of the two phase arguments is the full one-way action divided by \(\hbar\) plus \(\pi/2\), which must be an integer multiple of \(\pi\). Taking \(n\ge0\) gives

\[\int_{x_1}^{x_2}p(x,E_n)\,dx=\pi\hbar(n+1/2).\]

For a harmonic oscillator the turning point magnitude is \(a=\sqrt{2E/(m\omega^2)}\) and \(p=m\omega\sqrt{a^2-x^2}\). The action is the area of a semicircle times \(m\omega\), equal to \(\pi E/\omega\). The rule reproduces \(E_n=\hbar\omega(n+1/2)\) exactly for this special spectrum, even though its outer WKB wavefunction is still inaccurate near each turning point and globally for low quantum number. Equality of a spectral result does not imply equality of spatial densities or agreement of all observables.

Different boundaries change the phase budget. Take a hard wall at \(x=0\) and a linearly rising potential \(Fx\) for \(x>0\). The solution decaying to the right is \(\operatorname{Ai}[(x-E/F)/\ell]\). Its exact energies follow from \(\operatorname{Ai}(-E/F\ell)=0\). The wall imposes a node without an Airy phase at the left. Setting the right-matched standing wave to zero at the wall gives

\[\int_0^{E/F}p\,dx=\pi\hbar(n+3/4).\]

Thus \(E/(F\ell)\simeq[3\pi(n+3/4)/2]^{2/3}\). For \(n=0\) this is about 2.320 versus the first exact zero 2.338; with \(n=4\) the approximation is about 7.94. Replacing the wall by a second smooth turning point would instead introduce an erroneous half offset.

Separate a credible exponential estimate from its prefactor

For a barrier with two simple turning points \(x_a,x_b\), a large forbidden action \(I=\int_{x_a}^{x_b}\kappa\,dx/\hbar\) suppresses the transmitted flux approximately as \(T\simeq e^{-2I}\), up to prefactors and corrections that depend on geometry and matching. For a triangular forbidden region with height \(V_0-E=\Delta\) at \(x=0\) falling as \(\Delta-Fx\) to zero at \(\Delta/F\), its action is \(I=2\sqrt{2m}\Delta^{3/2}/(3\hbar F)\). A discontinuous incident-side boundary may affect the prefactor substantially. It does not justify assigning a second smooth-turning-point phase to the discontinuity. For a rectangular barrier the exact thick-barrier prefactor is \(16E(V_0-E)/V_0^2\) times the decaying exponential at equal exterior potentials. It can exceed one while total transmission remains small.

Suppose two measurements change only the forbidden width of a flat barrier from \(d\) to \(d+\Delta d\), keeping both interfaces and asymptotic energies the same. In the thick limit the ratio \(T(d+\Delta d)/T(d)\simeq e^{-2\kappa\Delta d/\hbar}\) cancels the common prefactor. If \(\kappa/\hbar=2.0\,\mathrm{nm^{-1}}\) and \(\Delta d=0.50\) nm, this ratio is

\[e^{-2}=0.1353.\]

An offset error in barrier width that leaves this ratio unchanged can still cause a large error in absolute transmission. Near the top two turning points can merge, \(I\) becomes small, and the raw exponential lacks a unitary connection to the over-barrier reflection regime. Use a suitable uniform approximation or a direct scattering solution there.

Predict a high-energy spectrum without a closed-form wavefunction

Consider a pure quartic trap \(V(x)=\lambda x^4\) with \(\lambda>0\). Classical turning points lie at \(x=\pm a,\ a=(E/\lambda)^{1/4}\). Unlike the harmonic oscillator its period changes with energy, so its levels cannot be equally spaced. The semiclassical action can be evaluated once in dimensionless coordinates and then rescaled to any \(m,\lambda,E\):

\[A(E)=\int_{-a}^a\sqrt{2m(E-\lambda x^4)}\,dx=2\sqrt{2m}\,\lambda^{-1/4}E^{3/4} I_4,\]
\[I_4=\int_0^1\sqrt{1-y^4}\,dy .\]

With \(s=y^4\),

\[I_4=\frac14B(1/4,3/2)\simeq0.8740.\]

Quantising \(A(E_n)=\pi\hbar(n+1/2)\) predicts \(E_n\simeq[\pi\hbar(n+1/2)\lambda^{1/4}/(2\sqrt{2m}I_4)]^{4/3}\). The dependence \(E\propto n^{4/3}\) and the dimensional factor \(\hbar^{4/3}\lambda^{1/3}m^{-2/3}\) can be checked independently from scaling the full Schrödinger equation. That dimensional argument does not supply the coefficient or the half-integer offset. The action and boundary phases supply the additional physics.

Choose units such that \(H=-d^2/dx^2+x^4\). Then \(2m=\hbar=1\) in the scaled equation, and the leading energies are \([\pi(n+1/2)/(2I_4)]^{4/3}\). For \(n=0\) this gives about 0.868, below the accurately computed ground value around 1.060. An independent variational Gaussian \(\psi=(\beta/\pi)^{1/4}e^{-\beta x^2/2}\) has energy \(\beta/2+3/(4\beta^2)\), minimised at \(\beta^3=3\) and giving 1.082. Its proximity to the true ground energy has a different status: the Gaussian energy is an upper bound by the variational principle, while leading WKB provides no universal bound for this potential. Using agreement between two approximate numbers as proof of a rigorous interval would require actual lower and upper estimates.

At larger \(n\) the period relation provides an additional prediction. Since \(A\propto E^{3/4}\),

\[T_{\rm cl}=2\,dA/dE\propto E^{-1/4};\]

the frequency increases at larger amplitude, and the local spacing should grow as \(E^{1/4}\). Numerically compute a handful of high levels with a direct finite-difference or spectral Hamiltonian, then plot \(E_n^{3/4}\) against \(n+1/2\). A nearly linear trend is a more sensitive diagnostic of the predicted law than comparing a single apparent power from a log plot at low \(n\). Increase domain size and basis cutoff independently. A truncation that confines high-energy tails can falsely steepen the spacing, while a coarse grid can flatten the kinetic-energy dispersion. Both errors become more visible for rapidly oscillating states.

Relate a barrier action to a coherent population oscillation

Take two identical minima separated by a smooth barrier. At energies below the barrier top but above each isolated-well ground, there are two classically allowed intervals and a central forbidden region. If the barrier is sufficiently opaque, construct approximate localised states \(|L\rangle,|R\rangle\) with equal one-well energy \(E_0\). In their span the simplest symmetric Hamiltonian is \(H=E_0 I-J(|L\rangle\langle R|+|R\rangle\langle L|)\) with \(J>0\) in a suitable phase convention. The even and odd combinations have energies \(E_0-J,E_0+J\). The tunnel splitting is \(2J\), set to leading exponential order by the overlap of amplitudes through the central forbidden interval.

A single under-barrier wavefunction amplitude carries \(e^{-I}\),

\[I=\int\kappa dx/\hbar.\]

For an open barrier the transmission probability is proportional to \(e^{-2I}\). For a symmetric double-well splitting the relevant quantity is a coherent off-diagonal energy amplitude, so its leading exponential is \(J\propto e^{-I}\), times a prefactor involving the oscillation scales and matching in the two wells. Confusing these exponents can lead to a severe error when using a calculated spatial barrier to predict a coherent tunnel frequency. The exact prefactor depends on the potential and turning-point normalisations. A direct symmetric numerical eigenproblem giving the difference of two nearly equal energies requires enough precision to resolve an exponentially small splitting.

Prepare \(|L\rangle\) at time zero. Its evolution under the two-state Hamiltonian gives

\[P_R(t)=\sin^2(Jt/\hbar);\]

the first full transfer time is \(\pi\hbar/(2J)\). If the observed energy splitting expressed as ordinary frequency is \(2J/h=20\) Hz, the first transfer occurs at 25 ms. Changing only the barrier action by \(+0.70\) at fixed prefactor multiplies the splitting by \(e^{-0.70}=0.497\) and approximately doubles the transfer time. An open-barrier transmission experiment over the same change instead sees factor \(e^{-1.4}=0.247\). Both tests depend exponentially on barrier shape but interrogate different quantities.

Now add a calibrated tilt \(\epsilon=E_L-E_R\). The \(2\times2\) Hamiltonian after trace subtraction is \((\epsilon/2)\sigma_z-J\sigma_x\), and the maximum transfer falls to \(4J^2/(\epsilon^2+4J^2)\). At \(\epsilon=2J\) it is one half while the oscillation angular frequency increases from \(2J/\hbar\) to \(2\sqrt2J/\hbar\). A loss of transfer contrast need not be environmental decoherence; static tilt alone yields this combination of increased frequency and reduced amplitude. Measuring both quantities and reversing the tilt tests the two-level model. If a higher intrawell level lies within the tilt or excitation range, a single tunnelling doublet no longer spans the relevant motion and a larger basis is required.

Understand the angular correction at a radial turning point

In three dimensions the reduced radial equation on \(r>0\) has a centrifugal term \(\hbar^2l(l+1)/(2mr^2)\). Applying the flat-coordinate WKB rule directly to this equation can give incorrect phases at its singular endpoint, especially for low \(l\). A way to see the appropriate angular correction without guessing is to set \(r=r_0 e^x\), mapping the half-line to all real \(x\), and write \(u(r)=e^{x/2}w(x)\). The arbitrary reference \(r_0\) keeps the logarithm dimensionless. Since \(d/dr=r^{-1}d/dx\), differentiating twice yields

\[\frac{d^2u}{dr^2}=\frac{e^{x/2}}{r^2}\left(w''-\frac14 w\right).\]

The resulting equation for \(w\) has squared local action momentum in \(x\) proportional to \(2mr^2(E-V)-\hbar^2(l+1/2)^2\). Thus returning its action \(\int p_xdx\) to \(r\) uses \(l(l+1)\to(l+1/2)^2\) in the radial semiclassical momentum. This is the Langer correction. It does not change the exact angular eigenvalue \(L^2=\hbar^2l(l+1)\); it accounts for the coordinate transformation and endpoint behaviour of the semiclassical representation. Confusing those statements would alter the exact radial equation to repair an approximate integration rule.

An instructive check is the isotropic oscillator. For \(V=m\omega^2r^2/2\) and effective classical angular momentum \(L=(l+1/2)\hbar\), the radial action over its two roots is

\[A_r=(\pi/2)(E/\omega-L).\]

One can obtain this without an explicit contour integral by noting that radial motion repeats at twice the Cartesian frequency, so

\[dA_r/dE=\pi/(2\omega).\]

Fix the integration constant at the circular-orbit threshold \(E=\omega L\), where the two radial turning points meet and \(A_r=0\). Quantising \(A_r=\pi\hbar(n_r+1/2)\) gives \(E=\hbar\omega(2n_r+l+3/2)\), matching the exact three-dimensional oscillator spectrum. For \(l=0\) the naive uncorrected centrifugal term has no inner turning point; transferring a generic two-smooth-turning-point formula into that half-line problem without reconsidering its origin is especially unsafe.

Calculate an exponentially small transmission without subtracting nearly equal numbers

In a classically forbidden interval the local solution contains a growing and a decaying branch. In a long interval numerical transfer matrices can contain elements as large as \(e^I\), while the quantity sought is as small as \(e^{-2I}\). Straight propagation of a decaying boundary condition in the unstable direction can contaminate it with a tiny growing roundoff component which eventually dominates. A plot matching the expected slope over the first few decay lengths gives no guarantee that a final tiny flux is accurate. Numerically stable alternatives include propagating a logarithmic derivative with controlled handling of its poles, matching independently normalised left and right solutions, or composing scattering matrices for short slices while retaining decaying propagation factors.

For a square barrier the exact transmission at \(E<V_0\) in equal exterior regions is \(T=[1+V_0^2\sinh^2(\kappa d/\hbar)/(4E(V_0-E))]^{-1}\). With \(E=V_0/2\) this simplifies to \(\operatorname{sech}^2 I\). At \(I=20\) its value is approximately \(4e^{-40}=1.70\times10^{-17}\). Computing \(T=1-R\) in ordinary double precision can give exactly zero since the reflection probability rounds to one. Compute transmitted amplitude or its logarithm directly and compare \(\log T\simeq\log4-2I\). At a moderate \(I\), where both currents are accurately representable, independently verify \(R+T=1\). Moving the benchmarking point across the barrier-opacity range tests both the physical approximation and the floating-point representation of the desired observable.

Resolve a wave through a classical turning point

Vary the physical length scale in a locally linear potential. Compare the numerical Airy solution and the two semiclassical branches near and away from the turn.

Connect semiclassical action to counting states in phase space

The action quantisation rule can also be read as a statement about the number of energy levels below a chosen energy. In a one-dimensional smooth confining well the classically accessible region in \((x,p)\) has area \(\Omega(E)=\int dx\int_{-p(x)}^{p(x)}dp=2A(E)\). Roughly one stationary state fits per phase-space area \(2\pi\hbar\), with an endpoint correction from the turning-point phases. The smoothed density of states follows by differentiating \(\bar N(E)\simeq\Omega(E)/(2\pi\hbar)\), giving \(\bar\rho(E)=T_{\rm cl}/(2\pi\hbar)\). This counts levels after smoothing over individual spacing; the exact count is a staircase and its derivative a sum of delta functions. A formula for a smooth density cannot predict each state in a near-degenerate doublet without additional phase and tunnelling information.

For a particle in a two-dimensional rigid rectangular region, apply the same counting idea in four-dimensional phase space. With area \(\mathcal A=L_xL_y\), accessible momentum disk \(p_x^2+p_y^2<2mE\), the scalar smoothed count is \(\bar N(E)\simeq\mathcal A\pi(2mE)/(2\pi\hbar)^2=\mathcal A mE/(2\pi\hbar^2)\). Its derivative is a constant, unlike the \(E^{-1/2}\) free one-dimensional density and the \(\sqrt E\) three-dimensional density. This leading area law can be checked by directly counting positive integer lattice points satisfying \((n_x\pi/L_x)^2+(n_y\pi/L_y)^2<k^2\) in a Dirichlet rectangle. It works after smoothing when many modes fit in the domain and makes no assumption that the rectangular shape itself models all possible billiards.

A more sensitive check accounts for the excluded axes in that first-quadrant lattice count. For a Dirichlet rectangle subtract half of the positive-axis contributions at each boundary of the quadrant. In terms of perimeter \(\mathcal P=2(L_x+L_y)\), the resulting first two terms are \(\bar N(k)\simeq\mathcal A k^2/(4\pi)-\mathcal P k/(4\pi)+O(1)\) after appropriate smoothing, with fluctuations from discrete modes beyond this local expansion. Neumann boundaries reverse the sign of the perimeter term because modes constant along one coordinate are admitted. Area alone determines the bulk growth, whereas boundary condition affects the next correction. The finite corner term and spectral fluctuations require more care than assigning one universal integer offset to every billiard.

The distinction between smoothing and exact prediction also explains why counting every computed eigenvalue only up to an arbitrarily sharp threshold can produce apparent convergence jumps as the mesh improves. If a true eigenvalue lies near the threshold, a small numerical shift changes an integer count by one. Compare a range of cumulative counts, track nearby eigenvalue residuals and study the smoothed density with a bandwidth large enough to include several levels but small compared with the energy scale of interest. Repeating for two geometries of equal area and different perimeter tests actual geometric information beyond an overall energy scale.

Measure the boundary correction in a square cavity

A scalar mode calculation uses a square of side \(10.0\) length units and reports all Dirichlet modes with \(k<5.00\) inverse length units. Find the leading area estimate, add the perimeter correction, and compare with a direct lattice-point count.

Derive and check the result

The area contribution is \(100(25)/(4\pi)=198.94\); the perimeter subtraction is \(40(5)/(4\pi)=15.92\), giving a smoothed estimate \(183.03\) before corner and oscillatory terms. The exact count uses positive integers \(n_x,n_y\) satisfying \(n_x^2+n_y^2<(50/\pi)^2\simeq253.30\). For each \(n_x=1,\ldots,15\), count \(n_y\le\lfloor\sqrt{253.30-n_x^2}\rfloor\) and sum. The values are \(15,15,15,15,15,14,14,13,13,12,11,10,9,7,5\), giving 183. Agreement at this threshold is close, while the leading area term alone is about sixteen high. Nearby thresholds can have different residual fluctuations, so the close integer agreement at this one wave number should not be treated as an exact two-term counting rule. The same calculation on a different aspect ratio at fixed area would change both the perimeter and the lattice pattern.

Measure a reflection phase separately from the travel action

In a one-dimensional cavity a quantisation condition can be written as a round-trip phase budget. Let an allowed region accumulate one-way phase \(\theta(E)\) and let reflections at its left and right bounding regions have phase shifts \(\phi_L(E),\phi_R(E)\) for unit-modulus reflection. A self-reproducing wave requires

\[2\theta(E)+\phi_L(E)+\phi_R(E)=2\pi n,\]

with an integer depending on the chosen phase origin. A rigid Dirichlet wall reflects with amplitude \(-1\); a smooth decaying turning point contributes a different reflection phase that the Airy matching fixed. Adding \(2\pi\) to one reflection phase simply relabels the integer, but an energy-dependent boundary phase alters the spacing and cannot be removed by a constant relabelling.

A useful boundary that can be solved without approximation is a finite step \(V=0\) for \(x<0,\ V=V_0>E\) for \(x>0\). With incident wave \(e^{ikx}\), reflected amplitude \(r e^{-ikx}\) and exterior evanescent \(t e^{-\kappa x}\), where \(k,\kappa\) here are inverse lengths, continuity of the value and derivative gives

\[1+r=t,\ ik(1-r)=-\kappa t.\]

Solving yields

\[r=(k-i\kappa)/(k+i\kappa).\]

Its magnitude is one and its phase can be written \(-2\arctan(\kappa/k)\). As \(V_0\) tends to infinity with \(E\) fixed, the phase tends to \(-\pi\), giving the rigid-wall limit. Just below the step threshold it approaches zero. Two mirrors with equally complete reflection can therefore produce different cavity eigenfrequencies.

Near the rigid-wall limit expand \(r\simeq-e^{2ik/\kappa}\). To leading order the exterior behaves like a rigid reflecting plane displaced a penetration length \(1/\kappa\) beyond the interface. For a deep symmetric finite well of width \(L\), the phase condition approximately replaces \(L\) by \(L+2/\kappa(E)\). This shift lowers levels relative to a rigid well of the same geometric width. It is only an approximation because penetration depends on energy. Matching logarithmic derivatives independently on the two sides is preferable near threshold or when the barrier shape varies over the penetration length.

Infer a boundary penetration from a measured free spectral interval

A long one-dimensional cavity with identical deep finite barriers has a measured low-mode wavenumber interval 2% smaller than \(\pi/L\). Under the constant penetration approximation infer \(1/\kappa\) relative to \(L\) and identify a check on the approximation.

Derive and check the result

Set \(\pi/(L+2/\kappa)=0.98\pi/L\). Then \(2/\kappa L=1/0.98-1=0.0204\), or a penetration distance \(1/\kappa=0.0102L\) at each wall. For \(L=100\) nm this is about 1.02 nm. Measure several successive intervals to see whether one penetration length describes them. An increasing penetration with energy changes the reflection-phase derivative and therefore the spacing; the physical group delay then contains travel time in the allowed region plus boundary delay. A geometrically longer rigid cavity would produce a similar single interval but a different energy dependence, so an isolated observation does not uniquely identify the cause.

Tutorial · determine what a semiclassical estimate can certify

Recover the period and level spacing from an action curve

For \(A(E)=\int_{x_1}^{x_2}p\,dx\) in a smooth bound well, derive \(dA/dE\) and infer the local energy spacing. Apply it to a 100 kHz oscillator and express spacing in both joules and electronvolts.

Work through the solution

The endpoint derivative terms vanish because \(p=0\) at both ends. Inside, \(\partial p/\partial E=m/p=1/v\), so \(dA/dE\) equals the classical one-way travel time \(T_{\rm cl}/2\). From the quantisation rule increasing \(n\) by one gives local spacing \(\Delta E\simeq2\pi\hbar/T_{\rm cl}=hf_{\rm cl}\). At 100 kHz this is \(6.626\times10^{-29}\) J or \(4.136\times10^{-10}\) eV. In an anharmonic potential the classical period generally depends on energy; use the local slope or integrate between adjacent solutions rather than assuming a universal ladder spacing.

Check whether the Airy overlap interval exists

For a model atom with mass \(1.44\times10^{-25}\) kg let \(F=1.0\times10^{-21}\) N at the turning point. Find the Airy length. If \(|V''|=1.0\times10^{-16}\,\mathrm{N/m}\), estimate the relative quadratic correction at \(5\ell\).

Work through the solution

The length is \((\hbar^2/2mF)^{1/3}\simeq3.38\times10^{-8}\) m. The ratio of quadratic potential term to linear term at \(5\ell\) is \(|V''|5\ell/(2F)\simeq0.00845\). Thus several Airy lengths can fit in a region with small curvature correction for these numbers. The parameter \(|x-x_t|/\ell=5\) should still be checked against the desired asymptotic precision; the result supports an overlap interval but does not guarantee a prescribed decimal accuracy. Bringing a second turning point within a few such lengths changes the matching problem qualitatively.

Compare a triangular action with a rectangular shortcut

A linearly falling barrier has initial forbidden wavenumber \(\kappa_0/\hbar=3.0\,\mathrm{nm^{-1}}\) and width \(d=2.0\) nm. Compare its exponential estimate with that of a rectangle using initial height throughout. What would a rectangle at the average potential height predict?

Work through the solution

For the triangle, \(\kappa(x)=\kappa_0\sqrt{1-x/d}\), so \(I=(2/3)(\kappa_0/\hbar)d=4.0\), giving \(e^{-8}=3.35\times10^{-4}\). The initial-height rectangle gives \(I=6\) or \(e^{-12}=6.14\times10^{-6}\). Averaging the potential height first gives wavenumber \(\kappa_0/\sqrt2\), \(I=4.24\) and \(e^{-8.49}\simeq2.06\times10^{-4}\). The action averages the square root of the local energy gap, not the gap itself. Agreement in mean barrier height is insufficient for predicting an exponential observable. Exact matching or a direct numerical probability current would be needed to determine the prefactor.

Further reading

Ensembles, thermodynamic potentials and measurable curvature

A sample sealed inside an insulated container, a sample weakly coupled to a temperature bath and a surface exchanging particles with a reservoir need different probability laws. Derive the three laws from one composite-system count. Then use the curvature of their generating functions to predict noise, response and parameter uncertainty without assuming that microscopic quantities take their mean values in every run.

Expand the reservoir count rather than postulating a probability

Let a small system occupy a microstate \(i\) of energy \(E_i\) while a weakly coupled reservoir holds the remainder of a fixed total energy. The composite system is isolated. Conditional on \(i\), the number of compatible reservoir states is \(\Omega_R(E_{\rm total}-E_i)\). This weight is the same for degenerate system microstates of equal energy. For a macroscopic reservoir, expand its entropy about an appropriate reference energy. The first derivative is \(1/T\), and its second derivative at fixed other extensive parameters is \(-1/(T^2 C_R)\).

\[S_R(E_R-\epsilon)=S_R(E_R)-\frac{\epsilon}{T}-\frac{\epsilon^2}{2T^2C_R}+\cdots .\]

Exponentiating and taking the limit where the quadratic and further corrections are negligible yields \(p_i=e^{-\beta E_i}/Z\), \(\beta=1/(k_BT)\), and \(Z=\sum_i e^{-\beta E_i}\). A constant shift in all system energies multiplies both numerator and partition sum by the same factor. Relative probabilities are therefore independent of energy-zero convention. If a calculation sums over energy values rather than microstates, insert their degeneracies explicitly. These two equivalent ways of counting should never be applied simultaneously.

The derivation assumes weak coupling so that assigning energies separately makes sense, and a reservoir whose temperature does not respond significantly to typical exchanges. A small heat capacity in the bath can suppress sample fluctuations even at the same mean temperature. The relevant test concerns excursions explored by the sample, not simply whether the bath contains more particles. Near a transition or in an engineered small reservoir a canonical distribution may need a measurable correction.

Compare sample-energy fluctuations for finite and effectively infinite heat reservoirs

Differentiate the normalisation to obtain energy and its variance

Differentiate \(\log Z\) with respect to \(\beta\) at fixed energy levels. The first derivative yields minus mean energy. A second derivative gives the mean square minus the squared mean. Changing differentiation from \(\beta\) to temperature gives the equilibrium heat capacity:

\[\langle E\rangle=-\partial_\beta\log Z,\]
\[\operatorname{var}(E)=\partial_\beta^2\log Z=k_BT^2 C_V .\]

This proves nonnegative canonical heat capacity for a temperature-independent Hamiltonian. If the model Hamiltonian contains parameters that themselves vary with temperature after other degrees of freedom have been eliminated, the derivative also acts on those parameters. Inserting measured effective levels into the simple identity without that dependence need not reproduce the calorimetric capacity.

A two-level system has energies zero and \(\Delta\), with upper probability \(p=1/(1+e^{\beta\Delta})\) for equal degeneracies. Its variance is \(\Delta^2p(1-p)\) and \(C/k_B=(\beta\Delta)^2p(1-p)\). At \(\Delta/k_BT=2\), \(p=0.1192\) and \(C=0.420k_B\). In one thousand independent copies the expected upper count is 119 and its standard deviation about 10.2. An actual count of 130 is unremarkable. An experiment resolving only one sample at one time cannot identify the variance from its energy alone.

Higher derivatives of \(\log Z\) generate cumulants. A Gaussian approximation discards cumulants beyond the second. For a small two-level population near low occupancy the histogram is skewed and the approximation can yield artificial negative occupancies. An exactly binomial count or a direct discrete partition sum handles this elementary case without assuming that the central-limit regime has arrived. Sample-to-sample correlations can also prevent variances from scaling as the sum of independent variances.

Why the Helmholtz free energy knows the same equilibrium as entropy

Group the canonical sum by energy. A shell with entropy \(S(E)\) has weight proportional to \(e^{S(E)/k_B-\beta E}\). For a macroscopic system with a dominant smooth interior maximum this exponent is stationary at \((\partial S/\partial E)_{V,N}=1/T\). The leading free energy \(-k_BT\log Z\) is then the minimum of \(E-TS(E)\); the width of the peak gives the energy fluctuations. The exact finite-system integral is a Laplace transform. Replacing it by its stationary contribution is an approximation, often called the Legendre-transform limit.

An equivalent variational argument works for finite discrete states without a saddle point. Choose arbitrary trial probabilities \(q_i\), their mean energy \(U[q]\) and Shannon entropy \(S[q]=-k_B\sum_iq_i\log q_i\). Subtract the canonical free energy and insert the canonical weights. Algebra gives

\[U[q]-TS[q]-F=k_BT\sum_i q_i\log(q_i/p_i)\ge0 .\]

The final inequality follows from convexity of the logarithmic divergence and becomes an equality only for the canonical distribution on the permitted support. For an isolated system one instead maximises entropy subject to its prepared energy constraint. Helmholtz free-energy minimisation at fixed temperature is thus a consequence of reservoir exchange and normalisation, not an additional force sending every microstate to the lowest energy. At finite temperature high-multiplicity excited states can dominate the equilibrium probability.

Now include volume work in the fundamental differential \(dU=TdS-pdV+\mu dN\). Product differentiation gives \(dF=-SdT-pdV+\mu dN\), \(dG=-SdT+Vdp+\mu dN\), and \(d\Omega=-SdT-pdV-Nd\mu\) for \(\Omega=F-\mu N\). A potential's natural variables specify which gradient directly returns an observable. From \(F(T,V,N)\) one obtains

\[p=-(\partial F/\partial V)_{T,N},\]
\[S=-(\partial F/\partial T)_{V,N};\]

their cross derivatives agree if the potential is smooth. At phase boundaries use phase branches and appropriate coexistence conditions instead of differentiating through a kink as if it were smooth.

Let the reservoir exchange particles as well as energy

With both exchanges allowed, expand reservoir entropy in \(E\) and \(N\). Its differential includes \(-\mu_R dN_R/T\). A system microstate with \(E,N\) therefore acquires weight \(e^{-\beta(E-\mu N)}\). Summing normalises the grand canonical distribution. At fixed temperature and volume, derivatives with respect to \(\beta\mu\) give mean particle number and number variance. In a homogeneous equilibrium region with suitable thermodynamic limit, \(\Omega=-pV\).

\[\Xi=\sum_Ne^{\beta\mu N}Z_N,\]
\[\langle N\rangle=\partial_{\beta\mu}\log\Xi,\]
\[\operatorname{var}(N)=k_BT\left(\frac{\partial\langle N\rangle}{\partial\mu}\right)_{T,V}.\]

A surface of \(M\) independent adsorption sites, each empty or holding one particle with binding energy \(-\epsilon\), has \(\Xi=[1+e^{\beta(\mu+\epsilon)}]^M\). Its occupancy fraction is logistic and its variance \(Mf(1-f)\). At \(M=400\) and half coverage, the mean occupancy is 200 with standard deviation 10. The slope with respect to chemical potential is largest there. Near saturation, a small number variance and an apparently quiet detector indicate poor sensitivity to further increases of \(\mu\), not necessarily high precision in inferring \(\mu\).

Compare the adsorption response slope with the independently predicted number variance

The grand formula links number fluctuations to isothermal compressibility in a bulk one-component fluid. Write \(n=\langle N\rangle/V\) and use \(dp=n\,d\mu\) at constant \(T\). Then \((\partial n/\partial\mu)_T=n^2\kappa_T\) and \(\operatorname{var}N/\langle N\rangle=n k_BT\kappa_T\). A dilute classical ideal gas gives unity. These fluctuations refer to a region exchanging particles. If an observer counts all particles of a strictly sealed closed box, the number variance is zero even though its compressibility is not. The boundary condition of the measurement is part of the formula.

Infer a temperature and explain when it is identifiable

The logarithm of a measured population ratio is linear in \(\beta\) for nondegenerate known levels. With enough independent samples one can estimate temperature either from this ratio or by matching measured energy to its canonical expectation. If all observed states have nearly the same energy, changing \(\beta\) barely changes their probabilities. The available temperature information then becomes small, regardless of detector precision.

For independent canonical draws, differentiating a single log probability gives

\[\partial_\beta\log p_i=-(E_i-\langle E\rangle).\]

Its squared expectation is energy variance, the Fisher information per observation about inverse temperature. At \(n_s\) independent draws information adds. Equality between response and noise reappears as a statistical bound on temperature estimation. A long record with correlation time comparable to its length may contain few independent draws despite a large sample count. Recording more frequently without extending the observation window need not improve a temperature estimate.

A pressure reservoir selects enthalpy-weighted volume fluctuations

An isothermal piston in contact with a pressure reservoir supplies a fourth ensemble closely related to the first three. A configuration at volume \(V\) costs external work \(p_{\rm ext}V\) in addition to its microscopic system energy. At fixed \(T,N,p_{\rm ext}\), integrate the canonical configurational partition over possible piston positions with weighting \(e^{-\beta p_{\rm ext}V}\). For an ideal gas in a cylinder of fixed cross-sectional area the piston coordinate is proportional to \(V\), so its geometric measure is a constant times \(dV\). Mechanical kinetic factors independent of \(V\) cancel from its normalised distribution.

For \(Z_N(V)\propto V^N\), the probability density for volume is proportional to \(V^N e^{-\beta p_{\rm ext}V}\) on the positive real axis. Normalisation uses \(\int_0^\infty V^Ne^{-aV}dV=N!/a^{N+1}\). The maximum, mean and variance are

\[V_{\rm mode}=\frac{N}{\beta p_{\rm ext}},\]
\[\langle V\rangle=\frac{N+1}{\beta p_{\rm ext}},\]
\[{\rm var}(V)=\frac{N+1}{(\beta p_{\rm ext})^2}.\]

The finite-\(N\) offset between mode and mean comes from the skewed piston-volume distribution. The most likely volume obeys the usual ideal gas law evaluated using \(N\), while the exact mean differs in this simple piston model. At \(N=99\) the difference is about one percent and relative volume fluctuations are ten percent. At thermodynamic sizes the fractional difference vanishes. When calibrating nanoscale pressure from a histogram, a mean, a peak and a mean of reciprocal volume should therefore not be treated as interchangeable.

Check the force equilibrium directly. The instantaneous gas pressure conditional on \(V\) is \(Nk_BT/V\). The gamma distribution has \(\langle1/V\rangle=\beta p_{\rm ext}/N\), so its mean gas pressure equals the imposed external pressure exactly. Substituting the mean volume into the nonlinear pressure formula instead gives \(N p_{\rm ext}/(N+1)\). This calculation illustrates a general statistical rule: mechanical balance concerns the mean actual force, not necessarily that force evaluated at the mean position.

If the piston lies horizontally and dry static friction is appreciable, configurations can remain stuck with nonzero force imbalance. A distribution fitted to the equilibrium piston formula would then return apparent biases in pressure or particle number. Reverse the pressure change and vary waiting times to expose hysteresis, or remove the mechanical sticking before interpreting volume fluctuations as an equilibrium susceptibility.

A matrix of fluctuations controls coupled responses

Many experiments permit exchange of more than one extensive quantity. Write a general ensemble with natural control parameters \(\theta_a\) and weights proportional to \(e^{\sum_a\theta_a X_a}\), with a fixed set of microscopic state values \(X_a\). The first derivatives of the log normalisation give their means and the second derivatives give the full covariance matrix. Off-diagonal entries describe coupled responses. For the grand canonical ensemble choose \(\theta_1=-\beta\), \(\theta_2=\beta\mu\), \(X_1=E\), \(X_2=N\). One must keep the other natural parameter fixed while taking a partial derivative in this form.

A covariance matrix is positive semidefinite because the variance of any linear combination of the \(X_a\) is nonnegative. Consequently \({\rm var}(E){\rm var}(N)\geq{\rm cov}(E,N)^2\). A measured matrix violating this inequality cannot describe these two observables on the same equilibrium sample space. Possible causes include mixing variances and covariances from different sample preparations, subtracting a poorly estimated instrumental background or an inconsistent energy reference when counting particles.

Suppose a volume exchanges particles each carrying a fixed energy \(e_0\) plus other thermal energy. If the system energy reference shifts by \(a\) per particle, new energy is

\[E'=E+aN.\]

Its covariance with \(N\) changes by \(a\,{\rm var}(N)\), although no physical heat changed. A useful combination for isolating fluctuations uncorrelated with particle transport is \(E-bN\), with \(b={\rm cov}(E,N)/{\rm var}(N)\). Minimising the variance with respect to \(b\) gives residual variance \({\rm var}(E)-{\rm cov}(E,N)^2/{\rm var}(N)\), invariant under this reference shift. In a general nonlinear conditional distribution that residual is a best linear prediction variance, not automatically the exact variance conditional on a fixed integer \(N\).

For a unit-normalised example, suppose energy variance is \(25\epsilon^2\), number variance is 4 and their covariance is \(8\epsilon\). The best linear energy increment per exchanged particle is \(2\epsilon\), and the residual energy variance is \(9\epsilon^2\). Replacing energy by \(E-3\epsilon N\) changes the covariance to \(-4\epsilon\), but recalculating the residual returns the same value. A data-analysis code can use this reference-invariance as a check on both numerical units and susceptibility derivatives.

The same covariance structure controls simultaneous inference. If two state observables are nearly proportional over all sampled configurations, the log-likelihood curvature has a nearly zero eigenvalue. The individual fields conjugate to them are then hard to determine even if one linear combination is tightly constrained. Preparing the system in a region with different accessible states or adding an independent observable can resolve the degeneracy. Increasing the sampling rate on exactly the same narrow manifold cannot create a missing independent direction.

When the maximum-probability replacement loses a phase

The passage from a Laplace transform to a Legendre transform assumes one dominant smooth contribution or handles multiple branches explicitly. Near a first-order transition two energy ranges can have comparable canonical weights. Replacing the energy distribution by a single Gaussian around its mean then produces a state that may be relatively improbable, lying in the trough between two peaks. The finite partition sum remains smooth, but its derivatives can vary rapidly over a narrowing range of temperature.

In a simple two-phase approximation take branch partition contributions proportional to \(e^{-\beta F_1(T)}\) and \(e^{-\beta F_2(T)}\). Their ratio is \(e^{-\beta(F_2-F_1)}\). At coexistence the leading bulk free-energy densities agree. If their entropy densities differ, then a small temperature change produces an extensive branch free-energy difference proportional to volume times that temperature shift. The equal-weight finite-size window therefore narrows inversely with volume in this simplest picture. Interfacial states, boundaries and phase degeneracy can shift detailed crossing locations.

Consider an energy histogram with equal phase probabilities and sharply peaked branch energies differing by total \(\Delta E\). The mixture variance includes \(p(1-p)(\Delta E)^2=(\Delta E)^2/4\) in addition to within-phase fluctuations. As \(\Delta E\) is extensive this gives an extensive heat-capacity peak per particle in a finite coexistence window, much larger than the smooth single-phase contribution. This does not imply an infinite heat capacity throughout an interval of bulk temperature. The peak becomes higher and narrower and encodes latent heat in the thermodynamic limit.

An experimental or simulated time series can undersample one branch when interfacial barriers make switching rare. Estimating the variance from one branch then yields a completely different apparent heat capacity from a record containing a few switches. Compare heating and cooling preparations, identify branch-specific energy distributions and establish a reproducible equilibrium weight ratio before treating the union as a canonical histogram. In a macroscopic sample, calorimetric latent heat often provides a more reliable bulk quantity than a noisy attempt to observe whole-sample switching.

Use one equilibrium histogram to predict a nearby temperature

If a canonical run at inverse temperature \(\beta_0\) samples energies \(E_i\), a nearby expectation at \(\beta_1\) can be expressed as a ratio of weighted averages with factors \(w_i=e^{-(\beta_1-\beta_0)E_i}\). Multiplying numerator and denominator by the same constant allows one to subtract a reference energy to maintain numerical precision. Mathematically the ratio is exact when the original distribution covers every important configuration. Finite data can render an exact identity practically useless outside its overlap window.

For an approximately Gaussian energy histogram of standard deviation \(\sigma_E\), reweighting shifts its influential energy region by roughly \(-(\beta_1-\beta_0)\sigma_E^2\). Expressed in original standard deviations the shift is \(|\beta_1-\beta_0|\sigma_E\). A value of 0.3 stays near the observed centre; a value of five asks for configurations five original widths away. At the latter value a smooth computed curve can be governed almost entirely by one observation at the extreme edge of the histogram.

Inspect the effective weight count \((\sum_i w_i)^2/\sum_iw_i^2\) alongside the raw record length. This statistic does not account for time correlation or prove that missing configurations are irrelevant, but a collapse to a handful of weights is a clear failure of overlap. Simulate or measure directly at a second temperature displaced toward the target and compare its actual histogram with the reweighted prediction. This connects the formal equivalence of ensemble descriptions to a concrete question of measurement coverage and uncertainty.

A finite-spin thermodynamic cycle tests mixed derivatives

Consider independent two-state magnetic moments with energies \(\mp\mu B\) in a prescribed induction \(B\). Ignore interactions and orbital response. Per moment the canonical sum is \(2\cosh x\), \(x=\mu B/(k_BT)\). Its Helmholtz free energy is \(-k_BT\log(2\cosh x)\) and the average magnetic moment is

\[m=-\partial F/\partial B=\mu\tanh x.\]

The entropy follows from \(-\partial F/\partial T\), yielding \(S/k_B=\log(2\cosh x)-x\tanh x\). These component equations define an exactly soluble controlled system in which thermal and magnetic responses are coupled.

Equality of the mixed free-energy derivatives predicts

\[(\partial S/\partial B)_T=(\partial m/\partial T)_B.\]

Both are negative for positive field in this model. Increasing field at fixed temperature aligns spins and reduces their entropy. If the spin system is instead isolated reversibly, its entropy is constant, which requires \(x\) constant away from singular limiting cases. Reducing field then reduces temperature in proportion to field. This is the ideal paramagnetic demagnetisation argument, derived here from the canonical weights rather than an empirical cooling rule.

For an idealised system prepared at 3.0 K and 1.5 T, reducing the field quasistatically to 0.50 T under thermally isolated conditions gives 1.0 K. Its mean alignment fraction stays constant even as the Zeeman gap shrinks. A real specimen includes lattice heat capacity, residual interactions and inevitable heat leakage. If the lattice remains equilibrated with the moments, the total entropy includes both subsystems and the simple proportional temperature drop is modified. If spin–lattice exchange is too slow, a single temperature may fail to describe both during the field ramp.

A numerical test can use a rectangular loop in the \(T,B\) plane. Evaluate the change in \(F\) along one path using the integral of \(-S\,dT-m\,dB\), then return along the other path. At successively finer quadrature the closed integral should approach zero. By contrast heat and magnetic work evaluated separately generally have nonzero loop integrals and cancel only in their appropriate state-function combination. A nonzero free-energy residual that does not shrink under refinement points toward a sign error, an inconsistent field-energy convention or different energy references on the two paths.

Finally use the weak-field limit to estimate experimental sensitivity. There \(m\simeq\mu^2B/(k_BT)\), so a thermometer inferred from magnetisation is sensitive to both the magnetic-field scale and the independent number of active moments. Saturation measurements can calibrate their total number, while a field reversal removes a constant magnetometer offset. A mixed-derivative test based on independently measured calorimetry and magnetisation is more discriminating than fitting a temperature parameter to a single magnetic trace that already assumed the predicted population law.

The spin example also gives a direct thermal-noise measurement of susceptibility. For one moment the variance of its projection is \(\mu^2[1-\tanh^2x]\), and differentiating mean moment with respect to induction gives exactly this variance divided by thermal energy. At \(x=1\), magnetisation is 0.762 of saturation and variance is \(0.420\mu^2\). For a thousand independent moments the total rms fluctuation is about \(20.5\mu\), even though their mean total moment is about \(762\mu\). An instrument averaging over many reversals may see the mean accurately and suppress the variance; replaying the same averaging operation on a simulated equilibrium time series makes the comparison meaningful. A direct susceptibility inferred from a very large field modulation would instead sample the curved magnetisation over a finite interval. Use a small symmetric modulation and verify its amplitude scaling to compare with the local fluctuation slope.

Count the configurations of two finite reservoirs

Change the reservoir size and compare the observed energy histogram with a canonical ensemble at the same mean.

Tutorial · Can a finite bath explain unusually quiet energy data?

A sample has canonical heat capacity \(60k_B\) at the mean temperature. Contact with a small reservoir reduces the measured equilibrium energy variance to three quarters of its canonical value. Approximate both entropies quadratically near their common equilibrium and infer the bath heat capacity. What other measurement could mimic the reduction?

Add the two inverse susceptibilities and check the observation

The joint log probability has curvature \(-[1/C_s+1/C_R]/(k_BT^2)\). Hence the effective variance is \(k_BT^2 C_sC_R/(C_s+C_R)\). Dividing by \(k_BT^2C_s\) and setting the ratio to \(3/4\) gives

\[C_R=3C_s=180k_B.\]

The temperature at maximum probability still agrees for bath and sample at leading order. The suppressed fluctuations reflect their shared total-energy constraint.

Finite temporal averaging of a fast energy signal can also suppress measured variance. Vary detector bandwidth and check convergence of the measured area, then repeat with a different independently estimated reservoir capacity. A corrected variance scaling with the harmonic combination supports the finite-bath interpretation. A single reduced number cannot distinguish thermodynamic curvature from the detector response.

Tutorial · Determine a volume response from temperature data

For a fixed amount of a smooth single-phase material near one operating point, the thermal expansion coefficient is \(\alpha\), the isothermal compressibility is \(\kappa_T\) and the volume is \(V\). Derive \(C_p-C_V\) from a Maxwell relation. Evaluate it for \(T=300\) K, molar volume \(1.0\times10^{-5}\) cubic metres, \(\alpha=6.0\times10^{-5}\) per kelvin and \(\kappa_T=1.0\times10^{-11}\) per pascal.

Eliminate the unmeasured mixed entropy derivative

Write \(dS=(C_V/T)dT+(\partial p/\partial T)_VdV\), using the Helmholtz mixed derivative. On the constant-pressure path \(dV=\alpha VdT\). Holding volume fixed in \(dV/V=\alpha dT-\kappa_Tdp\) gives

\[(\partial p/\partial T)_V=\alpha/\kappa_T.\]

Therefore \(C_p-C_V=TV\alpha^2/\kappa_T=1.08\) J per mole kelvin. Positive isothermal compressibility and positive temperature imply the difference is nonnegative even for negative expansion coefficient.

Tutorial · Infer two unknowns from occupancy measurements

At two distinct temperatures a set of dilute independent adsorption sites gives coverages 0.20 and 0.60. Why can these two readings fail to identify binding energy if the reservoir chemical potentials are not independently known? Express the unknown combination and suggest an experiment that would determine the binding energy.

Write an equation for each observation before counting parameters

The log odds satisfy

\[\log[f/(1-f)]=(\mu+\epsilon)/(k_BT).\]

The measured log odds are minus 1.386 and plus 0.405. They determine the value of \(\mu+\epsilon\) in each run multiplied by its known inverse thermal energy. With two unrelated reservoir potentials there are three unknown dimensional quantities and only two equations. Increasing coverage precision cannot resolve that degeneracy.

A separately calibrated reservoir supplies \(\mu(T,p)\) relative to a consistent energy reference. Then several pressures at one temperature verify the model and several temperatures can test a constant binding energy against an additional binding entropy or site degeneracy. A reported equilibrium constant alone can always absorb a reference-state shift; the reference reservoir and site standard state are part of a physically interpretable adsorption energy.

Cambridge Statistical Physics · canonical and grand canonical ensembles

Master equations, detailed balance and probability currents

A two-state detector can switch at random while displaying reproducible occupation fractions and relaxation times. A three-state detector can maintain exactly constant occupancies while carrying a persistent directed current. Derive the probability dynamics, infer transition rates from timed records and decide what a stationary histogram can and cannot reveal about equilibrium.

From short-time transition probabilities to a generator

Take discrete states \(i\) resolved by an instrument. In a short time \(dt\), conditional on current state \(i\), let the probability of one transition \(i\to j\) be \(w_{ij}dt+o(dt)\). The probability of remaining in \(i\) is one minus the sum of departures to this order. Assume time-independent rates and the Markov property, meaning the conditional law of future transitions is determined by the current state. Sum gains and losses to derive

\[\dot p_i=\sum_{j\ne i}(p_jw_{ji}-p_iw_{ij}),\]
\[\sum_i\dot p_i=0 .\]

Each gain in one state is a loss in another, so total probability is conserved. In a column-vector convention \(\dot{\mathbf p}=L\mathbf p\), off-diagonal entry \(L_{ij}=w_{ji}\) and columns sum to zero. In a row-vector convention transpose the matrix. This is not cosmetic in a numerical calculation: using a matrix assembled for column probabilities while evolving rows can lose normalisation or give an incorrect stationary distribution.

For a given state the exit rate is

\[r_i=\sum_{j\ne i}w_{ij}.\]

Its survival probability obeys \(\dot S_i=-r_iS_i\), so \(S_i(t)=e^{-r_it}\). Conditional on exiting, the destination has probability \(w_{ij}/r_i\). This permits direct event-driven simulation: draw an exponential waiting time, choose a destination with these probabilities, advance the clock and repeat. Sampling one transition per arbitrary fixed time step generally distorts waiting-time statistics unless a controlled approximation or exact finite-time propagator is used.

Determine two rates from one occupancy and one time

For a two-state system name the rates \(a=w_{01}\), \(b=w_{10}\). Eliminating \(p_0=1-p_1\) gives

\[\dot p_1=a-(a+b)p_1.\]

Its stationary value \(p_* =a/(a+b)\) is independent of the common rate scale, and deviations decay with time constant \(\tau=1/(a+b)\). Thus one stationary fraction gives a ratio, one relaxation time gives a sum, and the two together identify both rates.

A location sensor records an upper-state fraction 0.30 and relaxation time 0.20 seconds. Then \(a=1.50\) and \(b=3.50\) per second. Mean waiting times are \(1/a=0.667\) s in the lower state and \(1/b=0.286\) s in the upper one. Neither equals the population relaxation time of 0.20 s. A transition rate inferred by taking the reciprocal of the average of these two waiting times estimates a different quantity.

Define the indicator \(X=1\) in state one and zero otherwise. Conditional probabilities from the same linear solution give

\[\langle[X(t)-p_*][X(0)-p_*]\rangle=p_*(1-p_*)e^{-|t|/\tau}.\]

Consequently a normalised equilibrium autocorrelation determines \(\tau\) without needing a deliberate preparation away from stationarity. A bandlimited detector may miss short visits, reducing counts and distorting waiting-time distributions even if the mean occupation looks plausible. Compare time sampling with both exit times as well as the relaxation time, or model the measured signal with an explicit observation process.

Detailed balance is stronger than stationarity

Let \(\pi_i\) denote a stationary distribution. The net probability current on an oriented edge is \(J_{ij}=p_iw_{ij}-p_jw_{ji}\). Stationarity requires only that currents sum to zero at each vertex. Detailed balance requires \(\pi_iw_{ij}=\pi_jw_{ji}\) on every edge individually. For a system in equilibrium with one heat bath, with states even under time reversal and energies \(E_i\), thermal rates satisfy \(w_{ij}/w_{ji}=e^{-\beta(E_j-E_i)}\) for nondegenerate states. If states collect multiple microstates, degeneracies or coarse-grained free energies enter their equilibrium weights.

For the previous two-state process at equilibrium with equal state degeneracies, \(p_*/(1-p_*)=3/7\) implies

\[(E_1-E_0)/(k_BT)=\log(7/3)=0.847.\]

Multiplying both rates by ten preserves the energy inference and speeds relaxation tenfold. Thermodynamic weights therefore do not determine the kinetic barrier. A physical sample may change its rate scale with solvent viscosity or transition geometry without changing the equilibrium ratio.

A convenient test on a connected graph with reciprocal edges is the product of rate ratios around each closed cycle. With detailed balance all stationary factors telescope to one. Conversely, if the product is one on every independent loop, consistent state weights can be reconstructed from any reference state by integrating ratios along a path. Path independence makes these weights a detailed-balance stationary distribution after normalisation. A missing reverse edge or unobserved channel requires additional care; a detector that cannot resolve two routes can hide directed currents.

A steady nonequilibrium system with the same state histogram

Consider three equally named sites arranged in a ring, with clockwise rate \(k_+\) and anticlockwise rate \(k_-\) on every link. Symmetry gives stationary occupation \(1/3\) at each site for all positive rates. Each oriented clockwise edge carries current \(J=(k_+-k_-)/3\). The cycle affinity in dimensionless units is \(\mathcal A=\log[(k_+/k_-)^3]\). For \(k_+=4\), \(k_-=1\) per second, each edge transports net probability one per second, and \(\mathcal A=3\log4=4.159\). A perfectly flat histogram conceals the directed operation.

For Markov jumps with resolved reversible edges and their conventional time reversals, the total stochastic entropy production rate is

\[\dot S_{\rm tot}=\frac{k_B}{2}\sum_{ij}(p_iw_{ij}-p_jw_{ji})\log\frac{p_iw_{ij}}{p_jw_{ji}}\ge0 .\]

Each term is nonnegative under the product \((x-y)\log(x/y)\); the factor of one half prevents counting both directions separately. For the stationary ring this gives \(k_B J\mathcal A=4.159 k_B\) per second. An actual heat dissipation rate needs a physical local detailed-balance model identifying environments, work and entropy flows. A collection of counted transitions without that calibration can still yield evidence for broken time-reversal symmetry at its level of resolution.

Stationary Shannon entropy \(-k_B\sum p_i\log p_i\) is constant in this ring. The positive total entropy production is compatible with that constancy because an environment sustains the directed current and carries compensating entropy. Equating production with just the derivative of stationary state entropy would predict zero for every driven stationary process.

Why a distribution relaxes toward a stationary law

For a finite irreducible time-independent chain let \(\pi_i>0\) be its unique stationary distribution. The relative entropy \(D(p\Vert\pi)=\sum p_i\log(p_i/\pi_i)\) is nonnegative. To see its contraction over a finite observation interval, write the propagated probability as a stochastic mixture of earlier probabilities and apply the log-sum inequality to each output state. Summing gives

\[D(Pp\Vert P\pi)\le D(p\Vert\pi).\]

Since \(P\pi=\pi\), the relative entropy to stationarity cannot grow.

For a detailed-balance chain, substituting the master equation into this derivative gives \(-k_BdD/dt=\dot S_{\rm tot}\) in the simple closed heat-bath model. For a driven chain the system may remain at \(\pi\) with constant relative entropy while producing positive steady entropy. Relaxation toward stationarity and dissipation required to maintain that stationary state are distinct measurable quantities.

Compare relaxation inferred from a time trace with the thermodynamic irreversibility experiment

Infer generator entries from residence times

An ideal continuously observed Markov record contains successive states and dwell lengths. Let \(T_i\) be accumulated time in state \(i\) and \(N_{ij}\) the number of resolved \(i\to j\) jumps. Its log likelihood contains \(\sum_{ij}N_{ij}\log w_{ij}-\sum_i T_i\sum_{j\ne i}w_{ij}\). Differentiation gives

\[\widehat w_{ij}=N_{ij}/T_i.\]

Dividing by total experiment time instead estimates the gross stationary flux \(\pi_iw_{ij}\), not a conditional transition rate.

For a nearly stationary two-state record with \(T_0=70\) s, \(T_1=30\) s and 105 transitions in each direction the estimates are 1.50 and 3.50 per second. Counting uncertainty for each reasonably large Poisson-like count is roughly the inverse square root of the count in relative terms; precise interval estimates condition correctly on exposures and the observation process. Equality of opposite transition counts in a long two-state record is essentially forced by alternation. It cannot by itself establish a thermal energy gap or exclude multiple hidden driven pathways.

Turn a barrier diagram into two independently measurable rates

A thermally activated transition between two metastable configurations often has a forward rate \(a=\nu_A e^{-(G^\ddagger-G_A)/(k_BT)}\) and reverse rate \(b=\nu_Be^{-(G^\ddagger-G_B)/(k_BT)}\), where \(G^\ddagger\) denotes a dividing-surface barrier under a chosen model. If the same transition-state construction applies in both directions with consistent partition factors, their ratio reproduces the equilibrium free-energy difference. The overall barrier controls how rapidly equilibrium is approached. Changing a barrier while leaving both wells unchanged can alter both kinetics by many orders of magnitude without changing stationary occupancy.

As an illustration let the higher-energy state cost \(2k_BT\), and put a transition configuration \(10k_BT\) above the lower state. With a common attempt rate of \(10^6\) per second, the upward rate is 45.4 per second and the downward rate 335 per second. The stationary upper fraction is approximately 0.119 and the relaxation time 2.63 ms. Lower the barrier by \(2k_BT\) without changing the two state energies. Both rates increase by \(e^2=7.39\), while occupancy is unchanged. A detector recording only the equilibrium level histogram could miss the intervention entirely.

For a temperature scan, a straight line in the log rate against inverse temperature is evidence for an approximately constant activation energy and prefactor over that interval. A free-energy barrier includes entropic as well as enthalpic contributions; its numerical value can vary with temperature even if the microscopic potential does not. A change of dominant pathway can bend the apparent Arrhenius plot. Measure forward and reverse rates independently, then compare their ratio with an independently determined equilibrium population. A barrier fit explaining one rate but violating the equilibrium ratio usually indicates inconsistent state definitions, missed short visits or an unmodelled pathway.

A useful control is a weak static bias that lowers one well relative to the other. The equilibrium log-odds shift measures the difference between the state couplings to the bias. The individual log-rate shifts additionally report the related dividing-surface response. If the state-occupation ratio moves as expected but only one rate changes appreciably, the effective transition configuration may be much closer in bias response to the other state. Such statements depend on the activated single-path interpretation; the response slopes themselves are more directly observed than an inferred barrier shape.

Use uniformisation to propagate a generator without negative probabilities

The formal finite-time propagator of a time-independent jump process is \(P(t)=e^{Lt}\). A forward Euler update \(p(t+\Delta t)=(I+L\Delta t)p(t)\) conserves total probability if the generator is assembled correctly, but a large step can yield negative diagonal probabilities. An exact algebraic representation starts with a rate \(q\) at least as large as every total exit rate. Then \(K=I+L/q\) is a stochastic matrix in the same column convention. Write \(L=q(K-I)\); since \(K\) and the identity commute,

\[e^{Lt}=e^{-qt}\sum_{n=0}^\infty\frac{(qt)^n}{n!}K^n .\]

This can be read as drawing a Poisson number of opportunities at rate \(q\), followed by \(n\) transitions of \(K\). At a lightly connected state some opportunities become self transitions. The construction leaves real waiting-time statistics correct while eliminating negative transition probabilities. Its truncation error in total probability is bounded by the omitted Poisson tail because every matrix power is stochastic.

For a two-state model with rates two and six per second choose \(q=6\) per second. Starting in the lower state, the first opportunity after some waiting time moves upward with probability one third and otherwise does nothing. In the upper state the next opportunity moves downward with probability one. At 0.25 s the Poisson mean is 1.5. Retaining terms through order eight leaves a tail below \(3\times10^{-5}\). Compare the resulting upper probability against \((2/8)[1-e^{-8(0.25)}]=0.2162\). A small discrepancy due solely to truncation should shrink with the computable tail probability.

The representation also suggests a measured-data sanity check. A fitted generator with negative off-diagonal rates cannot yield a valid \(K\) at any positive \(q\). A snapshot transition matrix can itself be nonnegative and stochastic but need not arise from a time-homogeneous continuous-time generator. In the two-state case its nontrivial eigenvalue must be \(e^{-(a+b)t}>0\). A measured negative eigenvalue rules out that simple generator model under perfect sampling, though finite counts and hidden periodic driving can distort empirical estimates. Taking a matrix logarithm blindly may return complex or negative rates rather than a physical kinetic explanation.

Population relaxation and a first-arrival experiment answer different questions

A first-passage measurement stops its clock when a target is first reached, even if that target would subsequently be left many times. To calculate its mean, treat the target as absorbing. For any other state \(i\), wait on average \(1/r_i\), then add the mean remaining time from the next state weighted by its conditional transition probability. The backward equations are

\[-1=\sum_jw_{ij}(t_j-t_i),\]

with \(t_{\rm target}=0\). Their solution depends on possible returns before the first successful passage. It generally differs from an inverse equilibrium occupation or from a slowest relaxation time.

Consider a three-site linear chain \(0\leftrightarrow1\leftrightarrow2\) with equal rate \(k\) on each adjacent directed edge, starting at zero and stopping at two. From zero one must reach one after mean \(1/k\). From one the mean wait is \(1/(2k)\), then there is probability one half of returning to zero and one half of finishing. Solving \(t_0=1/k+t_1\), \(t_1=1/(2k)+t_0/2\) gives

\[t_0=3/k.\]

Ignoring returns would yield \(1.5/k\), exactly half the correct first-passage mean.

The unmodified closed chain has equal stationary weights, but that fact alone says nothing about the numerical value of \(3/k\). Speeding every link by ten leaves occupancies unchanged and reduces passage times tenfold. A detector that registers only visits longer than a threshold makes a brief first arrival invisible and can report even longer apparent passage times. Calibrate detector dead time and distinguish entrance to the target from persistence within it.

For a larger network, solve the sparse backward linear system and compare against many event-driven paths. Check boundary initial conditions by starting simulations exactly at the absorbing target: the first-passage time must then be zero under that convention. Some experiments instead ask for a first return after leaving, which requires a different initial condition. A zero-lag event in one definition is a physically different measurement in the other.

Estimate a cycle affinity with finite counting statistics

A clockwise ring trajectory contains gross counts in both directions on each edge. Estimating each conditional rate as count divided by origin-state exposure, the product of clockwise-to-anticlockwise rates around a complete closed loop cancels the exposures. The estimated cycle affinity is the sum of log forward counts minus log reverse counts, assuming every required count is nonzero and rates were stationary during the record. This is a useful cross-check independent of how the total time was partitioned among states.

If all three edges register roughly 120 clockwise and 80 anticlockwise events, the estimated affinity is

\[3\log(1.5)=1.216.\]

For large independent Poisson-like gross counts the approximate variance of this log product is \(3(1/120+1/80)=0.0625\), giving standard error 0.25 as a first estimate. Actual path constraints couple counts; uncertainty can be assessed from independent records or a complete stochastic likelihood. The point estimate alone does not tell whether an observed directionality is statistically distinguishable from zero.

One missing reverse event makes the unregularised logarithm infinite, but a finite record cannot establish an infinite physical affinity. Report a confidence bound based on the exposure and upper limit on the unseen reverse rate. Extend the acquisition or change sampling speed to exclude missed short-lived reverse states. Numerical addition of an arbitrary count can help regularise a plotting routine but is not a substitute for a specified prior or measurement model when claiming physical entropy production.

A driven occupation loop can carry charge without changing concentrations

Place three sites in a cycle and drive their transition rates by two controls, for example energies and barriers. Even if each instantaneous frozen generator satisfies detailed balance with a well-defined equilibrium distribution, the physical occupations need not equal that moving equilibrium distribution at each moment. A slow lag can produce a small edge current at every instant and a finite integrated current over a cycle. The current through an edge is time-integrated transfer; it can be nonzero while all occupations return to their initial values after a complete drive period.

A simple piecewise illustration avoids subtleties of adiabatic geometric pumping. In stage one, connect only sites zero and one while strongly favouring one. In stage two connect only one and two while favouring two. In stage three connect only two and zero while favouring zero. Begin with nearly all probability at zero and wait long enough for each enabled pair to relax. Almost the entire population travels once around the loop per cycle. No site accumulates probability over repeated complete cycles, but each edge registers about one forward crossing net per cycle. External control changes the energy and barrier landscape and supplies the required work.

If each programmed transfer succeeds with probability 0.95, it is tempting to announce a current of \(0.95^3\) per cycle. This is the probability of one fully successful trajectory starting on the prescribed site in a simplified no-return preparation, not generally the long-run edge current of a periodically driven ensemble. Failed transfers leave probability on other sites in later stages. The correct periodic distribution is the unit-eigenvalue vector of the product of the three finite-time propagators. Compute edge currents during each stage using its evolving occupations and integrate, then compare a complete cycle after transients have decayed.

This construction supplies a statistical check on experimental counting. Over a complete cycle the integrated net inflow at a site equals its change in occupancy probability. In a periodically stationary state that change is zero, so all three consistently oriented integrated edge currents must agree. A disagreement between measured edges can reveal a missed transition channel, a start-up transient or incorrect gating. Agreement does not prove absence of drive or detailed balance. A torque-free stationary ring and a three-stage external pump can share nearly the same time-averaged site histogram yet differ clearly in time-resolved edge currents.

Finally compare the work and heat bookkeeping with the master-equation entropy-production expression. During an external change of a site's energy without a transition, the state's energy changes by work. During a transition at frozen controls, assigning heat requires the energy difference and the relevant bath. Lumping an entire driven cycle into a single time-averaged generator can conceal those distinctions and underestimate dissipation.

The ordered protocol can also be run backwards. If the three stages are reversed while preparations are equilibrated in each corresponding periodic state, the preferential current direction should reverse in the ideal transfer picture. A fixed instrumental preference for counting neighbouring sites in one direction would not generally reverse. This distinguishes controlled transport from a direction-dependent detection efficiency. Do not confuse this observed current reversal with exact microscopic time reversal of each individual stochastic trajectory: the reversed experiment has its own ensemble of random jumps. Comparing path probabilities, rather than pairing individual paths as though their noise histories were reproducible, is the appropriate starting point for entropy-production and fluctuation-relation tests. The distinction becomes particularly visible when a stage transfers almost all the probability in one direction while a few rare trajectories travel against the applied protocol.

Distinguish stationarity from detailed balance

Keep the three populations identical while varying the directed transition rates. Identify the observable that reveals time-reversal asymmetry.

Tutorial · Recover a generator from snapshots rather than full events

At sampling interval 0.10 s, a two-state record yields \(P_{01}=0.12\) and \(P_{10}=0.28\). Infer the continuous-time rates, and compare with directly dividing each transition probability by 0.10 s.

Use the exact finite-interval propagator

The exact transition probabilities are \(P_{01}=p_*[1-e^{-(a+b)\Delta t}]\) and \(P_{10}=(1-p_*)[1-e^{-(a+b)\Delta t}]\). Their sum is 0.40, so \(a+b=-\log(0.60)/0.10=5.108\) per second. The stationary upper fraction is

\[0.12/0.40=0.30.\]

Thus \(a=1.532\) and \(b=3.576\) per second. Dividing by the interval gives only 1.2 and 2.8 because return transitions inside a sampling interval can erase evidence of the intermediate visit.

Tutorial · Can measured rates arise from one equilibrium potential?

For a three-state triangle suppose clockwise to counterclockwise conditional rate ratios are 2, 3 and 0.25 around the three distinct edges. Could these be equilibrium weights in a common bath? If a single uncertain ratio were corrected, what would it have to be on the third link?

Apply the closed-loop consistency condition

The product is \(2\cdot3\cdot0.25=1.5\), giving nonzero loop affinity \(\log1.5=0.405\). No consistent detailed-balance set of three state weights exists for these exact ratios. The third ratio would have to be \(1/6\), giving a telescoping unit product. If counts are noisy, propagate uncertainty in the log ratios or compare a constrained detailed-balance likelihood against an unconstrained model. A value barely inconsistent with unity within one sparse record is not enough to establish driving.

Tutorial · Detect a hidden state with the same observed level

A detector reports two visible levels, but its lower level combines two unresolved substates. The measured lower-state survival probability is \(0.5e^{-t}+0.5e^{-9t}\) with time in seconds. Calculate the initial hazard and its long-time limit. Can a two-state Markov fit reproduce both?

Differentiate survival before interpreting the tail

The hazard is minus the derivative of \(\log S\). At zero time it is the initial weighted mean of rates, 5 per second. At long times the rapidly departing component has almost disappeared and the hazard tends to 1 per second. A single Markov exit rate would give a constant hazard for all dwell ages. The observed model cannot reproduce both limits with one rate.

A changing apparent hazard may also result from limited detector temporal resolution or variable preparation of the substates. Repeat with shorter acquisition intervals and condition the dwell distribution on the preceding visible transition or an independent preparation marker. A fitted sum of exponentials identifies a need for a richer observation or state model; it does not uniquely identify microscopic structures absent in the measurements.

Cambridge Kinetic Theory · stochastic processes and approach to equilibrium