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

Exercise 1.2.6-41

stated in Lean solution written

RatingHM22
MarkersHM (needs higher mathematics)
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 connection between the beta function and the gamma function.

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 Γ(x)Γ(y)\Gamma(x)\Gamma(y) as a double integral over the quarter plane.

Hint 2

Substitute u=stu = st and v=s(1−t)v = s(1-t).

Hint 3

The integral separates into a gamma integral and a beta integral.

Solution

Show the solution

By definition Γ(x)=∫0∞ux−1e−u du\Gamma(x) = \int_0^\infty u^{x-1}e^{-u}\,du. The integrand is positive, so Tonelli's theorem allows any order and any change of variables: Γ(x)Γ(y)=∫0∞ ⁣ ⁣∫0∞ux−1vy−1e−u−v du dv.\Gamma(x)\Gamma(y) = \int_0^\infty\!\!\int_0^\infty u^{x-1}v^{y-1}e^{-u-v}\,du\,dv. The map (s,t)↦(u,v)=(st,s(1−t))(s,t) \mapsto (u,v) = (st, s(1-t)) takes (0,∞)×(0,1)(0,\infty)\times(0,1) one to one onto the open quarter plane. Its inverse is s=u+vs = u + v, t=u/(u+v)t = u/(u+v). The Jacobian determinant is ∣ts1−t−s∣=−s,\begin{vmatrix} t & s \\ 1-t & -s\end{vmatrix} = -s, with absolute value ss. Also u+v=su + v = s. So Γ(x)Γ(y)=∫0∞ ⁣ ⁣∫01(st)x−1(s(1−t))y−1e−s s dt ds=∫0∞sx+y−1e−s ds∫01tx−1(1−t)y−1 dt.\Gamma(x)\Gamma(y) = \int_0^\infty\!\!\int_0^1 (st)^{x-1}\bigl(s(1-t)\bigr)^{y-1}e^{-s}\,s\,dt\,ds = \int_0^\infty s^{x+y-1}e^{-s}\,ds\int_0^1 t^{x-1}(1-t)^{y-1}\,dt. The first factor is Γ(x+y)\Gamma(x+y) and the second is B(x,y)B(x,y). Divide by Γ(x+y)>0\Gamma(x+y) > 0.

Check

For x=2x = 2, y=3y = 3: Γ(2)Γ(3)/Γ(5)=1⋅2/24=1/12=B(2,3)\Gamma(2)\Gamma(3)/\Gamma(5) = 1\cdot 2/24 = 1/12 = B(2,3), the value found in Exercise 1.2.6-40. For x=y=1/2x = y = 1/2 the formula gives π/1=π\pi/1 = \pi, as in Exercise 1.2.6-43.

Remarks

An induction with Exercise 1.2.6-40 (c) and the value B(x,1)=1/xB(x,1) = 1/x gives the same formula for natural yy, with no double integral.

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

In Lean

stated The statement is in Lean and it builds. The proof is not in Lean yet.

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

Something is wrong? Report it.