d'Alembert's General Solution
Statement
For the one-dimensional wave equation utt = c2 uxx on the whole line, every twice-differentiable solution can be written as u(x,t) = f(x − ct) + g(x + ct) for two arbitrary profiles f and g: a rigid right-moving shape superposed on a rigid left-moving shape, each translating at speed c without change of form. Conversely, any such sum solves the equation.
Why it matters
This is the complete general solution of the archetypal hyperbolic PDE. It says the wave equation does not merely permit travelling waves — it admits nothing else. Every disturbance on an ideal string, in an ideal acoustic tube, or along a lossless transmission line is exactly a pair of counter-propagating profiles, so understanding a single arbitrary pulse suffices to understand all one-dimensional wave motion.
It also gives the operational meaning of the "wave speed" c that emerged from the loaded-string equation: c is literally the translation speed of an undistorted shape. From here follow the characteristic coordinates, the domain of dependence, and d'Alembert's initial-value formula — the foundation of causality in classical field theory.
Assumptions
Derivation
Result
Reading. The field at position x and time t is the sum of two independent shapes. The term f(x − ct) keeps its argument constant along x = ct + const, i.e. it slides rigidly to the right at speed c; g(x + ct) slides rigidly to the left at speed c. Neither profile changes height or width — only position. The two are fixed by the initial displacement and velocity of the medium.
Units check. The arguments x − ct and x + ct have units of length ([c][t] = (m s−1)(s) = m), so f and g are ordinary functions of a length. Each returns whatever u measures — metres for a transverse string displacement, pascals for acoustic pressure — so the sum carries the units of u, as required.
Limiting cases
- Pure right-mover: if g ≡ 0, then u = f(x − ct) and ut = −c ux — a single advection equation; the disturbance travels one way only.
- Standing wave: f(ξ) = ½A cos kξ and g(η) = ½A cos kη sum to A cos kx cos ωt with ω = ck — two equal counter-movers make a stationary pattern.
- Static limit (c → 0 or t = 0): u(x,0) = f(x) + g(x), the frozen initial shape; time-translation switches off.
- Single harmonic: taking f = ½A eik(x−ct) recovers a plane wave ei(kx−ωt), showing the Fourier modes are the special sinusoidal case of the general profile.
Breaks when
- Dispersive media. If the dispersion relation is not ω = ck (e.g. a stiff string with ω2 = c2k2 + αk4, or Klein–Gordon ω2 = c2k2 + m2), different Fourier components move at different speeds. A pulse spreads and no fixed profiles f, g exist.
- Variable or non-constant coefficients. With c = c(x) the operator does not factor into two constant-speed derivatives, characteristics curve, and a shape both distorts and partially reflects as it propagates through the gradient.
- Higher dimensions. In 3D the general solution is not a sum of two rigid profiles; expanding spherical waves decay as 1/r and, in even dimensions, leave a trailing wake (failure of Huygens' principle).
- Dissipation / driving. Adding a damping term γut or a source makes the equation inhomogeneous or non-conservative; amplitudes decay and the clean left/right split no longer holds.
Failure modes
- Sign confusion in the argument. Writing f(x + ct) for the right-mover. The right-moving shape needs the argument x − ct so that increasing t requires increasing x to hold the profile fixed.
- Thinking f and g must be sinusoidal. They are arbitrary C2 functions — a square-ish bump, a ramp, anything. Sinusoids are just the eigen-basis, not a restriction.
- Dropping one of the two arbitrary functions. Integrating uξη = 0 and keeping only g(η) loses the ξ-dependent integration "constant" f(ξ) — and with it half of every general solution.
- Assuming the split is unique. One can add any constant to f and subtract it from g; the decomposition is unique only up to such a constant, fixed once initial data are imposed.
- Confusing phase speed with signal speed here. For the non-dispersive wave equation they coincide at c; students carry over the "group vs phase" distinction where there is none, or fail to invoke it where dispersion is later added.
Discussion
The heart of the result is the factorisation ∂tt − c2∂xx = (∂t − c∂x)(∂t + c∂x). Each first-order factor is a transport (advection) operator: (∂t + c∂x)h = 0 is solved by any h = f(x − ct), a shape swept rightward at speed c. The wave equation is thus, quite literally, two transport equations composed, and its solution space is the direct sum of the two transport solution spaces. Characteristic coordinates are the change of variables that makes each factor act on one variable alone.
Physically, the two profiles carry the two pieces of initial data. The displacement u(x,0) and the velocity ut(x,0) together determine f and g uniquely (up to the trivial constant), which is d'Alembert's formula u = ½[φ(x−ct)+φ(x+ct)] + (1/2c)∫x−ctx+ctψ(s)ds. The integral limits expose the domain of dependence: the value at (x,t) depends only on initial data in [x−ct, x+ct] — nothing outside that interval can have reached the point, which is causality made geometric.
The result also underwrites the method of images and normal modes on bounded domains. A boundary condition (fixed or free end) is satisfied by choosing g to be a reflected, possibly inverted, copy of f; the reflection is exactly the constraint that couples the otherwise-independent left- and right-movers. Standing waves are then the resonant superpositions selected by two such boundaries.
More abstractly, d'Alembert's solution is the statement that the 1D wave operator is hyperbolic with two distinct real characteristic families, and that its canonical form uξη=0 integrates in closed form. This is special to one space dimension: in n dimensions the characteristics form a cone, the solution is given by Kirchhoff/Poisson surface integrals rather than a two-function sum, and sharp propagation (Huygens' principle) holds only for odd n ≥ 3. The clean "two rigid profiles" picture is the lowest-dimensional, most degenerate — and most transparent — case of the general theory.
Common misconceptions. The formula is not an approximation or a special ansatz — it is the complete general solution, exhaustive for the ideal 1D equation. And "wave speed c" is not the speed of any particle of the medium (that is ut, generally different and much smaller); c is the speed of the pattern.
Worked examples
Example 1 — A Gaussian pulse released from rest.
Reading. The single 3 cm bump has become two 1.5 cm bumps, one at x = +1.2 m and one at x = −1.2 m, each keeping the original 0.20 m width. Total displacement is conserved; the amplitude halved because energy went into two pulses.
Example 2 — A struck string (initial velocity, zero displacement).
Reading. The struck patch rises to a flat-topped plateau 1.0 mm high whose edges spread outward at c = 40 m s−1 — a growing rectangular displacement, the velocity-driven counterpart of the splitting bump. Units: (m s−1)(m)/(m s−1) = m. ✓
Problems
- Show by direct substitution that u = f(x − ct) satisfies utt = c2uxx for any twice-differentiable f.
Solution
Let ξ = x − ct. Then ux = f′(ξ), uxx = f″(ξ). For time, ut = −c f′(ξ), utt = c2 f″(ξ). Hence utt = c2 f″ = c2 uxx identically, for any f ∈ C2. The identical argument with η = x + ct (which gives ut = +c g′) confirms the left-mover, and linearity gives the sum. - Initial data u(x,0) = φ(x), ut(x,0) = ψ(x). Derive f and g explicitly.
Solution
At t=0: f(x) + g(x) = φ(x) and −c f′(x) + c g′(x) = ψ(x). Integrate the second: −f(x) + g(x) = (1/c)∫0xψ(s)ds + K. Solve the pair: f(x) = ½φ(x) − (1/2c)∫0xψ − K/2 and g(x) = ½φ(x) + (1/2c)∫0xψ + K/2. Substituting into u = f(x−ct)+g(x+ct) the constants K cancel, giving d'Alembert's formula u = ½[φ(x−ct)+φ(x+ct)] + (1/2c)∫x−ctx+ctψ(s)ds. - A string has c = 50 m s−1. A pulse of shape u(x,0) = h e−x2/a2 with h = 2 cm, a = 0.10 m is released from rest. Where are the two half-pulses at t = 20 ms, and what is each height?
Solution
Released from rest ⇒ each mover carries half: height h/2 = 1.0 cm, width unchanged at a = 0.10 m. Displacement of each centre: ct = 50 × 0.020 = 1.0 m. So one half-pulse is centred at x = +1.0 m, the other at x = −1.0 m, each 1.0 cm high. They are 2.0 m apart, hugely larger than 0.10 m, so fully separated. - Two identical right- and left-moving sinusoids f = ½A cos k(x−ct), g = ½A cos k(x+ct) superpose. Show the result is a standing wave and give its nodal spacing.
Solution
Sum: u = ½A[cos k(x−ct) + cos k(x+ct)]. Use cos(P) + cos(Q) = 2 cos(&frac{P+Q}{2}) cos(&frac{P−Q}{2}) with P = k(x−ct), Q = k(x+ct): u = A cos(kx) cos(ωt), ω = ck. This is separable in x and t — a standing wave. Nodes where cos kx = 0, i.e. kx = (n+½)π; adjacent nodes differ by Δx = π/k = λ/2. - The Klein–Gordon equation utt = c2uxx − μ2u (μ ≠ 0). Show that a single undistorted travelling profile u = f(x−ct) is not in general a solution, and find its dispersion relation.
Solution
Try u = f(x−ct): utt = c2f″, c2uxx = c2f″, so the equation demands c2f″ = c2f″ − μ2f, i.e. μ2f = 0. Since μ ≠ 0 this forces f ≡ 0 — no non-trivial rigid profile exists; the factorisation of the operator fails because of the −μ2u term. Instead try u = ei(kx−ωt): −ω2 = −c2k2 − μ2, giving ω2 = c2k2 + μ2. The phase speed ω/k = c√(1 + μ2/c2k2) depends on k, so the medium is dispersive and pulses spread — exactly why d'Alembert's undistorted-profile picture is special to the μ = 0 wave equation.