4.8 Route 4 — from Hamilton’s principle
The fourth and final route to the acoustic wave equation. Instead of Newton’s second law for a slab (route 1), or coupled oscillators (route 2), or molecular momentum flux (route 3), we start from a variational principle: the action
is stationary on physical trajectories. Out falls the wave equation, and — by Noether’s theorem — the conserved energy and momentum currents of the field. This is a payoff routes 1–3 cannot give.
This is the deepest route, and intentionally last. It plants the seeds for chapter 5 (energy and momentum carried by sound waves) and shows how acoustics fits into the same framework as classical field theory, electromagnetism, and general relativity.
The acoustic Lagrangian density
For a linearised compressible fluid with velocity potential (where and ), the Lagrangian density is
Two terms. The first is the kinetic energy density of the local fluid motion ( with , but actually in this potential formulation — see derivation). The second is the potential energy density stored in the compression. Subtracting potential from kinetic, as Lagrangian mechanics always does.
The Euler–Lagrange equation
For a field with Lagrangian density , the Euler–Lagrange equation is
Apply to our :
- . Its time derivative is .
- . Its divergence is .
- .
Putting it together:
i.e.
The acoustic wave equation, for the velocity potential. Since , the same equation holds for (apply to both sides).
▶ Where the Lagrangian density comes from
A self-contained justification: the linearised continuity and Euler equations are equivalent to a single equation for the velocity potential . From Euler, , and substituting and makes the equation an identity (both sides become ). From continuity, . Use to get . Combining, , i.e. the wave equation for .
A Lagrangian density that produces this wave equation via the Euler–Lagrange equation is, up to total time derivatives,
Physically the two terms are kinetic and potential energy densities of the perturbation field. The verification: compute the equations of motion, recover the wave equation.
What Noether gives us for free
Hamilton’s principle is the gateway to symmetries and conservation laws via Noether’s theorem. Three immediate fruits:
- Energy conservation (from time-translation invariance):
This is the acoustic energy density — kinetic plus potential. Its time evolution satisfies a continuity equation , with energy flux . The product is the acoustic intensity (we will use this name in chapter 5).
-
Momentum conservation (from space-translation invariance): the wave carries momentum, with density and flux derivable from the same Lagrangian. Radiation pressure on an obstacle (lesson 5.6) is the macroscopic consequence.
-
Lorentz-like symmetries. The wave equation has the form of the d’Alembertian operator from special relativity, with replacing the speed of light. Acoustic plane waves transform under “Lorentz boosts at speed ” in a formal sense, and many derivations in moving media (chapter 9) become cleaner in those frames.
We will not pursue all of these. The point of route 4 is to make their existence visible, not to compute every consequence.
Why this is non-overlapping
Routes 1, 2, 3 are different starting points but they all eventually invoke (route 1 directly, routes 2 and 3 through the chain or molecular bath). Route 4 starts from a different principle: that physical trajectories extremise an action functional. Newton’s law is a derived consequence, not the foundation. The equivalence of the two formulations is one of the deep facts of classical mechanics — but the variational form generalises in directions that does not (gauge theories, general relativity, path-integral quantisation). For acoustics, the variational form’s payoff is the conservation laws.
Next lesson: all four routes give the same speed of sound — but each route gives that speed a different meaning.