Hamilton's principle/Mathematics/Several independent 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 independent variables}} | |||
{{Plebeian|Hamilton's principle/Explainers/More than one variable}} | {{Plebeian|Hamilton's principle/Explainers/More than one variable}} | ||
| Line 202: | Line 203: | ||
<references /> | <references /> | ||
Revision as of 04:46, 16 September 2026
The last extension of the machinery replaces the interval by a domain and the single independent variable by several. The Euler-Lagrange equation becomes a partial differential equation, and the boundary term becomes a surface integral handled by the divergence theorem. This is the form in which every field theory in the applications track is written.
Setup

Let be a bounded domain with piecewise smooth boundary , with points written . Let be twice continuously differentiable, with prescribed boundary values
Write . Let have continuous second partials and define
Variations vanish on the whole boundary.
Derivation

Differentiating at ,
Integration by parts is now the product rule plus the divergence theorem. Write . Then
Integrating (4) over and applying the divergence theorem to the left side,
with the outward unit normal. The surface integral vanishes because on . Substituting the resulting expression into (3),
By the multidimensional form of the fundamental lemma, given on Hamilton's principle/Mathematics/The fundamental lemma, the bracket vanishes:
Equation (7) is the Euler-Lagrange equation for a field. It is a second-order partial differential equation. The structure is the same as the one-dimensional case throughout: differentiate under the integral, move the derivative off the variation, discard a boundary term, apply the lemma.
Several fields
With fields , independent variations give one equation per field, by the same select-one-index argument as on Hamilton's principle/Mathematics/Several dependent variables:
The boundary term does not always vanish
Two situations leave the surface integral in (5) standing, and both matter later.
Free boundary. If is unprescribed on part of , the argument of Hamilton's principle/Mathematics/Boundary terms and natural boundary conditions applies and yields the natural condition
Second derivatives in . If contains , two integrations by parts are needed and the surface term involves the normal derivative of , which does not vanish merely because does. The Einstein-Hilbert action is exactly this case, and the standard remedy is to add a compensating surface term. That is taken up on Hamilton's principle/Applications/The Einstein-Hilbert action.
Divergences and conservation
The combination appearing in (4),
is not an artefact of the derivation. It is the object Noether's theorems are about. Noether writes the identity produced by partial integration as
where the are the Lagrange expressions, that is, the left sides of (8).[1]
Her first theorem states that invariance of under a -parameter group makes independent combinations of the Lagrange expressions into divergences. Setting the field equations then gives , and Noether notes that these divergence equations are what have lately been called laws of conservation.[2]
In one independent variable a divergence is a total derivative and reduces to , which recovers the first integrals of Hamilton's principle/Mathematics/The Euler-Lagrange equation. Conservation laws in field theory and first integrals in mechanics are one result read in two dimensions of the independent variable. This is developed on Hamilton's principle/Mathematics/Noether's first theorem.
Worked example: the vibrating string
Let be the transverse displacement of a string of linear density under tension . The Lagrangian density is kinetic minus potential energy per unit length:
contains no , so . The two derivative slots give and . Substituting into (7) with ,
that is
the wave equation, with speed . The full treatment, including a free end and the natural condition (9), is on Hamilton's principle/Applications/Continuum systems: the vibrating string.
The machinery track is complete
Eight pages have carried the subject from the definition of a functional to a field equation. Everything after this point either constrains the machinery (Hamilton's principle/Mathematics/Holonomic constraints), asks whether an extremal is actually a minimum (Hamilton's principle/Mathematics/The second variation), restructures it (Hamilton's principle/Mathematics/The Legendre transform), or applies it.
No page in this track has established that any extremal minimises anything. That is the correct state of the subject at this depth, and it is why this volume says stationary rather than least.
Next
Hamilton's principle/Mathematics/Holonomic constraints opens the second mathematics track.