Nonholonomic Systems and the Lagrange-d'Alembert Method

Every driver knows the frustration: a car cannot slide sideways into a parking spot. At each instant its wheels forbid exactly one velocity direction — lateral translation — and yet, by the awkward ritual of forward-turn, reverse-turn, any car can reach any position and any heading. Something strange is going on. A constraint that outlaws a direction of motion at every single instant somehow outlaws no place at all. Constraints of this kind — restrictions on velocities that cannot be integrated up into restrictions on configurations — are called nonholonomic, and they break the beautiful machinery this chapter has been building in a very specific, very instructive way. The break is this: Hamilton-style variational reasoning compares the true path against neighboring paths, and for a nonintegrable velocity constraint the neighboring constraint-respecting paths you need simply fail to exist. Naively appending the constraint to the Lagrangian with a multiplier and extremizing — the so-called vakonomic route — produces equations of motion that are experimentally wrong for rolling and sliding contact. The correct route abandons the global comparison of paths and returns to the instant-by-instant statement that never needed it: d'Alembert's principle. Constrain the virtual displacements, not the varied paths, and the Lagrange–d'Alembert equations that emerge govern every rolling coin, ice skate, and wheeled robot correctly. Mastering this distinction buys you the dynamics of vehicles and rolling bodies, the reaction forces at their contacts (the multipliers are the friction), and the doorway to one of the liveliest corners of modern mechanics: nonholonomic motion planning, the mathematics of how cars park.

Key takeaways
  • Nonholonomic constraints restrict velocities through nonintegrable Pfaffian relations ∑kalk q˙k+al0=0\sum_k a_{lk}\,\dot q_k + a_{l0}=0 that cannot be reduced to relations among the coordinates alone — so they do not reduce the dimension of configuration space; every configuration stays reachable.
  • Hamilton's principle in its naive form fails: one cannot freely vary paths within the constraint, because the constraint restricts velocities, not positions. Extremizing the multiplier-augmented action (vakonomic dynamics) gives physically wrong equations for rolling systems.
  • The correct route is the Lagrange–d'Alembert principle: demand ∑k(ddt∂L∂q˙k−∂L∂qk) δqk=0\sum_k(\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial \dot q_k}-\frac{\partial L}{\partial q_k})\,\delta q_k=0 for virtual displacements obeying the instantaneous condition ∑kalk δqk=0\sum_k a_{lk}\,\delta q_k=0.
  • Multipliers then deliver ddt∂L∂q˙k−∂L∂qk=∑lλl alk\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial \dot q_k}-\frac{\partial L}{\partial q_k}=\sum_l \lambda_l\,a_{lk}: the right-hand side is the generalized constraint force, and λl\lambda_l measures the physical reaction (the static friction at a rolling contact).
  • Canonical examples — the vertical rolling disk, the ice skate, the rolling ball — all have full configuration access but a velocity space cut down by mm directions.
  • Energy is still conserved when the constraints are scleronomic (al0=0a_{l0}=0) and the Lagrangian is time-independent, even though no action principle applies.
  • Key idea: constrain the VIRTUAL DISPLACEMENTS, not the varied paths — impose ∑kalk δqk=0\sum_k a_{lk}\,\delta q_k=0 inside d'Alembert's principle to get ddt∂L∂q˙k−∂L∂qk=∑lλlalk\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial\dot q_k}-\frac{\partial L}{\partial q_k}=\sum_l\lambda_l a_{lk}, which is physically correct and genuinely different from extremizing L+∑lλlflL+\sum_l\lambda_l f_l.
The core insight

For nonholonomic systems you must constrain the VIRTUAL DISPLACEMENTS, not the varied paths: impose ∑kalk δqk=0\sum_k a_{lk}\,\delta q_k=0 inside d'Alembert's principle. This gives ddt∂L∂q˙k−∂L∂qk=∑lλlalk\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial\dot q_k}-\frac{\partial L}{\partial q_k}=\sum_l\lambda_l a_{lk} — physically correct, and distinct from naively extremizing L+∑λlflL+\sum\lambda_l f_l.

Where this lives today

Nonholonomic mechanics is quietly one of the most industrial corners of analytical dynamics. Every autonomous vehicle that parks itself is solving a nonholonomic motion-planning problem: the "no sideways velocity" Pfaffian constraint of each axle defines exactly the distribution of allowed directions, and the parking maneuver is a Lie-bracket excursion — allowed moves cycled to produce forbidden displacement, the mathematics formalized from the observation in this article's second figure. Planners in 2026 driving stacks still bottom out in curvature-bounded nonholonomic path families (Reeds–Shepp curves and their optimized descendants), while the vehicle-dynamics layer underneath solves Lagrange–d'Alembert-type equations and monitors the multipliers: tire-force estimates checked against the friction ellipse, the grown-up version of this article's ∣λ∣|\lambda| versus μN\mu N test, deciding in real time whether "rolling" is still a valid constraint or the car has begun to slide. The other living branch is locomotion theory. A falling cat, a snake robot, a micro-swimmer, an astronaut reorienting in free fall — all exploit nonintegrability: cyclic shape changes that produce net rotation or translation, governed by the same geometry (connections on principal bundles) that grew out of the vakonomic/d'Alembert distinction. And the vakonomic branch itself thrives under its true name, optimal control: the shortest admissible parking path is a sub-Riemannian geodesic, computed by exactly the augmented-action principle that fails for rolling dynamics — the twin machines of this article, each finally employed on the problem it actually solves.

The physical picture

Picture an ice skate on a frozen pond. At every instant the blade can move only along its own length — sideways velocity is forbidden. That is one velocity constraint, one equation. Yet by alternately gliding and turning, a skater reaches any point on the ice with any heading: the three-dimensional configuration space (position plus orientation) is fully accessible. The constraint lives in velocity space, not in configuration space. That mismatch — fewer velocity directions than accessible configuration dimensions — is the essence of nonholonomy.

Figure
One forbidden direction each instant, yet every configuration reachable
this instant: velocity space cut down allowed: along the blade forbidden: sideways slip one Pfaffian constraint kills one velocity direction given time: nothing is off-limits glide-and-turn maneuvers reach any position with any heading: configuration space stays 3-dimensional

