Hamilton's principle/Mathematics/Lagrange multipliers
The method of multipliers restores the independence that a constraint destroys. It buys back the select-one-index argument by introducing one new unknown function per constraint, and it returns the constraint forces as a by-product. This page derives the method for the holonomic constraints defined on Hamilton's principle/Mathematics/Holonomic constraints.
Statement

Theorem. Let be stationary for
among admissible paths satisfying the independent holonomic constraints . Then there exist functions such that is stationary for the augmented functional
with and now varied independently.
Derivation for one constraint
Take and drop the index. From Hamilton's principle/Mathematics/Holonomic constraints, stationarity gives
for every variation obeying the admissibility condition
Step 1. Pick an index the constraint actually constrains. By the rank assumption there is some index — relabel it — with on the interval. Solve (4) for :
The first variations are now free, and the last is determined by them.
Step 2. Define the multiplier so as to kill the -th term. Set
This is a definition, not an assumption. is whatever (6) says it is, and it is continuous because and the partial are. By construction,
so the -th equation of the target system holds automatically.
Step 3. Substitute and use the freedom. Add to (3), which is legitimate because that integral is zero by (4):
The term vanishes identically by (7), leaving a sum over whose variations are free by Step 1. The select-one-index argument now applies, and the fundamental lemma gives
Together with (7), the relation holds for all indices.
The pattern is worth naming: one index is spent buying freedom for the rest. The multiplier is defined precisely so that the spent index costs nothing, and the remaining indices are then unconstrained. With constraints, indices are spent and the same argument runs with an invertible block in place of the single nonzero partial.
Why the augmented functional works
Varying (2) with respect to gives (9) directly, since contains no and contributes only to the equation. Varying with respect to gives
which returns the constraint. So the augmented problem is unconstrained in unknowns, and its stationarity conditions are the equations (9) plus the constraints. The count balances, and the constraint is enforced by a variation rather than by restricting the admissible set.
That last point is the conceptual content of the method. A restriction on the domain has been traded for an addition to the integrand.
The multiplier is the constraint force
Equation (9) reads . The right side is normal to the constraint surface, with setting its magnitude. So is not bookkeeping: it is the force the constraint exerts, in the units the coordinates imply, and it is usually the answer the engineer wanted.
Worked example: the pendulum, with tension
Return to the system of Hamilton's principle/Mathematics/Holonomic constraints:
Then and , and (9) gives
together with . Substituting , into (12) and combining so as to eliminate reproduces
as before. Combining the other way, so as to keep , gives
and the rod tension is , containing both the weight component and the centripetal term. The elimination method on the previous page produced (13) and could not produce (14). That is the practical case for multipliers.
Constant multipliers
In (2) the multipliers are functions of , because the constraint is imposed at every point. A different kind of constraint fixes a single number — the total length of a curve, the total mass of a distribution — and is imposed once rather than pointwise. Its multiplier is then a single constant. Those are isoperimetric constraints, and they are the subject of Hamilton's principle/Mathematics/Isoperimetric problems.
Confusing the two is a common error. The test is whether the constraint is one equation per point or one equation for the whole path.
Historical note
The method is Lagrange's, and multipliers appear in the Mécanique analytique as the device by which the equations of constrained systems are written without first eliminating coordinates. Hamilton reproduces the technique in the 1834 essay, introducing factors to adjoin the equations of condition before decomposing the variation.[1]
Provenance: the attribution to Lagrange is editorial. The Mécanique analytique rows of the survey on Hamilton's principle/Sources are PROVISIONAL, and the 1788 and 1811 editions are tracked separately because they differ substantially. No equation on this page is attributed to either edition. The Hamilton citation is ESTABLISHED.
Next
Hamilton's principle/Mathematics/Isoperimetric problems treats the constant-multiplier case.
References
- ↑ Hamilton, On a General Method in Dynamics (1834), equations (31.) to (D1.). The multipliers are Hamilton's and . ESTABLISHED source.