Constraints, Generalised Coordinates and Virtual Work
Newtonian mechanics describes a system of particles by Cartesian coordinates and equations . For any system more complicated than a few free masses this is the wrong bookkeeping: the particles of a rigid body, the bead threaded on a wire, the pendulum bob on its rod are not free to move independently, and the forces that keep them on their tracks — the rod tension, the wire's normal force, the internal forces of the rigid body — are unknowns we rarely care about. Analytical mechanics, in the tradition of Lagrange and developed in Goldstein's Chapter 1, rebuilds the subject around the independent ways a system can move and eliminates the forces of constraint from the outset.
This chapter assembles the vocabulary for that programme. A constraint is a restriction on the configurations or velocities a system may take; generalised coordinates are a minimal set of independent parameters that fix the configuration; a virtual displacement is an imagined, instantaneous, constraint-respecting change of configuration; and the principle of virtual work states that the forces of constraint do no work under such a displacement. Put together, these ideas turn a constrained -dimensional problem into an unconstrained -dimensional one, where is the number of degrees of freedom.
How to read this chapter. The single most important line is that the forces of constraint drop out of the virtual-work equation. Everything in Block B — Lagrange's equations, Hamilton's equations, Noether's theorem — is built on that fact. Keep a running list of the systems worked here (bead on wire, plane pendulum, Atwood machine, rolling disc) because the next two chapters solve them again with the machinery this chapter motivates.
1. Configuration Space and Degrees of Freedom
The instantaneous state of point particles is a single point in a -dimensional configuration space with coordinates , which we abbreviate as , . As the system evolves, this point traces a curve.
If the particles are subject to independent equations of constraint, the accessible configurations form a surface of dimension
inside configuration space. This number is the number of degrees of freedom: the number of coordinates that can be varied independently without leaving the constraint surface. A single particle free in space has ; confined to a surface, ; threaded on a wire, . A rigid body of many atoms has — three to place its centre of mass, three to orient it — because the enormous number of interatomic-distance constraints collapses the count.
2. Holonomic and Non-Holonomic Constraints
A constraint is holonomic if it can be written as an equation relating only the coordinates and possibly the time,
Each such equation removes one degree of freedom and lets one coordinate be solved for in terms of the others. The distance constraint of a rigid body, ; the rod of a pendulum, ; a bead on a prescribed curve — all are holonomic. If contains explicitly the constraint is rheonomic (moving, e.g. a bead on a wire that is being rotated at a fixed rate); if not, it is scleronomic (fixed).
A constraint that cannot be integrated to a relation among the coordinates alone is non-holonomic. The standard example is a vertical disc of radius rolling without slipping on a plane: the rolling condition ties the velocity of the contact point to the angular velocity,
and because (the heading) changes as the disc rolls, these differential relations have no integrating factor — there is no . Inequality constraints (a molecule confined to a box, ) are also non-holonomic. This chapter and the next two treat holonomic systems; non-holonomic systems need Lagrange multipliers, introduced in Chapter 3.
3. Generalised Coordinates
For a holonomic system with degrees of freedom, choose independent parameters — the generalised coordinates — that label the points of the constraint surface. They need not have dimensions of length: an angle, an arc length, a normalised amplitude all qualify. The Cartesian positions are then known functions
with explicit -dependence exactly when the constraints are rheonomic. Differentiating by the chain rule gives the velocities
The partial derivatives are the tangent vectors to the constraint surface; the term is the velocity the particle would have if all the were frozen and only the constraint's own time-dependence acted. Two identities that follow immediately and are used in every derivation of Lagrange's equations:
Worked example — plane pendulum. A bob of mass hangs from a rigid massless rod of length pivoted at the origin, swinging in the -plane ( down). The constraint is one holonomic equation, so . Take , the angle from the downward vertical: , . Then , , and the speed is , a single-variable description with the rod tension nowhere in sight.
4. Virtual Displacements
A virtual displacement is an infinitesimal change of the configuration that (i) is imagined to happen at a fixed instant of time, , and (ii) is consistent with the constraints as they exist at that instant. It is written with rather than to mark that it is not an actual displacement occurring over a time but a comparison between two nearby allowed configurations.
In terms of generalised coordinates, because the are independent and unconstrained, an arbitrary virtual displacement is
with the completely free. Note what is absent: there is no term, precisely because . This is the one place where virtual and real displacements differ for a rheonomic system, and it is the reason the formalism handles moving constraints cleanly.
Worked example — bead on a rotating wire. A straight wire in the horizontal plane is forced to rotate about the origin at constant angular rate , and a bead slides on it. Constraints: and . Generalised coordinate: , the distance along the wire, with . The real displacement in time is , which has a component along the wire's motion. The virtual displacement is — purely along the wire as it is oriented now. The difference is the frozen-time rule at work.
5. Forces of Constraint and the Principle of Virtual Work
Split the total force on particle into an applied part (gravity, springs, driving) and a constraint part (the wire's normal force, the rod tension, the floor's reaction). The defining property of an ideal constraint is that it does no work under any virtual displacement:
This holds because ideal constraint forces are perpendicular to the constraint surface while virtual displacements lie in it: the normal force on a bead is the wire; the tension in a rigid rod does equal and opposite work on its two ends; the static friction at a rolling contact acts at a point with zero velocity. (Sliding friction is not ideal and must be carried as an applied force.)
For a system in equilibrium every , so , and the constraint term vanishes by the line above. This leaves the principle of virtual work:
The unknown reaction forces have been eliminated; only the applied forces appear.
Worked example — ladder against a wall. A uniform ladder of weight leans at angle with its foot on a rough floor and its top on a smooth wall. Let the applied "force" be gravity acting at the centre of mass, height . A virtual increase raises the centre of mass by , so gravity does virtual work . If the only applied force is gravity this cannot vanish for arbitrary — confirming the ladder is not in equilibrium without floor friction, which is the applied horizontal force needed to make the total virtual work zero.
6. Generalised Forces
Substitute into the virtual work of the applied forces:
The coefficient
is the generalised force conjugate to . Its units are whatever makes an energy: if is a length, is a force; if is an angle, is a torque. Because the are independent, the principle of virtual work becomes simply for all at equilibrium.
When the applied forces are conservative, , the generalised force is minus a gradient in -space:
so equilibrium is exactly a stationary point of the potential, — the familiar statement, here recovered from a much more general principle.
Worked example — generalised force on the pendulum. With and gravity (taking downward), , so . This is the gravitational torque about the pivot, and it equals with .
7. D'Alembert's Principle in Embryo
Equilibrium is a special case. To reach dynamics, rewrite Newton's law as and read the term as an inertial force, so that every instant looks like a statics problem. Dotting with , summing, and again dropping the constraint term :
This is D'Alembert's principle. It is the exact dynamical statement in which the forces of constraint have been eliminated, valid for scleronomic and rheonomic holonomic systems alike. The whole of the next chapter is the algebra of pushing this equation through the substitution and using the two dot-cancellation identities of Section 3 to arrive at Lagrange's equations.
8. Counting Degrees of Freedom in Practice
- Two beads on a rigid rod, rod free in a plane: each bead free in the plane is , total ; the fixed-separation constraint removes ; (rod's centre position and orientation ).
- Double plane pendulum: two bobs, Cartesian coordinates, two rod-length constraints, — use .
- Rigid body, free: atomic coordinates minus independent distance constraints, .
- Disc rolling without slipping on a line (in its plane): centre height fixed ( constraint) and integrable to ( more), so here the rolling constraint is holonomic and . The genuinely non-holonomic case needs the disc free to steer on a plane.
The lesson: count Cartesian coordinates, subtract the number of independent holonomic constraints, and check whether any velocity constraint is secretly integrable before calling a system non-holonomic.
9. Recovering the Constraint Forces
Eliminating the reactions is a feature, but sometimes the reaction is the answer — will the rod snap, will the bead fly off the loop? Two routes recover it. First, having solved the reduced problem for , substitute back into Newton's second law for one particle and read off the constraint force as the difference . Second, keep the constraint as an equation adjoined with a Lagrange multiplier ; the multiplier turns out to be proportional to the magnitude of the constraint force. Chapter 3 develops the multiplier method; for now note only that the information is not lost, merely set aside.
Worked example — tension in the pendulum rod. Once is known, resolve Newton's law along the rod: (centripetal), so . Energy conservation from release at gives , hence . The reduced formalism gave ; one line of Newton then gave the reaction.
Common Pitfalls
- Treating a virtual displacement as a real one. is taken at frozen time: no term. For a rheonomic system the real path leaves the instantaneous constraint surface; the virtual displacement never does.
- Counting dependent constraints. Only independent constraint equations reduce . Four masses in a plane joined by all six pairwise rods give , but a planar rigid body has : exactly one rod is redundant, so only five constraints are independent.
- Calling an integrable velocity constraint non-holonomic. integrates to and is holonomic. Test for an integrating factor before invoking multipliers.
- Including ideal constraint forces in . The generalised force is built from applied forces only; the reactions are exactly what the formalism removes.
- Forgetting that sliding friction is not ideal. Kinetic friction does negative work on real and virtual displacements; carry it as an applied force with .
- Wrong units for . If is an angle, its conjugate generalised force is a torque, not a force. Always check that has dimensions of energy.
Summary
- The configuration of particles is a point in -dimensional configuration space; independent holonomic constraints confine it to a surface of dimension , the number of degrees of freedom.
- Holonomic constraints are equations ; each removes one freedom. Non-holonomic constraints (non-integrable velocity relations, inequalities) do not and need multipliers.
- Generalised coordinates parametrise the constraint surface; gives and the identities .
- A virtual displacement is taken at and respects the instantaneous constraints.
- Ideal constraints do no virtual work: . Hence the principle of virtual work at equilibrium, and the generalised force for conservative forces.
- D'Alembert's principle is the dynamical generalisation and the starting point for Lagrange's equations.