Standing Waves on a String
Shake one end of a string and most frequencies give you a mess: small, tangled, going nowhere. But at a few exact frequencies the string locks. It settles into clean loops, wide at the middles and perfectly still at points between, and the swing grows large from the same small shaking. Those frequencies are the harmonics, and they are not approximate. This page runs the real wave equation on the string, so the lock you find is the lock the mathematics holds: hunt for it, or cheat honourably with the snap button and then tune away to feel how narrow the lock is.
>Why the lock happens
A wave runs down the string, reflects off the fixed end, and runs back through the waves still coming. At most frequencies the returning wave fights the arriving one and the motion cancels into mush. At a harmonic, the round trip takes exactly the time that lets each returning wave land in step with the next arriving wave, and the swing builds instead of cancelling. The condition is simple: a whole number of half wavelengths has to fit on the string. That gives the harmonic series, f_n = n f_1, whole number multiples of one fundamental frequency. The still points are the nodes, spaced half a wavelength apart; the wide middles are the antinodes. The gold envelope on the stage traces the reach of the string at each point, so the loops and the nodes stand out even while the string moves.
>The numbers under the string
The fundamental is set by three things: the length of the string, its tension, and its thickness. The wave speed is v = √(T/μ), the square root of tension over mass per metre, and the fundamental is f_1 = v / 2L. Raise the tension and every harmonic climbs; thicken the string and every harmonic sinks. That is the whole craft of the guitar and the piano stated in two lines: short, tight, thin strings sing high, and long, slack, thick strings sing low. On this bench the string is 1.2 metres; at the starting settings the wave runs at 100 metres a second and the fundamental stands at 41.7 hertz, near the low E of a bass guitar. The simulation slows time fiftyfold, since a real string at these frequencies is a blur; the frequencies named on the page are the true ones, and the ratios between them are exact.
>How this one differs from the wave interference page
The Wave Interference page shows two waves crossing open water, free to go anywhere. This string is a wave in a cage: fixed ends, one road, and nowhere for the energy to leave. Everything on this page, the loops, the nodes, the narrow locks, comes from the boundaries. Boundaries are what turn waves into music.