Jump to content

Hamilton's principle/Mathematics/Several independent variables

From The Invariance Itself
Revision as of 05:05, 9 September 2026 by BFP Rauch (talk | contribs) (1 revision imported)
Plain-language version: More than one variable

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

The boundary term in one dimension and in a field.

Let Ω⊂ℝm be a bounded domain with piecewise smooth boundary ∂Ω, with points written x=(x1,…,xm). Let u:Ω→ℝ be twice continuously differentiable, with prescribed boundary values

u=u0on ∂Ω(1)

Write u,α=∂u/∂xα. Let L(x,u,u,α) have continuous second partials and define

J[u]=∫ΩL(x,u,u,α)dmx(2)

Variations η∈C2(Ω¯) vanish on the whole boundary.

Derivation

From one independent variable to several.

Differentiating J[u+εη] at ε=0,

δJ=∫Ω[∂L∂uη+∑α=1m∂L∂u,αη,α]dmx(3)

Integration by parts is now the product rule plus the divergence theorem. Write Aα=(∂L/∂u,α)η. Then

∑α∂Aα∂xα=∑α∂L∂u,αη,α+∑α∂∂xα(∂L∂u,α)η(4)

Integrating (4) over Ω and applying the divergence theorem to the left side,

∫∂Ω∑α∂L∂u,αηnαdS=∫Ω∑α∂L∂u,αη,αdmx+∫Ω∑α∂∂xα(∂L∂u,α)ηdmx(5)

with nα the outward unit normal. The surface integral vanishes because η=0 on ∂Ω. Substituting the resulting expression into (3),

δJ=∫Ω[∂L∂u−∑α=1m∂∂xα(∂L∂u,α)]ηdmx(6)

By the multidimensional form of the fundamental lemma, given on Hamilton's principle/Mathematics/The fundamental lemma, the bracket vanishes:

∂L∂u−∑α=1m∂∂xα(∂L∂u,α)=0(7)

◼

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 N fields u1,…,uN, independent variations give one equation per field, by the same select-one-index argument as on Hamilton's principle/Mathematics/Several dependent variables:

∂L∂ui−∑α=1m∂∂xα(∂L∂ui,α)=0,i=1,…,N(8)

The boundary term does not always vanish

Two situations leave the surface integral in (5) standing, and both matter later.

Free boundary. If u is unprescribed on part of ∂Ω, the argument of Hamilton's principle/Mathematics/Boundary terms and natural boundary conditions applies and yields the natural condition

∑α∂L∂u,αnα=0on that part(9)

Second derivatives in L. If L contains u,αβ, 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),

DivA=∑α=1m∂Aα∂xα(10)

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

∑ψiδui=δf+DivA(11)

where the ψi are the Lagrange expressions, that is, the left sides of (8).[1]

Her first theorem states that invariance of J under a ρ-parameter group makes ρ independent combinations of the Lagrange expressions into divergences. Setting the field equations ψi=0 then gives DivB=0, 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 DivB=0 reduces to B=const, 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 u(x,t) be the transverse displacement of a string of linear density ρ under tension τ. The Lagrangian density is kinetic minus potential energy per unit length:

L=12ρu,t2−12τu,x2(12)

L contains no u, so ∂L/∂u=0. The two derivative slots give ∂L/∂u,t=ρu,t and ∂L/∂u,x=−τu,x. Substituting into (7) with (x1,x2)=(t,x),

0−∂∂t(ρu,t)−∂∂x(−τu,x)=0(13)

that is

ρu,tt=τu,xx(14)

the wave equation, with speed c=τ/ρ. 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.

References

  1. ↑ Noether, Invariante Variationsprobleme (1918), equation (3), in Tavel's translation. Verbatim in structure and notation.
  2. ↑ Noether, Invariante Variationsprobleme (1918), §1 and §3, Tavel translation. Verbatim phrase.