Sub topic 10
Modes of a string fixed at both ends
This chapter derives the allowed frequencies of a string clamped at both ends, shows where the nodes and antinodes sit in each mode, and explains why real strings deviate from the ideal result. It assumes you know the following:
- Basic trigonometry.
- The wave quantities amplitude, wavelength, frequency, period, and speed, and the relation v = fλ.
- Superposition and reflection at a fixed boundary, which earlier chapters cover. A fixed end inverts the reflected wave, so the string's displacement stays zero there.
Boundary conditions pick the allowed waves
A long string can carry a traveling wave of any frequency. A string of length L clamped at x = 0 and x = L cannot. Each reflection at a clamped end produces a wave traveling the other way. The incoming and reflected waves superpose, and only certain frequencies produce a stable standing pattern.
Write the two counter-propagating waves, each with amplitude A, wavenumber k = 2π/λ, and angular frequency ω = 2πf:
y₁ = A sin(kx − ωt) and y₂ = A sin(kx + ωt)
Their sum, from the identity sin a + sin b = 2 sin((a+b)/2) cos((a−b)/2), is:
y(x, t) = 2A sin(kx) cos(ωt)
This has a fixed spatial shape, sin(kx), whose size oscillates in time as cos(ωt). Nothing travels. Every point moves in phase or exactly out of phase with every other point.
The clamped ends require y = 0 at all times:
- At x = 0, sin(0) = 0, so the condition already holds. The sign flip on reflection is what makes this work.
- At x = L, we need sin(kL) = 0. That requires kL = nπ for n = 1, 2, 3, …
Substituting k = 2π/λ gives the allowed wavelengths:
λₙ = 2L/n
Equivalently, L = n(λ/2): the string holds a whole number of half-wavelengths. Using f = v/λ gives the allowed frequencies:
fₙ = n v / (2L), where v = √(T/μ)
Here T is the tension in newtons and μ is the mass per unit length in kg/m. The lowest frequency, f₁ = v/(2L), is the fundamental, or first harmonic. Every other allowed frequency is an integer multiple of it, so the series is f₁, 2f₁, 3f₁, and so on.
Shape of each mode
For mode n, the displacement is
yₙ(x, t) = 2A sin(nπx / L) cos(2π fₙ t)
The nodes are the points that never move. They occur where sin(nπx/L) = 0, so x = kL/n for k = 0, 1, …, n. The antinodes, where the amplitude is largest, occur where |sin(nπx/L)| = 1, so x = (2k − 1)L/(2n) for k = 1, …, n.
| Mode n | Wavelength | Frequency | Nodes (including ends) | Antinodes |
|---|---|---|---|---|
| 1 | 2L | f₁ | 2 | 1 |
| 2 | L | 2f₁ | 3 | 2 |
| 3 | 2L/3 | 3f₁ | 4 | 3 |
| 4 | L/2 | 4f₁ | 5 | 4 |
The pattern is that mode n has n + 1 nodes (two of them at the ends) and n antinodes. Adjacent nodes are λ/2 apart, and a node and its neighboring antinode are λ/4 apart.
For example, take L = 0.65 m and n = 3. The nodes are at x = 0, 0.217, 0.433, and 0.650 m. The antinodes are at x = 0.108, 0.325, and 0.542 m.
Computing the frequencies
The code below reproduces the first four modes for a 0.65 m string with T = 100 N and μ = 0.01 kg/m.
import math
T = 100.0 # N, string tension
mu = 0.01 # kg/m, linear mass density
L = 0.65 # m, string length
v = math.sqrt(T / mu) # wave speed on the string
for n in range(1, 5):
f_n = n * v / (2 * L)
print(f"Mode {n}: {f_n:.1f} Hz")The wave speed is √(100 / 0.01) = 100 m/s, so f₁ = 100 / 1.3 ≈ 76.9 Hz. The output is 76.9, 153.8, 230.8, and 307.7 Hz. These are exact integer multiples of the fundamental. The printed values differ slightly from n × 76.9 only because of rounding.
What sets the fundamental
Substituting v = √(T/μ) into f₁ gives
f₁ = (1/2L) √(T/μ)
This shows three ways to change pitch, which is how stringed instruments work:
- Shorter L raises f₁ in inverse proportion. Pressing a string at its midpoint halves L and doubles the frequency, an octave higher.
- Higher T raises f₁ as √T. Quadrupling the tension doubles the frequency.
- Higher μ lowers f₁ as 1/√μ. Bass strings are thicker or wound with metal to add mass per length.
A real string is a mix of modes
A string rarely vibrates in one mode. The superposition principle says any motion that obeys the wave equation with these boundary conditions is a sum of modes:
y(x, t) = Σ aₙ sin(nπx/L) cos(2π fₙ t + φₙ)
The coefficients aₙ and phases φₙ come from the initial conditions. Where you pluck decides which modes appear:
- A pluck at the midpoint puts the string's initial shape at an antinode of mode 1 and a node of mode 2. Mode 2 and all other even modes get no energy, because sin(nπ/2) = 0 for even n.
- A pluck at L/3 removes every mode whose number is a multiple of 3.
- Lightly touching the string at a node of mode n while plucking suppresses modes that have no node there and leaves mode n and its multiples. This is how guitar harmonics are played.
Edge cases and limits
The formula fₙ = n v/(2L) is an ideal-string result. Four effects matter in practice:
- Stiffness. Real strings resist bending. The effective restoring force rises for short wavelengths, so high modes come out slightly sharp relative to n f₁. This is called inharmonicity, and it is strongest in thick, short piano strings.
- Damping. Energy loss to air, internal friction, and the supports makes each mode decay. Higher modes usually decay faster, so a plucked note gets less bright over time.
- Nonzero end motion. A guitar's bridge and nut move slightly, which is how a vibrating string drives the soundboard. The fixed-end condition is therefore an approximation, though a good one when the support is much more massive than the string.
- Large amplitude. The superposition of modes assumes small displacements. A large pluck stretches the string, raises the tension, and shifts the frequency upward as the amplitude grows. The medium is then not linear and the modes are no longer independent.
Common errors
- Using λ = L for the fundamental. The fundamental fits half a wavelength: λ₁ = 2L.
- Forgetting that v comes from the string, not from the pitch. For a given string, v = √(T/μ) is fixed by the tension. Changing the mode changes f and λ together, with their product staying at v.
- Counting nodes inconsistently. State whether the two end nodes are included. Mode n has n − 1 interior nodes, or n + 1 counting the ends.
- Mixing units. μ must be in kg/m and T in N. A string of 5 g per meter is μ = 0.005 kg/m.
Exercise
A string of length 0.50 m has a fundamental frequency of 220 Hz. (a) What is the wave speed on the string? (b) What is the frequency of the third harmonic? (c) If μ = 0.005 kg/m, what is the tension?
Show answer
(a) From f₁ = v/(2L), v = 2Lf₁ = 2 × 0.50 × 220 = 220 m/s. (b) f₃ = 3 × 220 = 660 Hz. (c) From v = √(T/μ), T = μv² = 0.005 × 220² = 0.005 × 48400 = 242 N.
Exercise
A string fixed at both ends is plucked at exactly one third of its length from one end. Which modes receive no energy, and why? How many antinodes does the fifth mode have, and where is the first one?
Show answer
Mode n has a node at x = L/3 when sin(nπ/3) = 0, which happens when n is a multiple of 3. So modes 3, 6, 9, … get no energy, because plucking at a node does not excite that mode. Mode 5 has 5 antinodes. The first is at x = (2·1 − 1)L/(2·5) = L/10.