Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Wave equation

Classical wave equation

∂2u(x,t)∂x2=1v2∂2u(x,t)∂t2\frac{\partial^2 u(x,t)}{\partial x^2 }= \frac{1}{v^2}\frac{\partial^2 u(x,t)}{\partial t^2}
Source
Loading...

Fig. A Gaussian bump released from rest on an infinite string. The wave equation carries half of it to the right and half to the left; the sum (red) is the string’s actual shape at each instant.

guitar string

Figure 1:A plucked guitar string is the classic system governed by the 1D wave equation.

Solving the wave equation: the big picture

u(0,t)=0andu(L,t)=0u(0, t) = 0 \quad \text{and} \quad u(L, t) = 0
u=∑ncnunu = \sum_n c_n u_n

Step 1: Plug the product X(x)T(t)X(x)T(t) into the wave equation

1v2∂2u∂t2=∂2u∂x2\frac{1}{v^2}\frac{\partial^2 u}{\partial t^2} = \frac{\partial^2 u}{\partial x^2}
X(x)v2d2Tdt2=T(t)d2Xdx2\frac{X(x)}{v^2}\frac{d^2 T}{d t^2} = T(t)\frac{d^2 X}{d x^2}
1v2 T(t)d2Tdt2=1X(x)d2Xdx2\frac{1}{v^2\, T(t)}\frac{d^2 T}{d t^2} = \frac{1}{X(x)}\frac{d^2 X}{d x^2}
1v2 Td2Tdt2=1Xd2Xdx2=K\frac{1}{v^2\, T}\frac{d^2 T}{d t^2} = \frac{1}{X}\frac{d^2 X}{d x^2} = K
d2Xdx2−KX=0,d2Tdt2−Kv2 T=0\frac{d^2 X}{d x^2} - K X = 0, \qquad \frac{d^2 T}{d t^2} - K v^2\, T = 0

Step 2: Solve each ordinary differential equation

The damped oscillator, y′′+2βy′+ω2y=0y'' + 2\beta y' + \omega^2 y = 0, shows what the root type means for the motion. Its characteristic equation has roots r=−β±β2−ω2r = -\beta \pm \sqrt{\beta^2 - \omega^2}: complex when the damping is weak, real when it is strong. The full solution is worked out in Problem 2 at the end of the chapter.

Source
Loading...

Fig. A mass on a spring released in water (left) and in honey (right). Left: complex roots r=−β±iωdr = -\beta \pm i\omega_d give an oscillation inside a decaying envelope; the imaginary part sets the frequency, the real part the decay. Right: two real negative roots give decay with no oscillation, the dashed curve being the critically damped case. The spatial equation X′′−KX=0X'' - KX = 0 faces the same fork, decided by the sign of KK.

Source
<Figure size 800x200 with 2 Axes>

Fig. Why the sign of KK decides. Left: for K>0K > 0 the solutions are growing and decaying exponentials, and no combination of them returns to zero at both clamps. Right: for K<0K < 0 the solutions are sines and cosines, and the sines vanish at both clamps whenever a whole number of half-wavelengths fits.

Solution for the spatial part: normal modes

Source
<Figure size 660x560 with 4 Axes>

Fig. The first four normal modes at their two extreme positions. Red dots mark the nodes, points that never move; mode nn has n−1n-1 of them between the clamps and wavelength 2L/n2L/n.

Solution for the temporal part

Tn(t)=Dncos⁡(ωnt)+Ensin⁡(ωnt)=Ancos⁡(ωnt+ϕn)T_n(t) = D_n \cos(\omega_n t) + E_n \sin(\omega_n t) = A_n \cos (\omega_n t + \phi_n)

Step 3: Full solution as a sum of normal modes

About nodes

Places where the string stays at rest are called nodes. Their number grows with nn:

A single mode is a standing wave with fixed nodes. A sum of modes is not: because the modes oscillate at different frequencies, the points of zero displacement move around, and the shape changes from instant to instant.

Source
Loading...

Fig. Top: single modes n=1n=1 and n=3n=3 oscillate in place with fixed nodes. Bottom: sums of modes with equal amplitudes; the shape sloshes back and forth because each mode runs at its own frequency.

Initial conditions pick the amplitudes: the plucked string

