Differential Equations · Undergraduate
The Wave Equation and Vibrating Strings
Quick answer
The wave equation u_tt = c² u_xx describes a vibrating string, with u(x, t) the displacement and c the wave speed. For a string of length L with fixed ends, separating variables gives standing waves sin(nπx/L) that oscillate in time with angular frequencies nπc/L. Unlike heat, these modes do not decay, and their frequencies are whole-number multiples of the lowest one, so a string sounds a note. d'Alembert's form F(x − ct) + G(x + ct) shows two waves moving in opposite directions.
What you'll learn
- Interpret the wave equation and its boundary and initial conditions
- Find standing-wave solutions by separation of variables
- Compute the natural frequencies of a string
- Recognize d'Alembert's traveling-wave form
A string fixed at both ends
A guitar string of length has displacement . Newton’s law for each small piece gives the wave equation
with a starting shape and starting velocity . As with the heat equation, try . The ends force , and now , so oscillates:
The are the Fourier sine coefficients of , and the come from .
Why a string plays a note
Mode vibrates with frequency cycles per second. Every frequency is a whole-number multiple of the fundamental , so the sound repeats with the period of the fundamental, and the ear hears one pitch. The mix of overtones, set by how the string is plucked, gives the tone its color. Because the time factor is a cosine rather than a decaying exponential, the ideal string never stops; real strings lose energy to air and friction.
- t = 0
- t = π/8
- t = π/4
Worked examples
Common mistakes
Practice problems
-
Solve on , fixed ends, , .
Answer
Full solution
With and , mode oscillates as .
-
A string has m and m/s. Find its fundamental frequency.
Answer
Hz
Full solution
.
-
How does the fundamental change if the string is shortened to half its length?
Answer
It doubles, raising the pitch an octave.
Full solution
is inversely proportional to .
-
Verify that solves .
Answer
and .
Full solution
So : a wave moving left at speed .
-
In Example 1, find .
Answer
Full solution
.
-
What is the period of the motion in Example 1?
Answer
Full solution
has period and has period , which divides .
-
Solve on , fixed ends, starting flat with velocity .
Answer
Full solution
Only a sine term in time can start at ; at gives .
-
A student solves Example 1 as . What is wrong?
Answer
That is the heat equation’s form; the wave equation needs and .
Full solution
is a second derivative in time, so gives oscillation, not decay.
Frequently asked questions
What does the wave equation say?
u_tt = c² u_xx: the acceleration of each point of the string is proportional to how curved the string is there. c is the speed of waves along the string.
What are the standing waves of a string fixed at both ends?
sin(nπx/L) cos(nπct/L) and sin(nπx/L) sin(nπct/L), for n = 1, 2, 3, …. Each has a fixed shape that oscillates in place.
What are the natural frequencies?
fₙ = nc/(2L) cycles per second, whole-number multiples of the fundamental f₁ = c/(2L).
How is the wave equation different from the heat equation?
The heat equation has u_t, so modes decay exponentially. The wave equation has u_tt, so modes oscillate forever without loss.
What is d'Alembert's solution?
Every solution on an infinite string has the form u = F(x − ct) + G(x + ct): one wave moving right and one moving left at speed c.