Detailing Gibbs phenomenon proof sketch
The explanation lays out the classical approach proving the overshoot near jump discontinuities doesn’t vanish as terms increase, using the Dirichlet kernel convolution and the sine integral scaling limit to show the overshoot approaches about 9% of the jump size independently of partial sum count.Clarifying overshoot value via sine integral maximum
The overshoot comes from the scaled partial sums near the jump approximating 1/2 plus (1/π) times the sine integral up to y, which achieves its maximum at y = π yielding an overshoot of about 0.08949 times the jump size that persists as terms increase.Completing rigorous Gibbs overshoot proof
The integral defining the partial sums converges uniformly by dominated convergence to the scaled sine integral up to π, yielding a stable overshoot of about 0.08949 times the jump size at points near π/(n+1/2), proving rigorously that the Gibbs overshoot persists for all large n.
Let
[
D_{N}(x)=\sum_{k=-N}^{N}e^{ikx}=\frac{\sin \left(N+\frac{1}{2}\right) x}{\sin \frac{x}{2}}
]
denote the Dirichlet kernel. As is well known, the N‑th partial sum is a convolution
[
S_{N} f(x)=\frac{1}{2\pi}\int_{-\pi}^{\pi}D_{N}(t),f(x-t),dt,.
]
The phenomenon is already visible for the simplest non‑continuous function, the 2π–periodic step function (f) with (f(x)=0) for (-\pi<x<0) and (f(x)=1) for (0<x<\pi). In that case the jump at 0 has height one, (S_{N}f(0)=\tfrac12), and for (x>0) small one finds
[
S_{N}f(x)=\frac{1}{2\pi}\int_{-\pi}^{x}D_{N}(t),dt
=\frac{1}{2}+\frac{1}{2\pi}\int_{0}^{x}D_{N}(t),dt.
]
Now fix (a>0) and take (x=a/(N+\tfrac12)). The change of variables (u=(N+\tfrac12)t) gives
[
\frac{1}{2\pi}\int_{0}^{x}D_{N}(t),dt=
\frac{1}{2\pi}\int_{0}^{a}\frac{\sin u}{\sin \frac{u}{2N+1}}\frac{du}{N+\tfrac12}.
]
For each fixed (u) the factor (\sin\frac{u}{2N+1}) tends to (\frac{u}{2N+1}), so the integrand converges pointwise to (2\frac{\sin u}{u}). A simple estimate such as (\sin\frac{u}{2N+1}\geq \frac{2}{\pi}\frac{u}{2N+1}) for (0\leq u\leq\pi) shows that the integrand is dominated by a multiple of (\sin u/u), which is integrable on ([0,\pi]). By dominated convergence,
[
\lim_{N\to\infty}S_{N}f!\left(\frac{a}{N+\tfrac12}\right)
=\frac{1}{2}+\frac{1}{\pi}\int_{0}^{a}\frac{\sin u}{u},du.
]
The function (a\mapsto \frac{1}{2}+\frac{1}{\pi}\int_{0}^{a}\frac{\sin u}{u},du) has its first maximum at (a=\pi), and
[
\frac{1}{2}+\frac{1}{\pi}\int_{0}^{\pi}\frac{\sin u}{u},du
=1+0.08949\ldots.
]
Thus at the points (x=\pi/(N+\tfrac12)), which tend to the discontinuity, the partial sums overshoot the correct value (1) by about nine per cent. There is no decay of this overshoot as (N) grows; it merely gets confined to a smaller neighbourhood. For a general jump of height (A) the same argument, applied to (A) times the step function, shows that the overshoot is (0.08949\dots\times A), which is the Gibbs phenomenon.