Why does this defeat Hamilton's principle? Because that principle compares nearby paths, all of which must satisfy the constraint. For a holonomic constraint that is easy: the paths live on a lower-dimensional surface, and you vary freely within it. But a nonintegrable velocity constraint defines admissible directions pointwise, and the family of constraint-respecting neighbor paths sharing both endpoints is too rigid — in general the variations you need do not exist. d'Alembert's principle sidesteps the whole difficulty: it never compares paths. It asks one question per instant — do the applied-plus-inertial forces do zero work against a virtual displacement taken at frozen time? — and constraining those frozen-time probes is always possible. The best intuition for nonintegrability is the parking maneuver. Drive forward with wheels turned, back up with wheels straight, and repeat: each individual motion respects "no sideways slip", yet the cycle produces a net sideways displacement. The forbidden direction is manufactured out of allowed ones. Whenever cycling through allowed directions generates a new direction, no coordinate function can be constant along the motion — the constraint cannot be integrated into f(q)=constf(q)=\text{const}, and the system is genuinely nonholonomic. (In control theory this is exactly the Lie-bracket test; mechanics knows it as the Frobenius condition.)

Figure
Parking: a cycle of allowed moves adds up to a forbidden one
start 1 forward, wheels turned 2 reverse, wheels straight after one cycle net motion in the FORBIDDEN direction cycles of allowed moves escape the constraint: the Pfaffian form is nonintegrable

One more piece of intuition, because it pays rent later: the Lagrange multiplier λl\lambda_l in this formalism is not bookkeeping — it is the reaction. For a rolling wheel, ∑lλlalk\sum_l \lambda_l a_{lk} is the static friction at the contact enforcing "no slip". Solving for λl\lambda_l tells you the force the contact must supply, and comparing it against the available budget μN\mu N tells you whether the wheel actually rolls or breaks loose. A formalism born of eighteenth-century rationalism turns out to be a slip detector.

The core equations

Start with the constraint inventory from the classification article. The velocity constraints we can handle systematically are the Pfaffian (linear-in-velocity) ones. There are mm of them, on nn generalized coordinates:

∑k=1nalk(q,t) q˙k+al0(q,t)=0,l=1,…,m(1)\sum_{k=1}^{n} a_{lk}(q,t)\,\dot q_k + a_{l0}(q,t) = 0,\qquad l=1,\dots,m \qquad (1)

where: qkq_k — generalized coordinates, k=1,…,nk=1,\dots,n; alka_{lk} — constraint coefficients (functions of q,tq,t); al0a_{l0} — the inhomogeneous term, present when the constraint itself moves (rheonomic case). Read each row as a plane in velocity space: at every configuration, the allowed velocities lie in an (n−m)(n-m)-dimensional slice. If the whole row happens to be the differential of some function fl(q,t)f_l(q,t), the constraint silently integrates to fl=constf_l=\text{const} and is holonomic in disguise; the interesting case is when no such flf_l exists. The virtual displacements of d'Alembert's machinery are frozen-time probes, and freezing time changes the constraint they must obey. Multiply (1) by dt\mathrm{d}t to get ∑kalk dqk+al0 dt=0\sum_k a_{lk}\,\mathrm{d}q_k + a_{l0}\,\mathrm{d}t = 0; a virtual displacement replaces dqk→δqk\mathrm{d}q_k \to \delta q_k while dt→0\mathrm{d}t \to 0, since time is held fixed during the variation. The inhomogeneous term dies, leaving

∑k=1nalk(q,t) δqk=0,l=1,…,m(2)\sum_{k=1}^{n} a_{lk}(q,t)\,\delta q_k = 0,\qquad l=1,\dots,m \qquad (2)

where: δqk\delta q_k — virtual displacements at fixed time, δt=0\delta t = 0. This little asymmetry between (1) and (2) is physical, not pedantic: on a moving constraint the real motion has a compulsory component (the al0a_{l0} part) along which reactions do real work, while the virtual probes see only the instantaneous, frozen geometry — the same distinction that let d'Alembert's principle survive moving constraints unchanged. Now transplant the whole d'Alembert argument into generalized coordinates. Using δri=∑k(∂ri/∂qk) δqk\delta\mathbf r_i=\sum_k(\partial\mathbf r_i/\partial q_k)\,\delta q_k and the standard kinetic-energy identity, the principle ∑i(Fiapp−p˙i)⋅δri=0\sum_i(\mathbf F_i^{\text{app}}-\dot{\mathbf p}_i)\cdot\delta\mathbf r_i=0 becomes its Lagrangian form:

∑k=1n(ddt∂L∂q˙k−∂L∂qk)δqk=0(3)\sum_{k=1}^{n}\left(\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial \dot q_k}-\frac{\partial L}{\partial q_k}\right)\delta q_k = 0 \qquad (3)

where: L=T−VL = T - V — the Lagrangian of the unconstrained problem, written in all nn coordinates. For a holonomic system the δqk\delta q_k would be independent, each bracket would vanish separately, and we would be done — that was the punchline of the Euler–Lagrange article. Here the probes are chained together by (2), and the correct extraction of equations of motion needs one more idea: multipliers. The result (derived below) is

ddt∂L∂q˙k−∂L∂qk=∑l=1mλl alk(q,t),k=1,…,n(4)\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial \dot q_k}-\frac{\partial L}{\partial q_k} = \sum_{l=1}^{m}\lambda_l\,a_{lk}(q,t),\qquad k=1,\dots,n \qquad (4)

where: λl(t)\lambda_l(t) — one Lagrange multiplier per constraint, an unknown function of time determined alongside the motion. The right-hand side is exactly the generalized force the constraints exert:

Qk(c)≡∑l=1mλl alk(5)Q_k^{(c)} \equiv \sum_{l=1}^{m}\lambda_l\,a_{lk} \qquad (5)

where: Qk(c)Q_k^{(c)} — the reaction conjugate to qkq_k. Note the geometry: each constraint's force points along its own coefficient row alka_{lk}, i.e. perpendicular (in the virtual-work sense) to every allowed displacement — the workless-reaction postulate made algebraic. Counting closes the system:

