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

Exercise 1.2.5-10

proved in Lean solution written

RatingHM20
MarkersHM (needs higher mathematics), recommended
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

Decide for which real xx the identity Γ(x+1)=xΓ(x)\Gamma(x+1) = x\Gamma(x) holds, and compare it with the termial identity of exercise 7.

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

Use the limit in eq. (15) for Γm(x)\Gamma_m(x) and compare Γm(x+1)\Gamma_m(x+1) with xΓm(x)x\Gamma_m(x).

Hint 2

The ratio of the two is m/(x+m+1)m/(x+m+1). Ask where Γ(x)\Gamma(x) has a value.

Solution

Show the solution

Write Γm(x)=mxm!/(x(x+1)⋯(x+m))\Gamma_m(x) = m^x m!/\big(x(x+1)\cdots(x+m)\big), the quantity of eq. (15). For xx that is not 00 or a negative integer, no factor of the denominator is 00, and

Γm(x+1)=mx+1m!(x+1)(x+2)⋯(x+m+1)=mx+m+1⋅x mxm!x(x+1)⋯(x+m)=mx+m+1⋅xΓm(x).\Gamma_m(x+1) = \frac{m^{x+1} m!}{(x+1)(x+2)\cdots(x+m+1)} = \frac{m}{x+m+1}\cdot\frac{x\, m^x m!}{x(x+1)\cdots(x+m)} = \frac{m}{x+m+1}\cdot x\Gamma_m(x).

Let m→∞m \to \infty. The factor m/(x+m+1)m/(x+m+1) tends to 11 and Γm(x)→Γ(x)\Gamma_m(x) \to \Gamma(x), so Γ(x+1)=xΓ(x)\Gamma(x+1) = x\Gamma(x).

The identity holds for every real xx that is not 00 and not a negative integer. At x=0x = 0 the left side is Γ(1)=1\Gamma(1) = 1 and the right side is 0⋅Γ(0)0 \cdot \Gamma(0), where Γ(0)\Gamma(0) is infinite, so the product has no value and the identity fails. At x=−1,−2,…x = -1, -2, \ldots both Γ(x+1)\Gamma(x+1) and Γ(x)\Gamma(x) are infinite. The identity is an equality of two infinities there, and it has no numerical meaning. So the answer is: not for all real xx, but for all xx outside {0,−1,−2,…}\{0, -1, -2, \ldots\}.

Check

Test x=2.5x = 2.5: Γ(3.5)=3.32335…\Gamma(3.5) = 3.32335\ldots and 2.5 Γ(2.5)=2.5⋅1.32934=3.323352.5\,\Gamma(2.5) = 2.5 \cdot 1.32934 = 3.32335. Test x=−0.5x = -0.5: Γ(0.5)=1.77245\Gamma(0.5) = 1.77245 and −0.5 Γ(−0.5)=−0.5⋅(−3.54491)=1.77245-0.5\,\Gamma(-0.5) = -0.5 \cdot (-3.54491) = 1.77245. At x=0x = 0 the product xΓ(x)x\Gamma(x) has no value, although xΓ(x)→1x\Gamma(x) \to 1 as x→0x \to 0; the value Γ(1)=1\Gamma(1) = 1 is the limit.

Remarks

The identity of exercise 7, x?=x+(x−1)?x? = x + (x-1)?, has no exceptions, because x(x+1)/2x(x+1)/2 is a polynomial. The gamma function has poles at the excluded points, and the identity fails there. The value lim⁡x→0xΓ(x)=1\lim_{x \to 0} x\Gamma(x) = 1 shows why 0!=10! = 1 is the right value.

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.