taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Exercise · Volume 1 · 1.2.11.2-3

Exercise 1.2.11.2-3

not stated yet in Lean solution written

RatingHM20
MarkersHM (needs higher mathematics)
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.11.2 of Volume 1. Companion chapter: Euler's summation formula

The task

Show ∣Rmn∣≤∣Cmn∣|R_{mn}|\le|C_{mn}| for even m=2k>0m=2k>0 when f(m)f^{(m)} has one sign on [1,n][1,n].

The exact wording is in your copy of the book.

Hints

Open one hint at a time. Try the exercise again after each.

Hint 1

Show first that ∣Bm({x})∣≤∣Bm∣|B_m(\{x\})|\le|B_m| for even mm.

Hint 2

For this, find the Fourier series of Bm({x})B_m(\{x\}) with the derivative rule (9).

Hint 3

Use the one sign of f(m)f^{(m)} to pull the maximum out of the integral.

Solution

Show the solution

Plan. First a bound for Bm({x})B_m(\{x\}) with a Fourier series. Then the bound for the integral.

Step 1. Let Pm(x)=Bm({x})P_m(x)=B_m(\{x\}) and cj(m)=∫01Bm(x)e−2πijxdxc_j(m)=\int_0^1B_m(x)e^{-2\pi ijx}dx. For m≥1m\ge1, c0(m)=∫01Bm=1m+1(Bm+1(1)−Bm+1(0))=0c_0(m)=\int_0^1B_m=\frac1{m+1}(B_{m+1}(1)-B_{m+1}(0))=0, by (9) and by Bm+1(1)=Bm+1(0)B_{m+1}(1)=B_{m+1}(0) (valid for m+1≥2m+1\ge2). For j≠0j\ne0 and m=1m=1, cj(1)=∫01(x−12)e−2πijxdx=−12πijc_j(1)=\int_0^1(x-\frac12)e^{-2\pi ijx}dx=-\frac1{2\pi ij} (integrate by parts). For m≥2m\ge2, integration by parts with Bm′=mBm−1B_m'=mB_{m-1} and Bm(1)=Bm(0)B_m(1)=B_m(0) gives cj(m)=m2πijcj(m−1)c_j(m)=\frac m{2\pi ij}c_j(m-1). So cj(m)=−m!(2πij)mc_j(m)=-\frac{m!}{(2\pi ij)^m}. For m≥2m\ge2 the function PmP_m is continuous and piecewise smooth, with cj=O(j−2)c_j=O(j^{-2}), so its Fourier series converges to it. For even mm:

Bm({x})=−m!∑j≠0e2πijx(2πij)m=(−1)m/2+12 m!(2π)m∑j≥1cos⁡2πjxjm.B_m(\{x\})=-m!\sum_{j\ne0}\frac{e^{2\pi ijx}}{(2\pi ij)^m}=(-1)^{m/2+1}\frac{2\,m!}{(2\pi)^m}\sum_{j\ge1}\frac{\cos2\pi jx}{j^m}.

Hence ∣Bm({x})∣≤2 m!(2π)mζ(m)|B_m(\{x\})|\le\frac{2\,m!}{(2\pi)^m}\zeta(m), and at x=0x=0 every cosine is 11, so the value at x=0x=0 is BmB_m and ∣Bm∣=2 m!(2π)mζ(m)|B_m|=\frac{2\,m!}{(2\pi)^m}\zeta(m). So ∣Bm({x})∣≤∣Bm∣|B_m(\{x\})|\le|B_m| for all xx.

Step 2. Assume f(m)f^{(m)} has one sign on [1,n][1,n], so ∫1n∣f(m)∣dx=∣f(m−1)(n)−f(m−1)(1)∣\int_1^n|f^{(m)}|dx=\bigl|f^{(m-1)}(n)-f^{(m-1)}(1)\bigr|. For even mm, by (11),

∣Rmn∣≤1m!∫1n∣Bm({x})∣∣f(m)(x)∣dx≤∣Bm∣m!∣f(m−1)(n)−f(m−1)(1)∣=∣Cmn∣.|R_{mn}|\le\frac1{m!}\int_1^n|B_m(\{x\})||f^{(m)}(x)|dx\le\frac{|B_m|}{m!}\bigl|f^{(m-1)}(n)-f^{(m-1)}(1)\bigr|=|C_{mn}|.

Check

Take f(x)=1/xf(x)=1/x, m=2m=2, n=10n=10. Then f′′=2/x3>0f''=2/x^3>0. C2n=112(f′(10)−f′(1))=112(1−0.01)=0.0825C_{2n}=\frac1{12}\bigl(f'(10)-f'(1)\bigr)=\frac1{12}(1-0.01)=0.0825. The remainder is R2n=∑k=191k−ln⁡10−0.45−C2n=−0.006117R_{2n}=\sum_{k=1}^{9}\frac1k-\ln10-0.45-C_{2n}=-0.006117, where 0.45=−12(f(10)−f(1))0.45=-\frac12(f(10)-f(1)) is the term with B1B_1. So ∣R∣≤∣C∣|R|\le|C|. Python also gives 2⋅4!(2π)4ζ(4)=0.0333…=∣B4∣\frac{2\cdot4!}{(2\pi)^4}\zeta(4)=0.0333\ldots=|B_4|.

Remarks

The proof also gives ∣Bm({x})∣/m!≤∣Bm∣/m!=2ζ(m)/(2π)m<4/(2π)m|B_m(\{x\})|/m!\le|B_m|/m!=2\zeta(m)/(2\pi)^m<4/(2\pi)^m, which is the bound (12).

This solution is drafted, and a person has not reviewed it yet. The source.

In Lean

not stated yet The exercise is not stated in Lean yet.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.