Theoremadvanced
Gauss principle of least constraint
Also called Gauss principle.
For ideal constraints, the true acceleration minimizes (x - a)^T M (x - a) over the accelerations the constraints allow, where a is the acceleration without constraints.
The Gauss principle of least constraint says that a mechanical system with ideal constraints accelerates in the way that differs least from its free motion, where the difference is measured with the mass matrix. If is the acceleration the system would have without the constraints, the true acceleration minimizes over all accelerations that the constraints allow. So constrained dynamics is a quadratic program at each instant. Udwadia and Kalaba (1992) solved this program in closed form.
Statement
Let a system have generalized coordinates and the equation of motion , where is symmetric positive definite, collects all applied, Coriolis, centripetal and gravity forces (for a robot, ), and is the generalized force of the constraints. Let the constraints, holonomic or nonholonomic, be written at the level of accelerations as
with , and assume that this linear system has at least one solution. (A holonomic constraint is differentiated twice and a Pfaffian constraint once.) Assume the constraints are ideal: for every with .
Let be the unconstrained acceleration. Then the true acceleration is the unique minimizer of
For every feasible , . If has full row rank, the minimizer is
and in general it is , where is the Moore-Penrose pseudoinverse (Udwadia and Kalaba 1992).
For particles with masses , applied forces and accelerations , Gauss's original form says that the quantity is smallest for the true motion among all accelerations that the constraints allow.
In plain words
Imagine the system with its constraints removed. Each part would accelerate in its own way, pushed only by the applied forces. The constraints stop that. The principle says that nature corrects the free motion as little as possible, and it counts a correction to a heavy part as more costly than the same correction to a light part. So the real motion is the allowed motion that is closest to the free motion, with mass as the measure of distance.
Proof
Ideal constraints give . The condition for all says that lies in , and . So for some , the Lagrange multipliers of the constraints.
The true acceleration is feasible and minimal. From the equation of motion, , and . Let be any feasible acceleration, so . Write and expand:
The middle term is . So , with equality only when because is positive definite.
The closed form. The problem is a strictly convex quadratic program with linear equality constraints, so its KKT conditions are necessary and sufficient: and . The first gives . Put this in the second: . If has full row rank, is positive definite, so , which gives the formula. In general, substitute : the problem becomes the minimum-norm solution of , which is , and .
Consequences
A worked example: the Atwood machine. Two masses kg and kg hang on the two ends of a string over a massless pulley without friction. Their heights are and , measured upward. Without the string, both fall: m/s. The string keeps constant, so and . With :
The light mass rises at and the heavy mass falls at . The multiplier N is the tension in the string, which matches the textbook value . The minimum is (that is, ). The feasible acceleration gives , and the difference equals , as the statement says.
Constrained robots. For a robot with closed loops or contacts that do not slide, the equation with (Lynch and Park, Section 8.7) is the KKT system of the Gauss program. Forward dynamics of a constrained robot can therefore be computed by one solve of , or by a quadratic program solver.
Unilateral contact. If a contact can separate, the constraint is an inequality on the normal accelerations of the active contacts. Minimizing over this set gives the frictionless contact problem at the acceleration level, and its KKT conditions are a linear complementarity problem; see rigid contact complementarity. Some physics engines, MuJoCo among them, build their contact solvers on the Gauss objective.
A free system. With no applied forces, , and the principle reduces to Hertz's principle of least curvature: the system moves along the straightest path that the constraints allow.
Tightness
Friction breaks the principle. A block rests on a slope of angle degrees with a friction coefficient . Coulomb friction holds it, because , so its true acceleration is . The constraint that it stays on the slope allows any acceleration along the slope, and the Gauss program picks the frictionless one, m/s down the slope. The friction force does work on allowed motions, so it is not ideal, and the proof fails at its first step.
Rank. If does not have full row rank (redundant constraints, as in a table with four legs), the acceleration is still unique, because is positive definite and the feasible set is an affine set. The total constraint force is also unique, but the multipliers are not. So the share of each redundant constraint, such as the load on each leg, is not fixed by the rigid model. Any rule that picks one is a modeling choice, not a law of physics.
Consistency. If has no solution, for example two constraints that ask for different accelerations of the same point, the program is infeasible and the model is wrong.
Positive definiteness. If is only positive semidefinite (a link with no mass and no inertia), is not strictly convex and the minimizer can fail to be unique.
History
Gauss published the principle in 1829 in a four-page paper in Crelle's journal, for a system of particles, and presented it as a new general law of mechanics equivalent to d'Alembert's principle. Hertz later stated the principle of least curvature for systems without forces. The Gibbs-Appell equations, from the late nineteenth century, are an equivalent form. Udwadia and Kalaba (1992) wrote the minimizer in closed form with the Moore-Penrose inverse, which gives the constraint forces without first choosing which coordinates to eliminate. In robotics, the constrained equation is standard (Lynch and Park, Section 8.7), and the Gauss form is used in contact simulation.
References
- Carl Friedrich Gauss, Über ein neues allgemeines Grundgesetz der Mechanik, Journal für die reine und angewandte Mathematik 4, 232-235, 1829, the whole paper (the principle stated for a system of particles)
- Firdaus E. Udwadia and Robert E. Kalaba, A new perspective on constrained motion, Proceedings of the Royal Society of London A 439(1906), 407-410, 1992, the whole paper (the explicit equation of constrained motion with the Moore-Penrose inverse)
- Kevin M. Lynch and Frank C. Park, Modern Robotics, Mechanics, Planning, and Control, Cambridge University Press, 2017, Chapter 8, Section 8.7 (constrained dynamics)
- Mark W. Spong, Seth Hutchinson and M. Vidyasagar, Robot Modeling and Control, second edition, Wiley, 2020, Chapter 6, Section 6.1.2 (holonomic constraints and virtual work) and Section 6.1.3 (D'Alembert's principle)
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 81FG3K Edit this page History Report an error Markdown