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

Exercise 1.2.6-42

stated in Lean solution written

RatingHM10
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

Write (rk)\binom{r}{k} with the beta function.

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

Replace BB by gamma functions with Exercise 1.2.6-41.

Hint 2

Use Γ(z+1)=zΓ(z)\Gamma(z+1) = z\Gamma(z) repeatedly.

Solution

Show the solution

For r>k−1r > k - 1 both arguments k+1k + 1 and r−k+1r - k + 1 are positive. By Exercise 1.2.6-41, (r+1)B(k+1,r−k+1)=(r+1)Γ(k+1)Γ(r−k+1)Γ(r+2)=k! Γ(r−k+1)Γ(r+1),(r+1)B(k+1, r-k+1) = (r+1)\frac{\Gamma(k+1)\Gamma(r-k+1)}{\Gamma(r+2)} = \frac{k!\,\Gamma(r-k+1)}{\Gamma(r+1)}, since Γ(r+2)=(r+1)Γ(r+1)\Gamma(r+2) = (r+1)\Gamma(r+1). Apply Γ(z+1)=zΓ(z)\Gamma(z+1) = z\Gamma(z) kk times: Γ(r+1)=r(r−1)⋯(r−k+1) Γ(r−k+1)\Gamma(r+1) = r(r-1)\cdots(r-k+1)\,\Gamma(r-k+1). Hence 1(r+1)B(k+1,r−k+1)=r(r−1)⋯(r−k+1)k!=(rk).\frac{1}{(r+1)B(k+1,r-k+1)} = \frac{r(r-1)\cdots(r-k+1)}{k!} = \binom{r}{k}.

Check

For r=5r = 5, k=2k = 2: B(3,4)=Γ(3)Γ(4)/Γ(7)=2⋅6/720=1/60B(3,4) = \Gamma(3)\Gamma(4)/\Gamma(7) = 2\cdot 6/720 = 1/60, and 1/(6/60)=10=(52)1/(6/60) = 10 = \binom{5}{2}.

Remarks

The formula makes sense for real kk, and it defines the generalized coefficient used in Exercises 1.2.6-44 and 1.2.6-45.

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.