n Lagrange equations (4)  +  m constraints (1)  ⟹  n unknowns qk(t)  +  m unknowns λl(t)(6)n \text{ Lagrange equations } (4) \;+\; m \text{ constraints } (1) \;\Longrightarrow\; n \text{ unknowns } q_k(t) \;+\; m \text{ unknowns } \lambda_l(t) \qquad (6)

where: nothing was eliminated — unlike the holonomic strategy of absorbing constraints into fewer coordinates, the nonholonomic strategy keeps all nn coordinates and pays with mm extra unknowns. The payment is refunded with interest: the λl\lambda_l are the contact forces you usually want anyway. Finally, energy. Define the energy (Jacobi) function and differentiate along the motion:

E=∑kq˙k∂L∂q˙k−L,dEdt=−∂L∂t+∑kQk(c)q˙k(7)E=\sum_k \dot q_k\frac{\partial L}{\partial\dot q_k}-L,\qquad \frac{\mathrm{d}E}{\mathrm{d}t}=-\frac{\partial L}{\partial t}+\sum_k Q_k^{(c)}\dot q_k \qquad (7)

where: the reaction-power term evaluates, using (5) and then (1), to ∑kQk(c)q˙k=∑lλl∑kalkq˙k=−∑lλl al0\sum_k Q_k^{(c)}\dot q_k=\sum_l\lambda_l\sum_k a_{lk}\dot q_k=-\sum_l\lambda_l\,a_{l0}. So for scleronomic constraints (al0=0a_{l0}=0) with a time-independent Lagrangian, EE is exactly conserved — a conservation law delivered with no variational principle in sight. The rolling disk below conserves energy; a ball rolling inside a spinning drum (al0≠0a_{l0}\neq 0) does not. The full story of EE lives in the Jacobi-integral article.

Which statement answers which question

you wantusenotes
test a constraint for holonomyintegrability of (1): Frobenius / curl testintegrable → absorb the constraint, ordinary Lagrange
equations of motion, nonholonomicLagrange–d'Alembert with multipliers, eq. (4)constrain δq\delta q, never the action
the contact forceQk(c)=∑lλlalkQ_k^{(c)} = \sum_l \lambda_l a_{lk}, eq. (5)solve (4)+(1), read off λl\lambda_l; compare to μN\mu N
energy bookkeepingeq. (7)conserved iff al0=0a_{l0}=0 and ∂L/∂t=0\partial L/\partial t=0
shortest admissible path, optimal controlvakonomic principle δ ⁣∫(L+∑lλlfl) dt=0\delta\!\int(L+\sum_l\lambda_l f_l)\,\mathrm{d}t=0a different problem — correct there, wrong for rolling
Derivation AThe Lagrange-d'Alembert equations from constrained virtual work

We are deriving the multiplier equations (4) from the Lagrangian form of d'Alembert's principle, equation (3), under the side conditions (2) on the probes. The strategy is the classic multiplier maneuver: since (3) need only hold for constrained probes, we cannot conclude that each bracket vanishes; instead we add a cleverly weighted zero — the constraints themselves — and choose the weights so that the dependent probes are neutralized, leaving the independent ones to do their usual work. Watch two things: the argument is instant-by-instant (no global path comparison is ever invoked, which is exactly why nonintegrability never gets a chance to bite), and the multipliers enter as free functions of time whose values are fixed only when the full system (4)+(1) is solved.

Step 1. Start from the constrained variational identity — d'Alembert's principle in Lagrangian clothing:

∑k=1n(ddt∂L∂q˙k−∂L∂qk)δqk=0for all δqk with ∑kalk δqk=0.\sum_{k=1}^n\Big(\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial\dot q_k}-\frac{\partial L}{\partial q_k}\Big)\delta q_k=0 \quad\text{for all } \delta q_k \text{ with } \sum_k a_{lk}\,\delta q_k=0 .

Why we cannot just drop the sum: only n−mn-m of the probes are independent; the brackets multiplying the mm dependent probes could be nonzero and still sum to zero. The holonomic shortcut is unavailable by construction.

Step 2. Add zero, mm times. For arbitrary functions λl(t)\lambda_l(t), the quantity ∑lλl(∑kalk δqk)\sum_l\lambda_l\big(\sum_k a_{lk}\,\delta q_k\big) vanishes for every admissible probe, by (2). Subtracting it inside the sum changes nothing:

∑k=1n[ddt∂L∂q˙k−∂L∂qk−∑l=1mλl alk]δqk=0.\sum_{k=1}^n\Big[\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial\dot q_k}-\frac{\partial L}{\partial q_k}-\sum_{l=1}^m\lambda_l\,a_{lk}\Big]\delta q_k=0 .

Why this is progress: the bracket now contains mm adjustable dials. We have traded a constrained statement about nn brackets for an unconstrained opportunity.

Step 3. Spend the dials. Order the coordinates so the last mm probes δqn−m+1,…,δqn\delta q_{n-m+1},\dots,\delta q_n are the dependent ones. Choose the mm multipliers λl(t)\lambda_l(t) to make precisely those mm brackets vanish — an m×mm\times m linear solve, possible whenever the constraints (2) are independent. Why the solve is guaranteed: independence of the constraint rows means the m×mm\times m block of coefficients alka_{lk} on the dependent coordinates is invertible; the multipliers are uniquely determined by this condition at each instant.

Step 4. The surviving sum runs over the first n−mn-m probes only — and those are now genuinely independent, since the constraints have been used up on the dependent ones. Switch them on one at a time: each remaining bracket must vanish separately. Combined with Step 3, all nn brackets vanish:

ddt∂L∂q˙k−∂L∂qk=∑l=1mλl alk,k=1,…,n.\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial\dot q_k}-\frac{\partial L}{\partial q_k}=\sum_{l=1}^m\lambda_l\,a_{lk},\qquad k=1,\dots,n .

Why the result is trustworthy where Hamilton's principle is not: every ingredient — the principle (3), the probe condition (2), the added zero — is a statement at a single instant. Integrability of the constraint, the property that decides whether constraint-respecting neighboring paths exist, was never needed and never used. *Verified: this is the standard constrained virtual-work argument of Goldstein §2.4 and Taylor Ch. 7; setting all alk δqka_{lk}\,\delta q_k conditions to exact differentials reproduces the holonomic multiplier equations, and setting m=0m=0 recovers the free Euler-Lagrange equations.*

