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.6-25

Exercise 1.2.6-25

stated in Lean solution written

RatingHM30
MarkersHM (needs higher mathematics)
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.6 of Volume 1. Companion chapter: Binomial coefficients

The task

Show that ∑k≥0Ak(r,t) zk=xr\sum_{k \ge 0} A_k(r,t)\,z^k = x^r for z=xt+1−xtz = x^{t+1} - x^t and xx close enough to 11.

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

Put x=1+wx = 1 + w. Then z=w(1+w)tz = w(1+w)^t, and ww is an analytic function of zz near 00, with w≈zw \approx z.

Hint 2

The coefficient of znz^n in xrx^r is a Cauchy integral. Change the variable from zz to ww.

Hint 3

The integral becomes the coefficient of wnw^n in (1+w)r−tn−1(1+(t+1)w)(1+w)^{r-tn-1}(1+(t+1)w).

Solution

Show the solution

Plan: first prove a lemma that finds the coefficient of znz^n in any function of ww, then apply it to (1+w)r(1+w)^r and compare with An(r,t)A_n(r, t).

First, An(x,t)=(x−ntn)xx−ntA_n(x, t) = \binom{x-nt}{n}\frac{x}{x-nt} for x≠ntx \ne nt and n≥1n \ge 1. By eq. 1.2.6(7), (x−ntn)1x−nt=1n(x−nt−1n−1)\binom{x-nt}{n}\frac{1}{x-nt} = \frac{1}{n}\binom{x-nt-1}{n-1}. So the polynomial is An(x,t)=xn(x−nt−1n−1)A_n(x,t) = \frac{x}{n}\binom{x-nt-1}{n-1} for n≥1n \ge 1, and A0(x,t)=1A_0(x, t) = 1.

Lemma. Let g(w)=w(1+w)tg(w) = w(1+w)^t, with the principal power. Then g(0)=0g(0) = 0 and g′(w)=(1+w)t−1(1+(t+1)w)g'(w) = (1+w)^{t-1}(1 + (t+1)w), so g′(0)=1g'(0) = 1. By the inverse function theorem there are discs around 00 such that gg maps a neighbourhood of 00 in the ww-plane one to one and analytically onto a disc ∣z∣<ρ|z| < \rho, and the inverse w(z)w(z) is analytic with w(0)=0w(0) = 0. Let FF be analytic near w=0w = 0. Then F(w(z))=∑ncnznF(w(z)) = \sum_n c_n z^n for ∣z∣<ρ|z| < \rho, and cnc_n is the coefficient of wnw^n in F(w)(1+(t+1)w)(1+w)−tn−1F(w)(1+(t+1)w)(1+w)^{-tn-1}.

Proof of the lemma. By Cauchy's formula, cn=12πi∮F(w(z))z−n−1 dzc_n = \frac{1}{2\pi i}\oint F(w(z))z^{-n-1}\,dz over a small circle around 00. Substitute z=g(w)z = g(w). The circle is the image of a simple closed curve γ\gamma around 00 in the ww-plane, and cn=12πi∮γF(w) g′(w)g(w)n+1 dw=12πi∮γF(w)(1+(t+1)w)(1+w)t−1−t(n+1)wn+1 dw.c_n = \frac{1}{2\pi i}\oint_\gamma F(w)\,\frac{g'(w)}{g(w)^{n+1}}\,dw = \frac{1}{2\pi i}\oint_\gamma \frac{F(w)(1+(t+1)w)(1+w)^{t-1-t(n+1)}}{w^{n+1}}\,dw. The exponent is t−1−tn−t=−tn−1t - 1 - tn - t = -tn - 1. The integrand has a pole of order n+1n + 1 at w=0w = 0 and no other singularity inside γ\gamma. By the residue theorem the integral is the coefficient of wnw^n in F(w)(1+(t+1)w)(1+w)−tn−1F(w)(1+(t+1)w)(1+w)^{-tn-1}. □\square

Application. Take F(w)=(1+w)rF(w) = (1+w)^r. Then cn=[wn](1+w)r−tn−1(1+(t+1)w)c_n = [w^n](1+w)^{r-tn-1}(1+(t+1)w), so cn=(an)+(t+1)(an−1)c_n = \binom{a}{n} + (t+1)\binom{a}{n-1} with a=r−tn−1a = r - tn - 1. For n≥1n \ge 1, eq. 1.2.6(3) gives (an)=a−n+1n(an−1)\binom{a}{n} = \frac{a-n+1}{n}\binom{a}{n-1}, with a−n+1=r−tn−na - n + 1 = r - tn - n. Hence cn=(an−1)(r−tn−nn+t+1)=rn(r−tn−1n−1)=An(r,t).c_n = \binom{a}{n-1}\left(\frac{r-tn-n}{n} + t + 1\right) = \frac{r}{n}\binom{r-tn-1}{n-1} = A_n(r, t). And c0=1=A0(r,t)c_0 = 1 = A_0(r, t). So xr=(1+w)r=∑nAn(r,t)znx^r = (1+w)^r = \sum_n A_n(r,t)z^n for ∣z∣<ρ|z| < \rho. If xx is close enough to 11, then ∣z∣=∣xt+1−xt∣|z| = |x^{t+1} - x^t| is below ρ\rho, and the series converges to xrx^r.

Check

For t=0t = 0 we get z=x−1z = x - 1 and Ak(r,0)=(rk)A_k(r, 0) = \binom{r}{k}, so the claim is the binomial series (15). For r=0.7r = 0.7, t=1.3t = 1.3, x=1.05x = 1.05 we get z=0.0532741z = 0.0532741, and the sum of the first 4040 terms is 1.03474301.0347430, which equals 1.050.71.05^{0.7}. For r=2r = 2, t=1t = 1 the coefficients A0,…,A4A_0, \ldots, A_4 are 1,2,−1,2,−51, 2, -1, 2, -5.

Remarks

This is the Lagrange inversion formula for the equation z=w(1+w)tz = w(1+w)^t. The book's answer uses a different route, with the form of the series that the text of the section proves by other means. The lemma is used again in Exercises 1.2.6-26 and 1.2.6-27.

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

In Lean

stated The statement is in Lean and it builds. The proof is not in Lean yet.

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

Something is wrong? Report it.