The Cesàro means σN of Fourier partial sums converge uniformly for continuous functions — because the Fejér kernel is an approximate identity. Overlay the ringing SN with the smooth σN.
σN=NS0+⋯+SN−1∥⋅∥∞f
KN(t)=N1(sin(t/2)sin(Nt/2))2≥0
Examples & Exercises
For the Fejér kernel KN(t)=N1(sin(t/2)sin(Nt/2))2 (t≡0(mod2π), KN(0)=N), prove KN≥0 and 2π1∫−ππKN=1. Also show σN(f)=2π1(f∗KN).
N=8: the kernel is a spike with K8(0)=8, and σ8 is already smooth — the proof below is why this spike has mass 1.Show proof
Start from the Dirichlet kernel Dk(t)=∑j=−kkeijt. The partial sum is a convolution: Sk(f)(x)=2π1∫−ππf(x−t)Dk(t)dt (orthogonality of the exponentials). Averaging gives σN(f)=N1∑k=0N−1Sk(f)=2π1(f∗KN) with KN=N1∑k=0N−1Dk.
Interchanging the sums, ∑k=0N−1Dk(t)=∑k=0N−1∑j=−kkeijt. The frequency j (∣j∣≤N−1) appears in every k≥∣j∣, i.e. exactly N−∣j∣ times: ∑k=0N−1Dk(t)=∑∣j∣≤N−1(N−∣j∣)eijt.
Meanwhile ∑j=0N−1eijt2=∑j,lei(j−l)t expands so that the difference m=j−l takes each value with ∣m∣≤N−1 exactly N−∣m∣ times — the same sum. Hence ∑k=0N−1Dk(t)=∑j=0N−1eijt2≥0. The geometric sum gives ∑j=0N−1eijt=ei(N−1)t/2sin(t/2)sin(Nt/2), so KN(t)=N1(sin(t/2)sin(Nt/2))2≥0 (with the limit value N at t=0).
The integral is easy: ∫−ππeijtdt is 2π for j=0 and 0 otherwise, so ∫−ππKN=N1∑k=0N−1∫−ππDk=N1⋅N⋅2π=2π. Thus 2π1∫KN=1 — the Fejér kernel is a nonnegative approximate identity of mass 1.
Prove σN(f)→f uniformly for every continuous 2π-periodic f. Use the approximate-identity argument: split the integral at δ — uniform continuity on ∣t∣<δ, and the kernel tail bound KN(t)≤Nsin2(δ/2)1 on δ≤∣t∣≤π.
∣σN(x)−f(x)∣≤2π1∫−ππKN(t)∣f(x−t)−f(x)∣dt
KN(t)≤Nsin2(δ/2)1(δ≤∣t∣≤π)
N=8: ∥σ8−f∥∞≈0.1101, shrinking to ≈0.0639 at N=16 and ≈0.0363 at N=32 — the proof below is the machine behind this uniform convergence.Show proof
Extend f2π-periodically (still continuous, hence uniformly continuous on all of R: periodicity plus uniform continuity on [−π,3π]). From the previous problem, σN(f)(x)=2π1∫−ππf(x−t)KN(t)dt and 2π1∫KN=1, so subtracting f(x)=2π1∫KN(t)f(x)dt leaves an error of at most 2π1∫KN(t)∣f(x−t)−f(x)∣dt (using KN≥0).
Given ε>0, uniform continuity gives δ∈(0,π) with ∣f(s)−f(t)∣<ε/2 whenever ∣s−t∣<δ. Split the integral into ∣t∣<δ and δ≤∣t∣≤π. The near part is at most (ε/2)⋅2π1∫∣t∣<δKN≤ε/2 (the mass is at most 1).
The tail: on δ≤∣t∣≤π we have ∣sin(t/2)∣≥sin(δ/2)>0 (sine increases on [0,π/2]), so KN(t)=N1(sin(t/2)sin(Nt/2))2≤Nsin2(δ/2)1. With M=∥f∥∞, ∣f(x−t)−f(x)∣≤2M, so the tail is at most 2π1⋅2M⋅Nsin2(δ/2)2(π−δ)≤Nsin2(δ/2)2M.
Hence for N>εsin2(δ/2)4M we get ∣σN(x)−f(x)∣<ε/2+ε/2=ε for every x. The choice of N is independent of x, so the convergence is uniform. This is Fejér's theorem — and the punchline is that it assumes nothing about the behavior of the raw partial sums SN themselves.
Consider the square wave f (jump discontinuities). Prove the raw partial sums SN do NOT converge uniformly (Gibbs ringing — shown numerically in the Fourier scene). In contrast, prove σN→f uniformly on every compact set bounded away from the jumps, by localizing the previous argument. State the behavior at the jumps themselves at idea level only.
Gibbs: xsup∣SN−f∣≳0.17 for all N
⟹no uniform convergence
σN→f uniformly on K⋐[−π,π]∖{jumps}
For the triangle wave (continuous), the sup error of S8 (≈0.0252) is smaller than that of σ8 (≈0.1101) — Cesàro's real victory shows up only where there are jumps (see the square-wave scene).Show proof
Each SN is a sum of trigonometric functions, hence continuous. A uniform limit of continuous functions must be continuous — but the square wave f is discontinuous at its jumps. So SN→f cannot converge uniformly on any interval containing a jump. As the Fourier scene shows numerically, the overshoot ≈0.1789 beside each jump never dies out, no matter how large N gets (the Gibbs phenomenon).
Now fix a compact K at distance d>0 from the jump set J. Reuse the previous proof with δ=min(d/2,δunif), where δunif is the radius of ε/2-uniform continuity of f on the compact set at distance ≥d/2 from J (where f is continuous, hence uniformly continuous). For x∈K and ∣t∣<δ, the point x−t stays at distance ≥d/2 from J, so uniform continuity applies; the tail bound is unchanged.
Hence supx∈K∣σN(x)−f(x)∣→0 — the Cesàro means recover uniform convergence away from the jumps. This is where Fejér's theorem goes beyond the failure of SN: averaging irons the ringing flat.
Idea level: at a jump itself, the symmetry of KN makes σN take half its mass from each side, so for the square wave σN(0)=0 (the midpoint). In general it converges to the average of the one-sided limits (f(x+)+f(x−))/2 — proof omitted.