The rolling disk: nonholonomy in four coordinates

The cleanest laboratory for the machinery is a thin disk of mass MM and radius RR rolling upright on a horizontal plane. Four coordinates describe it: the contact point (x,y)(x,y), the heading angle ϕ\phi (the direction the disk is rolling toward), and the spin angle θ\theta about its own axle. Rolling without slipping welds the contact velocity to the spin:

x˙=R θ˙cos⁡ϕ,y˙=R θ˙sin⁡ϕ(8)\dot x = R\,\dot\theta\cos\phi,\qquad \dot y = R\,\dot\theta\sin\phi \qquad (8)

where: the factor Rθ˙R\dot\theta is the rim speed and (cos⁡ϕ,sin⁡ϕ)(\cos\phi,\sin\phi) the rolling direction. Two Pfaffian constraints on four velocities: at each instant only two velocity directions survive (roll, and turn the heading), yet — Frobenius will confirm — all four configuration dimensions remain reachable. A coin can end up anywhere on the table, facing any way, with any mark on its rim touching the ground: exactly the parking phenomenon.

Go deeper · Derivation B · 2 minDynamics of the vertical rolling disk
Derivation BDynamics of the vertical rolling disk

The goal is to run the complete Lagrange–d'Alembert program on the rolling disk: state the constraints in Pfaffian form, certify they are genuinely nonholonomic, write the multiplier equations, and eliminate the multipliers to obtain the motion — and its surprise, that free rolling is uniform rolling, with the friction playing pure centripetal enforcer. The strategy follows the counting of (6): four Lagrange equations plus two constraints for four coordinates and two multipliers. Watch the elimination step — the ϕ\phi-dependent terms conspire to cancel, and that cancellation is the physics.

Step 1. Constraints in Pfaffian form. From (8), dx−Rcos⁡ϕ dθ=0\mathrm{d}x - R\cos\phi\,\mathrm{d}\theta = 0 and dy−Rsin⁡ϕ dθ=0\mathrm{d}y - R\sin\phi\,\mathrm{d}\theta = 0, so in the coordinate order (x,y,ϕ,θ)(x,y,\phi,\theta) the coefficient rows are

a1=(1,  0,  0,  −Rcos⁡ϕ),a2=(0,  1,  0,  −Rsin⁡ϕ).a_1=(1,\;0,\;0,\;-R\cos\phi),\qquad a_2=(0,\;1,\;0,\;-R\sin\phi) .

Step 2. Certify nonholonomy. Suppose some f(x,y,ϕ,θ)f(x,y,\phi,\theta) had df∝dx−Rcos⁡ϕ dθ\mathrm{d}f \propto \mathrm{d}x - R\cos\phi\,\mathrm{d}\theta. Then ∂f/∂ϕ=0\partial f/\partial\phi=0, yet the θ\theta-coefficient −Rcos⁡ϕ-R\cos\phi depends on ϕ\phi — mixed partials cannot match. No integrating factor repairs this (the Frobenius test fails), and the same argument kills row 2. Why this matters physically: nonintegrability is precisely the coin's ability to return to the same (x,y)(x,y) with a different spin angle θ\theta — the constraint remembers the path, not the endpoints.

Step 3. Lagrangian of the unconstrained disk (gravity does no work while the disk stays upright on a horizontal plane):

L=12M(x˙2+y˙2)+12I3θ˙2+12I1ϕ˙2L=\tfrac12 M(\dot x^2+\dot y^2)+\tfrac12 I_3\dot\theta^2+\tfrac12 I_1\dot\phi^2

with I3=12MR2I_3=\tfrac12 MR^2 the spin inertia about the axle and I1I_1 the inertia about the vertical diameter governing heading changes.

Step 4. The four multiplier equations (4), one per coordinate, with the rows from Step 1:

Mx¨=λ1,My¨=λ2,I1ϕ¨=0,I3θ¨=−λ1Rcos⁡ϕ−λ2Rsin⁡ϕ.M\ddot x=\lambda_1,\qquad M\ddot y=\lambda_2,\qquad I_1\ddot\phi=0,\qquad I_3\ddot\theta=-\lambda_1 R\cos\phi-\lambda_2 R\sin\phi .

Why the ϕ\phi equation carries no multiplier: both constraint rows have zero in the ϕ\phi slot — no constraint restricts the heading rate — so the heading turns freely and uniformly, ϕ˙=Ω=const\dot\phi=\Omega=\text{const}.

Step 5. Eliminate the multipliers. Differentiate the constraints (8): x¨=Rθ¨cos⁡ϕ−Rθ˙ ϕ˙sin⁡ϕ\ddot x = R\ddot\theta\cos\phi - R\dot\theta\,\dot\phi\sin\phi and y¨=Rθ¨sin⁡ϕ+Rθ˙ ϕ˙cos⁡ϕ\ddot y = R\ddot\theta\sin\phi + R\dot\theta\,\dot\phi\cos\phi. Insert λ1=Mx¨\lambda_1=M\ddot x, λ2=My¨\lambda_2=M\ddot y into the θ\theta equation:

I3θ¨=−MR(x¨cos⁡ϕ+y¨sin⁡ϕ)=−MR2θ¨    ⟹    (I3+MR2)θ¨=0.I_3\ddot\theta = -MR\big(\ddot x\cos\phi+\ddot y\sin\phi\big) = -MR^2\ddot\theta \;\;\Longrightarrow\;\; \big(I_3+MR^2\big)\ddot\theta=0 .

Why the velocity terms vanished: the −Rθ˙ϕ˙sin⁡ϕcos⁡ϕ-R\dot\theta\dot\phi\sin\phi\cos\phi and +Rθ˙ϕ˙cos⁡ϕsin⁡ϕ+R\dot\theta\dot\phi\cos\phi\sin\phi contributions cancel identically — turning the heading costs no rolling speed.

Step 6. Read off the motion. θ¨=0\ddot\theta=0: the disk rolls at constant spin rate θ˙=ω\dot\theta=\omega. With ϕ˙=Ω\dot\phi=\Omega constant, the contact point traces a circle of radius Rω/ΩR\omega/\Omega (a straight line if Ω=0\Omega=0). The multipliers evaluate to

