Ma · Mathematics

How to Write the Beta Function in Terms of the Gamma Function

Published By the 9to5Science editorial team

At a glance

  1. 1. Start with the integrals

    Write the Gamma function as an integral and their product as a double integral.

  2. 2. Change variables

    Set r = x + y and t = x/(x + y); the Jacobian is r.

  3. 3. Separate the integrals

    The r-integral is Gamma(a + b), and the t-integral is the beta function.

  4. 4. State the identity

    Divide by Gamma(a + b), initially for parameters with positive real parts.

Advertisement

The beta function and Gamma function are related by a standard identity that turns many beta-function evaluations into Gamma-function calculations. For complex parameters aa and bb with positive real parts, the relationship is

B⁡(a,b)=Γ(a)Γ(b)Γ(a+b).\operatorname B(a,b)=\frac{\Gamma(a)\Gamma(b)}{\Gamma(a+b)}.

The integral definition of the beta function converges under those conditions. The identity also extends beyond that initial region by analytic continuation, as described below.

The two integral definitions

For a complex number zz with Re⁡(z)>0\operatorname{Re}(z)>0, the Gamma function is defined by

Γ(z)=∫0∞xz−1e−x dx.\Gamma(z)=\int_0^\infty x^{z-1}e^{-x}\,dx.

For Re⁡(a)>0\operatorname{Re}(a)>0 and Re⁡(b)>0\operatorname{Re}(b)>0, the beta function is

B⁡(a,b)=∫01ta−1(1−t)b−1 dt.\operatorname B(a,b)=\int_0^1 t^{a-1}(1-t)^{b-1}\,dt.

The beta integral is symmetric in its parameters: replacing tt with 1−t1-t shows that B⁡(a,b)=B⁡(b,a)\operatorname B(a,b)=\operatorname B(b,a). The Gamma-function expression has the same symmetry.

Derivation by a change of variables

Begin with the product of the two Gamma integrals. For parameters in the stated right half-planes, the integrals converge absolutely, so they can be combined as a double integral:

Γ(a)Γ(b)=∫0∞∫0∞xa−1yb−1e−(x+y) dx dy.\Gamma(a)\Gamma(b)=\int_0^\infty\int_0^\infty x^{a-1}y^{b-1}e^{-(x+y)}\,dx\,dy.

Use the change of variables

r=x+y,t=xx+y.r=x+y,\qquad t=\frac{x}{x+y}.

Then x=rtx=rt and y=r(1−t)y=r(1-t). The range x>0x>0, y>0y>0 becomes r>0r>0, 0<t<10<t<1, and the absolute value of the Jacobian determinant is rr. Substituting gives

Γ(a)Γ(b)=∫0∞∫01(rt)a−1(r(1−t))b−1e−r r dt dr=(∫0∞ra+b−1e−r dr)(∫01ta−1(1−t)b−1 dt)=Γ(a+b)B⁡(a,b).\begin{aligned} \Gamma(a)\Gamma(b) &=\int_0^\infty\int_0^1 (rt)^{a-1}\bigl(r(1-t)\bigr)^{b-1}e^{-r}\,r\,dt\,dr\\ &=\left(\int_0^\infty r^{a+b-1}e^{-r}\,dr\right) \left(\int_0^1 t^{a-1}(1-t)^{b-1}\,dt\right)\\ &=\Gamma(a+b)\operatorname B(a,b). \end{aligned}

The first factor in the second line is the defining integral for Γ(a+b)\Gamma(a+b), while the second is the defining integral for B⁡(a,b)\operatorname B(a,b). Dividing by Γ(a+b)\Gamma(a+b) proves the identity. This division is valid here because Re⁡(a+b)>0\operatorname{Re}(a+b)>0, and the Gamma function has no zeros.

Worked example: evaluating B⁡(1/2,1/2)\operatorname B(1/2,1/2)

Apply the identity with a=b=1/2a=b=1/2:

B⁡(12,12)=Γ(1/2)Γ(1/2)Γ(1).\operatorname B\left(\frac12,\frac12\right) =\frac{\Gamma(1/2)\Gamma(1/2)}{\Gamma(1)}.

The standard Gamma values are Γ(1/2)=π\Gamma(1/2)=\sqrt{\pi} and Γ(1)=1\Gamma(1)=1. Therefore,

B⁡(12,12)=(π)21=π.\operatorname B\left(\frac12,\frac12\right)=\frac{(\sqrt{\pi})^2}{1}=\pi.

As another quick check, B⁡(2,3)=Γ(2)Γ(3)/Γ(5)=1! 2!/4!=1/12\operatorname B(2,3)=\Gamma(2)\Gamma(3)/\Gamma(5)=1!\,2!/4!=1/12.

When the formula applies

The integral definition directly gives the identity when Re⁡(a)>0\operatorname{Re}(a)>0 and Re⁡(b)>0\operatorname{Re}(b)>0. The Gamma function itself extends meromorphically to the complex plane, with poles at the nonpositive integers. The beta function can likewise be extended, and the same quotient identity holds as an identity of meromorphic functions.

Outside the region where the defining beta integral converges, interpret the formula through this continuation; do not assume the original integral still exists. At parameter values where direct substitution gives a pole or an indeterminate quotient, use the meromorphic continuation: if the singularity is removable, its value is given by the limit; if it is a genuine pole or a nonremovable multivariable singularity, there is no finite value to assign, and a multivariable limit may depend on the approach.

Common mistakes

  • Using the wrong denominator: The denominator is Γ(a+b)\Gamma(a+b), not Γ(a)Γ(b)\Gamma(a)\Gamma(b).
  • Dropping the Jacobian: The change from (x,y)(x,y) to (r,t)(r,t) contributes a factor of rr. Without it, the power in the radial integral is wrong.
  • Ignoring the convergence conditions: The integral proof assumes positive real parts for both parameters. The formula outside that domain refers to analytic continuation.
  • Confusing factorials and Gamma values: For positive integers nn, Γ(n)=(n−1)!\Gamma(n)=(n-1)!, not n!n!.

References

  1. NIST Digital Library of Mathematical Functions, §5.12: Beta Function
  2. Abramowitz and Stegun, Handbook of Mathematical Functions, Chapter 6

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.