The Gibbs phenomenon is a fascinating topic in Fourier analysis. Let me provide a comprehensive explanation with mathematical rigor.
Overview of Gibbs Phenomenon
The Gibbs phenomenon describes the behavior of Fourier series approximations near jump discontinuities. When we truncate a Fourier series to N terms (forming a partial sum), the partial sum overshoots the jump by approximately 9%, and this overshoot persists even as N → ∞, though it concentrates near the discontinuity.
Mathematical Setup
Let me consider a simple example: the square wave function with a jump discontinuity.
Example: Square wave
f(x)={1−1if 0<x<πif −π<x<0
and extended periodically with period 2π.
Fourier Series of the Square Wave
For this odd function:
f(x)∼∑n=1,3,5,...∞
More precisely:
f(x)∼π4∑
Partial Sum
The N-th partial sum is:
SN(x)=π
Analyzing the Overshoot
Near x = 0⁺ (just to the right of the discontinuity at x = 0), we can evaluate S_N(x).
Using the closed form for this partial sum (Dirichlet kernel representation):
SN(x)=π
The sum of cosines can be simplified using the formula for geometric series, which yields:
∑k=0N−1cos((2k+1
This integral representation reveals how the partial sum behaves as N increases—the oscillatory nature of the sine term in the numerator creates the characteristic overshoot near the discontinuity. For the square wave at the discontinuity, I need to examine the partial sum more carefully. The Dirichlet kernel approach shows:
SN(x)=π2
But there's a more direct path using the sinc integral. The Fourier series representation near x = 0 is:
SN(x)=π
For small positive x, I can approximate this sum as an integral, which connects to the sinc function behavior and reveals how the oscillations emerge as N increases. 1 at x = 0. When I evaluate the partial sum at x = δ where δ = c/N for some small constant c, the integral splits based on where the function jumps:
SN(δ)=π
As N grows large with Nδ = c held constant, the Dirichlet kernel becomes increasingly concentrated, creating the characteristic overshoot. The maximum of the partial sum occurs near x ≈ π/(2N), and this is where the Gibbs phenomenon becomes most pronounced.
At this critical point, the partial sum evaluates to approximately:
SN(π/(2N))≈π
This integral is strictly less than π/2, which is the value of the full integral ∫₀^∞ (sin(u)/u) du. The difference between what the partial sum achieves and what it should converge to—roughly 9% overshoot—persists even as N increases, which is the essence of the Gibbs phenomenon for the square wave. and right limits).
At the discontinuity itself, the Fourier series converges to the average value of 0. However, just beyond the jump at some small x = δ where δN → ∞, the partial sum overshoots to values exceeding 1 due to oscillations in the series.
The maximum overshoot occurs at a distance proportional to 1/N from the discontinuity. As N increases, this maximum approaches a fixed limit determined by the integral of the sinc function, which gives approximately 1.18 rather than 1. This permanent overshoot—the Gibbs phenomenon—persists even in the limit as N → ∞, with the peak remaining about 9% above the target value.
For any jump discontinuity of amplitude A, the partial sums will exhibit this characteristic overshoot of roughly 0.09A beyond the true limiting value, regardless of how many terms we include in the series.
The reason this persists as N → ∞ is that the Dirichlet kernel's oscillatory structure near the discontinuity creates an inherent ringing effect. Even as the kernel becomes more concentrated around the jump point, its sinc-like oscillations don't disappear—they just get compressed. The maximum overshoot converges to a fixed proportion of the jump amplitude, governed by the integral of sin(u)/u.
This 9% figure emerges from evaluating ∫₀^π (sin(u)/u) du ≈ 1.8519, which when normalized against the jump size yields the characteristic overshoot ratio. The phenomenon is fundamentally tied to how the Fourier approximation handles sharp discontinuities—no matter how many terms we include, we can't eliminate this ringing behavior entirely. to the actual function value is roughly 8.95% of the jump amplitude.
The overshoot emerges from how the Fourier series approximates the discontinuity. At the jump point, the partial sum overshoots the target value by about 9% of the total jump size—this is the Gibbs phenomenon in action. I should work through the integral representation to show where this percentage comes from precisely. }{\pi} \int_0^{\pi} \text{[sum of oscillating terms]} dt$$
The integral approximates to the Dirichlet integral, giving a value near 1 as x → 0⁺ and N → ∞. The maximum of the partial sum involves evaluating:
maxSN(x)=π
where the upper limit a depends on how the oscillations structure themselves. This oscillatory behavior through these integrals produces the characteristic overshoot.
For a jump discontinuity, the Fourier partial sum overshoots by roughly 8.95% of the jump magnitude—this overshoot is persistent across all N. The mathematical source of this 0.0895 coefficient traces back to the Dirichlet integral and how it exceeds 1, with the excess coming from the difference between the integral's value and the limiting behavior. I need to clarify what the 9% actually represents. The overshoot in the Fourier series near a jump discontinuity is approximately 8.95% of the jump amplitude, and this persists no matter how many terms are included. This comes from the integral ∫0πx, which yields the characteristic constant around 0.0895. Now I can formulate a precise explanation of the Gibbs phenomenon. The overshoot fraction works out to roughly 9% of the jump. Let me verify this against the integral calculation: the ratio of ∫₀^π sin(x)/x dx to ∫₀^∞ sin(x)/x dx gives approximately 1.179, which matches the peak value of the partial sum. This confirms the overshoot of about 8.95%.
To understand why this maximum occurs at the boundary, I need to examine how the Fourier series converges using the Dirichlet kernel. The partial sum can be expressed as a convolution with the Dirichlet kernel, and near a discontinuity, the dominant contribution comes from the integral of sin(x)/x over the relevant interval—specifically from 0 to π for the square wave case. The Fourier series for the square wave becomes:
f(x)=π4∑
The partial sum truncates this at N terms. Using the Dirichlet kernel, I can express this as an integral:
SN(x)=π2
To locate the maximum, I differentiate with respect to x, which gives me the kernel ratio 2sin(x)sin(2Nx) as the critical factor.
This derivative equals zero when sin(2Nx)=0, placing the first extremum at x=2Nπ. Evaluating the partial sum there and using the approximation for small t, the integral transforms via substitution into:
SN(2Nπ
This integral converges to a fixed value independent of N, which explains why the overshoot persists even as the approximation improves. I need to complete the partial thought, but I notice the next thinking section is empty. I cannot finish this thought without additional context about what comes next in the reasoning.
Gibbs Phenomenon in Fourier Series
Overview
The Gibbs phenomenon describes how Fourier partial sums overshoot jump discontinuities by ~9%, and crucially, this overshoot persists indefinitely—it doesn't vanish as we include more terms. Instead, it concentrates spatially closer to the jump.
Quantitative Analysis: The Square Wave Example
Setup
Consider the square wave:
f(x)={1−1
with period 2π.
Fourier Series
SN(x)=π
Integral Representation
Using the Dirichlet kernel, this becomes:
SN(x)=π2
Finding the Maximum Overshoot
Step 1: Locate the maximum
Taking the derivative:
dxdSN=
The first maximum occurs at: xmax≈2Nπ
Step 2: Evaluate at the maximum
SN(2N
Step 3: Take the limit as N → ∞
For small t: sin(t)≈t
limN→∞SN
Substitute u=2Nt:
=π2∫0π
The Critical Integral
∫0πusin(u)
Therefore:
limN→∞SNmax=
Quantifying the Overshoot
For the jump from -1 to +1 (jump amplitude = 2):
| Quantity | Value |
|---|
| True value (right side) | 1.0 |
| Maximum partial sum | 1.1789 |
| Absolute overshoot | 0.1789 |
| Relative overshoot | 20.1789=8.95% |
Why the Overshoot Doesn't Vanish
Key Argument
The overshoot depends on the value of a definite integral, not on N:
limN→∞[SN
This is a non-zero constant, independent of N.
Physical Interpretation
The Fourier partial sum contains high-frequency oscillations that:
-
Concentrate near the jump: The oscillations squeeze closer as N→∞ (location ∼π/(2N)→0)
-
Retain their amplitude: The sinc-like kernel from the Dirichlet convolution maintains its shape
Why Increasing N Doesn't Help
- Increasing N makes oscillations narrower (squeezed to interval ≲π/N)
- But the peak height approaches the fixed limit 1.1789
- The overshoot "hides" in an infinitesimally thin region as N→∞
General Discontinuity
For any function with jump discontinuity Δf=f+−f−:
Overshoot≈0.0895⋅∣Δf∣
This 8.95% constant (the Gibbs constant σ=∫0πusi) is for all piecewise-smooth periodic functions.
Mathematical Proof that Overshoot Persists
Theorem: For a jump discontinuity at x0 with Δf=f(x0:
limsupN→∞SN(
where xN→x0 appropriately.
Proof sketch:
- The convergence is governed by the Fourier coefficients: an=O(1/n)
- Bandlimited approximation creates inherent ripples via the Gibbs phenomenon
- The limit integral ∫ is finite and non-zero