Sub topic 10
Harmonics in Open and Closed Pipes
This chapter assumes you know the following:
- Standing waves, nodes and antinodes, and the reflection rules.
- The relation v = fλ.
- The idea of the speed of sound in a gas.
It applies those ideas to air columns in pipes, which NEET tests with both direct formulas and comparison questions.
What a pipe does to a sound wave
A pipe holds a column of air. A sound wave travelling along it reflects at each end, and the reflected wave overlaps the incoming one. At certain frequencies the two form a standing wave. These frequencies are the natural frequencies, or harmonics, of the pipe. At any other frequency the reflections do not reinforce each other, so no strong standing pattern builds up.
The reflection rule at an end depends on whether the end is open or closed:
- Closed end: the air cannot move along the pipe there. The end is a displacement node and a pressure antinode.
- Open end: the air moves freely and is in contact with the atmosphere. The end is a displacement antinode and a pressure node. The pressure there stays near atmospheric.
Always say which quantity you mean. NEET questions about nodes and antinodes in pipes almost always mean displacement of the air particles. The pressure pattern is the exact opposite. Where displacement is largest, pressure change is zero, and where displacement is zero, pressure change is largest.
Open pipe: antinodes at both ends
An open pipe of length L has a displacement antinode at each end. The distance between two adjacent antinodes is λ/2. So the pipe must hold a whole number of half-wavelengths:
L = n · λ/2, with n = 1, 2, 3, ...
Substitute λ = v/f and solve for f:
f_n = n · v / (2L), n = 1, 2, 3, ...
- n = 1 gives the fundamental, f₁ = v/(2L).
- n = 2 gives the second harmonic, f₂ = 2f₁, which is the first overtone.
- n = 3 gives the third harmonic, f₃ = 3f₁, which is the second overtone.
An open pipe produces all integer multiples of the fundamental. The frequency ratio is 1 : 2 : 3 : 4 ... This is the same series as for a string fixed at both ends, because both systems have the same boundary type at both ends. The two ends are either both nodes (string) or both antinodes (open pipe).
Closed pipe: node at one end, antinode at the other
A closed pipe (closed at one end, open at the other) has a node at the closed end and an antinode at the open end. The distance from a node to the nearest antinode is λ/4. The length must hold an odd number of quarter-wavelengths:
L = (2n − 1) · λ/4, with n = 1, 2, 3, ...
Solving for f:
f_n = (2n − 1) · v / (4L), n = 1, 2, 3, ...
- The fundamental is f₁ = v/(4L).
- The next allowed frequency is 3f₁. It is the third harmonic, but it is the first overtone.
- After that comes 5f₁, the fifth harmonic and the second overtone.
The frequency ratio is 1 : 3 : 5 : 7 ... Even harmonics are missing. A frequency such as 2f₁ would need a node at one end and an antinode at the other with a whole number of half-wavelengths between them. That cannot happen.
The diagram summarizes how to choose the formula from the boundary conditions.
Comparing the two pipes
| Property | Open pipe | Closed pipe |
|---|---|---|
| End conditions | Antinode at both ends | Node at closed end, antinode at open end |
| Fundamental | v/(2L) | v/(4L) |
| Allowed harmonics | 1, 2, 3, 4, ... | 1, 3, 5, 7, ... |
| Frequency ratio | 1 : 2 : 3 : 4 | 1 : 3 : 5 : 7 |
| Fundamental wavelength | 2L | 4L |
A closed pipe of length L has the same fundamental as an open pipe of length L/2. A closed pipe therefore sounds an octave lower than an open pipe of the same length, since 100 Hz is half of 200 Hz. This comparison appears often in NEET questions.
A worked comparison in code
Take a pipe of length 0.85 m and the speed of sound v = 340 m/s. The program lists the first three allowed frequencies for each type.
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 has a lower fundamental and skips every second multiple of it.
Speed of sound and temperature
The speed v in these formulas is the speed of sound in the gas inside the pipe. For an ideal gas, v = √(γP/ρ), which is proportional to √T, where T is the absolute temperature. If a pipe warms up, v increases and every harmonic rises in the same ratio. The length L changes very little with temperature, so you can usually ignore its change.
If the gas inside the pipe changes, for example from air to helium, v changes and so do all the frequencies. The pattern of harmonics, 1:2:3 or 1:3:5, depends only on the end conditions and does not change.
End correction
The formulas above assume the antinode sits exactly at the open end. In a real pipe the air vibrates slightly beyond the opening, so the antinode forms a little outside it. Treat the pipe as longer than it physically is:
- Open pipe: L_eff = L + 2e
- Closed pipe: L_eff = L + e
Here e ≈ 0.6 r, where r is the pipe's radius. An open pipe has two open ends, so it gets two corrections. A closed pipe has only one.
Use the end correction only when the question mentions it or gives the radius. Without it, use the plain formulas.
Resonance tube experiment
A tuning fork of known frequency f is held over the open end of a tube that is partly filled with water. Raising or lowering the water level changes the length of the air column, which acts as a closed pipe. The air column resonates, and the sound is loudest, at the lengths where a standing wave fits.
- First resonance: L₁ + e = λ/4
- Second resonance: L₂ + e = 3λ/4
Subtract the first from the second:
L₂ − L₁ = λ/2
So λ = 2(L₂ − L₁) and v = 2f(L₂ − L₁). The end correction e cancels, so the difference method gives the speed of sound without needing e. From the first resonance alone, e = λ/4 − L₁.
f = 500.0 # tuning fork frequency, Hz
L1 = 0.16 # first resonance length, m
L2 = 0.50 # second resonance length, m
wavelength = 2 * (L2 - L1) # from L2 - L1 = lambda/2
v = f * wavelength # speed of sound
e = wavelength / 4 - L1 # end correction from L1 + e = lambda/4
print(round(wavelength, 3), round(v, 1), round(e, 3)) # 0.68 340.0 0.01The program gives λ = 0.68 m, v = 340 m/s and e = 0.01 m. Check the second resonance: L₂ + e = 0.51 m, which equals 3λ/4 = 0.51 m.
Common errors
- Using n as the overtone number. In an open pipe, n is the harmonic number. In a closed pipe, 2n − 1 is the harmonic number. The first overtone of a closed pipe is the third harmonic, 3f₁, and not the second harmonic.
- Using 2L instead of 4L for a closed pipe. The fundamental of a closed pipe has λ = 4L, so f₁ = v/(4L).
- Allowing even harmonics in a closed pipe. They cannot form, because the node and antinode ends need an odd number of quarter-wavelengths.
- Mixing up displacement and pressure. A displacement node is a pressure antinode, and the reverse. Read the question to see which one it asks about.
- Forgetting that the speed depends on the gas and temperature. A pipe filled with a different gas, or at a different temperature, has a different v.
- Counting end corrections when none are given. Apply them only when asked.
Finding the pipe type from given frequencies
Two consecutive resonant frequencies can reveal the pipe type. For an open pipe, consecutive frequencies differ by f₁, so their ratio is like 2:3 or 3:4. For a closed pipe, consecutive frequencies differ by 2f₁ and have a ratio like 3:5 or 5:7.
Example: a pipe resonates at 300 Hz and 500 Hz with no resonance in between. The ratio is 3:5, so the pipe is closed. The difference is 200 Hz = 2f₁, so f₁ = 100 Hz. The length is L = v/(4f₁) = 340/400 = 0.85 m. This matches the closed pipe in the earlier program.
Exercise
An open pipe of length 0.5 m and a closed pipe of length 0.5 m are filled with air where v = 340 m/s. Find the fundamental frequency of each and the frequency of the first overtone of each. Ignore end correction.
Show answer
Open pipe: f₁ = v/(2L) = 340/(2 × 0.5) = 340 Hz. The first overtone is the second harmonic, 2f₁ = 680 Hz. Closed pipe: f₁ = v/(4L) = 340/(4 × 0.5) = 170 Hz. The first overtone is the third harmonic, 3f₁ = 510 Hz.
Exercise
A closed pipe has a fundamental frequency of 150 Hz. What are the next two frequencies at which it resonates? If the pipe is opened at the closed end so that both ends are open, what is the new fundamental?
Show answer
A closed pipe resonates at odd multiples of the fundamental, so the next two frequencies are 3 × 150 = 450 Hz and 5 × 150 = 750 Hz. For the closed pipe, f₁ = v/(4L) = 150 Hz, so v/L = 600 Hz. When both ends are open, f₁ = v/(2L) = 300 Hz.
Exercise
In a resonance tube experiment with a fork of 400 Hz, the first resonance is at 20.0 cm and the second at 62.5 cm. Find the speed of sound and the end correction.
Show answer
L₂ − L₁ = 42.5 cm = λ/2, so λ = 85 cm = 0.85 m. The speed is v = fλ = 400 × 0.85 = 340 m/s. The end correction is e = λ/4 − L₁ = 21.25 − 20.0 = 1.25 cm.