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.5-16

Exercise 1.2.5-16

proved in Lean solution written

RatingHM15
MarkersHM (needs higher mathematics)
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.5 of Volume 1. Companion chapter: Permutations and factorials

The task

Show that the series of eq. (11) diverges for each real nn that is not a nonnegative integer.

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

The kkth term is a constant ckc_k times the falling power nk‾n^{\underline{k}}. Find the limit of ckc_k.

Hint 2

If nn is not a nonnegative integer, no factor n−jn - j is 00. Show that the factors pass 11 in size, so the falling powers do not tend to 00.

Solution

Show the solution

The terms of eq. (11) are tk=ck nk‾t_k = c_k\, n^{\underline{k}} with nk‾=n(n−1)⋯(n−k+1)n^{\underline{k}} = n(n-1)\cdots(n-k+1) and ck=1−11!+12!−⋯+(−1)kk!c_k = 1 - \frac{1}{1!} + \frac{1}{2!} - \cdots + \frac{(-1)^k}{k!}. The number ckc_k is a partial sum of the series for e−1e^{-1}, so ck→e−1=0.3679…>0c_k \to e^{-1} = 0.3679\ldots > 0. Choose KK with ck≥14c_k \ge \frac{1}{4} for k≥Kk \ge K.

Let nn be real and not a nonnegative integer. Then no factor n−jn - j with j≥0j \ge 0 is 00. Let JJ be an integer with J>∣n∣+1J > |n| + 1. For j≥Jj \ge J, ∣n−j∣≥j−∣n∣>1|n - j| \ge j - |n| > 1. So, for k>Jk > J,

∣nk‾∣=∏j=0J−1∣n−j∣⋅∏j=Jk−1∣n−j∣≥C,|n^{\underline{k}}| = \prod_{j=0}^{J-1} |n - j| \cdot \prod_{j=J}^{k-1} |n - j| \ge C,

where C=∏j<J∣n−j∣>0C = \prod_{j<J}|n-j| > 0 is a constant and the second product is larger than 11. For k≥max⁡(J+1,K)k \ge \max(J+1, K) this gives ∣tk∣≥C/4|t_k| \ge C/4. So tkt_k does not tend to 00. A series whose terms do not tend to 00 does not converge, and so the partial sums have no limit.

If nn is a nonnegative integer, then nk‾=0n^{\underline{k}} = 0 for k>nk > n and the series has finitely many nonzero terms.

Check

Take n=12n = \frac12. The terms tkt_k are 1,0,−0.125,0.1251, 0, -0.125, 0.125 for k=0,1,2,3k = 0, 1, 2, 3, then 1.201.20 at k=5k = 5, −12380-12380 at k=10k = 10 and −2.9×1015-2.9 \times 10^{15} at k=20k = 20. For n=−12n = -\frac12 the term at k=10k = 10 is 2.35×1052.35 \times 10^{5}. For n=3n = 3 the terms vanish after k=3k = 3 and the sum is 1+0⋅3+12⋅6+13⋅6=6=3!1 + 0 \cdot 3 + \frac12 \cdot 6 + \frac13 \cdot 6 = 6 = 3!.

Remarks

For a nonnegative integer nn the series equals n!n!. This is the identity that Section 1.2.6 proves, and Stirling hoped that it would extend to other nn. Exercise 1.2.5-8 and eq. (13) give the extension that works.

This solution is checked, 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.