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

Exercise 1.2.6-45

stated in Lean solution written

RatingHM21
MarkersHM (needs higher mathematics)
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.6 of Volume 1. Companion chapter: Binomial coefficients

The task

Find lim⁡r→∞(rk)/rk\lim_{r\to\infty}\binom{r}{k}/r^k when (rk)\binom{r}{k} is the generalized coefficient.

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

Write (rk)=Γ(r+1)/(Γ(k+1)Γ(r−k+1))\binom{r}{k} = \Gamma(r+1)/\bigl(\Gamma(k+1)\Gamma(r-k+1)\bigr).

Hint 2

Use Stirling's formula Γ(z)∼2π/z (z/e)z\Gamma(z) \sim \sqrt{2\pi/z}\,(z/e)^z for large zz.

Solution

Show the solution

By Exercises 1.2.6-41 and 1.2.6-42, for r>k−1r > k - 1, (rk)=Γ(r+1)Γ(k+1) Γ(r−k+1).\binom{r}{k} = \frac{\Gamma(r+1)}{\Gamma(k+1)\,\Gamma(r-k+1)}. Stirling's formula in the form Γ(z+1)∼2πz (z/e)z\Gamma(z+1) \sim \sqrt{2\pi z}\,(z/e)^z gives, with z=rz = r and z=r−kz = r - k, Γ(r+1)Γ(r−k+1)∼rr−k  rre−r(r−k)r−ke−(r−k)=rr−k  rke−k(rr−k)r−k.\frac{\Gamma(r+1)}{\Gamma(r-k+1)} \sim \sqrt{\frac{r}{r-k}}\;\frac{r^r e^{-r}}{(r-k)^{r-k}e^{-(r-k)}} = \sqrt{\frac{r}{r-k}}\;r^k e^{-k}\Bigl(\frac{r}{r-k}\Bigr)^{r-k}. As r→∞r\to\infty, r/(r−k)→1\sqrt{r/(r-k)} \to 1 and (1−k/r)−(r−k)→ek\bigl(1 - k/r\bigr)^{-(r-k)} \to e^{k}. So Γ(r+1)/Γ(r−k+1)∼rk\Gamma(r+1)/\Gamma(r-k+1) \sim r^k, and lim⁡r→∞(rk)rk=1Γ(k+1).\lim_{r\to\infty}\frac{\binom{r}{k}}{r^k} = \frac{1}{\Gamma(k+1)}.

Check

For k=2k = 2 the ratio is r(r−1)2r2→12=1/2!\frac{r(r-1)}{2r^2}\to\frac12 = 1/2!. For k=5/2k = 5/2 and r=105r = 10^5 the ratio is 0.3008950.300895, and 1/Γ(7/2)=0.3009011/\Gamma(7/2) = 0.300901.

Remarks

The result says (rk)≈rk/k!\binom{r}{k} \approx r^k/k! for large rr also for non-integer kk. Exercise 1.2.6-46 uses Stirling's formula in the other regime, where both indices grow.

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.