Hamilton's principle/Mathematics/Several dependent variables: Difference between revisions
m 1 revision imported |
Add DISPLAYTITLE: title the page by its section rather than its path |
||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:Several dependent variables}} | |||
{{Plebeian|Hamilton's principle/Explainers/More than one variable}} | {{Plebeian|Hamilton's principle/Explainers/More than one variable}} | ||
| Line 175: | Line 176: | ||
<references /> | <references /> | ||
Revision as of 04:46, 16 September 2026
A mechanical system rarely has one degree of freedom. This page extends the machinery to an integrand depending on unknown functions of a single independent variable. The result is a system of Euler-Lagrange equations, one per unknown, and this is the form in which Hamilton's principle is actually stated for mechanics.
Setup

Let be functions of on , each in , with all endpoint values prescribed:
Let have continuous second partials in all slots, and define
The variation space is now copies of the earlier one: each with , and the are independent of one another. That independence is the whole content of what follows.
Derivation
Form the family , differentiate under the integral, and set :
Integrate each term of the second kind by parts. Every boundary term vanishes, since every vanishes at both ends:
Stationarity requires (4) to vanish for every choice of the variations. Here is the step that needs care.
Select one index at a time. Fix and choose for all , with arbitrary. This is legitimate precisely because the are independent. The sum in (4) collapses to its -th term, and the fundamental lemma of Hamilton's principle/Mathematics/The fundamental lemma gives
Repeating for each yields equations.
The single-index trick fails under constraints. If the are related — a bead confined to a wire, a rigid rod between two masses — then the are not independent, cannot be varied alone, and (5) does not follow. That case is Hamilton's principle/Mathematics/Holonomic constraints, and the repair is Hamilton's principle/Mathematics/Lagrange multipliers. Everything in this page rests on independence, and it is worth knowing exactly where.
Counting
(5) is a system of coupled second-order equations, so its general solution carries constants. The endpoint data (1) supplies exactly conditions. The count matches again, as it did for one variable.
Coupling enters through the mixed partials . Expanding the total derivative in (5),
The matrix is the Hessian with respect to the derivatives. The system can be solved for the if and only if is invertible. This is the -variable non-degeneracy condition, and its definiteness version is the Legendre condition of Hamilton's principle/Mathematics/The Legendre condition. A singular signals a constrained or gauge system, which is where Hamilton's principle/Mathematics/Noether's second theorem applies.
First integrals
Both results from the one-variable case generalise, with the same proofs.
If does not contain , then
and is called a cyclic or ignorable coordinate.
If does not contain , then
which is the -variable Beltrami identity of Hamilton's principle/Mathematics/The Beltrami identity, and is the Hamiltonian.
Hamilton's own form
This is the form in which the historical statement is made. Hamilton writes the equations of motion of a system of free points as a single formula,
and after transforming to general marks of position he arrives at
Equation (10) is (5) with , allowing for Hamilton's sign convention on the force-function. The correspondence between his notation and this volume's is tabulated on Hamilton's principle/Notation.
Worked example: the free particle in the plane
Take as time , coordinates , and
Neither coordinate appears in , so both are cyclic and (7) gives , . Both momentum components are conserved and the path is a straight line traversed at constant speed.
does not appear either, so (8) applies as well and gives . That is energy conservation, and it is not independent of the momentum results here — it follows from them. Independent symmetries need not give independent first integrals, a point Noether makes explicitly and which is taken up on Hamilton's principle/Mathematics/Noether's first theorem.
Next
Hamilton's principle/Mathematics/Several independent variables takes the remaining step, from ordinary to partial differential equations.
References
- ↑ Hamilton, On a General Method in Dynamics (1834), equation (1.). Verbatim. The summation runs over the points of the system; is the force-function.
- ↑ Hamilton, On a General Method in Dynamics (1834), equation (Y.). Verbatim in structure, with Hamilton's used for partial differentiation as he writes it. Hamilton remarks that these coincide, apart from a slight difference of notation, with the canonical forms of Lagrange.