λ1=−MR ω Ωsin⁡ϕ,λ2=MR ω Ωcos⁡ϕ,∣λ∣=MR ω Ω=M v Ω,\lambda_1=-MR\,\omega\,\Omega\sin\phi,\qquad \lambda_2=MR\,\omega\,\Omega\cos\phi, \qquad |\boldsymbol\lambda| = MR\,\omega\,\Omega = M\,v\,\Omega ,

with v=Rωv=R\omega the rolling speed: the contact friction is exactly the centripetal force Mv2/(v/Ω)Mv^2/(v/\Omega) that bends the rolling path into its circle. Free rolling costs no friction at all when the path is straight (Ω=0\Omega=0, λ=0\boldsymbol\lambda=\mathbf 0). Verified: constraint rows and equations match Goldstein 3rd ed. §1.3–1.4 and Bloch Ch. 1; the uniform-rolling conclusion and the centripetal reading of the multipliers agree with the Newtonian analysis of a coin rolling in a circle at constant speed.

The cautionary tale: constrain the variations, not the action

Here is the trap this article exists to spring before it catches you. For a holonomic constraint f(q,t)=0f(q,t)=0 you learned that adjoining λf\lambda f to the Lagrangian and extremizing works perfectly. It is deeply tempting to do the same with a velocity constraint: write L+λ(−x˙sin⁡ϕ+y˙cos⁡ϕ)L + \lambda(-\dot x\sin\phi + \dot y\cos\phi) and turn the Euler–Lagrange crank. The result — called vakonomic ("variational axiomatic kind") dynamics — is a perfectly consistent mathematical theory. It is also, for rolling and sliding mechanical contact, experimentally false.

Figure
Two machines for one constraint, and only one gives rolling physics
Pfaffian constraint sum of a_lk dq_k = 0, nonintegrable constrain the VIRTUAL DISPLACEMENTS Lagrange-d'Alembert: instant by instant, multipliers = contact reactions no path comparison needed constrain the VARIED PATHS vakonomic: extremize the augmented action over admissible paths an optimal-control problem correct rolling and skating dynamics DIFFERENT equations - wrong for rolling the two machines agree exactly when the constraint is integrable (holonomic) - and only then
Go deeper · Derivation C · 2 minSkate on ice: Lagrange-d'Alembert versus the vakonomic route
Derivation CSkate on ice: Lagrange-d'Alembert versus the vakonomic route

The goal is to expose, on the simplest genuine nonholonomic system, how the two procedures part company. The system is a knife-edge (an idealized skate) of mass mm and moment of inertia II on frictionless-except-for-the-blade ice: coordinates (x,y,ϕ)(x,y,\phi), with the single constraint that the blade cannot slip sideways. The strategy: run both machines on the same constraint and compare the ϕ\phi equation — the Lagrange–d'Alembert one leaves the heading free, the vakonomic one drives it with multiplier source terms. The physical verdict then picks the winner.

Step 1. The no-side-slip constraint. The blade's velocity must lie along its own direction (cos⁡ϕ,sin⁡ϕ)(\cos\phi,\sin\phi):

−x˙sin⁡ϕ+y˙cos⁡ϕ=0,a=(−sin⁡ϕ,  cos⁡ϕ,  0).-\dot x\sin\phi + \dot y\cos\phi = 0, \qquad a = (-\sin\phi,\; \cos\phi,\; 0) .

The row depends on ϕ\phi while its ϕ\phi-slot is zero — the same mixed-partials obstruction as the disk: genuinely nonholonomic.

Step 2. Lagrange–d'Alembert machine. With L=12m(x˙2+y˙2)+12Iϕ˙2L=\tfrac12 m(\dot x^2+\dot y^2)+\tfrac12 I\dot\phi^2, equation (4) gives

mx¨=−λsin⁡ϕ,my¨=λcos⁡ϕ,Iϕ¨=0.m\ddot x=-\lambda\sin\phi,\qquad m\ddot y=\lambda\cos\phi,\qquad I\ddot\phi=0 .

Why ϕ¨=0\ddot\phi=0 is the signature: the constraint row has nothing in the ϕ\phi slot, so the reaction exerts no torque about the vertical — a real skate's heading coasts, which is exactly what observation shows.

Step 3. Vakonomic machine. Extremize the augmented action ∫ ⁣(L+λ(−x˙sin⁡ϕ+y˙cos⁡ϕ)) dt\int\!\big(L+\lambda(-\dot x\sin\phi+\dot y\cos\phi)\big)\,\mathrm{d}t over paths. Because λ\lambda now multiplies velocity terms with ϕ\phi-dependent coefficients, the ϕ\phi variation picks up new pieces:

Iϕ¨=λ(x˙cos⁡ϕ+y˙sin⁡ϕ)=λ u,I\ddot\phi = \lambda\big(\dot x\cos\phi+\dot y\sin\phi\big) = \lambda\,u ,

with uu the along-blade speed, and the x,yx,y equations likewise acquire λ˙\dot\lambda terms (mx¨=−λ˙sin⁡ϕ−λϕ˙cos⁡ϕm\ddot x = -\dot\lambda\sin\phi - \lambda\dot\phi\cos\phi, etc.). The heading is now driven whenever λ≠0\lambda\neq0 — different dynamics, not a different notation. Why the discrepancy arises at all: the vakonomic variation treats the constraint as a property of whole paths, so the multiplier behaves like a dynamical field with its own evolution; the d'Alembert variation treats it as an instantaneous force channel. For integrable constraints the two collapse into each other; nonintegrability holds them apart.

Step 4. The physical verdict. Direct Newtonian analysis of a knife-edge — the sideways reaction acts at the contact, along the blade normal, with zero torque about the vertical axis — reproduces the Lagrange–d'Alembert equations, and tabletop experiments with skates, coins, and sleds agree. The vakonomic equations answer a different and equally honest question: among all paths satisfying the constraint, which extremizes the action? That is optimal control — the mathematics of best parking maneuvers and sub-Riemannian geodesics — not the mechanics of a pushed skate. Verified: the comparison and its resolution follow Bloch, Nonholonomic Mechanics and Control, Ch. 5; the conceptual point is standard since Korteweg's 1899 critique. Setting λ=0\lambda=0 in both machines recovers the same free motion, confirming the discrepancy is purely constraint-borne.

