Hold the clock fixed when defining a virtual displacement
A system of particles has Cartesian positions \(\mathbf r_i\) and applied forces \(\mathbf F_i\). A holonomic constraint is an equation \(g_\alpha(\mathbf r_1,\ldots,\mathbf r_N,t)=0\). At a fixed instant an admissible infinitesimal change of configuration obeys \(\sum_i\nabla_i g_\alpha\cdot\delta\mathbf r_i=0\). The physical velocities obey a different relation, \(\sum_i\nabla_i g_\alpha\cdot\dot{\mathbf r}_i+\partial_tg_\alpha=0\). A virtual displacement compares geometrically allowed configurations at the same time. It has no prescribed duration and makes no claim that the system's momentum actually points along it.
The distinction becomes measurable for a bead on a moving horizontal table. Every allowed virtual displacement has zero vertical component, so the table's upward normal force gives zero virtual work. An upward-moving table can nevertheless raise the bead and perform positive ordinary work. Ordinary power involves the actual velocity, which includes the table motion. A careless statement that constraint forces do no work confuses two different operations. For a fixed ideal frictionless surface the real velocity is tangent as well, and vanishing virtual work then does imply vanishing ordinary power.
Let \(\mathbf R_i\) be the reaction forces and use \(m_i\ddot{\mathbf r}_i=\mathbf F_i+\mathbf R_i\). Multiply by an admissible \(\delta\mathbf r_i\) and sum over particles. We call the constraints ideal when \(\sum_i\mathbf R_i\cdot\delta\mathbf r_i=0\) for every allowed virtual displacement. Eliminating those reactions gives d'Alembert's principle,
This is a dynamical equation expressed through a static-looking virtual-work test. It applies instantaneously along the motion. It does not assert that the total force vanishes or that the acceleration is an independent virtual displacement. One advantage is that the detailed construction of a rigid support need not be known to determine the admissible tangential acceleration; its force can be calculated afterwards when designing the support.
Pass from virtual work to equations for coordinates
Choose independent coordinates \(q_a\) with \(\mathbf r_i=\mathbf r_i(q,t)\) and independent virtual increments \(\delta q_a\). The velocity is \(\sum_a\partial_{q_a}\mathbf r_i\,\dot q_a+\partial_t\mathbf r_i\). With kinetic energy \(T=\sum_i m_i\dot{\mathbf r}_i^2/2\), differentiation at fixed \(q,t\) gives
Differentiate in time. The product rule produces an acceleration term and a second term involving \(d(\partial_{q_a}\mathbf r_i)/dt\). The latter equals \(\partial_{q_a}\dot{\mathbf r}_i\), with the generalised velocities held fixed, and supplies \(\partial_{q_a}T\). Hence
The projected applied force is
Independence of the coordinate variations in d'Alembert's principle gives one equation \(d(\partial_{\dot q_a}T)/dt-\partial_{q_a}T=Q_a\) per coordinate. When \(\mathbf F_i\) comes from a potential \(V(q,t)\), the conservative contribution is \(-\partial_{q_a}V\). Other contributions such as a measured resisting torque remain explicit. A coordinate expressed as an angle has a generalised force in joules per radian; a coordinate expressed as a length has one in newtons. Checking \(Q_a\,dq_a\) as work avoids mistaking a generalised force for a Cartesian component.
For a simple pendulum of length \(l\) and mass \(m\), choose \(\theta\) measured from downward vertical. Then \(T=ml^2\dot\theta^2/2\) and \(V=mgl(1-\cos\theta)\). The equation \(ml^2\ddot\theta=-mgl\sin\theta\) follows at once. The string tension vanished under the angular displacement. It has not been shown to vanish physically. Projecting Newton's equation onto the direction from the bead toward the pivot gives
This second observable is sensitive to speed even when the reduced angular acceleration depends only on angle.
Recover multipliers before choosing coordinates
Cartesian coordinates keep reaction directions explicit. Put all coordinates into a vector \(x\), let \(M\) be the mass matrix and let \(G\) contain the rows \(\nabla g_\alpha\). The tangent virtual displacements are precisely those satisfying \(G\delta x=0\). A reaction doing zero virtual work must be a linear combination of the normal covectors, \(R=G^T\lambda\), when the constraints are independent. Newton's equation becomes
Differentiate the constraints twice along the trajectory: \(G\ddot x+\gamma=0\), where \(\gamma\) includes the known velocity, curvature and explicit time terms. Substituting for \(\ddot x\) determines reactions from a much smaller system,
For any vector \(c\), \(c^TGM^{-1}G^Tc=(G^Tc)^TM^{-1}(G^Tc)\) is positive if \(G\) has independent rows and particle masses are positive. Dependent constraint equations make the individual multipliers ambiguous. For instance writing both \(g=0\) and \(2g=0\) declares the same geometrical restriction twice. Only the combined reaction is then determined. The magnitude of a raw multiplier also depends on the units and normalisation of \(g\). Reporting the force \(G^T\lambda\) makes comparisons between alternative constraint descriptions meaningful.
Use \(g=(x^2+y^2-l^2)/2=0\) for a planar pendulum, with \(y\) upward, so the gradient is the radius vector \(\mathbf r\). Newton's equation reads \(m\ddot{\mathbf r}=-mg\hat y+\lambda\mathbf r\), where the symbol \(g\) in the gravitational term denotes the acceleration magnitude. The acceleration constraint \(\mathbf r\cdot\ddot{\mathbf r}=-v^2\) gives
The inward tension is \(-\lambda l=mv^2/l-mgy/l\). Since \(y=-l\cos\theta\), this is the radial-force result already obtained. The multiplier in this convention has units of force per length. Using the radial-distance constraint instead would make its magnitude a force.
Background · What if the support can push but cannot pull?
Replacing a surface by an equality constraint assumes the object stays in contact. A particle sliding along the inside of a smooth vertical circular track illustrates the additional physical test. At the top, gravity and the inward normal reaction together must supply the centripetal acceleration.
At a top speed below \(\sqrt{gR}\) the equality-constrained solution requires negative \(N\). An ordinary track cannot exert that pull. Its normal force then falls to zero and the particle must follow free flight until it meets the track again. A bead threaded on a wire could receive the oppositely directed force and would follow a different trajectory. Both models have the same geometrical path during contact.
Recognise an inequality at a contact
A bead threaded on a stiff loop can experience reaction in either direction, whereas a string can pull only. A surface without adhesion can push only. Derive the constrained motion, calculate its reaction, and compare the required sign with the physical mechanism. When a calculated tension turns negative, replace the constrained trajectory by free flight until a new contact event. Continuing to integrate the pendulum equation would retain a mathematically valid circle and a physically unavailable pushing string.
A mass starts at the bottom of a frictionless vertical loop with speed \(v_b\). Energy conservation gives \(v_{\rm top}^2=v_b^2-4gl\), since the top is \(2l\) higher. A string just remaining taut at the top requires \(T_{\rm top}=mv_{\rm top}^2/l-mg\ge0\), giving \(v_b^2\ge5gl\). The energy-only criterion for reaching the elevation is \(v_b^2\ge4gl\); the interval between these two values illustrates why a trajectory test must include reactions. With \(l=0.80\,{\rm m}\), the threshold bottom speed is \(6.26\,{\rm m/s}\). At this threshold the bottom tension is \(6mg\), six times the weight, even though the tension is about to vanish at the top.
Recover the forces on a wedge that is free to slide
Place a wedge of mass \(M\) on a smooth horizontal floor and a block of mass \(m\) on its smooth upper face. Let the slope descend to the right at angle \(\alpha\). Choose \(X\) as the wedge's horizontal position and \(s\) as distance down the face. The block's coordinates apart from fixed offsets are \(x=X+s\cos\alpha,\ y=-s\sin\alpha\). Its relative velocity points down the slope but its absolute acceleration need not. The kinetic energy contains a mixed term \(m\dot X\dot s\cos\alpha\). Dropping that term is equivalent to holding the wedge stationary while allowing it to recoil, two incompatible mechanical models.
The reduced equations are \((M+m)\ddot X+m\ddot s\cos\alpha=0\) and \(\ddot s+\ddot X\cos\alpha=g\sin\alpha\). The first is conservation of total horizontal momentum, since the block–wedge normal force is internal and the floor is frictionless. Elimination gives
The acceleration down the moving face exceeds \(g\sin\alpha\) because the wedge moves left as the block slides right. Nevertheless the absolute vertical acceleration of the block remains less than or equal to free fall because the upper face pushes upward.
To find the block's normal force, project its absolute acceleration onto the outward unit normal \((\sin\alpha,\cos\alpha)\). The part proportional to \(\ddot s\) cancels, leaving \(\ddot X\sin\alpha\). Newton's equation along that direction gives
With \(M=3.0\,{\rm kg}\), \(m=1.0\,{\rm kg}\), \(\alpha=30^\circ\), one finds \(\ddot s=6.04\,{\rm m/s^2}\),
The normal based on a stationary wedge would be \(8.50\,{\rm N}\). A force sensor under the moving face could distinguish the two models even when a short record of relative slope displacement cannot resolve the difference.
Which reaction does no virtual work here? The normal force on the block has virtual work \(N\hat n\cdot(\delta X\hat x+\delta s\hat t)=N\sin\alpha\,\delta X\). The opposite normal force on the wedge gives \(-N\sin\alpha\,\delta X\), so the sum cancels. Considering only the block and asserting zero work from the normal for arbitrary \(\delta X\) would be incorrect. At the real velocities the same reaction transfers energy between the bodies even though its net internal power on their pair is zero. The floor's normal reaction balances the vertical momentum change of the whole system. During the slide it is \((M+m)g-m\ddot s\sin\alpha\), less than total weight while the block accelerates downwards.
Take the limits as an additional test. At fixed \(m,\alpha\), increasing \(M\) to infinity returns the familiar fixed-wedge results. At a nearly horizontal face, downslope acceleration and wedge recoil vanish, restoring the full block weight as normal force. At a vertical face the normal vanishes and the block falls. These limits hold because the contact has no friction and can be maintained with a nonnegative normal. A moving wedge of independently prescribed acceleration would replace the horizontal momentum equation by a control input, changing both the relative acceleration and the support force.
Distinguish rolling constraints from purely geometric restrictions
A cylinder of radius \(R\), mass \(m\) and axial inertia \(I\) rolls without slip down a fixed rough incline. Choose coordinate \(s\) down the incline and spin angle \(\phi\) in the corresponding sense. The constraint \(\dot s=R\dot\phi\) is integrable in this one-dimensional motion, so it can be inserted as \(s-R\phi=\mathrm{constant}\). The resulting kinetic energy is \((m+I/R^2)\dot s^2/2\). The reduced equation gives
Reconstruct the static friction from translation, \(f=g m\sin\alpha-m\ddot s\), directed up the slope, and compare it with the available maximum \(\mu_s mg\cos\alpha\).
For a homogeneous solid cylinder \(I=mR^2/2\), the speed-up is \(2g\sin\alpha/3\) and friction magnitude \(mg\sin\alpha/3\). A ring of the same mass and radius has \(I=mR^2\), half the gravitational downslope acceleration and half the downslope weight component as friction. At \(30^\circ\) the minimum static friction coefficients are respectively \(\tan30^\circ/3=0.192\) and \(\tan30^\circ/2=0.289\). Two objects on the same surface can therefore diverge qualitatively because the ring slips while the cylinder still rolls. Treating an assumed no-slip relation as exact without testing that inequality can produce an unphysical result despite apparently consistent energy conservation.
The friction on a rigid body rolling without slip on a fixed surface has zero power because its instantaneous point of contact is stationary. The force still changes both linear and angular momentum. On a moving conveyor the contact velocity is no longer zero in the laboratory; friction can supply mechanical energy even while the relative contact velocity vanishes. For a wheel steering on a plane the restrictions \(\dot x=R\dot\phi\cos\psi,\ \dot y=R\dot\phi\sin\psi\) depend on heading \(\psi\). In general they cannot be integrated into two configuration equations relating \(x,y,\phi,\psi\) globally. d'Alembert's fixed-time allowed variations still project out ideal rolling reactions, but replacing those velocity constraints by invented holonomic coordinates gives the wrong dynamics. The distinction can be seen geometrically by rolling and steering through a closed sequence of steering operations that leaves a net displacement.
Find loads on two supports of a suspended bar
A rigid horizontal bar of mass \(m\) and length \(2a\) is supported at its ends by two vertical inextensible light cords. At one instant both cords are vertical and the bar is horizontal. An extra downward load of magnitude \(F\) is applied at horizontal coordinate \(s\) relative to the centre. Ask first for a static experiment. The two vertical reaction forces \(T_L,T_R\) obey force balance \(T_L+T_R=mg+F\) and moment balance \(a(T_R-T_L)=sF\). This gives
The lever arms encode geometry that the vertical balance alone cannot provide.
The same result can be obtained from virtual variations if the reactions are kept as multipliers until the end. For small vertical translation \(y\) of the centre and small tilt \(\theta\), the endpoint vertical displacements are \(\delta y-a\delta\theta\) on the left and \(\delta y+a\delta\theta\) on the right. The load point displacement is \(\delta y+s\delta\theta\). Before eliminating the endpoint constraints, project all applied and reaction forces against arbitrary independent \(\delta y,\delta\theta\); vanishing of both coefficients gives the preceding balances. After imposing both endpoint constraints directly, these two variations vanish and the reduced model for vertical motion contains no equation from which the support loads can be read. Removing a degree of freedom can remove precisely the observable of interest unless reactions are reconstructed.
For \(m=2.0\,{\rm kg}\), \(a=0.40\,{\rm m}\), \(F=12\,{\rm N}\) and \(s=0.25\,{\rm m}\), the total load is \(31.62\,{\rm N}\) and the load difference \(7.50\,{\rm N}\). Hence \(T_R=19.56\,{\rm N}\), \(T_L=12.06\,{\rm N}\). Exchanging the load from right to left reverses the difference while preserving the sum. This symmetry is a calibrating manoeuvre for two load cells with different offsets: subtract readings from mirrored configurations to isolate the lever-arm response, and compare their sum to the known total weight and applied force.
Now imagine three vertical supports at \(-a,0,+a\). Their three tensions enter only two independent balances. Perfectly rigid constraints determine no unique allocation to the centre support. The ambiguity is physical; the stiffnesses, preloads and small height differences of real supports decide the result. With three identical unstrained linear springs and a centred load \(F\), each spring extends equally if the bar stays level, so each carries one third of the total weight. If the middle spring is twice as stiff and all have the same unloaded height, it carries one half and each outer spring one quarter. Both answers satisfy exactly the same force and moment balances. Reporting a unique value from a singular ideal multiplier system would manufacture an unmeasured constitutive assumption.
Test an acceleration constraint against drift of the position itself
Solving \(G\ddot x+\gamma=0\) guarantees the correct instantaneous normal acceleration at a state lying on the constraint manifold with tangent velocity. It does not magically repair earlier position or velocity errors in approximate time integration. For a particle constrained to a circle, monitor \(g=(r^2-l^2)/2\), \(\dot g=\mathbf r\cdot\mathbf v\), and the computed force. A small tangential displacement can give tiny instantaneous force error while the radius gradually drifts. Integrating an acceleration-level constraint twice without a position or velocity correction can cause substantial mismatch over many revolutions.
A simple projection illustrates what each correction does. Normalise an approximate position vector to length \(l\), then remove the radial component of velocity by \(\mathbf v\leftarrow\mathbf v-\hat r(\hat r\cdot\mathbf v)\). The corrected point and tangent satisfy the constraints, but the velocity correction removes kinetic energy \(m(\hat r\cdot\mathbf v)^2/2\), and the position change can alter potential energy. Projection is therefore a numerical operation whose physical invariant errors must be measured. A structure-preserving constrained integrator builds the position and momentum conditions into the step and often gives better long-time behaviour. Compare convergence of reaction, constraint residual and energy separately instead of treating a rounded radius as proof of a correct force.
A pendulum on a free cart tests the complete mass matrix
Mount a pendulum pivot on a cart of mass \(M\) moving horizontally on a smooth track. The bob has mass \(m\), length \(l\) and downward angle \(\theta\). Choose the cart position \(X\) and use bob coordinates \(X+l\sin\theta,-l\cos\theta\). The kinetic energy is \((M+m)\dot X^2/2+ml\dot X\dot\theta\cos\theta+ml^2\dot\theta^2/2\). Two different off-diagonal mass terms would contradict its origin as a quadratic form; the same factor \(ml\cos\theta\) multiplies the companion acceleration in each equation. This is a useful check on a manually assembled multibody model.
The equations are
In the small-angle regime the horizontal centre of mass moves uniformly. Choosing zero total momentum gives
Substitute its derivative into the angular equation to obtain
Releasing the support raises the oscillation frequency because the effective angular inertia falls while the gravitational stiffness stays the same. The result is a statement about the relative pendulum angle, measured from an inertial vertical, with an unforced horizontally moving support.
For \(M=0.60\,{\rm kg}\), \(m=0.20\,{\rm kg}\) and \(l=0.50\,{\rm m}\), the small-angle period is
Fixing the cart with a clamp gives \(1.419\,{\rm s}\) instead. At zero total horizontal momentum the cart displacement from its equilibrium is approximately \(-0.125\,\theta\) metres, so a \(0.10\,{\rm rad}\) angle corresponds to \(12.5\,{\rm mm}\) of recoil. Simultaneous position measurements on cart and bob should reconstruct a horizontal centre of mass that is stationary to within tracking uncertainty. A missing cart inertia or a wrongly filled cross term can alter both period and recoil; checking just one number may not identify which error occurred.
The reaction on the moving bob can again be recovered. Its radial acceleration along the outward string direction is \(\ddot X\sin\theta-l\dot\theta^2\). Thus the tension is \(T=m[g\cos\theta-\ddot X\sin\theta+l\dot\theta^2]\). The acceleration of the support appears explicitly. Reusing the fixed-pivot formula at all angles would omit a term that vanishes accidentally at the bottom. To test the sign, observe a rightward tilted pendulum whose pivot accelerates right: the support's acceleration has an outward projection along the tilted string, reducing the inward tension needed for the same relative motion. Substituting a directly measured cart acceleration provides an independent load-cell prediction.
Follow a force eliminated by a constraint
Predict when a two-sided circular groove must reverse its normal force. Check the prediction against the exact energy and radial balances.
Decide which force a sensor actually reports
Reaction forces can be reported as tension along a member, normal traction at a contact, total support load on a floor, or a single Cartesian component read by a load cell. A rigid-body idealisation alone does not specify a sensor's orientation or the weight of its housing. For a fixed pendulum, for example, the string carries tension \(T\), while a vertical force channel at its pivot reads the vertical string contribution \(T\cos\theta\). A horizontal channel reads \(T\sin\theta\). The force on the pivot is opposite the force exerted on the bob. Selecting the wrong sign or leaving out the fixture's own weight can create a discrepancy even when the dynamical calculation is correct.
Suppose an ideal load cell with its sensitive axis vertical is tared with the fixture installed but the \(0.40\,{\rm kg}\) bob removed. When the bob is held at \(60^\circ\) by a separate purely tangential actuator and is otherwise stationary, the radial balance gives
The pivot's vertical reading attributable to the string is \(0.981\,{\rm N}\). The tangential actuator supplies the remaining vertical support as well as a horizontal component. Once the actuator releases, instantaneously the same tension and reading hold because radial speed is still zero. At the bottom of the subsequent swing the load jumps to the dynamical value obtained earlier, even though no upper fixture mass has changed.
A student hangs the bob at the same \(60^\circ\) angle using a separate horizontal cord instead of a tangential actuator. Should the pivot cell read the preceding \(0.981\,{\rm N}\)?
Work through the solution
The horizontal cord contributes no vertical support. Static balance now requires \(T\cos60^\circ=mg\), giving \(T=7.85\,{\rm N}\) and vertical pivot contribution \(3.92\,{\rm N}\). The horizontal holding force has a nonzero radial projection and changes the radial-force balance. After the horizontal cord is removed the tension immediately changes to \(mg\cos60^\circ\) because no momentum impulse is required for a finite jump in force. A schematic that shows only the bob angle is insufficient to infer the support load without saying how the angle is maintained.
In the free cart experiment bearing drag is weak but measurable. Can an observed frequency shift distinguish it from a wrongly assumed cart mass?
Work through the solution
A viscous drag changes the horizontal momentum balance and allows the formerly stationary centre of mass to move as momentum leaks to the track. A mass error in a drag-free model changes the relative period and recoil ratio without supplying an actual external impulse. Track the complete centre of mass using independently weighed masses, compare its momentum change with the integrated bearing force, and measure the decay envelope. The frequency alone is a single scalar and can often be fitted by several combinations of missing mass, spring compliance and drag.
Locate contact loss on a smooth convex surface
A small block starts sliding from near rest just to one side of the top of a smooth fixed sphere of radius \(R\). Measure angle \(\theta\) from upward vertical. Energy gives \(v^2=2gR(1-\cos\theta)\) during contact, while the inward radial equation reads \(mg\cos\theta-N=mv^2/R\). Thus \(N=mg(3\cos\theta-2)\). Contact first vanishes at \(\cos\theta=2/3\), or \(48.2^\circ\). For a sphere of radius \(0.50\,{\rm m}\), this occurs after a vertical drop \(R/3=0.167\,{\rm m}\) and at speed \(1.81\,{\rm m/s}\). A block balanced exactly at the top at exact rest is an unstable equilibrium in the ideal model; a small initial displacement or speed initiates the measured trajectory.
Once the block leaves, the same spherical coordinates can still be used to describe position, but \(r=R\) is no longer an equation of motion. Continue with the measured tangential velocity and free gravitational acceleration. Enforcing the sphere condition beyond release would make the computed normal negative and predict a surface that pulls on the block. The zero normal, the geometric release angle and the subsequent ballistic arc provide three independent observables for the same force reconstruction.
Tutorial on measuring reactions
A \(0.40\,{\rm kg}\) pendulum of length \(0.75\,{\rm m}\) is released from rest at \(60^\circ\) from downward vertical. Predict the load-cell reading at the pivot when it passes the bottom. What part does the reduced equation alone omit?
Work through the solution
The height change is
Energy conservation gives
At the bottom the tension is \(mg+mv^2/l=7.85\,{\rm N}\), twice the weight. The tangential acceleration there vanishes because gravity points along the string, but the radial acceleration remains nonzero. A sensor measuring the string force sees this centripetal contribution directly.
A bead lies on a smooth moving plane with upwards acceleration \(a_z\). Which acceleration first makes a passive contact impossible if the bead initially shares the plane's motion?
Work through the solution
Vertical Newton balance requires \(N-mg=ma_z\), or \(N=m(g+a_z)\). At \(a_z=-g\) the reaction vanishes. A more negative plane acceleration would require the plane to pull the bead down, so contact is lost and the bead follows free fall until the separation closes. For upward acceleration the normal exceeds weight. In all these cases a virtual displacement tangent to the plane produces zero virtual normal work.
Two code implementations use \((x^2+y^2-l^2)/2\) and \(x^2+y^2-l^2\) as constraints for the same state. Their multipliers differ by a factor two. How can the physical result be tested?
Work through the solution
The second gradient is twice the first at the same point. Its multiplier must be half the first multiplier for \(G^T\lambda\) to coincide. Compare the reaction vector in newtons, its dot product with an independently chosen tangent direction, and the normal acceleration required by the geometry. A comparison of raw multiplier values alone would flag a difference that is entirely due to normalisation.
Compare a constrained trajectory with the motion and force calculations above.
David Tong develops virtual work and constrained coordinates in his classical dynamics course.