On this page
A pipe or string resonates when you drive it at a natural frequency and it responds with a large standing wave. A string fixed at both ends or an ideal pipe with matching ends supports every positive integer harmonic. A pipe with one open end and one closed end supports only odd harmonics.
Prerequisites: A wave’s speed, frequency, and wavelength are related, and sound travels as a longitudinal wave through air. Review sound production and relative speed of sound in solids, liquids, and gases if you need those ideas first.
Standing waves and resonance
A wave on a guitar string or in a pipe reflects at an end. When the incoming and reflected waves of the same frequency overlap, they can form a standing wave. Its pattern stays in place while the string or air oscillates.
At a displacement node, the waves cancel and the displacement stays zero. At a displacement antinode, the waves reinforce and the oscillation has its largest amplitude. In a pipe, air moves back and forth along the tube. A displacement sketch uses the height of the curve to show that back-and-forth displacement at each position.
A fixed string end cannot move, so it is a displacement node. A rigid cap blocks air motion at the closed end of a pipe, creating a displacement node there too. In an ideal pipe, the open end is a displacement antinode, where air can move in and out. Mark both ends before choosing a harmonic formula.
Wavelength and harmonics
The fundamental is the lowest resonant frequency. The ends of a fixed string or a pipe with matching ends are the same type. The shortest fit spans half a wavelength, the distance between adjacent nodes or adjacent antinodes. So the vibrating length is , and each higher mode adds another half-wavelength segment. The allowed wavelengths and frequencies are
Use to turn a wavelength into a frequency. Here is wave speed in meters per second, and are in meters, and is in hertz ().
At fixed wave speed, shortening the vibrating length raises every resonant frequency. Tightening a string raises the frequencies by increasing wave speed when its vibrating length and mass per unit length stay fixed.
In an open-closed pipe, the fundamental runs from a displacement node to the nearest antinode, a distance of one quarter wavelength. Each higher mode adds a half wavelength, which keeps the closed end at a node and the open end at an antinode. That gives lengths of one, three, five, and so on quarter-wavelengths. The allowed modes are
In both formulas, is the harmonic number, so . The next resonance is for matching ends and for an open-closed pipe.
| System | End condition | Allowed harmonic numbers | Fundamental frequency |
|---|---|---|---|
| Fixed string | Node at both ends | ||
| Open-open pipe | Antinode at both ends | ||
| Closed-closed pipe | Node at both ends | ||
| Open-closed pipe | Node at closed end, antinode at open end |
Use the wave speed given in the problem. Near room temperature, sound in air travels at about , which you can round to for estimation.
Worked example with a capped pipe
Common traps
Count modes and label harmonics separately. The third harmonic means . In an open-closed pipe, it is the second resonance in the sequence. The third resonance is the fifth harmonic, .
Distinguish displacement from pressure. The table labels displacement nodes and antinodes. An ideal open end is a pressure node, and a rigid closed end is a pressure antinode.
Use the wave speed in the resonator. For a guitar string, use the speed of the transverse wave along the string to calculate its resonant frequencies. Use the speed of sound in air for the sound traveling from the guitar to your ear.
See Sound for the full topic or Pitch to connect frequency with what you hear.