For the period-one continuation of , symmetry and integration by parts give for . Thus the sine integral asymptotic gives as . Translation of the logarithmic singularity causes the alternating phase; the endpoint derivative mismatch causes the next term.
Gibbs phenomenon 2026-10-14
The Gibbs phenomenon is the persistent overshoot near a jump discontinuity in ordinary truncated Fourier series. For this square wave, retain nonzero odd modes:
As grows, the first peak approaches the jump while its height tends to approximately . This is an excess of about above the upper level , or of the jump size . The narrower region does not imply a vanishing maximum error. At the jump itself every . These observations are compatible with pointwise convergence and convergence but exclude uniform convergence to the discontinuous square wave. [ref].
Figure 1.
More Fourier harmonics narrow a transition while leaving a persistent overshoot
. Left: the constructed square wave and sums of , and nonzero odd Fourier harmonics. Right: the same sums near the jump at zero, with each first positive peak marked. The highest frequency retained is , so a count of nonzero terms differs from a cutoff at frequency . The limiting peak is approximately , while the level above the jump is . Details.
For this particular sum, its derivative is away from multiples of , so the first positive peak is exactly at . There,
This is a midpoint Riemann sum tending to , where is the sine integral. It gives a short explanation of the nonzero limiting excess.
The phenomenon matters whenever a sharp boundary is represented by a limited set of Fourier harmonics: a visible ripple can be a property of the approximation rather than an oscillation in the original profile. Josiah Willard Gibbs reported the phenomenon in his 1899 letter “Fourier's Series” in Nature, volume 59, page 606. This is a documented historical report, without a claim of first discovery. [ref].
Remove the apparent singularity at by defining
This is jointly continuous: write using the unnormalized sinc function, whose value at zero is one. Its partial derivative in is
also at , since there . This partial derivative is jointly continuous on the whole strip.
The value at the single endpoint does not change a Lebesgue integral. Part (b), whose dominated convergence proof applies to , therefore makes continuously differentiable on , with a right derivative at zero, and
For , direct integration gives
At zero the same integral gives , so no division by zero is required. Also . The substitution rule identifies for , the sine integral.
For a locally integrable periodic function, its Fourier series coefficients are . Window the function to one period by . With the stated Fourier transform convention,
There is no extra factor of : the Fourier coefficient already integrates over a period of length one.
For a completely arbitrary periodic distribution, multiplication by a discontinuous window need not be defined, for example at a derivative of a delta supported on a period boundary. The sharp-window assertion therefore presupposes a windowing convention or enough regularity at the endpoints. The smooth-window Fourier coefficients of a periodic distribution use a smooth compactly supported partition-of-unity window with ; then in the distribution sense. The logarithmic example below is locally integrable, so the printed sharp window is legitimate and no ambiguity affects it.
For , put . Symmetry gives, for integer ,
An integration by parts has no endpoint term: at zero and at the upper endpoint. It follows that
where the sine integral is . Its limiting value follows from the Abel-regularized calculation in part (ii); integration by parts of its tail gives for positive integer . Hence the Fourier coefficients of a periodic logarithmic singularity have
The first term is the requested leading behaviour. Its alternating sign records the singularity at half a period, and its decay records the logarithmic cusp. The correction comes from the derivative mismatch across the periodically joined endpoints. Also and , consistent with the real symmetric profile.