Limiting cases

CaseResultMeaning
integrable Pfaffian → holonomic∑kalk dqk=dfl\sum_k a_{lk}\,\mathrm{d}q_k = \mathrm{d}f_lthe constraint reduces to fl(q,t)=constf_l(q,t)=\text{const}; eliminate a coordinate, and Lagrange–d'Alembert coincides with ordinary Lagrangian mechanics
no constraints (m=0m=0)ddt∂L∂q˙k−∂L∂qk=0\frac{\mathrm{d}}{\mathrm{d}t}\frac{\partial L}{\partial\dot q_k}-\frac{\partial L}{\partial q_k}=0multiplier terms vanish; the free Euler–Lagrange equations return
scleronomic, workless constraintsal0=0,  ∂L/∂t=0⇒E=consta_{l0}=0,\;\partial L/\partial t=0 \Rightarrow E=\text{const}energy (Jacobi function) conserved with no variational principle anywhere in sight
straight-line rollingdisk with Ω=0\Omega=0: λ=0\boldsymbol\lambda=\mathbf 0uniform straight rolling needs zero friction — the constraint is enforced for free
vakonomic dynamicsδ ⁣∫(L+∑lλlfl) dt=0\delta\!\int (L+\sum_l\lambda_l f_l)\,\mathrm{d}t=0different equations: correct for optimal control and sub-Riemannian geodesics, wrong for mechanical rolling

Worked examples

1 · Disk rolling down an incline — multipliers as a slip detector (confidence builder)

A uniform solid disk, M=2.0 kgM = 2.0\ \mathrm{kg}, R=0.30 mR = 0.30\ \mathrm{m}, rolls without slipping straight down a plane inclined at α=20°\alpha = 20°. The static friction coefficient is μs=0.25\mu_s = 0.25. Find the acceleration, find the friction force via the multiplier, and decide whether rolling actually holds. (This one-dimensional rolling constraint is secretly integrable — x=Rθ+constx = R\theta + \text{const} — but the multiplier machinery neither knows nor cares, and the warm-up shows every gear turning.)

Step 1. Coordinates and constraint. Let xx run down the slope and θ\theta be the roll angle; rolling means x˙−Rθ˙=0\dot x - R\dot\theta = 0, a single Pfaffian row a=(1,−R)a = (1, -R) in coordinates (x,θ)(x,\theta).

Step 2. Lagrangian, keeping both coordinates: L=12Mx˙2+12(12MR2)θ˙2+Mgxsin⁡αL = \tfrac12 M\dot x^2 + \tfrac12\big(\tfrac12 MR^2\big)\dot\theta^2 + Mgx\sin\alpha. The multiplier equations (4):

Mx¨−Mgsin⁡α=λ,12MR2θ¨=−λR.M\ddot x - Mg\sin\alpha = \lambda,\qquad \tfrac12 MR^2\ddot\theta = -\lambda R .

Step 3. Close with the constraint, x¨=Rθ¨\ddot x = R\ddot\theta. The second equation gives λ=−12Mx¨\lambda = -\tfrac12 M\ddot x; substituting into the first, Mx¨−Mgsin⁡α=−12Mx¨M\ddot x - Mg\sin\alpha = -\tfrac12 M\ddot x, so

x¨=23 gsin⁡α=23×9.81×sin⁡20°=2.24 m/s2.\ddot x = \frac{2}{3}\,g\sin\alpha = \frac{2}{3}\times 9.81 \times \sin 20° = \boxed{2.24\ \mathrm{m/s^2}} .

Step 4. The reaction. λ=−12Mx¨=−13Mgsin⁡α=−13×2.0×9.81×0.342=−2.24 N\lambda = -\tfrac12 M \ddot x = -\tfrac13 Mg\sin\alpha = -\tfrac13 \times 2.0 \times 9.81 \times 0.342 = -2.24\ \mathrm{N}: the constraint force on the xx coordinate is 2.24 N up the slope — static friction, as it must be to retard sliding and spin up the disk.

Step 5. The slip check the formalism hands you for free. Available budget: μsN=μsMgcos⁡α=0.25×2.0×9.81×cos⁡20°=4.61 N\mu_s N = \mu_s Mg\cos\alpha = 0.25 \times 2.0 \times 9.81 \times \cos 20° = 4.61\ \mathrm{N}. Required: 2.24 N<4.61 N2.24\ \mathrm{N} < 4.61\ \mathrm{N} — the disk rolls. The general threshold is tan⁡α≤3μs\tan\alpha \le 3\mu_s: this disk would break loose above α=arctan⁡(0.75)=36.9°\alpha = \arctan(0.75) = 36.9°.

2 · The turning skater — a genuinely nonholonomic orbit (exam level)

A skater of mass m=70 kgm = 70\ \mathrm{kg} glides on the blade constraint of Derivation C with along-blade speed u0=2.0 m/su_0 = 2.0\ \mathrm{m/s}, holding a steady heading rate ϕ˙=Ω=0.5 rad/s\dot\phi = \Omega = 0.5\ \mathrm{rad/s} (the free equation Iϕ¨=0I\ddot\phi = 0 preserves whatever heading rate the push established). Find the trajectory, the constraint force, and check it against the ice's grip, μs=0.15\mu_s = 0.15.

Step 1. Kinematics from the constraint. No side-slip means the velocity lies along the blade: x˙=ucos⁡ϕ\dot x = u\cos\phi, y˙=usin⁡ϕ\dot y = u\sin\phi, with ϕ=Ωt\phi = \Omega t.

Step 2. The speed is constant — and the formalism says so before any integration. Project the equations of motion mx¨=−λsin⁡ϕm\ddot x = -\lambda\sin\phi, my¨=λcos⁡ϕm\ddot y = \lambda\cos\phi along the blade: mu˙=m(x¨cos⁡ϕ+y¨sin⁡ϕ)=−λsin⁡ϕcos⁡ϕ+λcos⁡ϕsin⁡ϕ=0m\dot u = m(\ddot x\cos\phi + \ddot y\sin\phi) = -\lambda\sin\phi\cos\phi + \lambda\cos\phi\sin\phi = 0. So u=u0u = u_0. (This is equation (7) at work: scleronomic constraint, time-independent LL, energy conserved, and here energy is pure kinetic.)

