d'Alembert's Solution of the Wave Equation
How does a plucked guitar string's shape evolve after release, with no boundaries in sight? This question, posed on the infinite line, has an answer of striking simplicity. The disturbance splits into two identical copies of the initial shape. One travels left and one travels right, each at the wave speed. This article derives that formula rigorously from the The Wave Equation and Vibrating Strings model. It also proves this is the unique solution to the Cauchy problem on all of . The idea matters because it is the first instance, in a linear PDE, of an explicit closed-form solution. This solution is built entirely from the equation's characteristic geometry. That is the same geometry used in First-Order Linear PDEs and the Method of Characteristics. Rather than separating variables or summing Fourier series, we factor the wave operator into two first-order transport operators. We then integrate each one directly. The result is not merely a formula to memorize. It is a lens revealing why waves propagate at finite speed. It shows why information travels along cones in spacetime. It also shows why the solution at a point depends only on a bounded interval of initial data. The big picture is this: the wave equation admits a change of coordinates . This change diagonalizes it into . Solving that trivial equation and undoing the change of coordinates produces d'Alembert's formula. Every subsequent qualitative fact about the 1-D wave equation traces back to this one calculation. This includes finite propagation speed, domains of dependence, energy conservation, and well-posedness. This article delivers the full derivation via characteristic coordinates. It presents a rigorous existence-and-uniqueness theorem for the Cauchy problem, with careful hypotheses on smoothness. Two asymmetric worked examples follow: a non-symmetric pluck and a problem with nonzero initial velocity. A counterexample shows what fails without regularity. Finally, there is a discussion of how this circle of ideas foreshadows Domains of Dependence and Influence and Well-Posedness of PDE Problems.
- The 1-D wave equation factors into two transport operators along the characteristics .
- The general solution is : a right-mover plus a left-mover.
- Matching initial position and velocity pins down and uniquely (up to a cancelling constant).
- The result is d'Alembert's formula: .
- The solution at depends only on data in : this is finite propagation speed.
- Key idea: diagonalize the wave operator via characteristic coordinates, then integrate twice.
Where this lives today
D'Alembert's traveling-wave decomposition is the prototype for finite propagation speed in hyperbolic PDE, a theme that reappears in the higher-dimensional wave equation, Maxwell's equations, and relativistic field theory, where signals cannot outrun a fixed maximal speed. In acoustics and music technology, the formula underlies physical models of string and wind instruments (digital waveguide synthesis decomposes a vibrating string's state into left- and right-traveling digital signals bouncing between simulated boundaries). In seismology and structural engineering, the same left/right (or outgoing/incoming) decomposition is used to model stress waves along cables, rods, and pipelines. In numerical analysis, characteristic-based schemes (e.g. upwind and Godunov-type methods for hyperbolic conservation laws) generalize the idea of tracking information along characteristic curves rather than differencing blindly across a grid. In control theory, boundary control of vibrating strings and transmission lines exploits the explicit traveling-wave representation to design feedback laws that absorb or reflect waves at endpoints. The formula is also the entry point to the broader study of Well-Posedness of PDE Problems, since it exhibits, in the simplest possible setting, existence, uniqueness, and continuous dependence on data — the three Hadamard conditions — and it is the direct ancestor of the sharper geometric statements found under Domains of Dependence and Influence, where the interval generalizes to backward light cones in higher dimensions.
Ask the tutor: How does d'Alembert's formula change if the string has a forcing term, i.e. ?
Let be a constant (the wave speed). The Cauchy problem on the whole line asks for a function satisfying
subject to the initial conditions
A classical solution is a function satisfying the PDE at every interior point and the initial conditions exactly. This requires and for consistency of the boundary derivatives.
Intuition
The wave equation can be factored formally as an operator identity:
Each factor is a first-order transport operator, exactly the kind studied via characteristics for First-Order Linear PDEs and the Method of Characteristics. The operator annihilates functions constant along lines (rightward characteristics), while annihilates functions constant along (leftward characteristics). Applying one factor to the equation and using the method of characteristics on the result — which is exactly what the theorem below carries out — shows that any solution must have the form of a right-moving profile plus a left-moving profile, each rigidly translating at speed without changing shape. This is very different from, say, the heat equation, where an initial bump instantly smooths and spreads over all of space. Here, a bump splits into two half-height copies that simply glide apart, never distorting. The picture below shows the two families of characteristic lines in the -plane, and how a point of observation traces back to an interval of initial data — the geometric seed of finite propagation speed.
Central theorem
Let . Suppose and . Then the Cauchy problem
has a classical solution , and it is unique among classical solutions. It is given explicitly by
We proceed in three steps: (1) change coordinates to diagonalize the operator and derive the general solution of the PDE alone; (2) impose the initial conditions to solve for the two arbitrary profiles, obtaining the formula; (3) verify directly that the formula is a genuine classical solution, and separately prove uniqueness. The technique throughout is characteristic coordinates combined with direct integration and, for uniqueness, an energy method.
Step 1: General solution of the homogeneous equation. Suppose solves . Introduce new coordinates
so that , . Define ; since is an invertible linear (hence smooth, with smooth inverse) change of variables, wherever , and derivatives transform by the chain rule:
Differentiating again (using regularity to invoke equality of mixed partials, i.e. Clairaut's theorem, which is legitimate since ):
Substituting into :
Since , this gives identically. Now integrate: fixing and integrating in shows is independent of , i.e. for some function . This step uses that , so is and the fundamental theorem of calculus applies along each line . Integrating in (with fixed) gives
for some function (a constant of integration depending on ) and an antiderivative of . Since , one shows : indeed for any fixed , exhibiting as a function of directly, and symmetrically for . Translating back,
This proves that every solution of the wave equation on (or any open subset where the characteristic coordinates cover it, which for the full plane they do) has this traveling-wave form. Conversely, for any , direct differentiation shows solves : , , while , , and these agree after multiplying by . So the wave equation's classical solutions on are exactly the functions of this form.
Step 2: Imposing initial data. Set in :
Differentiate in and set :
Since , is continuous, so we may integrate (ii) from to :
Adding and subtracting (i) and (ii'), and writing with :
The constant cancels when we form , because it appears with opposite signs in and . Explicitly,
The bracketed term equals by additivity of the integral. This yields exactly d'Alembert's formula, and confirms it is the only possible solution — this establishes uniqueness among classical solutions, since Step 1 showed every classical solution has the traveling-wave form, and Step 2 showed the initial data determine uniquely up to the cancelling constant.
Step 3: Direct verification that the formula is a classical solution. We must check the regularity and the two initial conditions directly, since Steps 1–2 assumed a solution exists and derived what it must be; existence requires exhibiting a genuine solution. Define . Since , the fundamental theorem of calculus gives with . Then
Since and , and is smooth, is a function of on all of (composition of functions with smooth linear maps, using the chain rule repeatedly). By the converse direction established in Step 1 (any function of the form with solves the PDE), and noting
we conclude holds identically. Checking initial conditions: at ,
Differentiating in ,
so at ,
This confirms existence. Combined with the uniqueness shown in Steps 1–2, the theorem is proved.
∎Worked examples
Example 1 — an asymmetric pluck, zero initial velocity. Take and initial displacement
(Check continuity: at , both pieces give ; at , ; at , . Good — is continuous and piecewise linear, a triangular bump of height , skewed with a short left ramp and a long right ramp.) Since the integral term vanishes, and d'Alembert's formula gives
Evaluate at a specific asymmetric point, say , : we need and . From the piecewise formula, and . So . Now evaluate at : , so ; , so . Thus
Note this is not obtainable by symmetry — the two arguments and lie on genuinely different pieces of (left ramp vs. right ramp), yet happen to coincide numerically, illustrating that the formula mechanically averages whatever values takes at the two characteristic feet, regardless of shape. As increases past (with ), the left-moving front crosses around , after which the right-hand term becomes permanently ; the two humps (each of half-height, half-width copies of ) separate completely once exceeds the support radius, here after .
Example 2 — zero initial displacement, nonzero (asymmetric) initial velocity. Take and , with
(This is only piecewise continuous, not — we use it here for a clean explicit computation of the formula, understanding the result as a weak/generalized solution; see the Scope table below for the regularity subtlety.) d'Alembert's formula reduces to
Let's compute , an asymmetric choice with the interval straddling all three pieces of non-symmetrically. Split the integral:
So . Compare with : interval is , overlapping only the first piece for :
These two values ( and ) differ in sign and magnitude relationship purely because of how the asymmetric velocity profile is sampled over each differently-positioned interval — exactly the point of choosing a non-symmetric : no shortcut symmetry argument could have predicted either value without carrying out the integral.
Drop the hypothesis and instead take , , and
This is continuous and even Lipschitz, but fails to be differentiable at , hence certainly not . d'Alembert's formula still makes sense as an expression:
Consider the point (with fixed, looking at as a function of near ): for near and ,
For , and , so , a constant — smooth here, no problem at this particular point. The failure instead shows up along the characteristic emanating from the singularity of . Track the line (a right-moving characteristic from ): along it, , which is smooth in . But approach the kink locus from the two sides in at fixed : for slightly greater than , , so ; for slightly less than (but ), as computed above, so . The one-sided derivatives disagree, so has a jump discontinuity across the line in the -plane (which is exactly the characteristic emanating from the original kink at ). Consequently is continuous and even Lipschitz everywhere, and solves the wave equation in a distributional/weak sense, but : the second derivatives and fail to exist classically on the characteristic lines through the kink. So the formula's output is only a weak solution, not a classical one, precisely because the hypothesis was dropped. This shows the regularity hypothesis in the theorem is not a technical nicety — it is exactly what is needed for to hold in the classical (pointwise, second-derivative) sense everywhere, and its absence produces exactly the phenomenon (persistent, propagating singularities along characteristics) that the theorem's hypotheses were designed to exclude.
Scope, edge cases & common traps
| Situation | What happens |
|---|---|
| , | Classical solution exists and is unique (theorem above). |
| merely continuous / Lipschitz, or merely continuous | Formula still defines a function, interpretable as a weak solution; singularities in the data propagate along characteristics forever (see counterexample) and never smooth out. |
| Bounded domain with boundary conditions | d'Alembert's formula in this exact closed form does not apply directly; one needs reflection/extension tricks or Domains of Dependence and Influence methods, or Fourier series methods for finite intervals. |
| not integrable on some interval (e.g. has a non-integrable singularity) | The formula's integral term may fail to exist; hypotheses on (continuity, or at least local integrability) are essential. |
| Asking about uniqueness among all functions, not just | The theorem only claims uniqueness among classical () solutions; without that restriction, weak solutions may coincide with d'Alembert's formula but the proof method (Step 1) does not directly apply, since it used regularity essentially (Clairaut's theorem). |
The mathematician behind it
Origins · 1 minJean-Baptiste le Rond d'Alembert and how this was discovered
D'Alembert was a French mathematician, physicist, and philosopher, one of the great polymaths of the Enlightenment and a principal editor of the Encyclopédie. In 1747 he presented to the Prussian Academy of Sciences his solution to the problem of the vibrating string, publishing the traveling-wave decomposition that now bears his name and thereby giving mathematics its first fully worked example of a partial differential equation solved in closed form. He derived the equation of motion for a vibrating string from mechanical first principles and observed that the equation is satisfied by any function of or , a fact that ignited a decades-long controversy with Euler and Daniel Bernoulli over what kinds of functions (in the 18th-century sense of "function") were legitimately admissible as initial data — a dispute that anticipated, by a century, the modern theory of function spaces and generalized solutions.
Why does the solution split into exactly two traveling waves, not three or more?
This follows from the algebraic factorization of the wave operator: factors as a product of exactly two commuting first-order operators, . Each first-order factor, when set to annihilate a function via the method of characteristics, forces that function to be constant along one family of characteristic lines — there are only two independent characteristic directions for a second-order hyperbolic operator in one spatial dimension, namely slope and slope in the -plane. The proof shows any solution must equal ; no third independent term can appear because the general solution of has exactly two free functions, one for each integration in and one in .
Does d'Alembert's formula work if the wave speed is not constant?
No, not directly. The entire derivation relies on the characteristic lines being straight lines, which follows from being a fixed constant. If varies with position, the equation still has characteristics, but they become curves defined by the ODE , generally not straight lines, and the simple closed-form averaging structure of d'Alembert's formula is lost. One can still use the method of characteristics to reduce the PDE to ODEs along these curves, but an explicit formula like the one here is rarely available in closed form.
How does this formula relate to conservation of energy for the vibrating string?
The energy of a vibrating string, , can be shown to be constant in time using d'Alembert's formula directly: writing , one computes and , and after expanding the cross terms cancel, leaving . Integrating over and substituting shows the total is time-independent (a change of variables leaves each integral unchanged). This is a first hint of the energy methods used more generally to prove uniqueness and well-posedness in higher-dimensional and bounded-domain wave problems.
What happens at points where the two characteristic feet and land in different smoothness regions of a piecewise-defined ?
Nothing pathological happens as long as is globally ; the formula is evaluated pointwise using whatever values and take at those two points, regardless of "which piece" they came from, since itself is a single well-defined function. The subtlety in the worked examples and the counterexample arises only when (or its derivatives) fails to be continuous or differentiable at the junction between pieces — then the formula is still computable as a number, but the resulting may fail to be twice differentiable at points on the characteristic lines through that junction, so it solves the PDE only weakly there.
Is the solution to the Cauchy problem stable under small perturbations of the initial data?
Yes, and this is a key part of well-posedness in the sense of Hadamard. If are both with and are with , then directly from the formula, for all , since the formula is linear in the data and the averaging/integration operations are bounded by the sup-norms times fixed geometric factors. This continuous dependence on initial data — degrading only linearly in , not catastrophically — is exactly the third Hadamard condition explored more fully under Well-Posedness of PDE Problems.
Why is finite propagation speed considered a big deal, given it seems geometrically obvious from the formula?
It seems obvious in hindsight because we've already derived the closed-form solution, but it is a substantive physical and mathematical fact: it says information genuinely cannot travel faster than , in stark contrast to, say, the heat equation, where a localized initial disturbance influences every point in space instantaneously (for any , however small). The wave equation's finite propagation speed is what makes it compatible with relativistic causality, and the Domains of Dependence and Influence framework generalizes this exact observation — that depends only on within — to variable-coefficient and higher-dimensional hyperbolic equations, where it becomes a genuinely deep geometric statement about light cones.
Can this method be adapted to a bounded interval, like a string fixed at both ends?
Not directly with this exact formula, but the underlying idea survives via the method of images (reflection): one extends and oddly (for fixed/Dirichlet ends) or evenly (for free/Neumann ends) across the boundary points to obtain data on the whole line, applies d'Alembert's formula there, and restricts back to the original interval. This works because the odd/even extensions automatically enforce the correct boundary conditions once one checks the reflected data still satisfies the necessary consistency ( matching) at the boundary, a subtlety related to the domain-of-dependence ideas developed after this formula.