Hamilton's principle/Mathematics/Several dependent variables: Difference between revisions
m 1 revision imported |
Remove phrase duplicated by the piped link |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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 55: | Line 56: | ||
<math>\eta_k</math> arbitrary. This is legitimate precisely because the | <math>\eta_k</math> arbitrary. This is legitimate precisely because the | ||
<math>\eta_i</math> are independent. The sum in (4) collapses to its | <math>\eta_i</math> are independent. The sum in (4) collapses to its | ||
<math>k</math>-th term, and | <math>k</math>-th term, and [[Hamilton's principle/Mathematics/The fundamental lemma|the fundamental lemma]] gives | ||
[[Hamilton's principle/Mathematics/The fundamental lemma]] gives | |||
:<math>\frac{\partial L}{\partial y_k} | :<math>\frac{\partial L}{\partial y_k} | ||
| Line 69: | Line 69: | ||
<math>\eta_i</math> are not independent, <math>\eta_k</math> cannot be varied | <math>\eta_i</math> are not independent, <math>\eta_k</math> cannot be varied | ||
alone, and (5) does not follow. That case is | alone, and (5) does not follow. That case is | ||
[[Hamilton's principle/Mathematics/Holonomic constraints]], and the repair is | [[Hamilton's principle/Mathematics/Holonomic constraints|Holonomic constraints]], and the repair is | ||
[[Hamilton's principle/Mathematics/Lagrange multipliers]]. Everything in this | [[Hamilton's principle/Mathematics/Lagrange multipliers|Lagrange multipliers]]. Everything in this | ||
page rests on independence, and it is worth knowing exactly where. | page rests on independence, and it is worth knowing exactly where. | ||
| Line 95: | Line 95: | ||
<math>n</math>-variable non-degeneracy condition, and its definiteness version is | <math>n</math>-variable non-degeneracy condition, and its definiteness version is | ||
the Legendre condition of | the Legendre condition of | ||
[[Hamilton's principle/Mathematics/The Legendre condition]]. A singular | [[Hamilton's principle/Mathematics/The Legendre condition|the Legendre condition]]. A singular | ||
<math>W</math> signals a constrained or gauge system, which is where | <math>W</math> signals a constrained or gauge system, which is where | ||
[[Hamilton's principle/Mathematics/Noether's second theorem]] applies. | [[Hamilton's principle/Mathematics/Noether's second theorem|Noether's second theorem]] applies. | ||
== First integrals == | == First integrals == | ||
| Line 116: | Line 116: | ||
which is the <math>n</math>-variable Beltrami identity of | which is the <math>n</math>-variable Beltrami identity of | ||
[[Hamilton's principle/Mathematics/The Beltrami identity]], and is the | [[Hamilton's principle/Mathematics/The Beltrami identity|the Beltrami identity]], and is the | ||
Hamiltonian. | Hamiltonian. | ||
| Line 145: | Line 145: | ||
Equation (10) is (5) with <math>L = T + U</math>, allowing for Hamilton's sign | Equation (10) is (5) with <math>L = T + U</math>, allowing for Hamilton's sign | ||
convention on the force-function. The correspondence between his notation and | convention on the force-function. The correspondence between his notation and | ||
this volume's is tabulated on [[Hamilton's principle/Notation]]. | this volume's is tabulated on [[Hamilton's principle/Notation|Notation]]. | ||
== Worked example: the free particle in the plane == | == Worked example: the free particle in the plane == | ||
| Line 165: | Line 165: | ||
it follows from them. Independent symmetries need not give independent first | it follows from them. Independent symmetries need not give independent first | ||
integrals, a point Noether makes explicitly and which is taken up on | integrals, a point Noether makes explicitly and which is taken up on | ||
[[Hamilton's principle/Mathematics/Noether's first theorem]]. | [[Hamilton's principle/Mathematics/Noether's first theorem|Noether's first theorem]]. | ||
== Next == | == Next == | ||
[[Hamilton's principle/Mathematics/Several independent variables]] takes the | [[Hamilton's principle/Mathematics/Several independent variables|Several independent variables]] takes the | ||
remaining step, from ordinary to partial differential equations. | remaining step, from ordinary to partial differential equations. | ||
| Line 175: | Line 175: | ||
<references /> | <references /> | ||
Latest revision as of 05:15, 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 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 Holonomic constraints, and the repair is 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 the Legendre condition. A singular signals a constrained or gauge system, which is where 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 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 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 Noether's first theorem.
Next
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.