Concept

Harmonics

The whole-number multiples of a base frequency, and the components a periodic wave is built from. How much of each one a wave holds is its spectrum, and that list determines the wave as completely as its shape over time.

Named by 5 essays across one field — each of them below, with the objects they name alongside it.

Partial sums of the square wave. Approximations using 1, 3, 7, 21 terms; the corners sharpen but a fixed overshoot remains.

A square wave built entirely out of round ones

Add enough sine waves together and flat tops and vertical cliffs appear from nothing. Almost — there is a 9% overshoot that never goes away, and it is not a bug.

analysis · Fourier series
Terms that vanish, a total that does not. The first 24 terms of the harmonic series as bars, with the running total above them. The last bar is 0.042 tall and the total has reached 3.776.

A sum whose terms vanish and whose total does not

Add a half, a third, a quarter, and keep going. The terms shrink to nothing and the total passes every number there is — but so slowly that no computation will ever watch it happen.

analysis · Harmonic series
The same terms, with the signs alternating. The partial sums of 1 - 1/2 + 1/3 - 1/4 + …, out to 24 terms. They close on 0.69315 from both sides at once, and the gap between consecutive sums is the next term, so the answer is trapped.

The same terms, in a different order, adding to whatever is asked

Flip alternate signs in the harmonic series and it converges. Reorder the terms — add nothing, remove nothing — and it converges to any number chosen in advance. Addition stops being commutative, and the picture shows where it goes.

analysis · Harmonic series
The target, multiplied by one harmonic at a time. Four panels, each showing the square wave multiplied by a single sine. The areas cancel exactly except against the harmonics the wave actually contains.

Where the coefficients come from

The recipe for a square wave has a four over pi in front and a one over three on the second term, and the essay that built a square wave from sines used them without saying where they came from. They come from multiplying by one harmonic and taking the area.

analysis · Fourier series
A plucked string, released. A string plucked into a tent shape at 0.5, drawn at times 0, 0.1, 0.25, 0.5, 0.75, 1: the corner splits into two corners that run apart, reflect off the ends upside down and meet again.

A plucked string keeps its corners

Heat smooths a sharp profile at once, because each harmonic decays at a rate set by the square of its frequency. Change one time derivative into two and nothing decays at all: each harmonic swings for ever, the corner of a pluck splits in two and runs along the string, and after one period the shape comes back exactly. The same sines, the same coefficients — and a flow that loses nothing.

analysis · Fourier series

Named alongside it

The objects these essays reach for when they reach for this one.

ConvergenceSpectrumDivergenceFourier analysisHarmonic seriesLimitLogarithmOrthogonalityPeriodicityAbsolute convergenceAlternating seriesBlock stacking

All concepts