Sub topic 11
Modes of Open and Closed Pipes
This chapter applies the standing-wave ideas from the string chapters to sound in air columns. It assumes you know the following:
- Basic trigonometry.
- The relation v = fλ.
- How a standing wave forms from two counter-propagating waves.
- What nodes and antinodes are.
- How reflection at fixed and free boundaries sets the phase of the reflected wave.
From strings to air columns
A string fixed at both ends has a node at each end, so its allowed wavelengths are λ = 2L/n. An air column in a pipe follows the same logic. The difference is the boundary condition, which depends on whether an end is open or closed.
A sound wave in air can be described in two equivalent ways:
- Displacement: how far the air molecules move from their rest positions.
- Pressure: how far the local pressure departs from atmospheric pressure.
The two descriptions are a quarter-wavelength out of step. Where displacement has a node, pressure has an antinode, and the reverse. Keep this in mind, because textbooks switch between the two descriptions without warning.
Boundary conditions at the ends
A closed end is a rigid wall. Air cannot move through it, so the displacement is zero there. This is a displacement node, and the wave reflects like a wave on a string with a fixed end. The pressure swings most at the wall, so it is a pressure antinode.
An open end lets the air move freely, and the pressure stays pinned at atmospheric pressure. This is a pressure node and a displacement antinode. The open end acts like the free boundary of a string, where the reflected wave is not inverted in displacement.
Strictly, the open end does not reflect the whole wave. Part of the sound radiates into the room, which is how you hear a pipe at all. The reflection is strong enough at low frequencies to set up well-defined standing waves.
| End type | Displacement | Pressure | String analogy |
|---|---|---|---|
| Closed | Node | Antinode | Fixed end |
| Open | Antinode | Node | Free end |
Open pipe (open at both ends)
Both ends are displacement antinodes. The shortest pattern that fits is half a wavelength: an antinode at each end with one node in the middle. Each further mode adds another half wavelength.
L = n · λₙ/2, so λₙ = 2L/n for n = 1, 2, 3, ...
Using v = fλ:
fₙ = n · v / (2L)
This has the same form as the fixed-fixed string. The speed v is now the speed of sound, not a wave speed set by tension and mass density. All integer harmonics are present.
Closed pipe (closed at one end)
The closed end is a displacement node and the open end is an antinode. The shortest pattern that fits is a quarter wavelength, from node to adjacent antinode. Each further mode adds a half wavelength, so the pipe always holds an odd number of quarter wavelengths:
L = (2k − 1) · λ/4, so λ = 4L/(2k − 1) for k = 1, 2, 3, ...
fₖ = (2k − 1) · v / (4L)
Writing n = 2k − 1 gives fₙ = n · v / (4L) with n = 1, 3, 5, ... Only odd harmonics exist. An even multiple of the fundamental would need a node and an antinode at the wrong ends.
Comparing the two pipes
For the same length L, the closed pipe has a fundamental frequency half that of the open pipe, because it fits only a quarter wavelength rather than a half wavelength. To get the same pitch, a closed pipe needs only half the length. This is why organ builders use stopped pipes for low notes in a small space.
| Property | Open at both ends | Closed at one end |
|---|---|---|
| Fundamental wavelength | 2L | 4L |
| Fundamental frequency | v / (2L) | v / (4L) |
| Harmonics present | All integers | Odd integers only |
| Frequency ratios | 1 : 2 : 3 : 4 | 1 : 3 : 5 : 7 |
| Boundary pattern | Antinode, antinode | Node, antinode |
The missing even harmonics change the tone quality (timbre). A stopped pipe or a clarinet, which behaves roughly like a closed pipe, sounds hollower than a flute, which behaves like an open pipe.
Worked example
Take a pipe 0.65 m long, with the speed of sound at 343 m/s (air at about 20 °C). This is the same length as the string in the earlier chapter.
Open pipe:
- f₁ = 343 / (2 × 0.65) ≈ 263.8 Hz.
- The next modes are 527.7 Hz, 791.5 Hz, and 1055.4 Hz.
Closed pipe:
- f₁ = 343 / (4 × 0.65) ≈ 131.9 Hz.
- The next modes are 395.8 Hz, 659.6 Hz, and 923.5 Hz.
The following program computes both sets of frequencies. It also includes an end correction, which the next section explains.
v = 343.0 # m/s, speed of sound in air at about 20 C
L = 0.65 # m, physical pipe length
r = 0.015 # m, pipe radius
def open_open(length, speed, count):
"""First `count` frequencies of a pipe open at both ends."""
return [n * speed / (2 * length) for n in range(1, count + 1)]
def closed_open(length, speed, count):
"""First `count` frequencies of a pipe closed at one end (odd harmonics)."""
return [(2 * k - 1) * speed / (4 * length) for k in range(1, count + 1)]
print("Ideal pipes")
print(" open :", ", ".join(f"{f:.1f}" for f in open_open(L, v, 4)), "Hz")
print(" closed:", ", ".join(f"{f:.1f}" for f in closed_open(L, v, 4)), "Hz")
# Each open end behaves as if the pipe were about 0.6 * r longer.
L_open = L + 2 * 0.6 * r
L_closed = L + 1 * 0.6 * r
print("With end correction")
print(" open :", ", ".join(f"{f:.1f}" for f in open_open(L_open, v, 4)), "Hz")
print(" closed:", ", ".join(f"{f:.1f}" for f in closed_open(L_closed, v, 4)), "Hz")The ideal fundamentals are 263.8 Hz and 131.9 Hz. With end correction they drop to about 256.7 Hz and 130.1 Hz.
End correction
The antinode at an open end does not sit exactly at the rim. The air just outside the opening also moves, so the effective pipe is slightly longer than the physical one. For a cylindrical pipe of radius r, a common estimate adds about 0.6 r per open end:
- Open at both ends: L_eff ≈ L + 1.2 r.
- Closed at one end: L_eff ≈ L + 0.6 r.
For a thin pipe the correction is small. For a wide pipe it can shift the pitch by a noticeable amount, and it matters most for the high modes, whose wavelengths are short compared with r. The end correction also grows with wavelength-to-radius ratio effects, so treat 0.6 r as an approximation.
The speed of sound depends on temperature
The pipe's pitch depends on v, and v depends on air temperature. For air near room temperature, a useful approximation is:
v ≈ 331 + 0.6 T m/s, with T in °C.
This gives about 343 m/s at 20 °C and about 337 m/s at 10 °C. A cold pipe plays flat. Musicians warm wind instruments by blowing through them for this reason. The pipe's length also changes with temperature, but that effect is far smaller than the change in v.
Reading a mode diagram
Given a sketch of a mode, you can find n and the frequency by counting. Use these steps:
- Mark each end as a displacement node (closed) or antinode (open).
- Count the nodes and antinodes between the ends.
- Convert the pattern to quarter wavelengths or half wavelengths of length L.
- Use λ = (pattern length) and f = v/λ.
For example, a closed pipe with a node at one end, an antinode at the other, and two more nodes in between has three nodes in total. Between a node and an antinode, each segment is λ/4, and the pattern has five of them. So L = 5λ/4, giving n = 5 and f = 5v/(4L), the third mode of the closed pipe.
Common errors
- Mixing displacement and pressure. If you draw a closed end as a pressure node, your mode numbers will come out wrong. Fix the description you are using before you draw anything.
- Using v = fλ with the wrong λ. The pipe length is a fraction of λ, not equal to it. In a closed pipe the fundamental wavelength is 4L, not 2L.
- Allowing even harmonics in a closed pipe. The ratios are 1 : 3 : 5, so the second mode of a closed pipe is 3f₁, not 2f₁.
- Calling the fundamental "mode 0". The fundamental is n = 1 here, and in the closed pipe it is the first of the odd modes.
- Ignoring temperature. A pipe tuned in a warm room plays sharp when it is cold.
- Treating a partly covered end as fully closed or fully open. A finger hole or a very narrow opening gives an intermediate case. Use the ideal formulas only for clearly open or clearly closed ends.
Connection to resonance
A pipe responds strongly when a source drives it at one of these frequencies. A tuning fork held above a tube of water, with the water level adjustable, gives a loud sound when the air column above the water forms a closed pipe whose length fits an odd number of quarter wavelengths. The next chapter covers driven systems and resonance in more detail.
Exercise
A pipe closed at one end is 0.85 m long, and the speed of sound is 340 m/s. Find the three lowest resonant frequencies. Then find the length of an open-open pipe with the same fundamental frequency.
Show answer
For the closed pipe, f₁ = v/(4L) = 340/(4 × 0.85) = 100 Hz. The next two modes are 3f₁ = 300 Hz and 5f₁ = 500 Hz. An open-open pipe has f₁ = v/(2L), so for 100 Hz, L = v/(2f₁) = 340/200 = 1.70 m. The open pipe must be twice as long.
Exercise
An open-open pipe has a fundamental of 220 Hz at 20 °C, where v = 343 m/s. Its measured 3rd harmonic is 660 Hz. A student claims a pipe closed at one end could produce both 220 Hz and 660 Hz as its fundamental and second mode. Is the claim valid? What length does the open pipe have?
Show answer
The open pipe has L = v/(2f₁) = 343/(2 × 220) ≈ 0.78 m. A closed pipe with fundamental 220 Hz would have modes at 220, 660, 1100 Hz, and so on. So 660 Hz is its second mode, since the modes are the 1st, 3rd, and 5th harmonics. The claim is valid, and the closed pipe would be L = v/(4 × 220) ≈ 0.39 m long, half the length of the open pipe. The difference is that the closed pipe lacks the 440 Hz mode.
Exercise
A resonance tube closed at the bottom by water is 1.00 m deep from the top. A 440 Hz fork is held at the top, and the water level is lowered. Resonance is first heard when the air column is 0.19 m long, and again at 0.58 m. Find the speed of sound and the end correction.
Show answer
Successive resonances in a closed pipe are separated by half a wavelength, so λ/2 = 0.58 − 0.19 = 0.39 m and λ = 0.78 m. Then v = fλ = 440 × 0.78 ≈ 343 m/s. For the first resonance, L + e = λ/4 = 0.195 m, so the end correction is e = 0.195 − 0.19 = 0.005 m, about 5 mm.