The Wave Equation
Learning objectives
- State the wave equation and identify the wave speed
- Write d'Alembert's solution on the infinite line as two travelling waves plus an integral over initial velocity
- Solve the finite-string problem by separation of variables and recognize the resulting standing waves
- Contrast wave propagation (finite speed, energy conservation) with heat diffusion (infinite speed, smoothing)
The wave equation governs everything from the vibrating guitar string to electromagnetic radiation to seismic shock waves. Its solutions split cleanly into travelling waves (on the line) or standing waves (on a finite string), and unlike the heat equation it preserves energy, nothing decays, nothing smooths. The two pillars are d'Alembert's formula (which gives the explicit solution on as two waves travelling in opposite directions) and separation of variables (which on a finite string produces the normal modes that are the vibrating-string Fourier basis).
The equation
The one-dimensional wave equation:
is the wave speed, the speed at which disturbances propagate. The PDE is hyperbolic, linear, homogeneous, and second order in both and . Because enters at second order, you need two initial conditions: (initial displacement) and (initial velocity).
D'Alembert's solution on the infinite line
On all of , the wave equation has a closed-form solution. Substituting and turns into , whose general solution is
for arbitrary functions . The first term is a wave travelling rightward at speed ; the second is a wave travelling leftward at speed . Matching the initial conditions and gives d'Alembert's formula:
u(x, t) = \tfrac{1}{2}\bigl[f(x - ct) + f(x + ct)\bigr] + \dfrac{1}{2c} \displaystyle\int_{x - ct}^{x + ct} g(s) \, ds
If the initial velocity , this reduces to two half-amplitude copies of the initial profile travelling in opposite directions, an exact bilateral split.
The finite-string problem: standing waves
For a string of length fixed at both ends, , separation of variables produces the same spatial eigenfunctions as the heat equation, , but the time ODE is now second order and oscillatory:
so with natural frequencies . The general solution is
u(x, t) = \displaystyle\sum_{n=1}^{\infty} \bigl[A_n \cos(\omega_n t) + B_n \sin(\omega_n t)\bigr] \sin(n\pi x / L)
Each term is a standing wave: a fixed spatial shape multiplied by a time-varying amplitude. The points where are nodes, they stay still. The maxima between nodes are antinodes, oscillating at the natural frequency.
Plot the first standing wave for several values of . The shape stays ; only the overall amplitude oscillates. Now plot the second mode : notice the new node at , fixed forever in time.
Energy conservation
The total mechanical energy of the vibrating string is
E(t) = \tfrac{1}{2} \displaystyle\int_0^L \bigl[(u_t)^2 + c^2 (u_x)^2\bigr] \, dx
Differentiating in time and using with integration by parts shows : energy is conserved exactly. This is in sharp contrast to the heat equation, where energy (in the sense of norm) decays exponentially to zero. The wave equation is time-reversible; the heat equation is not.
- Acoustics and musical instruments: A vibrating guitar string, organ pipe, or drum head satisfies the wave equation. The natural frequencies are exactly the harmonics you hear, tuning a guitar string changes (tension over linear density), which scales the entire harmonic series.
- Electromagnetism: Maxwell's equations in vacuum reduce to the 3D wave equation with , the speed of light. Every light wave, radio wave, and microwave you have ever experienced satisfies this PDE.
- Seismic waves: P-waves and S-waves through the Earth satisfy wave equations with different speeds. The difference in arrival times between P and S at a seismograph is what lets seismologists triangulate earthquake epicenters.
- Quantum field theory: Free particles in QFT (Klein-Gordon, Dirac) satisfy wave equations or their relativistic generalisations. The mass term adds to the right side, but the propagation-at-finite-speed structure is identical.
Pause and think: Where does the factor in d'Alembert's formula come from? Hint: differentiate in and set to recover the initial-velocity condition.
Try it
- Identify the wave speed in .
- A string of length has wave speed . Compute the first three natural frequencies .
- Use d'Alembert with and , . Sketch the solution at .
- For the -th standing-wave mode , list the positions of the nodes inside [0, L].
- Show that the energy is conserved: differentiate, substitute , and integrate by parts using the fixed boundary conditions.
A trap to watch for
The wave equation has finite propagation speed : an initial disturbance at can only affect points with by time . The triangular region is the future light cone of ; outside this cone is unaffected by the initial datum at . Students who pattern-match the heat equation's "anything affects everything instantly" intuition onto the wave equation will get the qualitative behavior wrong. Heat: instant smearing. Wave: travelling pulse.
What you now know
You can write down d'Alembert's solution to the wave equation on , solve the finite-string problem as a Fourier series of standing waves with natural frequencies , identify nodes and antinodes, and prove that total mechanical energy is exactly conserved. With this chapter complete, you have the basic Fourier-and-PDE toolkit that underlies all of mathematical physics, sufficient to read advanced texts on quantum mechanics, fluid dynamics, signal processing, or numerical methods.
Mark section complete →
References
- Garrity, T. (2002). All the Mathematics You Missed: But Need to Know for Graduate School. Cambridge University Press, ch. 14.
- Evans, L. C. (2010). Partial Differential Equations (2nd ed.). AMS, ch. 2 (wave equation, d'Alembert).
- Strauss, W. A. (2007). Partial Differential Equations: An Introduction (2nd ed.). Wiley, ch. 2 (wave equation).
- John, F. (1991). Partial Differential Equations (4th ed.). Springer, ch. 2-3.
- Jackson, J. D. (1999). Classical Electrodynamics (3rd ed.). Wiley, ch. 6-7 (electromagnetic waves).