Skip to content
Part IA Michaelmas, Lent, Easter Term

Wave Equation

The Equation

2yt2=c022yx2\frac{\partial^2 y}{\partial t^2} = c_0^2 \frac{\partial^2 y}{\partial x^2}

Or: ytt=c02yxxy_{tt} = c_0^2 y_{xx}

c0c_0 is the wave speed.


Physical Derivation

Consider a stretched string with:

  • Tension TT (constant for small displacements)
  • Mass per unit length μ\mu

For small yy and small slope:

Newton’s second law on element:

μΔx2yt2T[(yx)x+Δx(yx)x]\mu\Delta x \frac{\partial^2 y}{\partial t^2} \approx T\left[\left(\frac{\partial y}{\partial x}\right)_{x+\Delta x} - \left(\frac{\partial y}{\partial x}\right)_x\right]

Dividing by Δx\Delta x and taking limit:

μ2yt2=T2yx2\mu\frac{\partial^2 y}{\partial t^2} = T\frac{\partial^2 y}{\partial x^2}

Wave speed: c02=T/μc_0^2 = T/\mu


D’Alembert’s Solution

The general solution is:

y(x,t)=f(xc0t)+g(x+c0t)y(x, t) = f(x - c_0 t) + g(x + c_0 t)

Travelling waves - f(x-ct) moving right, g(x+ct) moving left, both at speed c

where ff and gg are arbitrary functions.

Interpretation:

  • f(xc0t)f(x - c_0 t): wave travelling right at speed c0c_0
  • g(x+c0t)g(x + c_0 t): wave travelling left at speed c0c_0

Standing Waves on a Finite String

Consider string of length LL with fixed ends:

Vibrating string of length L with fixed ends, showing standing wave pattern

Boundary conditions:

  • y(0,t)=0y(0, t) = 0
  • y(L,t)=0y(L, t) = 0

Separation of variables: Try y(x,t)=X(x)T(t)y(x, t) = X(x)T(t)

Substituting: Tc02T=XX=ω2\frac{T''}{c_0^2 T} = \frac{X''}{X} = -\omega^2

Spatial part: X(x)=Asin(ωx/c0)+Bcos(ωx/c0)X(x) = A\sin(\omega x/c_0) + B\cos(\omega x/c_0)

X(0)=0B=0X(0) = 0 \Rightarrow B = 0

X(L)=0sin(ωL/c0)=0X(L) = 0 \Rightarrow \sin(\omega L/c_0) = 0, so ωL/c0=nπ\omega L/c_0 = n\pi

Normal modes:

yn(x,t)=sin(nπxL)[Cncos(nπc0tL)+Dnsin(nπc0tL)]y_n(x, t) = \sin\left(\frac{n\pi x}{L}\right)\left[C_n\cos\left(\frac{n\pi c_0 t}{L}\right) + D_n\sin\left(\frac{n\pi c_0 t}{L}\right)\right]


Initial Conditions

Given y(x,0)=Y(x)y(x, 0) = Y(x) and y˙(x,0)=V(x)\dot{y}(x, 0) = V(x):

Expand in Fourier sine series:

Y(x)=n=1Ansin(nπxL)Y(x) = \sum_{n=1}^{\infty} A_n \sin\left(\frac{n\pi x}{L}\right)

V(x)=n=1Bn(nπc0L)sin(nπxL)V(x) = \sum_{n=1}^{\infty} B_n \left(\frac{n\pi c_0}{L}\right) \sin\left(\frac{n\pi x}{L}\right)

The solution combines position and velocity terms.


Standing Waves

The normal modes are standing waves with:

  • Wavelength: λn=2L/n\lambda_n = 2L/n
  • Frequency: fn=nc02Lf_n = \frac{nc_0}{2L}

First three standing wave modes (n=1, 2, 3) on a string, showing nodes and antinodes

n=1n = 1: fundamental mode
n=2n = 2: first harmonic
n=3n = 3: second harmonic

The general solution is a superposition of all modes.


Energy Conservation

Total energy of the string:

E=120L[μ(yt)2+T(yx)2]dxE = \frac{1}{2}\int_0^L \left[\mu\left(\frac{\partial y}{\partial t}\right)^2 + T\left(\frac{\partial y}{\partial x}\right)^2\right] dx

For free vibrations, energy is conserved.


Why the Wave Equation Matters

  • Describes vibrations (strings, membranes, acoustics)
  • Electromagnetic waves (light, radio)
  • Seismic waves (earthquakes)
  • One of the fundamental equations of physics

The separation of variables method generalises to many other PDEs.