Step 3. The trajectory. x˙=u0cos⁡Ωt\dot x = u_0\cos\Omega t, y˙=u0sin⁡Ωt\dot y = u_0\sin\Omega t integrate to a circle of radius

ρ=u0Ω=2.00.5=4.0 m,\rho = \frac{u_0}{\Omega} = \frac{2.0}{0.5} = \boxed{4.0\ \mathrm{m}},

traversed once every 2π/Ω=12.6 s2\pi/\Omega = 12.6\ \mathrm{s}.

Step 4. The constraint force. Project across the blade: m u0Ω=λm\,u_0\Omega = \lambda, so λ=70×2.0×0.5=70 N\lambda = 70 \times 2.0 \times 0.5 = \boxed{70\ \mathrm{N}}, directed along (−sin⁡ϕ,cos⁡ϕ)(-\sin\phi,\cos\phi) — the blade's sideways normal. Sanity check: a circle of radius 4.0 m4.0\ \mathrm{m} at speed 2.0 m/s2.0\ \mathrm{m/s} demands centripetal force mu02/ρ=70×4.0/4.0=70 Nmu_0^2/\rho = 70\times4.0/4.0 = 70\ \mathrm{N} ✓ — the "abstract" multiplier is the ice's lateral push on the blade, nothing more mysterious.

Step 5. Grip check. The ice can supply up to μsmg=0.15×70×9.81=103 N\mu_s m g = 0.15 \times 70 \times 9.81 = 103\ \mathrm{N} laterally before the blade skids: 70 N<103 N70\ \mathrm{N} < 103\ \mathrm{N}, so the carve holds. Tighten the turn to Ω=0.8 rad/s\Omega = 0.8\ \mathrm{rad/s} at the same speed and the demand rises to 112 N>103 N112\ \mathrm{N} > 103\ \mathrm{N} — the blade washes out, and every skater has felt precisely this multiplier exceed precisely this budget.

Origins · 1 minHeinrich Hertz and how this was discovered
HH
Heinrich Hertz
1857–1894 · Karlsruhe and Bonn

Hertz is immortal for the 1887 experiments that produced and detected electromagnetic waves, vindicating Maxwell and enabling radio — work done in a Karlsruhe lecture hall with spark gaps and wire loops. But his last book, written as he was dying of a blood disease at 36, belongs to mechanics: Die Prinzipien der Mechanik (published posthumously, 1894) attempted to rebuild the entire science without the concept of force, from geometry of masses and hidden motions alone. In organizing that program Hertz needed to classify constraints with total precision, and he coined the word holonomic (Greek holos + nomos, "whole law") for constraints expressible as relations among coordinates — the ones whose law is integrable, "whole" — reserving the complementary class, the rolling contacts and knife-edges, as nonholonomic. The names stuck even though the force-free program did not. Helmholtz's favorite student, professor at Bonn, discoverer along the way of the photoelectric effect and of contact mechanics (Hertzian stress), he supplied the vocabulary in which every roboticist still states why a car cannot slide into a parking spot.

History
1743
— d'Alembert's Traité de dynamique states the instant-by-instant principle that will survive where action principles fail.
1788
— Lagrange's Mécanique analytique introduces multipliers, handling constraints inside the analytical framework.
1894
— Hertz's posthumous Prinzipien der Mechanik coins "holonomic" and cleanly separates the two constraint classes.
1899
— Korteweg's critique settles a decade of confusion over rolling-body equations, fixing the constrained-variation procedure as the physical one.
2003
— Bloch's Nonholonomic Mechanics and Control codifies the geometric-control era: Lie brackets, motion planning, robotic locomotion.

Going further

References. Goldstein, Poole & Safko, Classical Mechanics, 3rd ed., §1.3–1.4, §2.4 (constraints and Lagrange multipliers) · Landau & Lifshitz, Mechanics, 3rd ed., §1–2 (variational basis) · Morin, Introduction to Classical Mechanics, Ch. 6 (Lagrangian method, constraints) · Taylor, Classical Mechanics, Ch. 7 (Lagrangian mechanics with constraints) · Bloch, Nonholonomic Mechanics and Control, Ch. 1–5

Provenance. Constraint forms, multiplier equations, and counting recomputed against Goldstein, Poole & Safko (3rd ed.) §1.3–1.4 and §2.4; energy result and the d'Alembert derivation cross-checked with Taylor Ch. 7 and Landau–Lifshitz Mechanics §1–2. The vakonomic-vs-Lagrange–d'Alembert distinction and rolling-disk/skate examples follow Bloch, Nonholonomic Mechanics and Control, Ch. 1–5. Inertia values (I3=12MR2I_3=\tfrac12 MR^2 for a thin disk about its symmetry axis) are standard textbook results. Verifier should recompute: (1) the nonintegrability (Frobenius) test for the disk and skate constraints, (2) the multiplier equations from the boxed d'Alembert derivation, (3) the energy-rate identity for scleronomic constraints. Worked-example numbers on this page (x¨=2.24 m/s2\ddot x = 2.24\ \mathrm{m/s^2}, ∣λ∣=2.24 N|\lambda| = 2.24\ \mathrm{N} vs μsN=4.61 N\mu_s N = 4.61\ \mathrm{N}, slip threshold 36.9°36.9°; skater ρ=4.0 m\rho = 4.0\ \mathrm{m}, λ=70 N\lambda = 70\ \mathrm{N} vs 103 N103\ \mathrm{N}) are illustrative arithmetic recomputed from the boxed formulas.

Builds on: Constraints and Their Classification · d'Alembert's Principle · Virtual Displacements and the Principle of Virtual Work · The Euler-Lagrange Equations · Generalized Coordinates and Configuration Space Leads to: Generalized Forces and Generalized Momenta · Cyclic Coordinates and Conservation of Conjugate Momenta · The Energy Function and Jacobi Integral · Degrees of Freedom

How do I actually test whether a given Pfaffian constraint is integrable or genuinely nonholonomic?

