12.5 Hamilton’s principle, fields, and Noether

The calculus of variations reaches its purpose here. All of mechanics, and the field theories built on it, follow from a single variational statement: physical systems evolve along the path that makes an integral called the action stationary. Newton’s laws, conservation of energy and momentum, and the field equations of acoustics and electromagnetism are all Euler–Lagrange equations of one functional. This lesson assembles the pieces the chapter has built into that principle.

Hamilton’s principle

For a mechanical system described by a coordinate q(t)q(t), define the Lagrangian L=TUL = T - U (kinetic minus potential energy) and the action

S[q]  =  t1t2L(q,q˙,t)  dt.S[q] \;=\; \int_{t_1}^{t_2} L\big(q, \dot q, t\big)\; dt.

Hamilton’s principle states that the true motion between fixed endpoints q(t1)q(t_1) and q(t2)q(t_2) makes SS stationary, δS=0\delta S = 0. This is precisely the variational problem of 12.1 with xtx \to t, yqy \to q, FLF \to L, so its Euler–Lagrange equation is immediate:

  ddt ⁣(Lq˙)Lq  =  0.  \boxed{\;\frac{d}{dt}\!\left( \frac{\partial L}{\partial \dot q} \right) - \frac{\partial L}{\partial q} \;=\; 0.\;}
where
S[q]S[q]
the action — the functional made stationary J·s
L=TUL = T - U
the Lagrangian (kinetic minus potential energy) J
q(t)q(t)
generalised coordinate (the trajectory)
L/q˙\partial L/\partial \dot q
the generalised momentum conjugate to q kg·m/s
Euler–Lagrange for L = ½mq̇² − U(q) is Newton's law Derivation

Take the simplest mechanical Lagrangian, L=12mq˙2U(q)L = \tfrac12 m\dot q^2 - U(q). The two pieces of the Euler–Lagrange equation are

Lq˙=mq˙ddtLq˙=mq¨,Lq=dUdq.\frac{\partial L}{\partial \dot q} = m\dot q \quad\Longrightarrow\quad \frac{d}{dt}\frac{\partial L}{\partial \dot q} = m\ddot q, \qquad \frac{\partial L}{\partial q} = -\frac{dU}{dq}.

Euler–Lagrange, ddt(L/q˙)L/q=0\tfrac{d}{dt}(\partial L/\partial\dot q) - \partial L/\partial q = 0, therefore reads

mq¨+dUdq=0mq¨=dUdq=F.m\ddot q + \frac{dU}{dq} = 0 \quad\Longrightarrow\quad m\ddot q = -\frac{dU}{dq} = F.

Newton’s second law — force equals mass times acceleration — recovered as the condition that the action is stationary. The Lagrangian 12mq˙2\tfrac12 m\dot q^2 is the kinetic term of 12.1, and U-U the potential; their integral is the action the interactive below varies.

t →x ↑trajectory x(t) deformation αaction S(α)S (J·s)
S = -3.121 J·s dS/dα = 2.961 ⟨T⟩ = 8.645 · ⟨U⟩ = 11.767 J

Nudge the path off the true parabola and the action changes; at α = 0 the action is stationary (its slope vanishes). Nature's trajectory is the one that extremises ∫(T − U) dt — that is Hamilton's principle, and the Euler–Lagrange equation for it is Newton's second law.

The interactive throws a particle straight up and back under gravity. The dashed parabola is the true trajectory; deform it by α\alpha and watch the action change. At α=0\alpha = 0 — the true path — the action curve is flat: δS=0\delta S = 0. Every other path, higher or lower, changes SS. Nature’s trajectory is the stationary one, and its Euler–Lagrange equation is exactly mq¨=mgm\ddot q = -mg.

What the reformulation buys

Recasting F=maF = ma as δS=0\delta S = 0 buys concrete power beyond elegance (Physics 1.6 develops the mechanics in full):

Symmetry and conservation: Noether’s theorem

The two first integrals of 12.2 are the first glimpse of a general law. In the language of mechanics:

Noether’s theorem is the statement that these are instances of one principle: every continuous symmetry of the action corresponds to a conserved quantity, and every conservation law arises from a symmetry. Rotational symmetry gives angular momentum; the gauge symmetry of electromagnetism gives conservation of charge. Conservation laws are not separate postulates but shadows of the sameness of physics under continuous change — a result proved once, at the level of the action, and inherited by every theory written variationally.

From coordinates to fields

The final generalisation replaces the coordinate q(t)q(t) by a field ϕ(r,t)\phi(\mathbf r, t) defined at every point of space. The action integrates a Lagrangian density L\mathcal L over space and time, S=dtd3r  L(ϕ,tϕ,ϕ)S = \int dt\int d^3r\;\mathcal L(\phi, \partial_t\phi, \nabla\phi), and stationarity gives the field Euler–Lagrange equation

t ⁣(L(tϕ))+ ⁣(L(ϕ))Lϕ=0.\partial_t\!\left(\frac{\partial \mathcal L}{\partial(\partial_t\phi)}\right) + \nabla\cdot\!\left(\frac{\partial \mathcal L}{\partial(\nabla\phi)}\right) - \frac{\partial \mathcal L}{\partial\phi} = 0.

This is the equation applied in Sound 4.8 to the acoustic Lagrangian density to produce the wave equation, and it is the template for every classical field theory. Noether’s theorem carries over too, now yielding conserved currents — the acoustic energy density and intensity, the electromagnetic energy and Poynting flux — as the conserved quantities partnered to time- and space-translation symmetry of the field.

What we use this for

The calculus of variations is the mathematical foundation under a large fraction of the bookshelf:

The history — Least action, from Maupertuis to Hamilton

The idea that nature minimises something is old and was long entangled with metaphysics. Pierre-Louis Maupertuis announced a principle of least action in 1744, convinced it revealed divine economy in the universe — a claim that drew ridicule from Voltaire and a priority dispute with Euler, who had the sounder mathematics. Lagrange put the mechanics on rigorous footing in the Mécanique analytique (1788). The modern, assumption-free form is due to William Rowan Hamilton, whose 1834–35 papers stated the principle as the stationarity (not necessarily minimum) of the action integral and unified optics and mechanics under it. Stripped of metaphysics, Hamilton’s principle became the organising statement of theoretical physics: not that nature is thrifty, but that its laws are the Euler–Lagrange equations of an action.

That closes the chapter, and with it the variational thread that runs from a bead on a wire to the field equations of acoustics. The calculus of variations is the one idea — extremise a functional — from which Newton’s law, Snell’s law, the catenary, the wave equation, and the conservation laws all descend.