Sub topic 8
Harmonics of a String Fixed at Both Ends
This chapter assumes you know the traveling wave equation, the speed v = √(T/μ) on a string, superposition, reflection at a fixed end, and the nodes and antinodes of a standing wave. Here we combine them to find which frequencies a fixed string can sustain.
Why only certain frequencies survive
A string clamped at x = 0 and x = L cannot move at either end. Both ends must therefore be nodes. A wave sent along the string reflects at each end with a phase change of π, and the incident and reflected waves superpose.
Most frequencies produce a jumble that dies out. At special frequencies the reflected waves reinforce each other and a stable standing wave forms. Each such pattern is a normal mode, or a harmonic.
Take the standing wave y(x, t) = 2A sin(kx) cos(ωt). The boundary condition y(0, t) = 0 is satisfied automatically. The condition y(L, t) = 0 requires sin(kL) = 0, so
kL = nπ, with n = 1, 2, 3, …
Since k = 2π/λ, this gives
L = n · λ/2, so λn = 2L/n.
The string must hold a whole number of half wavelengths.
The frequency formula
Use v = fλ with v = √(T/μ):
fn = n · v / (2L) = (n / 2L) · √(T/μ)
The fundamental (first harmonic) is f1 = v/(2L). Every other mode is an integer multiple: fn = n·f1. The string supports all integer harmonics, so the series is 1 : 2 : 3 : 4 : …
import math
T = 100.0 # tension in N
mu = 0.01 # mass per unit length in kg/m
L = 0.5 # length of string in m
v = math.sqrt(T / mu)
for n in range(1, 4):
print(n, n * v / (2 * L))
# prints: 1 100.0, 2 200.0, 3 300.0Here v = √(100/0.01) = 100 m/s, so f1 = 100/(2 × 0.5) = 100 Hz.
Mode shapes
For the nth harmonic the displacement is
yn(x, t) = 2A sin(nπx/L) cos(ωn t)
The nodes are where sin(nπx/L) = 0, at x = mL/n for m = 0, 1, …, n. That gives n + 1 nodes, including the two ends, and n − 1 interior nodes. The antinodes are where |sin(nπx/L)| = 1, at x = (2m − 1)L/(2n). That gives n antinodes.
| Harmonic | Wavelength | Loops | Nodes (including ends) | Antinodes |
|---|---|---|---|---|
| 1st (fundamental) | 2L | 1 | 2 | 1 |
| 2nd | L | 2 | 3 | 2 |
| 3rd | 2L/3 | 3 | 4 | 3 |
| nth | 2L/n | n | n + 1 | n |
Adjacent nodes, or adjacent antinodes, are λ/2 apart. A node and the next antinode are λ/4 apart.
Fundamental, overtones and harmonics
JEE questions often mix these terms, so fix them carefully.
| Name | Meaning | Frequency |
|---|---|---|
| Fundamental | Lowest frequency | f1 |
| 1st overtone | Next higher mode | 2f1 (2nd harmonic) |
| 2nd overtone | Next after that | 3f1 (3rd harmonic) |
| nth overtone | (n + 1)f1 |
For a string fixed at both ends, the nth overtone is the (n + 1)th harmonic. This offset by one will not hold for a closed pipe, which has only odd harmonics.
How the frequency depends on the variables
From f1 = (1/2L)√(T/μ):
- Frequency is inversely proportional to length. Pressing a finger on a guitar string shortens the vibrating length and raises the pitch.
- Frequency is proportional to √T. To double the frequency, quadruple the tension.
- Frequency is inversely proportional to √μ. A thicker or denser string sounds lower.
If μ = ρA, where ρ is the density of the material and A is the cross-sectional area, then f1 = (1/2L)√(T/(ρA)). For a wire of radius r, μ = ρπr², so doubling r halves f1 at fixed T and L.
Worked example 1: finding the harmonic
A string of length 1.2 m is fixed at both ends. It vibrates in a standing wave with amplitude of antinode 2 mm and frequency 150 Hz. The wave speed on the string is 90 m/s. Which harmonic is this?
f1 = v/(2L) = 90/2.4 = 37.5 Hz. Then n = 150/37.5 = 4, so this is the 4th harmonic, with 5 nodes including the ends and 4 antinodes. Its wavelength is 2L/4 = 0.6 m.
Worked example 2: changing tension
A string has fundamental frequency 200 Hz. Its tension is increased by 21%. Find the new fundamental.
f ∝ √T, so f′ = 200 × √1.21 = 200 × 1.1 = 220 Hz.
Worked example 3: two strings with a common node
Two segments of one wire, of lengths L1 and L2, are joined end to end and stretched under the same tension. Both have the same μ. Then both have the same wave speed, and a fundamental of a segment is v/(2Lsegment). Two adjacent tuned segments produce a common frequency only if f = n1 v/(2L1) = n2 v/(2L2). This requires n1/L1 = n2/L2, so n1 : n2 = L1 : L2.
If L1 : L2 = 3 : 2, the smallest common frequency is when n1 = 3 and n2 = 2, giving f = 3v/(2L1).
Plucking and the spectrum
A real string is rarely excited in a single mode. Plucking the string at its midpoint excites mostly odd harmonics. The midpoint is an antinode for odd n and a node for even n, and a mode with a node at the plucking point cannot be excited by it. Plucking at L/4 suppresses the 4th, 8th, … harmonics.
In general, plucking at a point that is a node of the nth mode removes that mode. Touching a string lightly at x = L/3 forces a node there, so only modes with a node at L/3 survive. These are n = 3, 6, 9, …, so the lowest sounding frequency is 3f1.
def surviving_modes(L, x, n_max=12):
# Modes with a node at distance x from one end: x = m*L/n for an integer m.
modes = []
for n in range(1, n_max + 1):
m = x * n / L
if abs(m - round(m)) < 1e-9:
modes.append(n)
return modes
print(surviving_modes(1.0, 1/3)) # [3, 6, 9, 12]
print(surviving_modes(1.0, 1/2)) # [2, 4, 6, 8, 10, 12]Common errors
- Confusing overtone and harmonic numbers. The first overtone of a fixed string is the second harmonic.
- Forgetting that the wave speed is set by the string, not by the mode. All harmonics travel at the same v = √(T/μ). Only λ and f change.
- Using L as the wavelength. The fundamental has λ = 2L, because L is only half a wavelength.
- Counting nodes wrongly. The two fixed ends count as nodes. The nth harmonic has n − 1 interior nodes.
- Mixing units for μ. Convert grams per centimetre or grams per metre to kg/m before using √(T/μ). A string of 1 g/m has μ = 0.001 kg/m.
- Applying the string formula to pipes. A string fixed at both ends has all harmonics. A pipe closed at one end has a node at one end and an antinode at the other, which gives odd harmonics only.
Resonance with a driving source
A string of fixed length can also be forced by a tuning fork or a vibrator of frequency f. Large amplitude appears only when f matches fn. By adjusting tension T until a standing wave of n loops forms, you can measure f in a Melde's-type experiment. For n loops, the condition is
f = (n / 2L) · √(T/μ), so T = 4L²μf²/n².
This means that T·n² is constant for a fixed f. If 4 loops form at tension T, then 2 loops form at 4T, and 1 loop forms at 16T.
import math
def tension_for_loops(f, L, mu, n):
return 4 * L**2 * mu * f**2 / n**2
T4 = tension_for_loops(50.0, 1.0, 0.002, 4)
T2 = tension_for_loops(50.0, 1.0, 0.002, 2)
T1 = tension_for_loops(50.0, 1.0, 0.002, 1)
print(T4, T2, T1) # 1.25 5.0 20.0Summary of the key relations
| Quantity | Expression |
|---|---|
| Wave speed | v = √(T/μ) |
| Allowed wavelengths | λn = 2L/n |
| Allowed frequencies | fn = n v/(2L) = n f1 |
| Interior nodes | n − 1 |
| Antinodes | n |
| Tension for n loops at fixed f | T = 4L²μf²/n² |
Exercise
A steel wire of length 0.8 m and mass 4 g is fixed at both ends and stretched with a tension of 64 N. (a) Find the fundamental frequency. (b) Find the frequency and the number of antinodes of the 3rd harmonic. (c) The wire is touched at its midpoint and plucked near one end. What is the lowest frequency that can sound?
Show answer
(a) μ = 0.004/0.8 = 0.005 kg/m, v = √(64/0.005) = √12800 ≈ 113.1 m/s, so f1 = 113.1/(2 × 0.8) ≈ 70.7 Hz. (b) f3 = 3 × 70.7 ≈ 212 Hz, with 3 antinodes and 2 interior nodes. (c) Touching the midpoint forces a node at L/2, which only even harmonics have, so the lowest sounding frequency is f2 = 2 × 70.7 ≈ 141 Hz.
Exercise
A string fixed at both ends resonates at 420 Hz and at the next higher resonance of 525 Hz, with no resonance between them. Find the fundamental frequency and the harmonic number of the 420 Hz mode.
Show answer
Consecutive harmonics differ by f1, so f1 = 525 − 420 = 105 Hz. Then n = 420/105 = 4, so 420 Hz is the 4th harmonic and 525 Hz is the 5th.