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-2

Exercise 1.2.11.2-2

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

Explain why Eq. (10) needs the Bernoulli numbers of (4) and not any sequence with the derivative rule (9).

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

Where does the proof of (10) use the values Bm(0)B_m(0) and Bm(1)B_m(1)?

Hint 2

Write a general sequence b0=1,b1,b2,…b_0=1,b_1,b_2,\ldots and see what the condition at the integers fixes.

Solution

Show the solution

For any numbers b0=1,b1,b2,…b_0=1,b_1,b_2,\ldots the polynomials B~m(x)=∑k(mk)bkxm−k\tilde B_m(x)=\sum_k\binom mkb_kx^{m-k} satisfy B~m′(x)=mB~m−1(x)\tilde B_m'(x)=m\tilde B_{m-1}(x). So Eq. (9) alone fixes nothing about the numbers bkb_k.

The proof of (10) integrates by parts on each interval k≤x≤k+1k\le x\le k+1 and adds the results. On one interval the boundary terms are B~m+1(1)f(m)(k+1)−B~m+1(0)f(m)(k)\tilde B_{m+1}(1)f^{(m)}(k+1)-\tilde B_{m+1}(0)f^{(m)}(k). When these are added for 1≤k<n1\le k<n the inner values f(m)(k)f^{(m)}(k) cancel in pairs if and only if B~m+1(1)=B~m+1(0)\tilde B_{m+1}(1)=\tilde B_{m+1}(0). This is the same as saying that B~m+1({x})\tilde B_{m+1}(\{x\}) is continuous at the integers. Without it the sum has extra terms (B~m+1(1)−B~m+1(0))∑1<k<nf(m)(k)\bigl(\tilde B_{m+1}(1)-\tilde B_{m+1}(0)\bigr)\sum_{1<k<n}f^{(m)}(k) and Eq. (10) fails.

The condition B~m(1)=B~m(0)\tilde B_m(1)=\tilde B_m(0) for all m≥2m\ge2 reads ∑k<m(mk)bk=0\sum_{k<m}\binom mkb_k=0. For m=2m=2 it gives 1+2b1=01+2b_1=0, so b1=−12b_1=-\frac12. For m=3m=3 it gives 1+3b1+3b2=01+3b_1+3b_2=0, so b2=16b_2=\frac16. In general the equation for mm contains bm−1b_{m-1} with the factor m≠0m\ne0, so it fixes bm−1b_{m-1} from b0,…,bm−2b_0,\ldots,b_{m-2}. Hence there is exactly one sequence. By (7) the Bernoulli numbers satisfy these equations, so bk=Bkb_k=B_k.

Check

Take b0=1b_0=1 and bk=0b_k=0 for k≥1k\ge1, so B~m(x)=xm\tilde B_m(x)=x^m. Then (9) holds, but B~2(1)−B~2(0)=1≠0\tilde B_2(1)-\tilde B_2(0)=1\ne0. With the Bernoulli numbers, B2(1)−B2(0)=(1−1+16)−16=0B_2(1)-B_2(0)=\bigl(1-1+\frac16\bigr)-\frac16=0.

Remarks

The condition for m=2m=2 forces B1=−12B_1=-\frac12, which is the value used in (3).

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.