Parameterise the motion of a guide as well as the bead
Let a prescribed moving guide define positions \(\mathbf r(q,t)\). Its relative velocity along the guide is \(\mathbf r_q\dot q\) and its imposed local velocity is \(\mathbf r_t\), where \(t\) is differentiated at fixed coordinate. The kinetic energy \(T=m|\mathbf r_q\dot q+\mathbf r_t|^2/2\) includes a quadratic term in \(\dot q\), a mixed term linear in \(\dot q\), and a term independent of \(\dot q\). Dropping the last two merely because the guide motion is prescribed generally changes the bead equation. A term independent of \(\dot q\) may still depend on its position \(q\).
For \(L=T-V\) define \(p=\partial_{\dot q}L\) and \({\cal E}=p\dot q-L\). Differentiating along a solution of the Euler–Lagrange equation gives \(d{\cal E}/dt=-\partial_tL\) in the absence of extra nonconservative generalised forces. This identity involves the partial time derivative at fixed \(q,\dot q\). The laboratory energy is
Direct substitution gives \({\cal E}=E_{\rm lab}-m\dot{\mathbf r}\cdot\mathbf r_t\) for a single particle and ordinary position potential. Thus a time-independent reduced Lagrangian can conserve a quantity different from the laboratory mechanical energy. Which observer supplies a force, and which independent variables are held fixed, determine the energy being tracked.
Work supplied by a steadily rotating straight slot
A smooth horizontal guide turns about its inner end with prescribed angle \(\varphi=\Omega t\). Let \(r\) be the bead's distance from the pivot. The velocity is \(\dot r\hat r+r\Omega\hat\varphi\), and the reduced Lagrangian is \(m(\dot r^2+\Omega^2r^2)/2\). Its Euler–Lagrange equation is
With \(r(0)=r_0,\dot r(0)=0\) the solution is \(r_0\cosh\Omega t\) until the bead leaves the slot. In the laboratory no force acts along the radial tangent of the slot, yet radial acceleration in polar coordinates is \(\ddot r-r\Omega^2\), precisely zero. The tangential acceleration \(2\Omega\dot r\) is provided by the slot wall.
The wall reaction \(R_\varphi=2m\Omega\dot r\) exerts a torque \(rR_\varphi\) on the bead. The driving motor balances the opposite reaction on the slot and supplies power \(\Omega rR_\varphi=2m\Omega^2r\dot r\). Differentiating \(E_{\rm lab}=m(\dot r^2+\Omega^2r^2)/2\) and using the radial equation gives the same power. The reduced energy \(m(\dot r^2-\Omega^2r^2)/2\) is constant. Its difference from \(E_{\rm lab}\) equals \(-\Omega L_z\), with \(L_z=mr^2\Omega\). This is a consequence of uniform imposed rotation, not a negative physical rotational kinetic energy.
For \(m=0.10\,{\rm kg}\), \(r_0=0.050\,{\rm m}\) and \(\Omega=4.0\,{\rm rad/s}\), consider \(t=0.25\,{\rm s}\). The radial position is \(77.2\,{\rm mm}\), radial speed \(0.235\,{\rm m/s}\), and wall reaction \(0.188\,{\rm N}\). The motor supplies about \(0.0580\,{\rm W}\) at that instant. Laboratory energy has risen from \(0.00200\,{\rm J}\) to approximately \(0.00752\,{\rm J}\). Measuring only the angular motor speed would miss the incoming mechanical work. The torque on the drive shaft or the changing moment of inertia supplies the other observable required for an energy budget.
A pendulum with prescribed length
Let a point pendulum have length \(l(t)>0\) and angle \(\theta\) from downward vertical. Using \(x=l\sin\theta\), \(y=-l\cos\theta\) gives \(T=m(\dot l^2+l^2\dot\theta^2)/2\) and \(V=-mgl\cos\theta\) for a fixed gravitational datum. The angular Euler–Lagrange equation becomes
The term proportional to \(\dot l\dot\theta\) comes directly from differentiating angular momentum about the pivot. With increasing length the angular speed at fixed angular momentum decreases; reeling in has the opposite effect. It can look like damping or amplification in the angular equation even with no friction. A mechanical energy balance distinguishes the reversible exchange with a reel from energy lost as heat.
The radial Newton equation, taking outward as positive, is \(m(\ddot l-l\dot\theta^2)=mg\cos\theta-T_{\rm string}\). Hence \(T_{\rm string}=m(g\cos\theta+l\dot\theta^2-\ddot l)\). The tension power on the bob is \(-T_{\rm string}\dot l\). This has the correct sign when a heavy nearly vertical bob is lowered slowly: \(\dot l>0\) and the gravitational potential decreases as the string takes energy out. At the bottom of a swing the tension is larger, so a reel shortening the string there does more positive work per unit length than it would at a turning point. Timing a cyclic length change can pump an oscillation while the guide returns to precisely its initial length.
With \(m=0.50\,{\rm kg}\), \(l=1.0\,{\rm m}\), \(\dot\theta=2.0\,{\rm rad/s}\), and the bob at the bottom, a short interval of constant-rate shortening at \(\dot l=-0.030\,{\rm m/s}\) has tension \(6.91\,{\rm N}\) and delivers \(0.207\,{\rm W}\). When the bob is momentarily at rest at \(30^\circ\), the tension for the same length and zero radial acceleration is \(4.25\,{\rm N}\). Reversing the reel rate there would remove only \(0.127\,{\rm W}\). A complete finite cycle requires integrating the time-varying tensions and checking the acceleration during each reel reversal.
Translate a pivot and separate real forcing from a coordinate choice
For a pivot translating horizontally at prescribed \(X(t)\) and constant string length \(l\), write \(x=X+l\sin\theta\), \(y=-l\cos\theta\). The kinetic energy includes \(ml\dot X\dot\theta\cos\theta\). In the angular Euler–Lagrange equation the terms proportional to \(\dot X\dot\theta\sin\theta\) cancel, leaving \(l\ddot\theta=-g\sin\theta-\ddot X\cos\theta\). A constant pivot velocity therefore does not force the relative angle. Replacing the pivot velocity by its magnitude as a driving force would wrongly violate Galilean invariance. A horizontal pivot acceleration does force the angle; it appears as the opposite inertial acceleration in the translating frame.
For \(|\theta|\ll1\) and \(X=X_0\cos\omega t\), the equation becomes
At drive frequencies well below \(\omega_0\),
The bob nearly aligns with the effective gravity in the moving frame. Far above \(\omega_0\), the particular solution is approximately \(-X/l\); then the bob's absolute horizontal coordinate \(X+l\theta\) changes little even while the pivot moves. Near resonance the undamped steady particular amplitude is inappropriate, and the initial transient or a physical damping model matters.
Calculate work done by a moving wall in an elastic collision
A particle of mass \(m\) moves along a line and collides elastically with a wall whose prescribed laboratory velocity is \(U\) during the short contact. In the instantaneous wall frame the incoming relative velocity \(v^--U\) reverses, so
In the laboratory the impulse is \(J=m(v^+-v^-)=2m(U-v^-)\) and the kinetic energy change is \(\Delta K=m[(v^+)^2-(v^-)^2]/2=UJ\). The energy gained by the particle equals wall velocity times the impulse delivered by the wall. A perfectly elastic contact still changes laboratory kinetic energy when the wall moves, since elasticity was defined for the relative normal velocity.
Suppose a particle of mass \(0.20\,{\rm kg}\) moves right at \(3.0\,{\rm m/s}\) into a right wall moving left at \(0.50\,{\rm m/s}\). Its final velocity is \(-4.0\,{\rm m/s}\), and the impulse on the particle is \(-1.40\,{\rm N\,s}\). The particle's kinetic energy rises from \(0.90\) to \(1.60\,{\rm J}\), exactly \(UJ=0.70\,{\rm J}\). The actuator keeping the wall on schedule supplies the energy. When the same wall recedes to the right at \(0.50\,{\rm m/s}\), the outgoing velocity is \(-2.0\,{\rm m/s}\) and kinetic energy falls by \(0.50\,{\rm J}\). The difference is not symmetric under reversal of wall speed at fixed incoming particle velocity, because that reversal also changes the relative approach speed.
Now trap a particle between a fixed wall and a length \(l(t)\) varying slowly compared with the collision period. To leading order a right-wall collision changes the particle's speed by \(-2\dot l\), and such collisions occur about once in \(2l/v\). Hence \(dv/dt\simeq-(v/l)\dot l\), so \(vl\) is approximately constant. The one-dimensional action around a full bounce cycle is
This elementary wall argument explains the adiabatic action without requiring the smooth-force approximation at the instantaneous collision. If the wall speed varies quickly within a round trip, the collision phases matter and the averaged invariant can fail.
Starting with \(l_0=0.40\,{\rm m}\) and speed \(4.0\,{\rm m/s}\), slow compression to \(0.30\,{\rm m}\) predicts \(v\simeq5.33\,{\rm m/s}\). Its kinetic energy increases by a factor \(16/9\), supplied through the moving boundary. A pressure sensor at the wall measures impulse per time, \(2mv\) times the collision frequency \(v/(2l)\), giving average force \(mv^2/l\) at leading order. Multiplying this force by the inward speed gives the power required by the predicted energy law. An instantaneous compression while the particle is elsewhere would instead change no kinetic energy until a later collision. The final length alone does not determine the energy unless the rate protocol is specified.
Follow a string through a moving boundary in configuration and time
For a vertical moving pivot with height \(Y(t)\), coordinates \(x=l\sin\theta\), \(y=Y-l\cos\theta\) give kinetic energy \(m[\dot Y^2+2l\dot Y\dot\theta\sin\theta+l^2\dot\theta^2]/2\). Derive the angular equation by differentiating \(p_\theta=ml^2\dot\theta+ml\dot Y\sin\theta\). The terms containing \(\dot Y\dot\theta\cos\theta\) cancel as in horizontal translation; the remaining equation is
A vertical acceleration changes the restoring coefficient multiplicatively, unlike a horizontal displacement whose small-angle effect is an additive forcing term. The distinction is visible even when the two pivot motions have identical amplitudes and frequencies.
For \(Y=A\cos\Omega t\), the effective gravity oscillates as \(g-A\Omega^2\cos\Omega t\). The perfectly vertical solution remains an exact solution at any drive amplitude. A small deviation need not remain small, because its linear equation has a periodic coefficient. An observed growth of swing from a tiny initial disturbance near twice the natural frequency is a parametric effect. A camera viewing the pivot and bob together can separate relative angle from large imposed vertical displacement. Estimating angular amplitude from absolute bob height alone introduces a component at the drive frequency unrelated to the swing.
At modest drive \(A=1.0\,{\rm mm}\), \(\Omega=20\,{\rm rad/s}\), the pivot acceleration amplitude is \(0.40\,{\rm m/s^2}\), about four percent of gravity. A pendulum of length \(0.10\,{\rm m}\) has small-angle frequency \(9.90\,{\rm rad/s}\), putting this drive near twice its natural frequency despite the small displacement. For an exactly stationary vertical bob relative to the pivot, the string tension is \(m(g+\ddot Y)\) as long as that value is positive. A force measurement thus contains a direct drive-frequency signal even before transverse oscillation develops. Combining an angle sensor with a load cell helps distinguish contact loss from growth of parametric oscillation.
A fast vertical drive can also modify the slow stability of the inverted position. A quantitative treatment requires separating a fast small angular ripple from the slow tilt and averaging its feedback, with the support acceleration and frequency satisfying the relevant ordering. The instantaneous sign of \(g+\ddot Y\) alone is insufficient to establish the stability of the inverted solution. An upright motion that briefly samples a favourable sign each cycle may still drift away over many cycles. Compare initial perturbations at several drive phases and fit the envelope over complete periods before drawing a stability conclusion.
Treat the drive itself as a degree of freedom
A prescribed rotating slot conceals the energy source behind a fixed pattern speed. Replace the motor by a free rotating turntable with moment of inertia \(I_0\), and let its angle \(\varphi\) evolve dynamically. In the horizontal frictionless problem the total kinetic energy is \(m\dot r^2/2+(I_0+mr^2)\dot\varphi^2/2\). The angle is cyclic, so the total angular momentum \(P=(I_0+mr^2)\dot\varphi\) is constant. As the bead moves out, the turntable slows. The radial equation remains \(\ddot r=r\dot\varphi^2\), but its coefficient now decreases according to the total angular momentum instead of remaining externally fixed.
Eliminate \(\dot\varphi\) from the total energy to find
The reduced radial potential decreases outwards and feeds radial kinetic energy, but the total energy available is finite. Differentiating the potential gives a radial acceleration \(P^2r/(I_0+mr^2)^2\), consistent with the original radial equation. One should not simply insert \(\dot\varphi=P/(I_0+mr^2)\) into the original kinetic Lagrangian before varying \(r\); the correct fixed-momentum Routh reduction subtracts \(P\dot\varphi\), reversing the sign of the eliminated rotational term. The energy and Lagrangian methods agree once their controlled quantities are distinguished.
With \(I_0=0.020\,{\rm kg\,m^2}\), \(m=0.10\,{\rm kg}\), \(r_0=0.10\,{\rm m}\), initial angular speed \(4.0\,{\rm rad/s}\) and zero radial speed, total momentum is \(0.084\,{\rm kg\,m^2/s}\) and energy \(0.168\,{\rm J}\). At \(r=0.30\,{\rm m}\) the rotation rate has fallen to \(0.084/0.029=2.90\,{\rm rad/s}\). The remaining radial kinetic energy is \(0.168-0.084^2/(2\cdot0.029)=0.0463\,{\rm J}\), giving radial speed \(0.962\,{\rm m/s}\). Under a prescribed constant angular speed of four, the radial first integral instead gives \(\dot r=4\sqrt{r^2-r_0^2}=1.13\,{\rm m/s}\) there. The two runs started with identical positions and velocities but have different power connections.
The drive can also be modelled between those limits. Let a servo apply torque \(\tau_{\rm drive}=K_{\rm s}(\Omega_{\rm command}-\dot\varphi)\). Then \(d[(I_0+mr^2)\dot\varphi]/dt=\tau_{\rm drive}\), and the rate of increase of total mechanical energy is \(\tau_{\rm drive}\dot\varphi\). A high control gain with finite response time can approximate the prescribed-speed case over part of a trajectory, yet a rapid radial change can cause a measurable speed sag. Recording shaft torque and speed together tests the drive rather than attributing its lag to a fictitious radial friction on the bead.
Infer drive work from a closed loop of length and measured tension
The reel-pendulum experiment produces synchronised records of string force and length. Over a period in which the length returns to its original value, the work on the bob from the reel is \(-\oint T\,dl\). A graph of tension against length can enclose a signed area although the string force at each instant is perpendicular to the bob's allowed virtual angular displacement. That loop area measures energy transferred by the imposed control. If the bob returns to its full mechanical state and there are no other energy sources, any net positive reel work must go into losses. If only the string length returns, the bob's energy can increase cycle after cycle.
Suppose the reel shortens by \(20\,{\rm mm}\) during a high-tension interval averaging \(7.0\,{\rm N}\), then pays out the same length while the mean tension is \(4.5\,{\rm N}\). The net mechanical work on the bob is \(0.020(7.0-4.5)=0.050\,{\rm J}\) for that cycle. A torque sensor on a reel of changing winding radius must convert torque to tension with the actual instantaneous radius. A force signal delayed relative to the length encoder can create a spurious enclosed area, especially when tension changes rapidly near a turning point. Repeating the measurement slowly with a known hanging calibration weight provides a direct check of polarity and timing.
Derive rapid-pivot stabilisation rather than replacing gravity by its mean
The vertical-pivot equation can be written \(\ddot\theta+[g/l-(A\Omega^2/l)\cos\Omega t]\sin\theta=0\). The time average of the oscillatory coefficient is zero. Nevertheless a high-frequency pivot can alter slow stability because the small fast ripple in \(\theta\) correlates with the fast acceleration. Let \(\theta=\Theta+\xi\), where \(\Theta\) varies little in a drive period and \(\xi\) is small. Keeping the leading rapidly oscillating term gives \(\ddot\xi\simeq(A\Omega^2/l)\sin\Theta\cos\Omega t\), hence \(\xi\simeq-(A/l)\sin\Theta\cos\Omega t\). Its amplitude scales with displacement ratio \(A/l\), so large acceleration and small angular ripple can coexist.
Expand \(\sin(\Theta+\xi)\simeq\sin\Theta+\xi\cos\Theta\), insert the fast solution, and average. Terms linear in the cosine average to zero but the product of ripple and imposed acceleration gives a mean cosine square of one half. To leading order the slow equation is
It derives from an effective potential per angular inertia \(U_{\rm eff}/(ml^2)=-(g/l)\cos\Theta+[A^2\Omega^2/(4l^2)]\sin^2\Theta\), up to a constant. Linearising near \(\Theta=\pi+\eta\) gives
The inverted state is stable within the averaged approximation if \(A^2\Omega^2>2gl\). The restoring contribution depends on squared pivot speed amplitude. Replacing effective gravity by its simple time average would miss it entirely.
Choose a rigid pendulum arm with \(l=0.20\,{\rm m}\), drive amplitude \(A=0.0040\,{\rm m}\), and \(\Omega=600\,{\rm s^{-1}}\). The small displacement ratio is \(0.020\), the pivot speed amplitude is \(2.4\,{\rm m/s}\), and \(A^2\Omega^2=5.76\,{\rm m^2/s^2}\), above \(2gl=3.92\,{\rm m^2/s^2}\). The predicted slow angular frequency about the inverted state is \(\sqrt{5.76/(2\cdot0.20^2)-9.81/0.20}=4.79\,{\rm s^{-1}}\), far below the drive frequency. A slow ripple of tilt \(0.10\,{\rm rad}\) has a leading drive-frequency micromotion of roughly \(0.0020\,{\rm rad}\). A camera sampling at an unfortunate phase can hide this micromotion or alias it into apparent slow drift.
The rigid arm in this example is essential. An ordinary string cannot push its bob when an averaged upright configuration requires alternating compression and tension throughout a fast cycle. Check the actual instantaneous radial reaction and the physical actuator's ability to deliver the large acceleration. Also check drive-period, arm elasticity and support resonance before identifying an observed stable wobble with the averaged rigid-arm prediction. The leading formula assumes small ripple and a clear separation between \(\Omega\) and all slow angular frequencies; near threshold the slow restoring coefficient is a small difference and higher-order effects or friction become relatively important.
Separate support work from energy in a moving coordinate
Prescribe an accelerating support. Compare the relative response with what a laboratory observer sees and identify how the drive supplies energy.
Distinguish two ways of moving an endpoint in Hamilton's principle
When a constraint itself is explicitly time dependent, the identity \(\delta g=\nabla g\cdot\delta x=0\) describes a virtual change at fixed time on the moving surface. A variational problem may instead allow the endpoint time to change. If a terminal point moves along a prescribed spacetime curve \(q_b(t)\), the endpoint variation includes \(dq_b=\dot q_b\,dt\); it is not an arbitrary tangent displacement at fixed laboratory clock. The boundary term in the on-shell action is \(p\,dq-H\,dt\). Reading these two terms separately tells which physical terminal conditions a derivation has assumed.
For a free particle of mass \(m\) moving in one dimension from the origin at time zero to \(q\) at time \(T\), the extremal action is \(S=m q^2/(2T)\). Its derivatives are \(S_q=mq/T=p\) and \(S_T=-mq^2/(2T^2)=-H\). If the terminal marker moves as \(q_b(T)=uT\), the action of the connecting extremal is \(mu^2T/2\). Its derivative along that endpoint line is \(p u-H=mu^2/2\), exactly the direct derivative. Holding the endpoint position fixed while differentiating instead gives \(-mu^2/2\). Both derivative experiments are legitimate, but the different signs demonstrate why one must state what is fixed.
Can a numerical action fit identify momentum and energy from a single sequence of terminal markers all moving at speed \(u\)?
Work through the solution
Along that one curve it returns the combination \(pu-H\). Separating momentum and energy requires independent endpoint variations in position and time, or another dynamical relation. For the free-particle model the known quadratic Hamiltonian supplies such a relation. For an unknown effective system a single endpoint track can leave different combinations indistinguishable. A grid of nearby fixed-time endpoints estimates \(p\), and a separate grid of terminal times at fixed place estimates \(-H\). This measurement interpretation is the finite-dimensional counterpart of separating virtual reaction work from actual boundary power.
Infer whether a moving wall may be treated as prescribed
In an actual impact apparatus the wall has finite effective mass \(M\). For a one-dimensional elastic impact with an initially moving wall, conservation of total momentum and reversal of relative velocity give
Only the limit \(M/m\to\infty\), or active feedback able to enforce the schedule on the collision time scale, gives the prescribed-wall expression used earlier. A motor that restores its target speed a second later may still behave as a finite inertia during the collision itself.
Take \(m=0.20\,{\rm kg}\), \(M=2.0\,{\rm kg}\), \(v^-=3.0\,{\rm m/s}\) and \(U=-0.50\,{\rm m/s}\). The finite wall sends the particle back at approximately \(-3.36\,{\rm m/s}\) and recoils to \(+0.136\,{\rm m/s}\), compared with the prescribed-wall prediction of \(-4.0\,{\rm m/s}\). Check that the initial and final total momenta both equal about \(-0.40\,{\rm kg\,m/s}\). Measuring wall speed immediately before and after contact separates an imperfectly enforced boundary from an inelastic impact; both can reduce the magnitude of particle rebound relative to an ideal prescribed boundary.
Tutorial on a prescribed moving apparatus
The rotating slot is held at fixed \(\Omega\), but the bead is initially given inward speed \(-\Omega r_0\). Predict its subsequent motion and whether the motor delivers or receives power.
Work through the solution
The general solution is a combination of growing and decaying exponentials. These initial conditions select \(r=r_0e^{-\Omega t}\). The wall reaction \(2m\Omega\dot r\) is negative, and its power \(2m\Omega^2r\dot r\) is also negative. The motor receives energy from the bead while maintaining its speed. The same geometric constraint can therefore inject or absorb energy depending on the actual trajectory. The origin is approached only asymptotically in the ideal solution.
At \(l=0.80\,{\rm m}\) and \(\theta=0\), a bob has zero angular speed and the prescribed reel tries to accelerate the length outward at \(12\,{\rm m/s^2}\). Can a string enforce this motion?
Work through the solution
The radial-force equation gives \(T=m(g-12)\), a negative tension. A string cannot push the bob outward. The reel pays out slack and the bob initially accelerates under gravity, so treating \(l(t)\) as its exact radius becomes inadmissible. A rigid telescopic arm capable of compression would impose a different physical constraint and could enforce the same geometrical schedule.
A pivot is displaced sinusoidally by \(2.0\,{\rm mm}\) at \(1.0\,{\rm Hz}\) with \(l=0.25\,{\rm m}\). Is the low-frequency tilt formula suitable?
Work through the solution
The natural angular frequency is \(\sqrt{9.81/0.25}=6.26\,{\rm rad/s}\), almost equal to the drive angular frequency \(2\pi=6.28\,{\rm rad/s}\). The low-frequency expansion requires a frequency much smaller than the natural one and fails here. Measure damping and initial conditions, or model a finite-time drive. A steady frictionless amplitude calculated from the small difference of squared frequencies is extremely sensitive to uncertainties in the length and drive frequency.
Compare a second rotating constraint and identify what the motor holds fixed.
David Tong's Lagrangian dynamics chapter develops explicitly time-dependent coordinate changes.