Separation of Variables: Heat, Wave, and Laplace Equations
Separation of variables replaces a partial differential equation by a pair of ordinary ones joined through a shared separation constant. Applied to the heat equation it produces the eigenvalue problem X'' + lambda X = 0, and the solution assembles as a Fourier series in the eigenfunctions.
╌╌╌╌
Three second-order linear partial differential equations organize most of mathematical physics, one for each way a field can evolve in space and time.
- Heat equation, : diffusive processes that smooth and decay.
- Wave equation, : oscillatory processes that propagate without loss.
- Laplace's equation, : steady states, the time-independent limit of the other two.
One method solves all three. Separation of variables, used by d'Alembert, Daniel Bernoulli, and Euler around 1750, replaces the partial differential equation with ordinary differential equations whose solutions a Fourier series reassembles.
Heat conduction in a rod
Take a uniform bar of length with insulated sides, so temperature depends only on position and time. It satisfies
where the thermal diffusivity collects the conductivity, density, and specific heat.1 The ends are held at zero temperature and the initial profile is prescribed:
This is an initial value problem in and a boundary value problem in : one condition at each end of the bar, one condition at the start of time.
The separation argument
Look for solutions that are a product of a function of alone and a function of alone,
Substituting into gives . Divide by :
The left side depends only on , the right only on . For two functions of independent variables to be equal everywhere, both must equal the same constant. Call it . The single equation splits into two.
Solving the pieces
Substituting into the boundary conditions forces and . The problem for ,
is the eigenvalue problem with zero endpoints. Its eigenvalues and eigenfunctions are
For each the time equation gives exponential decay, . Multiplying the two factors yields the fundamental solutions
each satisfying the equation and both boundary conditions. Because the problem is linear and homogeneous, any sum of them does too. Superpose them and choose the weights to match the initial profile:
At the exponentials are , so . This is the Fourier sine series of , and its coefficients are
Each harmonic decays at its own rate: the exponent grows like , so high modes vanish almost immediately and the profile smooths toward the fundamental, then to zero. Diffusion erases the finest detail first.
Nonhomogeneous ends and insulation
Two variations widen the method's reach, both reducing to the case just solved.
Insulated ends. No heat flows through an end when there. The boundary conditions change the eigenvalue problem to , whose eigenfunctions are cosines: for , including the constant . The solution is a Fourier cosine series,
and the constant term is the average initial temperature, the value the insulated bar settles to since no heat escapes.
The wave equation
The vibrating string carries the same eigenvalue problem but a different time factor. Let be the transverse displacement of a string of length stretched to tension with mass density . Small motions obey
with fixed ends . Being second order in time, the equation needs two initial conditions, the shape and the velocity: and .3 Released from rest (), separation gives the same with the same sine eigenfunctions, but now , whose solutions oscillate rather than decay. With the time factor is , and the fundamental solutions are
The general free motion superposes the modes,
with the Fourier sine coefficients of the initial shape . These are the harmonics of a plucked string; the fundamental sets the pitch and the higher modes the timbre, the same structure met in mechanical vibrations.
Unlike the heat series, the wave series has no decaying factor, so it cannot be differentiated term by term without care. An equivalent closed form resolves this. Writing for the odd periodic extension of ,
d'Alembert's form of 1746. It shows the solution as two copies of the initial shape traveling in opposite directions at speed . In contrast to diffusion, any corner or jump in the initial data is preserved for all time rather than smoothed. A nonzero initial velocity contributes a companion series with in place of the cosine, and the general problem is the sum of the two, by superposition.
Laplace's equation
Remove the time dependence and the heat equation's steady state satisfies Laplace's equation, . The same equation governs electrostatic potential in a charge-free region, gravitational potential in free space, and the velocity potential of an ideal fluid, so it is also called the potential equation. With no time variable there are no initial conditions; instead one condition is imposed at every point of the boundary of the region.
Dirichlet problem for a rectangle
Solve on , with on three sides and on the fourth. Separation gives, with separation constant ,
The homogeneous conditions act on : forces the familiar eigenvalues and eigenfunctions . The -equation is then with , solved by rather than an exponential, so that the endpoint condition is easy to impose. The fundamental solutions are , and
with the Fourier sine coefficients of on .
Dirichlet problem for a disk
On a circular region with boundary data , Laplace's equation in polar coordinates is
Separation yields , an Euler equation, and . There are no homogeneous boundary conditions here; instead must be periodic with period and must stay bounded as . Periodicity forces with a combination of and ; boundedness discards the solution of the Euler equation, leaving . The solution is a full Fourier series in with radial weights,
where and are the Fourier coefficients of on . Both sine and cosine terms appear because the boundary data spans a full period.
The three equations side by side
The method never changes; only the time factor and the region do.
| Heat | Wave | Laplace | |
|---|---|---|---|
| Character | diffusive | oscillatory | steady state |
| Time equation | none | ||
| Time factor | absent | ||
| Data | one initial profile | shape and velocity | boundary values only |
| Fate of a jump | smoothed instantly | preserved and propagated | not applicable |
| Assembled as | Fourier sine/cosine series | Fourier series in modes | Fourier series on boundary |
In every case the spatial eigenvalue problem underlies the solution, and its eigenfunctions form the basis for the series. Whether a given boundary value problem has such a real, orthogonal, complete set of eigenfunctions is a property of the self-adjoint Sturm-Liouville form.
Footnotes
- Boyce, Elementary Differential Equations and Boundary Value Problems, §10.5 — separation of variables for heat conduction in a rod, the separation constant, the eigenvalue problem for , and the Fourier sine series solution. ↩
- Boyce, §10.6 — nonhomogeneous boundary conditions solved by subtracting the steady state, insulated ends and the cosine series, and the instantaneous smoothing of initial discontinuities. ↩
- Boyce, §10.7 — the wave equation for a vibrating string, natural modes and frequencies, and d'Alembert's traveling-wave form . ↩
- Boyce, §10.8 — Laplace's equation, the Dirichlet and Neumann problems, and separation of variables on a rectangle and on a disk. ↩
╌╌ END ╌╌