Tip: Open-closed pipes only support odd harmonics (1f, 3f, 5f...) — that's why a clarinet has its hollow timbre.
Section 02
The Idea, Step by Step
Take a jump rope and shake one end up and down at just the right speed. Instead of a wave that runs along the rope, you get a pattern that seems to stand still — a few spots stay perfectly motionless while the stretches between them whip up and down. Shake a little faster and the rope splits into two humps, then three. Those frozen-looking shapes are standing waves, and they only appear at special "magic" speeds.
Why only special speeds? Because the ends of the rope are pinned and can't move. A pattern only survives if it fits neatly between the two fixed ends. The simplest fit is a single hump — that's exactly half a wavelength stretched across the rope. So if the rope has length $L$, the longest wave that fits has $\lambda_1 = 2L$, and it vibrates at the fundamental frequency $f_1$. The motionless points are called nodes; the points that swing the most are antinodes.
The relationship is wonderfully simple. The speed $v$ of a wave on the rope, its frequency, and its wavelength are tied by $v = f\lambda$. Combine that with "$n$ half-wavelengths must fit in $L$" and you get the whole harmonic ladder:
Worked number: a string of length $L = 1\text{ m}$ carrying waves at $v = 200\text{ m/s}$ has a fundamental of $f_1 = 200/(2\times 1) = 100\text{ Hz}$. The next modes are simply $200$, $300$, $400\text{ Hz}$ — whole-number multiples. That even spacing is what your ear hears as a single musical pitch with a rich tone.
The precise picture (AP level): a standing wave is really two identical travelling waves moving in opposite directions, added together. The algebra gives $y(x,t) = 2A\sin(k_n x)\cos(\omega_n t)$, where space ($\sin k_n x$, the frozen shape) and time ($\cos\omega_n t$, the breathing) cleanly separate. The pinned-end condition $\sin(k_n L) = 0$ forces $k_n L = n\pi$ — only a discrete set of modes can exist. In the sim, the n slider picks the mode, L sets the length, and v sets the wave speed (which equals $\sqrt{T_s/\mu}$ on a real string). Pipes change the rule: an open–closed pipe only fits odd quarter-wavelengths, so $f_n = (2n-1)v/4L$ and the even harmonics simply vanish — the secret behind a clarinet's hollow sound.
Try this in the sim above: (1) Drag n from 1 up to 5 and count the humps — the number of antinodes always equals $n$. (2) Switch to Pipe (open–closed) and watch the frequency spectrum skip every even harmonic. (3) Push the Damping slider up and watch the pattern slowly fade — exactly how a plucked string loses its energy and goes quiet.
Section 03
Equation Derivation
A standing wave is the superposition of two identical waves travelling in opposite directions. Confined to a region of length $L$ with specific boundary conditions, only a discrete set of frequencies — the normal modes — can persist.
Only these specific wavelengths "fit" — others would require non-zero displacement at the wall. This is quantisation from boundary conditions, the same idea that gives quantum-mechanical energy levels.
Step 3 — String physics: $v = \sqrt{T_s/\mu}$
Apply Newton's 2nd law to a string element of mass $\mu\,dx$ under tension $T_s$. The transverse restoring force is $T_s\,\partial^2 y/\partial x^2 \cdot dx$. Equating to $\mu\,dx \cdot \partial^2 y/\partial t^2$ gives the wave equation $\partial^2 y/\partial t^2 = (T_s/\mu)\,\partial^2 y/\partial x^2$, with wave speed:
$$v = \sqrt{T_s/\mu}$$
So $f_1 = (1/2L)\sqrt{T_s/\mu}$. Doubling tension multiplies $f$ by $\sqrt 2$.
Step 4 — Pipes with different boundary conditions
Open end: pressure = atmospheric → pressure node, displacement antinode.
Closed end: air can't move → displacement node, pressure antinode.
Open-Open (or closed-closed): same as fixed-fixed string:
Even harmonics are forbidden in open-closed pipes — exactly why a clarinet sounds different from a flute.
Step 5 — Mapping to the simulation
• Slider n selects which normal mode to display.
• Slider L sets cavity length → $f_1 = v/(2L)$ (string/open-open) or $v/(4L)$ (open-closed).
• Slider v = wave speed; on the string it equals $\sqrt{T_s/\mu}$, in the pipe it's the speed of sound.
• Black dots mark nodes (zero motion always); rings mark antinodes (maximum motion).
• In Superposition mode the two travelling waves are visible as faint counter-rotating components, with the bright standing pattern as their sum.
Reference: Halliday, Resnick & Walker — Fundamentals of Physics, 10th Ed., §16-13: "Standing Waves" & §17-6: "Sources of Musical Sound"; Serway & Jewett, 8th Ed., §18.2-18.3; French — Vibrations and Waves, MIT Press, 1971, Ch. 6.
Section 04
Frequently Asked Questions
A standing wave is the sum of two travelling waves moving in opposite directions, each carrying equal energy in opposite directions. Their energy fluxes cancel exactly. Energy "sloshes" back and forth between kinetic (at antinodes during peak velocity) and potential (during peak displacement) — but no net flow occurs along the string. This is why a guitar string vibrates in place, never propagating energy down its length.
Key: Standing wave = two travelling waves whose energy fluxes cancel → no net energy transport, just storage.
All musical instruments — strings (guitar, violin, piano), wind (flute = open-open, clarinet = open-closed, organ pipes), drumheads, xylophone bars. Standing electromagnetic waves form in microwave ovens; food spins to compensate for hot/cold spots at antinodes/nodes (~6 cm apart for 2.45 GHz). Lasers exploit standing optical waves between mirrors. Atomic orbitals are 3D standing matter waves of the electron's wavefunction. Buildings and bridges have natural mechanical modes — engineers tune them to avoid earthquake/wind resonance (Tacoma Narrows, 1940).
Key: From a guitar string to atomic orbitals, standing waves are the universal language of confined oscillation.
In String mode you see $y(x,t) = 2A\sin(k_n x)\cos(\omega_n t)$ — transverse displacement vs position, animated in time. White dots mark nodes (always still); green rings mark antinodes (maximum oscillation). In Pipe modes the same envelope appears, but interpreted as pressure (or displacement) of air molecules. Superposition mode displays the two travelling components as faint blue/red curves, with their sum as the bright standing wave — making visible how two moving waves create a stationary pattern.
Key: Watch antinodes oscillate but nodes stay perfectly still. That's the signature of standing-wave confinement.
At the closed end, air can't move → displacement node. At the open end, air is free → displacement antinode. The simplest wave fitting these conditions has a quarter-wavelength inside ($L = \lambda/4$): the fundamental $f_1 = v/(4L)$. The next allowed mode has $L = 3\lambda/4 \Rightarrow f_3 = 3v/(4L)$, then $5\lambda/4, 7\lambda/4, \dots$ — only odd multiples of $f_1$. Even multiples would violate the boundary conditions. This gives the clarinet its hollow timbre — even harmonics are physically absent from its spectrum.
Key: "Missing" even harmonics in clarinets are a direct geometric consequence of the closed-mouthpiece end.
The fundamental of a string is $f_1 = (1/2L)\sqrt{T_s/\mu}$. To raise pitch by an octave (factor 2 in frequency) you must increase tension by factor 4 — heavy. That's why string instruments tune by length (frets, fingering) more than tension. The thicker bass strings on a guitar have higher $\mu$ → lower $v$ → lower $f$, even at the same tension. A piano's lowest strings are wound with copper to add mass without sacrificing flexibility, achieving high $\mu$ in a manageable physical length.
Key: Frequency depends on three knobs: tension $T_s$, density $\mu$, length $L$. Engineers and luthiers play all three.
Yes — quantitatively. The Schrödinger equation for a confined electron is mathematically identical to the wave equation with boundary conditions. The wavefunction $\psi(\mathbf r, t) = \phi_n(\mathbf r)\exp(-iE_n t/\hbar)$ has the same separable form as $y(x,t) = \phi_n(x)\cos(\omega_n t)$. Just as the string only allows $f_n = nv/(2L)$, the hydrogen atom only allows $E_n = -13.6\text{ eV}/n^2$ — quantisation from the same mathematical mechanism. The "shapes" of orbitals (s, p, d, f) are 3D analogues of the lobed patterns of vibrating drumheads.
Key: Quantum mechanics inherits its discrete energy levels directly from the standing-wave mathematics.
Resonance occurs when an external driving force matches one of a system's natural frequencies, $f_{\text{drive}} = f_n$. The amplitude grows linearly in time (in undamped systems) or saturates at a very large value (in damped ones). For Tacoma Narrows Bridge, vortex shedding from wind matched a torsional mode at $\sim$0.2 Hz, drove the bridge into oscillation, and the structure couldn't dissipate energy fast enough — collapse. Engineers now design tuned mass dampers (Taipei 101, $\sim$660-tonne pendulum) to detune buildings from earthquake frequencies.
Key: A small periodic push applied at exactly $f_n$ can build to enormous amplitude — the "small effort, big result" principle of resonance.
Best Resource: HyperPhysics — "Standing Waves" & "Vibrating Strings"; Khan Academy — "Standing waves on strings"; MIT OCW 8.03 Vibrations and Waves, Lectures 6–8.
Section 05
Common Misconceptions
❌ Standing waves are stationary — nothing is moving.
✅ Every point oscillates rapidly — only the wave envelope is fixed.
A string in its $n$-th normal mode has every point oscillating at frequency $f_n$ — the motion is anything but stationary. What's stationary is the envelope: the pattern of nodes and antinodes doesn't translate. Each material point moves perpendicular to the string with sinusoidal motion, but the maximum amplitude at each point is fixed. Don't confuse "no net translation of the wave pattern" with "no motion of the medium".
✅ Higher modes have higher frequency, not necessarily higher amplitude.
Frequency $f_n = nv/(2L)$ scales with mode number, but amplitude is set by how the string was excited, not by which mode it's in. A weakly plucked $n=5$ mode can have far smaller amplitude than a strongly plucked $n=1$. What does scale with $n$ is the energy: $E_n \propto \omega_n^2 A^2 \propto n^2 A^2$. So at fixed amplitude, higher modes carry quadratically more energy.
📖 French — Vibrations and Waves, MIT Press, 1971, §6.4.
❌ The wavelength of the fundamental equals the length of the string.
✅ For a fixed-fixed string, $\lambda_1 = 2L$ — twice the length.
A common mistake. The fundamental fits exactly half a wavelength between the two fixed endpoints (a single hump). So $L = \lambda_1/2 \Rightarrow \lambda_1 = 2L$. The 2nd harmonic ($n=2$) fits one full wavelength: $\lambda_2 = L$. The relationship is $\lambda_n = 2L/n$. Sketching the modes always helps — count how many half-wavelengths fit between the boundaries.
📖 HRW 10th Ed., §16-13, Fig. 16-22.
❌ Open and closed pipes of the same length sound at the same pitch.
✅ The closed pipe is one octave lower.
An open-open pipe of length $L$ has $f_1 = v/(2L)$. An open-closed pipe of the same length has $f_1 = v/(4L)$ — exactly half. So the closed pipe sounds an octave lower than an open one of the same physical length. This is why an organ stop labelled "8 ft" (closed) and "16 ft" (open) produce roughly the same pitch — the closed pipe achieves with 8 ft what the open one needs 16 ft for.
📖 Rossing — The Science of Sound, 3rd Ed., Ch. 4.
❌ Resonance amplitude can grow without limit.
✅ Real systems always have damping that limits the maximum.
In an idealised undamped system driven exactly at $f_n$, amplitude grows linearly with time — no upper bound. Real systems always dissipate energy (friction, internal damping, radiation). At steady state, amplitude saturates at $A_{\max} \propto F_0/(m\omega_n\gamma)$, where $\gamma$ is the damping rate. This finite peak is sharp (high $Q$ factor) when damping is small, broad when damping is large. Resonance disasters (like Tacoma Narrows) happen when the structure can't dissipate energy fast enough relative to how fast it's being added.
📖 French — Vibrations and Waves, Ch. 4: "Forced Vibrations and Resonance".
❌ All instruments produce only one frequency at a time.
✅ A real instrument plays many harmonics simultaneously.
When you pluck a guitar string, you don't excite a single pure mode — you excite a superposition of many modes, with the relative amplitudes determined by where and how you pluck. The fundamental dominates (giving the perceived pitch), but the higher harmonics give the instrument its timbre. Two instruments playing the same note differ entirely in their harmonic content. A flute is rich in odd-harmonics-only content giving its hollow tone; a violin has a complex harmonic stack; a pure sine wave generator sounds eerily lifeless.
📖 Rossing — The Science of Sound, 3rd Ed., Ch. 11; Helmholtz — On the Sensations of Tone (1863).
Misconception research: Wittmann, Steinberg & Redish — "Making sense of how students make sense of mechanical waves", Phys. Teach. 37, 15 (1999); Tongchai et al. — "Conceptual survey in mechanical waves", Int. J. Sci. Educ. 31, 2437 (2009).