Let n ≥ 1; integrals are over [−π, π]. (a) If t is not a multiple of 2π, Kₙ(t) = sin²(nt/2)/(2n sin²(t/2)); also Kₙ(0) = n/2. Hence Kₙ ≥ 0. (b) (1/π)∫ Kₙ = 1. (c) If 0 < δ < π and δ ≤ |t| ≤ π, then 0 ≤ Kₙ(t) ≤ 1/(2n sin²(δ/2)). (d) For f ∈ PC(2π) and every x, σₙ(f)(x) = (1/π)∫ f(x + t)Kₙ(t) dt.
四條性質合起來,說 Kₙ/π 是一個真正的平均權重:(a) 不取負值,(b) 總量是 1,(c) 離 0 有一段距離之後,權重一致地以 1/n 的速度壓扁——幾乎所有的權重都集中到 0 附近。(d) 說 Fejér 平均就是 f 在 x 附近對這個權重取的平均。這三件事正是 Dirichlet 核缺的:Dₙ 會取負值,兩側的振盪也不隨 n 壓扁。
正例:n = 1。K₁ = D₀ = ½,閉式給 sin²(t/2)/(2 sin²(t/2)) = ½,對上;(1/π)∫ ½ = 1。反例(針對「(c) 的界與 δ 無關」的誤讀):δ 越小,界 1/(2n sin²(δ/2)) 越大;在 t = 0 本身 Kₙ(0) = n/2 隨 n 增大,任何與 n 成反比的界都壓不住它。
Proof. (a) Let t not be a multiple of 2π. By the product formula, 2 sin((k + ½)t) sin(t/2) = cos kt − cos(k + 1)t. Summing over k = 0, …, n − 1, the right side telescopes to 1 − cos nt = 2 sin²(nt/2). Since each Dₖ(t) = sin((k + ½)t)/(2 sin(t/2)), D₀(t) + ⋯ + Dₙ₋₁(t) = sin²(nt/2)/(2 sin²(t/2)), and dividing by n gives the formula. At t = 0, Dₖ(0) = k + ½ and Σ_{k<n} (k + ½) = n²/2, so Kₙ(0) = n/2. Both expressions are nonnegative, and Kₙ has period 2π, so Kₙ ≥ 0 everywhere.
這一步的所求:一個看得出正負的閉式。每個 Dₖ 的閉式都是「某個 sin 除以 2 sin(t/2)」,分母相同,所以相加只要把分子加起來;分子乘上 2 sin(t/2) 之後由積化和差變成兩個相鄰 cos 的差,n 項相加只剩頭尾 cos 0 − cos nt——與 §36-4 的部分和公式是同一招。倍角公式把 1 − cos nt 寫成平方,於是整個核是「平方除以平方」,不可能是負的。t = 0 時直接相加:½ + 3/2 + ⋯ + (n − ½) = n²/2。拿 n = 2、t = π 對一次:D₀(π) + D₁(π) = ½ − ½ = 0,閉式 sin² π/(2 sin²(π/2)) = 0。
(b), (d) By 38.6, Sₖ(f)(x) = (1/π)∫ f(x + t)Dₖ(t) dt for each k. Averaging over k = 0, …, n − 1 and using linearity gives (d). Taking f ≡ 1, whose partial sums are all 1, gives (1/π)∫ Kₙ = 1, which is (b).
(c) Let δ ≤ |t| ≤ π. Then δ/2 ≤ |t|/2 ≤ π/2, and because sin is increasing on [0, π/2], sin(|t|/2) ≥ sin(δ/2) > 0. Since sin²(nt/2) ≤ 1 and sin²(t/2) = sin²(|t|/2), (a) gives 0 ≤ Kₙ(t) ≤ 1/(2n sin²(δ/2)).
這一步的所求:遠處的權重一致地小。閉式的分子是一個 sin 的平方,不超過 1;分母裡的 sin²(t/2) 只依賴 |t|,而 |t|/2 落在 [δ/2, π/2] 裡,sin 在那裡遞增,最小值在左端 δ/2。界裡有一個 1/n,與 t 無關——這就是「一致地壓扁」。拿 n = 5、δ = π/2 算:sin²(π/4) = ½,界是 1/(10 · ½) = 0.2。
Proof. Fix x. By (b) of the lemma, f(x) = (1/π)∫ f(x)Kₙ(t) dt; subtracting this from (d), σₙ(f)(x) − f(x) = (1/π)∫ [f(x + t) − f(x)]Kₙ(t) dt. Because Kₙ ≥ 0, 30.5 yields |σₙ(f)(x) − f(x)| ≤ (1/π)∫ |f(x + t) − f(x)| Kₙ(t) dt.
這一步的所求:把誤差寫成一個可以估計的積分。f(x) 對積分變數 t 是常數,權重的總量是 1,所以 f(x) 也是它自己對 Kₙ/π 的平均。兩個平均相減,被積函數是「x + t 處的值離 x 處的值多遠」。絕對值能搬進積分號,而且搬進去之後權重不變號,靠的正是 Kₙ ≥ 0——對 Dirichlet 核做同樣的事,會留下一個 ∫ |Dₙ|,而它隨 n 無界。
Since f is continuous on the compact set [−2π, 2π], it is uniformly continuous there by 23.3; choose δ with 0 < δ < π such that |f(y) − f(z)| < ε whenever y, z ∈ [−2π, 2π] and |y − z| < δ. If x ∈ [−π, π] and |t| < δ, then x + t ∈ [−2π, 2π], so |f(x + t) − f(x)| < ε, and (1/π)∫_{−δ}^{δ} |f(x + t) − f(x)| Kₙ(t) dt ≤ ε · (1/π)∫ Kₙ = ε.
For δ ≤ |t| ≤ π we have |f(x + t) − f(x)| ≤ 2M and, by (c), Kₙ(t) ≤ 1/(2n sin²(δ/2)). The two pieces have total length less than 2π, so by 30.5 (1/π)∫_{δ≤|t|≤π} |f(x + t) − f(x)| Kₙ(t) dt ≤ 2M/(n sin²(δ/2)). Choose N with 2M/(N sin²(δ/2)) < ε. By 29.6, for n ≥ N and x ∈ [−π, π], |σₙ(f)(x) − f(x)| < 2ε. Both σₙ(f) and f have period 2π, so this holds for every real x, and the convergence is uniform on ℝ.
Proof. By 38.12 there is n with |f(x) − σₙ(f)(x)| < ε for every real x. Each Sₖ(f) with k < n is a trigonometric polynomial of degree at most n − 1, hence so is their average σₙ(f). Take T = σₙ(f).
這一步的所求:把 Fejér 平均認成三角多項式。每個 Sₖ(f) 都是 ½a₀ + Σ_{j≤k} (aⱼ cos jx + bⱼ sin jx) 的形狀,次數不超過 k ≤ n − 1;次數不超過 n − 1 的三角多項式相加、乘上常數,仍是次數不超過 n − 1 的三角多項式(逐個係數相加即可)。例行核對。
Fejér 平均就是三角多項式,Fejér 定理給出夠大的 n。∎
例 2f = cos x:部分和一步到位,Fejér 平均差 1/n
Fejér 平均比部分和穩定,可是它總是比較好嗎?拿一個部分和立刻收斂的函數比一比。
f = cos x 的係數:由正交關係,只有 a₁ = 1,其餘全為零。所以 S₀(f) = ½a₀ = 0,而 k ≥ 1 時 Sₖ(f) = cos x。
部分和:從 k = 1 起每個 Sₖ(f) 都恰好是 f,誤差是零。
Fejér 平均:σₙ(f) = (0 + (n − 1) cos x)/n = (1 − 1/n) cos x。