Sub topic 10
Harmonics in Open and Closed Pipes
This chapter assumes you know standing waves, nodes and antinodes, the relation v = fλ, and the speed of sound in air. It shows how the boundary conditions at the ends of an air column decide which frequencies a pipe can sustain.
Boundary conditions in an air column
Sound in a pipe is a longitudinal wave. The air at each end behaves as follows:
- At a closed end, air cannot move. This is a displacement node (and a pressure antinode).
- At an open end, air moves freely. This is a displacement antinode (and a pressure node).
Only wavelengths that fit these end conditions form standing waves. This is the same idea as the string fixed at both ends, but the end conditions differ.
Open pipe (open at both ends)
Each end is an antinode. The shortest pattern has one node in the middle, so L = λ/2. In general L = nλ/2, which gives
f_n = n·v / (2L), with n = 1, 2, 3, ...
All harmonics are present: f, 2f, 3f, and so on. The ratio is 1 : 2 : 3 : ...
Closed pipe (closed at one end)
The closed end is a node and the open end is an antinode. The shortest pattern is a quarter wavelength, so L = λ/4. In general L = (2n − 1)λ/4, which gives
f_n = (2n − 1)·v / (4L), with n = 1, 2, 3, ...
Only odd harmonics are present: f, 3f, 5f, and so on. The ratio is 1 : 3 : 5 : ... Even multiples such as 2f cannot fit, because they would put an antinode at the closed end.
Comparing the two
| Property | Open pipe | Closed pipe |
|---|---|---|
| End conditions | Antinode at both ends | Node at closed end, antinode at open end |
| Fundamental | v / (2L) | v / (4L) |
| Harmonics present | All (1, 2, 3, ...) | Odd only (1, 3, 5, ...) |
| Fundamental for same L | Higher (twice) | Lower |
A closed pipe of length L has the same fundamental as an open pipe of length 2L.
Worked example in code
The code below finds the first three allowed frequencies of both pipes for L = 0.85 m and v = 340 m/s.
v = 340.0 # speed of sound in air, m/s
L = 0.85 # pipe length, m
open_pipe = [n * v / (2 * L) for n in (1, 2, 3)] # all harmonics
closed_pipe = [(2 * n - 1) * v / (4 * L) for n in (1, 2, 3)] # odd harmonics only
print(open_pipe) # about [200, 400, 600] Hz
print(closed_pipe) # about [100, 300, 500] HzThe open pipe gives 200, 400 and 600 Hz. The closed pipe gives 100, 300 and 500 Hz. The closed pipe sounds an octave lower and misses the even harmonics.
Common errors
- Calling the closed-pipe modes "the second harmonic, third harmonic" by mode number n. The second mode is the third harmonic (3f). Count by the multiple of the fundamental, not by n.
- Using f = nv/(2L) for a closed pipe, or (2n − 1)v/(4L) for an open pipe.
- Forgetting that a pipe closed at one end has a node at the closed end, not an antinode.
- Ignoring end correction when a problem gives it. Air at an open end vibrates slightly beyond the pipe, so the effective length is larger. With end correction e, use L + e for a closed pipe, and L + 2e for an open pipe.
Practice
Exercise
A pipe closed at one end has length 0.5 m. Take v = 340 m/s. Find its fundamental and the next two frequencies it can sustain.
Show answer
Fundamental f1 = v/(4L) = 340/(4 × 0.5) = 170 Hz. Only odd harmonics exist, so the next two are 3f1 = 510 Hz and 5f1 = 850 Hz.
Exercise
An open pipe and a closed pipe have the same fundamental frequency. What is the ratio of the length of the open pipe to that of the closed pipe?
Show answer
Open: f = v/(2Lo). Closed: f = v/(4Lc). Setting them equal gives 2Lo = 4Lc, so Lo : Lc = 2 : 1.