Waves & Oscillations · Upper Division

The Wave Equation

The wave equation is the PDE that governs sound, light, vibrating strings, water waves, and quantum probability amplitudes. Its solutions — d'Alembert's formula, standing waves, and dispersive packets — appear across all of physics.

PrerequisitesWave properties (Ch. 9) · Fourier analysis · Partial derivatives
Learning Goals
  • Derive the 1D wave equation from Newton's second law applied to a vibrating string.
  • Apply d'Alembert's formula to find the motion of a plucked string from initial conditions.
  • Use separation of variables to find normal modes and their frequencies for a fixed string.
  • Distinguish phase velocity and group velocity and compute them from a dispersion relation.
  • Calculate the power transmitted by a traveling wave from amplitude and wave parameters.

WE.1 Derivation from a Vibrating String

Consider a taut string with tension T and linear mass density μ. For small transverse displacements y(x, t), Newton's second law applied to a small element gives:

∂2y∂t2=v2∂2y∂x2v=Tμ(1D wave equation)\frac{\partial^2y}{\partial t^2}=v^2\frac{\partial^2y}{\partial x^2} \qquad v=\sqrt{\frac{T}{\mu}} \qquad \text{(1D wave equation)}(WE.1)

This is the canonical form of the wave equation with wave speed v. The same equation governs longitudinal sound waves (v = √(B/ρ), B = bulk modulus), EM waves (v = 1/√(με)), and quantum mechanical free particles (v → operator, giving Schrödinger).

WE.2 D'Alembert's Solution

Theorem WE.1 — D'Alembert's Formula (1747)
The general solution to the 1D wave equation with initial conditions y(x,0)=f(x)y(x,0) = f(x) and ∂y/∂t(x,0)=g(x)\partial y/\partial t(x,0) = g(x) is:y(x,t)=12[f(x−vt)+f(x+vt)]+12v∫x−vtx+vtg(s) dsy(x, t) = \tfrac{1}{2}\left[f(x-vt) + f(x+vt)\right] + \frac{1}{2v}\int_{x-vt}^{x+vt} g(s)\,dsThe first term is the superposition of two copies of the initial shape — one traveling right at speed v, one left at speed v. Every solution is a sum of rightward and leftward traveling waves.
Example WE.1 — Plucked String

A string of length L is plucked at its center to height h and released from rest (g=0g = 0). Describe the subsequent motion.

Initial shape:f(x) = triangular peak: 2hx/L for 0≤x≤L/20 \le x \le L/2, then 2h(L−x)/L2h(L-x)/L for L/2≤x≤LL/2 \le x \le L.
D'Alembert:y(x,t)=12[f(x−vt)+f(x+vt)]y(x,t) = \frac{1}{2}[f(x-vt) + f(x+vt)], extended as odd periodic function.
Motion:The triangle splits into two half-height triangles that travel in opposite directions. They bounce off the fixed ends (boundary condition y=0y=0 there) and invert. The pattern repeats with period T=2L/vT = 2L/v.
Fourier view:The triangular shape has Fourier series with only odd harmonics. Each harmonic has frequency nv/(2L) — the harmonics of a guitar string. Then=1The n=1 mode (fundamental) has frequency f1=v/(2L)=T/μ/(2L)f_{1} = v/(2L) = \sqrt{T/\mu}/(2L).

WE.3 Separation of Variables and Normal Modes

For a string fixed at x=0 and x=L, try y(x,t) = X(x)T(t). Substituting:

T¨T=v2X′′X=−ω2(separation constant)\frac{\ddot T}{T}=v^2\frac{X''}{X}=-\omega^2 \qquad \text{(separation constant)}(WE.2)

The spatial equation X'' + (ω/v)²X = 0 with boundary conditions X(0)=X(L)=0 gives:

Xn(x)=sin⁡(nπxL)ωn=nπvLn=1,2,3,…X_n(x)=\sin\left(\frac{n\pi x}{L}\right) \qquad \omega_n=\frac{n\pi v}{L} \qquad n=1,2,3,\ldots(WE.3)

These are the normal modes (standing waves). The general solution is a superposition:

y(x,t)=∑n=1∞sin⁡(nπxL)[Ancos⁡(ωnt)+Bnsin⁡(ωnt)]y(x,t)=\sum_{n=1}^{\infty}\sin\left(\frac{n\pi x}{L}\right)\left[A_n\cos(\omega_nt)+B_n\sin(\omega_nt)\right](WE.4)

The coefficients Aₙ and Bₙ are determined by the initial conditions via Fourier sine series — An=2L∫0Lf(x)sin⁡(nπx/L) dxA_n = \frac{2}{L}\int_0^L f(x)\sin(n\pi x/L)\,dx.

WE.4 Dispersion Relations

Definition WE.1 — Dispersion Relation
The dispersion relation ω(k)\omega(k) relates angular frequency ω to wavenumber k for waves in a medium. For the standard wave equation: ω=vk\omega = vk (linear, non-dispersive). Two velocities characterize dispersive waves:Phase velocity: vp=ω/k—v_{p} = \omega/k — speed of a single-frequency wave crest.Group velocity: vg=dω/dk—v_{g} = d\omega/dk — speed of a wave packet (carries energy and information).When vp≠vgv_{p} ≠ v_{g}, the medium is dispersive: different frequencies travel at different speeds, and pulses spread out over time.

Examples of dispersion relations:

ω2=v2k2+ωp2(plasma, where ωp is the plasma frequency)\omega^2=v^2k^2+\omega_p^2 \qquad \text{(plasma, where }\omega_p\text{ is the plasma frequency)}(WE.5)
ω2=gk+γk3ρ(deep water: gravity + surface tension)\omega^2=gk+\frac{\gamma k^3}{\rho} \qquad \text{(deep water: gravity + surface tension)}(WE.6)
ω=ℏk22m(non-relativistic de Broglie waves)\omega=\frac{\hbar k^2}{2m} \qquad \text{(non-relativistic de Broglie waves)}(WE.7)
Example WE.2 — Group Velocity of a Wave Packet

Two cosine waves with nearly equal frequencies: k1=k−δk,k2=k+δk,ω1=ω−δω,ω2=ω+δωk_{1} = k-\delta k, k_{2} = k+\delta k, \omega_{1} = \omega-\delta\omega, \omega_{2} = \omega+\delta\omega. Find the envelope velocity.

Superpose:y=cos⁡(k1x−ω1t)+cos⁡(k2x−ω2t)y = \cos(k_{1}x - \omega_{1}t) + \cos(k_{2}x - \omega_{2}t)
Sum-to-product:= 2cos⁡((k1−k2)x/2−(ω1−ω2)t/2)⋅cos⁡((k1+k2)x/2−(ω1+ω2)t/2)2 \cos((k_{1}-k_{2})x/2 - (\omega_{1}-\omega_{2})t/2) \cdot \cos((k_{1}+k_{2})x/2 - (\omega_{1}+\omega_{2})t/2)
Result:= 2cos⁡(δk⋅x−δω⋅t)⋅cos⁡(kx−ωt)2 \cos(\delta k \cdot x - \delta\omega \cdot t) \cdot \cos(kx - \omega t)
Interpretation:Fast oscillation at (k,ω)—k, \omega) — the carrier wave. Slow envelope at (δk,δω)—\delta k, \delta\omega) — the beat. The envelope travels at venvelope=δω/δk→dω/dkv_{\text{envelope}} = \delta\omega/\delta k \to d\omega/dk in the limit.
Conclusion:vgroup=dω/dkv_{\text{group}} = d\omega/dk — the group velocity carries the packet and, in QM, the probability density.

WE.5 Energy and Power in Waves

For a traveling wave on a string y = A sin(kx − ωt), the power transmitted past any point is:

P=12μω2A2v=12TkA2ωP=\frac{1}{2}\mu\omega^2A^2v=\frac{1}{2}TkA^2\omega(WE.8)

More usefully: P = ½μvω²A². The energy per wavelength is Eλ=P⋅(λ/v)=12μω2A2λE_\lambda = P\cdot(\lambda/v) = \tfrac{1}{2}\mu\omega^2A^2\lambda. The energy density (energy per unit length) is u = ½μω²A² — equally divided between kinetic (½μẏ²) and potential (½T(∂y/∂x)²) at each instant, averaged over time.

Definition WE.2 — Common Traps
  • Boundary conditions choose the modes: the PDE alone does not decide whether sine, cosine, or mixed modes appear.
  • Phase velocity is not always signal speed: in dispersive media, energy and information travel with group velocity.
  • Fourier coefficients are set by initial conditions: normal modes are the basis, not the full answer by themselves.
  • Average power is cycle-averaged: instantaneous energy density oscillates between kinetic and potential forms.
Exercises — WE.1–WE.5 The Wave Equation
1.
A guitar string is 65 cm long, under 70 N tension, with linear density μ=5×10−4kg/m\mu = 5\times 10^{-4} kg/m. Find the wave speed, fundamental frequency, and first three harmonics.
m/s
Straightforward
2.A Gaussian pulse travels in a medium with cubic dispersion ω=ck+αk3\omega = ck + \alpha k^{3}. Describe qualitatively how the pulse shape changes over time. What is this called in fiber optics?
Intermediate
3.Find the normal modes of a 2D square membrane (fixed boundary, side L). Which modes are degenerate? Sketch the nodal patterns for the lowest modes.
Intermediate
4.Show that the Schrödinger equation iℏ∂ψ/∂t=(−ℏ2/2m)∂2ψ/∂x2hasai\hbar \partial\psi/\partial t = (-\hbar^{2}/2m)\partial^{2}\psi/\partial x^{2} has a plane wave solution. Find the phase and group velocities. Which matches the classical particle velocity?
Challenging
Key Takeaways
  • Wave equation: ∂2y/∂t2=v2∂2y/∂x2\partial^{2}y/\partial t^{2} = v^{2}\partial^{2}y/\partial x^{2}. Applies to strings (v=T/μv=\sqrt{T/\mu}), sound, EM, QM.
  • D'Alembert: general solution = f(x−vt)+g(x+vt)—f(x-vt) + g(x+vt) — rightward plus leftward waves.
  • Normal modes: sin⁡(nπx/L)\sin(n\pi x/L) with ωn=nπv/L\omega_{n} = n\pi v/L. Superpose with Fourier coefficients.
  • Phase velocity vp=ω/kv_{p} = \omega/k (crest speed); group velocity vg=dω/dkv_{g} = d\omega/dk (packet speed, carries energy).
  • Non-dispersive: ω=vk→vp=vg\omega = vk \to v_{p} = v_{g}. Dispersive: vp≠vgv_{p} ≠ v_{g}, pulses spread.
  • Energy density: u=12μω2A2u = \frac{1}{2}\mu\omega^{2}A^{2}, equally kinetic and potential (averaged over cycle).