f(x)=∑n=1∞Ansin⁡(nπxL)f(x) = \sum_{n=1}^\infty A_n \sin\left(\frac{n\pi x}{L}\right)
∫0Lsin⁡(nπxL)sin⁡(mπxL)dx={L/2n=m0n≠m\int_0^L \sin\left(\frac{n\pi x}{L}\right)\sin\left(\frac{m\pi x}{L}\right)dx = \begin{cases} L/2 & n = m \\ 0 & n \neq m \end{cases}

so every term of the sum vanishes except the one with n=mn=m:

Source
Loading...

Fig. Top: a string plucked at 0.3L0.3L (dotted triangle) evolves as the sum of 40 normal modes (red); the two largest terms are dashed. Bottom: the mode amplitudes AnA_n. They alternate in sign, fall off as 1/n21/n^2, and A10=0A_{10} = 0 because mode 10 has a node at the pluck point.

The notes of a string

2D membrane vibrations

u(x,y,t)=X(x) Y(y) T(t)u(x, y, t) = X(x)\, Y(y)\, T(t)
u(x,y,t)=∑n∑mAnmcos⁡(ωnmt+ϕnm)sin⁡(nπxa)sin⁡(mπyb)u(x, y, t) = \sum_n \sum_m A_{nm} \cos(\omega_{nm}t + \phi_{nm}) \sin\left(\frac{n\pi x}{a}\right) \sin\left(\frac{m\pi y}{b}\right)
Source
Loading...

Fig. The four lowest normal modes of a square membrane, all shown at a common phase so that the shapes can be compared. Each is a product of a sine in xx and a sine in yy; the nodal lines where the membrane stays flat are the 2D counterpart of the nodes on a string.

Use the sliders to choose the two mode numbers and rotate the surface.

The sound of music

The size of a musical instrument reflects the range of frequencies it is designed to produce: \nu_1 = v/2L, so smaller instruments produce higher frequencies and larger instruments lower ones.

Figure 2:The size of a musical instrument reflects the range of frequencies it is designed to produce: ν1=v/2L\nu_1 = v/2L, so smaller instruments produce higher frequencies and larger instruments lower ones.

Looking ahead: the same recipe for the Schrödinger equation

Everything in this lecture transfers to quantum mechanics with a change of cast. Keep this table in mind when Chapter 3 solves the particle in a box.

classical stringquantum particle in a box
wave equation uxx=utt/v2u_{xx} = u_{tt}/v^2Schrödinger equation −ℏ22mΨxx+VΨ=iℏΨt-\frac{\hbar^2}{2m}\Psi_{xx} + V\Psi = i\hbar\Psi_t
separation u=X(x) T(t)u = X(x)\,T(t)separation Ψ=ψ(x) e−iEt/ℏ\Psi = \psi(x)\,e^{-iEt/\hbar}
fixed ends X(0)=X(L)=0X(0)=X(L)=0impenetrable walls ψ(0)=ψ(L)=0\psi(0)=\psi(L)=0
normal modes sin⁡(nπx/L)\sin(n\pi x/L)stationary states sin⁡(nπx/L)\sin(n\pi x/L)
frequencies ωn∝n\omega_n \propto nenergies En∝n2E_n \propto n^2
pluck sets the amplitudes AnA_ninitial state sets the probability amplitudes cnc_n
orthogonality extracts AnA_northogonality extracts cnc_n

The only structural difference is the single time derivative and the factor ii in the Schrödinger equation, which is why quantum “oscillation” in time is a rotating complex phase rather than a real cosine.

Problems

Problem 1: Simple harmonic oscillator

Solve the ODE

d2ydt2+ω2y=0\frac{d^2 y}{dt^2} + \omega^2 y = 0

where ω\omega is a constant.

Problem 2: Damped oscillator

Solve the ODE

d2ydt2+2βdydt+ω2y=0\frac{d^2 y}{dt^2} + 2 \beta \frac{dy}{dt} + \omega^2 y = 0

where β\beta and ω\omega are constants. Consider the cases β2<ω2\beta^2 < \omega^2, β2>ω2\beta^2 > \omega^2, and β2=ω2\beta^2 = \omega^2.

Problem 3: Real roots

Solve the ODE

d2ydt2−4y=0\frac{d^2 y}{dt^2} - 4 y = 0

Problem 4: Imaginary roots

Solve the ODE

d2ydt2+9y=0\frac{d^2 y}{dt^2} + 9 y = 0

Problem 5: Repeated roots

Solve the ODE

d2ydt2−6dydt+9y=0\frac{d^2 y}{dt^2} - 6 \frac{dy}{dt} + 9 y = 0

Problem 6: A string with one free end

A string of length LL is clamped at x=0x=0 but its other end slides freely on a frictionless rod, so that the slope vanishes there: X(0)=0X(0) = 0 and X′(L)=0X'(L) = 0. Find the allowed normal modes and their frequencies. Which harmonics of the fixed-fixed string are missing? (A clarinet, closed at one end and open at the other, has the same pattern.)

Problem 7: Plucking at the midpoint

A string is pulled to height hh at its midpoint and released from rest. Using the formula for AnA_n in the plucked-string example, compute A1A_1 through A5A_5 in units of hh. Which modes are absent, and why can you predict that from the symmetry of the initial shape without any integration?

Problem 8: Frequencies of a square drum

For a square membrane of side aa, list ωnm/ω11\omega_{nm}/\omega_{11} for all n,m≤3n, m \leq 3 in increasing order. Which frequencies are degenerate? Now make the membrane rectangular with b=1.2ab = 1.2a: which degeneracies survive?

Problem 9: Waves on a ring

A wave travels on a closed loop of circumference LL, so instead of fixed ends the solution must satisfy periodic boundary conditions, X(0)=X(L)X(0) = X(L) and X′(0)=X′(L)X'(0) = X'(L). Show that X(x)=eikxX(x) = e^{ikx} works when k=2πn/Lk = 2\pi n/L with n=0,±1,±2,…n = 0, \pm 1, \pm 2, \ldots, find the wavelengths, and compare with the standing-wave condition on a Bohr orbit in Chapter 1.

Problem 10: Orthogonality of the modes

Show by direct integration that

∫0Lsin⁡(nπxL)sin⁡(mπxL)dx=L2 δnm\int_0^L \sin\left(\frac{n\pi x}{L}\right)\sin\left(\frac{m\pi x}{L}\right)dx = \frac{L}{2}\,\delta_{nm}

for positive integers n,mn, m. (Use sin⁡αsin⁡β=12[cos⁡(α−β)−cos⁡(α+β)]\sin\alpha\sin\beta = \tfrac{1}{2}[\cos(\alpha-\beta)-\cos(\alpha+\beta)].) Then use the result to verify the formula An=2L∫0Lf(x)sin⁡(nπx/L) dxA_n = \frac{2}{L}\int_0^L f(x)\sin(n\pi x/L)\,dx.