For a single constraint a(q)⋅dq=0\mathbf a(q)\cdot\mathrm{d}\mathbf q = 0 in three coordinates there is a one-line test: compute a⋅(∇×a)\mathbf a\cdot(\nabla\times\mathbf a). If it vanishes identically, an integrating factor exists and the constraint is holonomic in disguise; if not, it is genuinely nonholonomic. The skate row a=(−sin⁡ϕ,cos⁡ϕ,0)a = (-\sin\phi, \cos\phi, 0) gives a⋅(∇×a)=−1≠0\mathbf a\cdot(\nabla\times\mathbf a) = -1 \neq 0 — nonholonomic. In more coordinates or with several constraints the general tool is the Frobenius theorem: the constraint distribution is integrable iff it is closed under Lie brackets of its spanning vector fields. Practical shortcut: constant coefficients (like the incline's a=(1,−R)a = (1, -R)) always integrate; coefficients of one constraint depending on a coordinate that the row itself does not restrict (the skate's ϕ\phi, the disk's ϕ\phi) are the classic red flag.

If the configuration space is not reduced, what exactly IS reduced?

The velocity space. At each configuration the allowed velocities form an (n−m)(n-m)-dimensional subspace (a "distribution"), so the system has n−mn-m kinematic degrees of freedom while retaining nn configuration dimensions. The mismatch is the whole phenomenon: the disk has 4 coordinates but only 2 independent velocity directions; the skate has 3 and 2. Holonomic constraints make the two counts agree by confining motion to a lower-dimensional surface; nonholonomic constraints cannot, because cycling through allowed directions leaks motion into the "forbidden" ones. A good mental bookkeeping: count coordinates for where the system can be, count the distribution's dimension for how it can move right now.

Static friction enforces rolling — but friction dissipates energy, so how can the rolling disk conserve energy?

Because the enforcing friction acts at a contact point whose material velocity is zero. Rolling without slipping means the rim particle touching the ground is momentarily at rest, so the static friction force does no work: power = force × velocity of application point = 0. That is exactly the ideal-constraint postulate carried over from the virtual-work framework, and it is why equation (7) delivers energy conservation for the scleronomic case. Kinetic (sliding) friction is entirely different: the contact point moves, work is done, energy dissipates — and the constraint formalism no longer applies, which is why the multiplier-versus-μN\mu N check matters: it detects the moment your ideal-constraint model must be abandoned.

When would I ever WANT the vakonomic equations, if they are wrong for rolling?

Whenever the constraint is the task, not the physics. The vakonomic principle answers: among all paths satisfying the constraint, which one extremizes the integral? That is optimal control. Shortest parking maneuver for a car, minimal-effort trajectory for a wheeled robot, geodesics of sub-Riemannian geometry, even quantum control problems — all are correctly vakonomic. The confusion dissolves once you see there are two different questions about the same Pfaffian form: "how does a pushed skate actually move?" (d'Alembert — instant-by-instant force balance) versus "what is the best admissible path?" (vakonomic — global optimization). Both machines are correct; only the assignment of machine to question can be wrong.

The skate Lagrangian is symmetric under translations, so why is its linear momentum not conserved?

Because Noether's theorem, like Hamilton's principle it descends from, assumes unconstrained (or holonomically constrained) variations. The constraint force λ(−sin⁡ϕ,cos⁡ϕ)\lambda(-\sin\phi,\cos\phi) is external to the Lagrangian and breaks the conclusion even though LL itself has the symmetry: in the turning-skater example, momentum visibly rotates around the circle while the constraint force supplies exactly the required centripetal push. Nonholonomic systems generically decouple symmetry from conservation — what survives are weaker "momentum equation" statements along symmetry directions compatible with the constraint distribution. Energy is the notable exception (equation 7): it is conserved under the stated conditions because its balance never invoked path variations.

Rolling in one dimension gives a velocity constraint too — why is that not nonholonomic?

Because it integrates. The straight-line rolling constraint x˙−Rθ˙=0\dot x - R\dot\theta = 0 has constant coefficients, so it is the exact differential of f=x−Rθf = x - R\theta: the constraint is holonomic, x=Rθ+constx = R\theta + \text{const}, and you could eliminate a coordinate from the start. Worked example 1 deliberately used it anyway — the multiplier method is agnostic and produced the correct friction. Nonholonomy needs the coefficients to twist as you move: the rolling plane problem acquires cos⁡ϕ\cos\phi and sin⁡ϕ\sin\phi factors from the heading, and no function of (x,y,ϕ,θ)(x,y,\phi,\theta) has those as its partial derivatives. Rule of thumb: rolling on a line is holonomic; rolling on a plane (with steering) is not.

Do nonholonomic systems have a Hamiltonian formulation I can quantize or simulate symplectically?

Not a canonical one, and the failure is structural, not technical. Passing to the Hamiltonian side maps the Lagrange–d'Alembert equations to an "almost-Poisson" bracket that violates the Jacobi identity precisely because the constraint distribution is nonintegrable — the geometric fingerprint of nonholonomy survives the transform. Consequences: no Liouville theorem in general (phase-space volume can contract without dissipation, which is how the rattleback gets away with its spin asymmetry), standard symplectic integrators lose their guarantees (dedicated nonholonomic integrators exist), and quantization is genuinely ambiguous and still a research topic. If you meet a "Hamiltonian" treatment of a rolling body, check whether it secretly solved the vakonomic problem — that one is canonical, but it is the other machine.

Why am I not allowed to substitute the constraint into the Lagrangian before differentiating?

Because ∂L/∂q˙k\partial L/\partial\dot q_k probes how LL changes under independent wiggles of each velocity, and the constraint holds only on the actual motion, not throughout velocity space. Substituting x˙=Rθ˙\dot x = R\dot\theta into the disk's kinetic energy before differentiating collapses two velocity arguments into one and silently changes which derivatives exist — you would get the wrong equations even for the holonomic incline. The safe order is mechanical: write LL unconstrained, differentiate, then impose constraints via the rows alka_{lk} (or, if holonomic, absorb them at the coordinate-choice stage, before LL is ever written). The same discipline explains the other classic slip: al0a_{l0} drops from the virtual-displacement condition (2) only — never from the velocity constraint (1) you differentiate in the elimination step.

Before this

Where this leads