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

Exercise 1.2.5-23

proved in Lean solution written

RatingHM20
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

Prove eq. (16), (−z)! Γ(z)=π/sin⁡πz(-z)!\,\Gamma(z) = \pi/\sin\pi z, from the product formula for sin⁡πz\sin \pi z.

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

Write Γ(z)=z!/z\Gamma(z) = z!/z. Then you need the product z! (−z)!z!\,(-z)!.

Hint 2

Put both factorials in the limit form of eq. (13). Many factors cancel when you multiply the two limits.

Hint 3

The remaining product is the reciprocal of the sine product.

Solution

Show the solution

Let zz not be an integer. Then neither zz nor −z-z is a negative integer, and sin⁡πz≠0\sin\pi z \ne 0. Since Γ(z)=(z−1)!=z!/z\Gamma(z) = (z-1)! = z!/z, it is enough to show that z! (−z)!=πzsin⁡πzz!\,(-z)! = \dfrac{\pi z}{\sin \pi z}.

By eq. (13), which holds for complex zz not a negative integer,

z!=lim⁡m→∞m! mz(z+1)⋯(z+m),(−z)!=lim⁡m→∞m! m−z(1−z)⋯(m−z).z! = \lim_{m \to \infty}\frac{m!\,m^{z}}{(z+1)\cdots(z+m)}, \qquad (-z)! = \lim_{m \to \infty}\frac{m!\,m^{-z}}{(1-z)\cdots(m-z)}.

Multiply the two limits. The powers mzm^z and m−zm^{-z} cancel, and (n+z)(n−z)=n2−z2(n+z)(n-z) = n^2 - z^2:

z! (−z)!=lim⁡m→∞(m!)2∏n=1m(n2−z2)=lim⁡m→∞∏n=1mn2n2−z2=lim⁡m→∞∏n=1m(1−z2n2)−1.z!\,(-z)! = \lim_{m \to \infty}\frac{(m!)^2}{\prod_{n=1}^{m}(n^2 - z^2)} = \lim_{m \to \infty}\prod_{n=1}^{m}\frac{n^2}{n^2 - z^2} = \lim_{m \to \infty}\prod_{n=1}^{m}\left(1 - \frac{z^2}{n^2}\right)^{-1}.

By the given product formula, ∏n≥1(1−z2/n2)=sin⁡πzπz\prod_{n \ge 1}(1 - z^2/n^2) = \dfrac{\sin\pi z}{\pi z}. This is not 00, so the limit of the reciprocals is the reciprocal: z! (−z)!=πzsin⁡πzz!\,(-z)! = \dfrac{\pi z}{\sin\pi z}. Division by zz gives (−z)! Γ(z)=πsin⁡πz(-z)!\,\Gamma(z) = \dfrac{\pi}{\sin\pi z}.

Check

For z=12z = \frac12 the left side is Γ(12)2=π\Gamma(\frac12)^2 = \pi, and the right side is π/sin⁡π2=π\pi/\sin\frac\pi2 = \pi. For z=13z = \frac13 python gives Γ(23)Γ(13)=3.62759872846…\Gamma(\frac23)\Gamma(\frac13) = 3.62759872846\ldots and π/sin⁡π3=3.62759872846…\pi/\sin\frac\pi3 = 3.62759872846\ldots. For z=0.3z = 0.3 both sides are 3.88322207745…3.88322207745\ldots.

Remarks

For z=12z = \frac12 the result gives Γ(12)=π\Gamma(\frac12) = \sqrt\pi, which is the value of exercise 1.2.5-18. The identity is the reflection formula of Γ\Gamma.

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.