6.7 The Helmholtz equation
The Helmholtz equation is the equation acoustics actually solves in the frequency domain. It arises whenever we look at a wave equation and ask, what does the field look like at a single frequency ? — which is almost always the right question for steady-state acoustic problems: room modes, cavity resonances, scattering off an obstacle, radiation from a vibrating object, transmission through an aperture. The time-domain wave equation is the underlying object, but the working equation is Helmholtz.
This lesson is a separate lesson because the Helmholtz equation looks elliptic — no time derivative — yet is born from the hyperbolic wave equation. That dual heritage explains both its mathematical structure (an eigenvalue problem with sinusoidal eigenfunctions) and its role across acoustics.
Derivation: time-harmonic ansatz on the wave equation
Start with the wave equation,
and look for time-harmonic solutions — fields that oscillate at a single frequency :
This is the same complex-exponential ansatz we use for driven oscillators (Foundations 3); the sign convention is conventional in physics and the choice doesn’t matter as long as you stick with it. Substitute and take partial derivatives:
The factor cancels on both sides, leaving an equation for the spatial amplitude :
This is the Helmholtz equation, and is the wavenumber at frequency . The time dependence has been factored out; what remains is a purely spatial equation for the field’s envelope at frequency .
A few observations before we go further:
- The Helmholtz equation has no time derivative. By the classification table in 6.1, it is elliptic — it is Laplace’s equation with an extra zeroth-order term added. The boundary-value-problem character of elliptic PDEs is exactly what holds: on a closed domain is determined by data on the boundary.
- For each (equivalently each ) you get a different Helmholtz equation. Sweeping generates a family of spatial problems indexed by frequency. This is why frequency-domain acoustics looks like a stack of independent spatial calculations rather than a single time-marching simulation.
- If solves the Helmholtz equation, then so does (the complex conjugate). Real-valued physical fields are recovered by taking real parts at the end: .
Why frequency-domain acoustics lives here
Three reasons the Helmholtz equation, rather than the time-domain wave equation, is what gets solved in practice:
- Steady-state is the question. Many acoustic problems ask not “how does the field evolve from some initial state?” but “what does the steady-state field look like at frequency once transients have died?” Helmholtz answers exactly that.
- Linearity decouples frequencies. Any time-dependent forcing can be Fourier-decomposed into sinusoidal components, each of which generates a Helmholtz problem. Solving the time-domain wave equation with arbitrary forcing is hard; solving Helmholtz at each frequency and summing is straightforward.
- Eigenvalue structure. On a bounded domain with homogeneous boundary conditions, Helmholtz reduces to an eigenvalue problem (refresher →): find the values of for which has a non-trivial solution. Those are the cavity modes of the domain — the same modes we have been calling , , and so on. The Helmholtz formulation makes this eigenvalue structure obvious; the wave equation hides it inside the separated time ODE.
Worked example: 2-D rectangular cavity
The canonical Helmholtz problem in acoustics is a 2-D rectangular cavity with rigid or pressure-released boundaries. Walk through the separation-of-variables step by step.
▶ Worked example: every step, no shortcuts
The problem. A rectangular cavity of size in the -plane, with the acoustic pressure obeying
inside the rectangle, with Dirichlet boundary conditions
on all four edges. (Physically: pressure-released walls, the model used for an open-ended cavity. The rigid-wall case swaps Dirichlet for Neumann; the algebra is identical with cosines replacing sines.) We want the eigenvalues for which non-trivial solutions exist, and the corresponding mode shapes.
Step 1 — Product ansatz. Try
The Laplacian splits cleanly:
Substitute into the Helmholtz equation:
Step 2 — Divide by and separate.
Move the -piece to the right:
The left depends only on ; the right depends only on . Both must equal a common constant — call it :
Rearrange the second equation to read . Defining , we get the separation identity
and two ODEs:
Each is a 1-D Helmholtz equation (equivalently, the spatial part of a 1-D wave equation).
Step 3 — Solve each ODE with its boundary conditions. The ODE with is exactly the clamped-string problem from 6.3. The allowed wavenumbers are quantised:
with mode shapes . Likewise the equation gives
with .
Step 4 — Combine. Each pair specifies one mode of the cavity:
with eigenvalue
The eigenfrequencies are :
Notice the structure. A 1-D bounded problem produced a single integer index and evenly-spaced frequencies . The 2-D cavity produced two integer indices and frequencies that are not evenly spaced — they form a 2-D lattice in the plane, with the actual frequencies given by the distance from the origin. The same idea extends to a 3-D rectangular cavity, where you get three integer indices and the frequencies form a 3-D lattice.
Step 5 — Sanity-check. Three quick checks:
- Boundary conditions. Each has , which vanishes at and . Similarly in . All four edges satisfied. ✓
- Helmholtz equation. , and similarly for . Adding gives , so . ✓
- Reduces to 1-D. In the limit at fixed , the -spacing of becomes infinitesimal and you recover a continuous distribution along on top of the same 1-D ladder in . ✓
Step 6 — The general time-dependent solution. Re-attaching the time dependence,
with the determined by Fourier projection of the initial conditions onto the 2-D mode basis, exactly as in 6.5. The mode catalogue has become a doubly-indexed family but every other step is mechanically the same as the 1-D case.
Mode shapes, made visible
Each mode is a product of one sine in x and one sine in y. The two integer indices (m, n) label which mode you are looking at: m counts the half-wavelengths along x, n counts them along y. The two contributions add in quadrature to give the squared wavenumber, kₘₙ² = (mπ / Lₓ)² + (nπ / L_y)². Changing the aspect ratio changes how the two indices weight the eigenfrequency, but the mode catalogue stays the doubly-indexed lattice you see here.
Pick a mode index pair and the aspect ratio to see the corresponding mode shape and the eigenfrequency. The first integer counts the number of half-wavelengths along (and therefore the number of interior nodal lines perpendicular to ); the second does the same for . The mode is the lowest fundamental — a single positive blob with no interior nodes. The mode has a single nodal line at . The mode has a “checkerboard” pattern with two nodal lines.
Aspect ratio matters in a way it didn’t for 1-D. A near-square cavity gives nearly-degenerate frequencies for and — they coincide exactly when . A stretched cavity breaks the degeneracy. Real concert halls and listening rooms deliberately avoid simple integer ratios for their dimensions to keep mode frequencies from clustering.
Mode density grows with frequency
In one dimension the modes are evenly spaced and the modal density is constant. In two dimensions the modes are points on a 2-D lattice, and the number of modes with is approximately the area of a quarter-circle of radius in -space, weighted by the lattice density:
Differentiate to get the modal density:
The modal density grows linearly with frequency in 2-D. In 3-D it grows quadratically (as we saw in 6.5). The Schroeder frequency, above which a room has so many overlapping modes that the field looks statistically uniform, is set by this growth and is the central organising idea of Sound 7.8.
On unbounded domains: scattering and radiation
The Helmholtz equation on a bounded domain produces eigenvalues and modes. On an unbounded domain it produces wave-like solutions instead, parameterised continuously by direction. The simplest examples in 3-D:
- Plane wave: , with . Substituting into Helmholtz: , and the equation is satisfied for any direction of .
- Spherical wave: , an outgoing wave from the origin. Substituting into the radial Laplacian verifies the equation everywhere except at the origin (where the source sits).
The “boundary condition at infinity” for an unbounded Helmholtz problem is called the Sommerfeld radiation condition: at large must look like an outgoing spherical wave , not an incoming one. This is the mathematical statement that energy radiates away from the source — it cannot have arrived from infinity in the steady state. Imposing it is what makes scattering and radiation problems have unique solutions.
The Sound book applies these unbounded solutions in Sound Ch 6 — Sources and radiation: a pulsating sphere radiates the spherical-wave Helmholtz solution, a dipole radiates the gradient of one, and a piston in a baffle radiates an integral of them weighted by the piston surface.
What we use it for
- Cavity modes for rectangular rooms and ducts — Sound 7.7 — Rectangular cavity modes is the worked example of this lesson scaled up to 3-D.
- Tube modes — Sound 7.6 is the 1-D specialisation, where the Helmholtz problem reduces to a single ODE.
- Spherical and cylindrical waves — Sound 6.2 and 6.3 are Helmholtz on those geometries, with Bessel and spherical-Bessel functions playing the role our does here.
- Scattering and diffraction — Sound 7.5 is a Helmholtz problem on a half-space with a slit; the incident and scattered fields are both solutions of Helmholtz, matched by boundary conditions.
- The Kirchhoff–Helmholtz integral, which expresses the field at any interior point as an integral of and over a surrounding surface — the Helmholtz analogue of the d’Alembert formula. We don’t develop it here, but you will see it when you reach the boundary-integral method in numerical acoustics.
The next lesson, 6.8 — The Schrödinger equation, shows that the same separation-of-variables machine applies to a PDE with imaginary time coefficient, with consequences that look very different from the acoustics-flavoured Helmholtz problem but use the identical mathematics.