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.
- Nonholonomic constraints restrict velocities through nonintegrable Pfaffian relations 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 for virtual displacements obeying the instantaneous condition .
- Multipliers then deliver : the right-hand side is the generalized constraint force, and 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 directions.
- Energy is still conserved when the constraints are scleronomic () and the Lagrangian is time-independent, even though no action principle applies.
- Key idea: constrain the VIRTUAL DISPLACEMENTS, not the varied paths — impose inside d'Alembert's principle to get , which is physically correct and genuinely different from extremizing .
For nonholonomic systems you must constrain the VIRTUAL DISPLACEMENTS, not the varied paths: impose inside d'Alembert's principle. This gives — physically correct, and distinct from naively extremizing .
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 versus 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.
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 , and the system is genuinely nonholonomic. (In control theory this is exactly the Lie-bracket test; mechanics knows it as the Frobenius condition.)
One more piece of intuition, because it pays rent later: the Lagrange multiplier in this formalism is not bookkeeping — it is the reaction. For a rolling wheel, is the static friction at the contact enforcing "no slip". Solving for tells you the force the contact must supply, and comparing it against the available budget 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 of them, on generalized coordinates:
where: — generalized coordinates, ; — constraint coefficients (functions of ); — 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 -dimensional slice. If the whole row happens to be the differential of some function , the constraint silently integrates to and is holonomic in disguise; the interesting case is when no such 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 to get ; a virtual displacement replaces while , since time is held fixed during the variation. The inhomogeneous term dies, leaving
where: — virtual displacements at fixed time, . This little asymmetry between (1) and (2) is physical, not pedantic: on a moving constraint the real motion has a compulsory component (the 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 and the standard kinetic-energy identity, the principle becomes its Lagrangian form:
where: — the Lagrangian of the unconstrained problem, written in all coordinates. For a holonomic system the 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
where: — 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:
where: — the reaction conjugate to . Note the geometry: each constraint's force points along its own coefficient row , i.e. perpendicular (in the virtual-work sense) to every allowed displacement — the workless-reaction postulate made algebraic. Counting closes the system:
where: nothing was eliminated — unlike the holonomic strategy of absorbing constraints into fewer coordinates, the nonholonomic strategy keeps all coordinates and pays with extra unknowns. The payment is refunded with interest: the are the contact forces you usually want anyway. Finally, energy. Define the energy (Jacobi) function and differentiate along the motion:
where: the reaction-power term evaluates, using (5) and then (1), to . So for scleronomic constraints () with a time-independent Lagrangian, 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 () does not. The full story of lives in the Jacobi-integral article.
Which statement answers which question
| you want | use | notes |
|---|---|---|
| test a constraint for holonomy | integrability of (1): Frobenius / curl test | integrable → absorb the constraint, ordinary Lagrange |
| equations of motion, nonholonomic | Lagrange–d'Alembert with multipliers, eq. (4) | constrain , never the action |
| the contact force | , eq. (5) | solve (4)+(1), read off ; compare to |
| energy bookkeeping | eq. (7) | conserved iff and |
| shortest admissible path, optimal control | vakonomic principle | a different problem — correct there, wrong for rolling |
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:
Why we cannot just drop the sum: only of the probes are independent; the brackets multiplying the dependent probes could be nonzero and still sum to zero. The holonomic shortcut is unavailable by construction.
Step 2. Add zero, times. For arbitrary functions , the quantity vanishes for every admissible probe, by (2). Subtracting it inside the sum changes nothing:
Why this is progress: the bracket now contains adjustable dials. We have traded a constrained statement about brackets for an unconstrained opportunity.
Step 3. Spend the dials. Order the coordinates so the last probes are the dependent ones. Choose the multipliers to make precisely those brackets vanish — an linear solve, possible whenever the constraints (2) are independent. Why the solve is guaranteed: independence of the constraint rows means the block of coefficients 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 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 brackets vanish:
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 conditions to exact differentials reproduces the holonomic multiplier equations, and setting 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 and radius rolling upright on a horizontal plane. Four coordinates describe it: the contact point , the heading angle (the direction the disk is rolling toward), and the spin angle about its own axle. Rolling without slipping welds the contact velocity to the spin:
where: the factor is the rim speed and 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
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 -dependent terms conspire to cancel, and that cancellation is the physics.
Step 1. Constraints in Pfaffian form. From (8), and , so in the coordinate order the coefficient rows are
Step 2. Certify nonholonomy. Suppose some had . Then , yet the -coefficient depends on — 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 with a different spin angle — 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):
with the spin inertia about the axle and 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:
Why the equation carries no multiplier: both constraint rows have zero in the slot — no constraint restricts the heading rate — so the heading turns freely and uniformly, .
Step 5. Eliminate the multipliers. Differentiate the constraints (8): and . Insert , into the equation:
Why the velocity terms vanished: the and contributions cancel identically — turning the heading costs no rolling speed.
Step 6. Read off the motion. : the disk rolls at constant spin rate . With constant, the contact point traces a circle of radius (a straight line if ). The multipliers evaluate to
with the rolling speed: the contact friction is exactly the centripetal force that bends the rolling path into its circle. Free rolling costs no friction at all when the path is straight (, ). 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 you learned that adjoining to the Lagrangian and extremizing works perfectly. It is deeply tempting to do the same with a velocity constraint: write 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.
Go deeper · Derivation C · 2 minSkate 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 and moment of inertia on frictionless-except-for-the-blade ice: coordinates , with the single constraint that the blade cannot slip sideways. The strategy: run both machines on the same constraint and compare the 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 :
The row depends on while its -slot is zero — the same mixed-partials obstruction as the disk: genuinely nonholonomic.
Step 2. Lagrange–d'Alembert machine. With , equation (4) gives
Why is the signature: the constraint row has nothing in the 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 over paths. Because now multiplies velocity terms with -dependent coefficients, the variation picks up new pieces:
with the along-blade speed, and the equations likewise acquire terms (, etc.). The heading is now driven whenever — 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 in both machines recovers the same free motion, confirming the discrepancy is purely constraint-borne.
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| integrable Pfaffian → holonomic | the constraint reduces to ; eliminate a coordinate, and Lagrange–d'Alembert coincides with ordinary Lagrangian mechanics | |
| no constraints () | multiplier terms vanish; the free Euler–Lagrange equations return | |
| scleronomic, workless constraints | energy (Jacobi function) conserved with no variational principle anywhere in sight | |
| straight-line rolling | disk with : | uniform straight rolling needs zero friction — the constraint is enforced for free |
| vakonomic dynamics | different 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, , , rolls without slipping straight down a plane inclined at . The static friction coefficient is . Find the acceleration, find the friction force via the multiplier, and decide whether rolling actually holds. (This one-dimensional rolling constraint is secretly integrable — — but the multiplier machinery neither knows nor cares, and the warm-up shows every gear turning.)
Step 1. Coordinates and constraint. Let run down the slope and be the roll angle; rolling means , a single Pfaffian row in coordinates .
Step 2. Lagrangian, keeping both coordinates: . The multiplier equations (4):
Step 3. Close with the constraint, . The second equation gives ; substituting into the first, , so
Step 4. The reaction. : the constraint force on the 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: . Required: — the disk rolls. The general threshold is : this disk would break loose above .
2 · The turning skater — a genuinely nonholonomic orbit (exam level)
A skater of mass glides on the blade constraint of Derivation C with along-blade speed , holding a steady heading rate (the free equation preserves whatever heading rate the push established). Find the trajectory, the constraint force, and check it against the ice's grip, .
Step 1. Kinematics from the constraint. No side-slip means the velocity lies along the blade: , , with .
Step 2. The speed is constant — and the formalism says so before any integration. Project the equations of motion , along the blade: . So . (This is equation (7) at work: scleronomic constraint, time-independent , energy conserved, and here energy is pure kinetic.)
Step 3. The trajectory. , integrate to a circle of radius
traversed once every .
Step 4. The constraint force. Project across the blade: , so , directed along — the blade's sideways normal. Sanity check: a circle of radius at speed demands centripetal force ✓ — 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 laterally before the blade skids: , so the carve holds. Tighten the turn to at the same speed and the demand rises to — 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
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.
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 ( 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 (, vs , slip threshold ; skater , vs ) 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 in three coordinates there is a one-line test: compute . If it vanishes identically, an integrating factor exists and the constraint is holonomic in disguise; if not, it is genuinely nonholonomic. The skate row gives — 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 ) always integrate; coefficients of one constraint depending on a coordinate that the row itself does not restrict (the skate's , the disk's ) 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 -dimensional subspace (a "distribution"), so the system has kinematic degrees of freedom while retaining 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- 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 is external to the Lagrangian and breaks the conclusion even though 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 has constant coefficients, so it is the exact differential of : the constraint is holonomic, , 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 and factors from the heading, and no function of 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 probes how changes under independent wiggles of each velocity, and the constraint holds only on the actual motion, not throughout velocity space. Substituting 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 unconstrained, differentiate, then impose constraints via the rows (or, if holonomic, absorb them at the coordinate-choice stage, before is ever written). The same discipline explains the other classic slip: drops from the virtual-displacement condition (2) only — never from the velocity constraint (1) you differentiate in the elimination step.