Convergence, the Gibbs Phenomenon and Parseval
Dirichlet conditions, mean-square convergence, the 9 % overshoot at a jump, Parseval's relation and smoothing the partial sums
Letters to Nature — 1898 and 1899
In the 1890s Albert Michelson, the physicist of precision measurement, built a mechanical harmonic analyzer: a machine of springs and levers that computed Fourier coefficients and drew the partial sums of the series. He and S. W. Stratton described it in 1898 (Albert A. Michelson).
That year Michelson and the mathematician A. E. H. Love argued in the pages of Nature about how the Fourier series of a square wave converges near its jumps. J. Willard Gibbs joined in with a note of his own — and missed the effect. In April 1899 he published a correction describing it: near a jump, the partial sums overshoot, and the overshoot does not die away as terms are added. Maxime Bôcher analysed it in 1906 and named it the Gibbs phenomenon. Henry Wilbraham had in fact discovered and analysed it in 1848, in a paper almost nobody read (Gibbs phenomenon).
A precision instrument met a mathematical fact that no precision could remove. This lesson is about that fact, and about the sense in which Fourier series do converge.
The partial sum is what any real computation uses. When does it approach ? The Dirichlet conditions give a safe answer for engineering signals: if over one period is absolutely integrable and has finitely many maxima, minima and jumps, then
- at every point where is continuous, ;
- at a jump, converges to the midpoint of the jump.
So the square wave's series gives exactly at its switching instants — halfway between and .
💡Convergence in energy
There is a second, often more useful sense. For any signal with finite energy per period, the energy of the error goes to zero:
This mean-square convergence holds even where pointwise convergence is awkward. It says the error may stay large at isolated points, but it occupies less and less time — which is exactly what happens at a jump.
The Gibbs phenomenon. Near a jump, overshoots: for the square wave the first peak of the partial sum reaches about instead of . Add terms and the peak moves closer to the jump and narrows, but its height does not fall — it tends to about 9 % of the jump on each side (0.179 on a jump of 2). The wiggles carry less and less energy, so mean-square convergence still holds; but the maximum error never goes below 9 % of the jump.
Derivation
Where the 9 % comes from
Write the square wave's partial sum with odd harmonics and differentiate term by term:
The first zero of the derivative after the jump at — the first peak — is at . Integrate from the jump to there, substituting and using for large :
The integral no longer depends on : the peak height is fixed while its position shrinks towards the jump. The overshoot is of the jump of 2.
💡Parseval's relation
The average power of a periodic signal equals the sum of the powers of its harmonics:
It follows from orthogonality: expanding as a double sum, every cross term between different harmonics integrates to zero. The list of against frequency is the signal's power spectrum — where its power lives.
📐Where a square wave keeps its power
The square wave has average power . Its harmonics have for odd , counted twice ():
- the fundamental alone: of the power;
- harmonics 1, 3 and 5: ;
- all odd harmonics: .
Taming the overshoot. The overshoot comes from cutting the series off abruptly at . Taper the coefficients instead and it shrinks. Fejér's averaging of the partial sums (Cesàro means) removes the overshoot entirely, at the price of a softer jump. Lanczos's σ-factors, multiplying by , cut it to about 1 % while keeping the jump fairly sharp. The same trade — sharpness against ripple — reappears in every window of Lesson 6-3 and every FIR filter of Lesson 9-1.
The whole is simpler than its parts.
🕰Wilbraham, Gibbs, Bôcher
Henry Wilbraham analysed the overshoot in an 1848 paper that attracted little attention until it was mentioned in a 1914 review. Gibbs's 1898 note in Nature missed it; his correction of 27 April 1899 described it. Maxime Bôcher's detailed analysis of 1906 coined the name "Gibbs phenomenon", and the constant is sometimes called the Wilbraham–Gibbs constant.
💡Ringing you can see
Compress a photograph of black text on white paper hard enough and faint ripples appear beside every letter. The compressor kept only the low spatial frequencies of each block, and the edges ring — the Gibbs phenomenon in two dimensions. Audio codecs fight the same effect in time as "pre-echo" before sharp attacks.
💡Where you will use this
Parseval returns for the Fourier transform (Lesson 4-2) and the DFT (Lesson 6-2). Truncation ripples are the spectral leakage of Lesson 6-3 and the passband ripple of window-designed FIR filters in Lesson 9-1. Mean-square convergence is why least-squares fitting with sinusoids works.
📚Further reading
- Oppenheim and Willsky, Signals and Systems, section 3.4 — convergence of the Fourier series and the Gibbs phenomenon.
- Edwin Hewitt and Robert E. Hewitt, "The Gibbs–Wilbraham phenomenon: an episode in Fourier analysis", Archive for History of Exact Sciences 21 (1979) — the full story.
- Gibbs phenomenon on Wikipedia.
↓But there is a problem
We now know what a Fourier series is, how it converges and where its power lives. Lesson 3-1 promised the reward: an LTI system multiplies each harmonic by , and that is all it does.
So what happens when a square wave goes through a filter — or when a power grid full of rectifiers carries currents that are anything but sinusoidal? Harmonic by harmonic, the answer is a list of multiplications.