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

Exercise 1.2.5-9

proved in Lean solution written

RatingM10
MarkersM (mathematical)
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.5 of Volume 1. Companion chapter: Permutations and factorials

The task

Find Γ(12)\Gamma(\tfrac12) and Γ(−12)\Gamma(-\tfrac12) from the value (12)!=π/2(\tfrac12)! = \sqrt{\pi}/2.

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

Eq. (14) links n!n! and Γ(n+1)\Gamma(n+1), and gives the rule Γ(x+1)=xΓ(x)\Gamma(x+1) = x\Gamma(x).

Hint 2

Start from Γ(32)=(12)!\Gamma(\tfrac32) = (\tfrac12)! and apply the rule downward two times.

Solution

Show the solution

By eq. (14), Γ(32)=(12)!=π/2\Gamma(\tfrac32) = (\tfrac12)! = \sqrt{\pi}/2. The rule Γ(x+1)=xΓ(x)\Gamma(x+1) = x\Gamma(x) with x=12x = \tfrac12 gives Γ(32)=12Γ(12)\Gamma(\tfrac32) = \tfrac12\Gamma(\tfrac12). So

Γ(12)=2Γ(32)=π.\Gamma(\tfrac12) = 2\Gamma(\tfrac32) = \sqrt{\pi}.

The rule with x=−12x = -\tfrac12 gives Γ(12)=−12Γ(−12)\Gamma(\tfrac12) = -\tfrac12\Gamma(-\tfrac12). So

Γ(−12)=−2Γ(12)=−2π.\Gamma(-\tfrac12) = -2\Gamma(\tfrac12) = -2\sqrt{\pi}.

Check

Numerically π=1.7724539\sqrt{\pi} = 1.7724539 and −2π=−3.5449077-2\sqrt{\pi} = -3.5449077. The function math.gamma returns 1.7724538509055159 at 0.50.5 and -3.544907701811032 at −0.5-0.5. The sign is right: Γ\Gamma is negative on (−1,0)(-1, 0), where x<0x < 0 and Γ(x+1)>0\Gamma(x+1) > 0.

Remarks

Exercise 1.2.5-18 proves the given value (12)!=π/2(\tfrac12)! = \sqrt{\pi}/2 from Wallis's product. Repeated use of the rule gives Γ(n+12)\Gamma(n + \tfrac12) for all integers nn, for example Γ(52)=34π\Gamma(\tfrac52) = \tfrac34\sqrt{\pi}.

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. Lean states the parts one by one.

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

Something is wrong? Report it.