Fourier Series
A periodic signal is an exact sum of harmonics — sinusoids at integer multiples of one fundamental frequency.
Fourier Series
A Fourier series expresses any reasonable periodic signal as a sum of sinusoids whose frequencies are integer multiples — the Harmonics — of a single fundamental. If a signal f(t) repeats with period T, then
Each coefficient measures how much of that harmonic the signal contains, recovered by the orthogonality of sines and cosines:
The remarkable part is that the building blocks are nothing exotic: every term is the displacement of a Simple Harmonic Oscillator, and the series is their superposition.
Building a square wave
The clearest demonstration is the square wave, which turns out to be a sum over the odd harmonics only, each weighted by 1/n:
Add a few terms and the flat plateaus and steep edges of a square wave emerge out of pure curves:
Epicycles: synthesis made visible
There is a beautiful mechanical picture of the same sum. Attach a circle to the rim of a bigger circle, and another to that one, and so on — one circle per harmonic, each spinning at its own integer rate with radius \tfrac{4}{\pi}\cdot\tfrac1n. The tip of the final arm traces the signal. Below, the chained circles for the odd harmonics turn, and the height of their tip is drawn out to the right: a square wave, written by spinning wheels.
Watch what each wheel does: the big one sets the basic back-and-forth, and each smaller, faster wheel sharpens the corners. Stop adding wheels and the corners stay slightly rounded and rippling — the unavoidable Gibbs Phenomenon.