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

Exercise 1.2.6-67

proved in Lean solution written

RatingM20
MarkersM (mathematical)
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

Prove the upper bound (nk)≤(ne/k)k\binom{n}{k} \le (ne/k)^k.

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

Bound (nk)\binom{n}{k} by nk/k!n^k/k!.

Hint 2

Bound k!k! from below with the series for eke^k.

Solution

Show the solution

For k=0k = 0 both sides are 11. Let k≥1k \ge 1. Then (nk)=n(n−1)⋯(n−k+1)k!≤nkk!\binom{n}{k} = \frac{n(n-1)\cdots(n-k+1)}{k!} \le \frac{n^k}{k!}. The series ek=∑i≥0ki/i!e^k = \sum_{i\ge 0}k^i/i! has the positive term kk/k!k^k/k!, so ek≥kk/k!e^k \ge k^k/k!. That is k!≥(k/e)kk! \ge (k/e)^k. Therefore (nk)≤nk(k/e)k=(nek)k.\binom{n}{k} \le \frac{n^k}{(k/e)^k} = \Bigl(\frac{ne}{k}\Bigr)^k.

Check

For n=10n = 10, k=3k = 3: (103)=120≤(10e/3)3=743.9\binom{10}{3} = 120 \le (10e/3)^3 = 743.9. For k=n=5k = n = 5: 1≤e5=148.41 \le e^5 = 148.4. For k=1k = 1: n≤nen \le ne.

Remarks

For k=n/2k = n/2 the bound reads (nn/2)≤(2e)n/2\binom{n}{n/2} \le (2e)^{n/2}, much weaker than the truth 2n/πn/22^n/\sqrt{\pi n/2} of Exercise 1.2.6-46. The bound is good for kk small against nn, where it is within a factor 2πk\sqrt{2\pi k}.

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

In Lean

proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.

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

Something is wrong? Report it.