The Gibbs phenomenon is the overshoot that appears when you try to reconstruct a discontinuous signal from finitely many sinusoidal terms of its Fourier series. Near a jump, the partial sums overshoot the true signal by about 9% of the jump size, and this overshoot does not go to zero as you include more terms — the overshoot just gets narrower.

What happens at a jump

For a signal with a jump from to at , the full Fourier series converges to the midpoint at and to the correct values at every other point. So pointwise the series is fine.

But the truncated partial sum (sum of the first harmonics) does something different near the jump: it overshoots above and undershoots below , by roughly of , with the overshoot becoming narrower (concentrated closer to the jump) as grows but never reducing in height.

Why it doesn’t go away

The proof is technical, but the picture is that the partial sum is the original signal convolved with a truncated sinc (the Fourier dual of truncating the frequency spectrum). Convolving a jump with a sinc-like kernel produces ringing on both sides of the jump, with peak amplitude proportional to the integral of the kernel up to its first zero — and that integral is a fixed number, independent of .

So more terms → narrower ringing, not smaller ringing. The peak overshoot stays at about forever.

The phenomenon was first observed numerically by Henry Wilbraham (1848) and rediscovered by J. Willard Gibbs (1899), after whom it is named.

Practical implications

Whenever you reconstruct or filter a signal with sharp edges using finite frequency content, you’ll see ringing artifacts:

  • Image processing: edges of objects show ringing if you apply ideal lowpass filtering or aggressive JPEG compression (which throws away high-frequency DCT components).
  • Audio: brick-wall lowpass filters at the Nyquist boundary can cause “pre-ringing” before transients.
  • Bandlimited reconstruction: if a discontinuous signal is forced into a band-limited representation, Gibbs ringing is unavoidable.

The fix in practice is to use a windowed version of the filter — multiplying the sinc kernel by a smoother window function (Hamming, Hann, Blackman, etc.) trades some passband flatness and frequency selectivity for reduced overshoot.

Connection to convergence

In the strict mathematical sense, the Fourier series of a function with bounded jumps still converges (in the sense and pointwise at every continuity point) to the original signal. Gibbs phenomenon is a statement about the uniform convergence, which fails near jumps — the partial sums don’t converge uniformly to the function in any neighborhood of a discontinuity. This is a feature of the family of sinusoids, not a defect of the function.