In mathematics, the beta function, also called the Euler integral of the first kind, is a special function that is closely related to the gamma function and to binomial coefficients. It is defined by the integral
B(z1,z2)=∫01tz1−1(1−t)z2−1dt where z1,z2 are complex numbers such that min(ℜ(z1),ℜ(z2))>0. The beta function was studied by Leonhard Euler and Adrien-Marie Legendre and was given its name by Jacques Binet; its symbol B is a Greek capital beta.
Properties The beta function is symmetric, meaning that B(z1,z2)=B(z2,z1) for all inputs z1 and z2. A key property of the beta function is its close relationship to the gamma function:
B(z1,z2)=Γ(z1)Γ(z2)Γ(z1+z2)
Proof of the relation Write the product of two factorials as integrals. Since they are integrals in two separate variables, we can combine them into an iterated integral:
Γ(z1)Γ(z2)=∫u=0∞ e−uuz1−1du⋅∫v=0∞ e−vvz2−1dv=∫v=0∞∫u=0∞ e−u−vuz1−1vz2−1dudv. Changing variables by u=st and v=s(1−t), because u+v=s and u/(u+v)=t, we have that the limits of integrations for s are 0 to ∞ and the limits of integration for t are 0 to 1. Thus
Γ(z1)Γ(z2)=∫s=0∞∫t=01e−s(st)z1−1(s(1−t))z2−1sdtds=∫s=0∞e−ssz1+z2−1ds⋅∫t=01tz1−1(1−t)z2−1dt=Γ(z1+z2)⋅B(z1,z2). Dividing both sides by Γ(z1+z2) gives the desired result. ◻ The stated identity may be seen as a particular case of the identity for the integral of a convolution. Taking
f(u):=e−uuz1−1χℝ+g(u):=e−uuz2−1χℝ+, one has:
Γ(z1)Γ(z2)=∫ℝf(u)du⋅∫ℝg(u)du=∫ℝ(f∗g)(u)du=B(z1,z2)Γ(z1+z2). See The Gamma Function, page 18–19 for a derivation of this relation. The beta function is also closely related to binomial coefficients. When m (or n, by symmetry) is a positive integer, it follows from the definition of the gamma function Γ that
B(m,n)=(m−1)!(n−1)!(m+n−1)!=m+nmn/(m+nm).
Derivative We have
∂∂z1B(z1,z2)=B(z1,z2)(Γ′(z1)Γ(z1)−Γ′(z1+z2)Γ(z1+z2))=B(z1,z2)(ψ(z1)−ψ(z1+z2)), and more generally
∂∂zmB(z1,z2,…,zn)=B(z1,z2,…,zn)(ψ(zm)−ψ(∑k=1nzk)),1≤m≤n, where ψ(z) denotes the digamma function.
Approximation Stirling's approximation gives the asymptotic formula
B(x,y)∼2πxx−1/2yy−1/2(x+y)x+y−1/2 for large x and y. If on the other hand x is large and y is fixed, then B(x,y)∼Γ(y)x−y.
Other identities and formulas The integral defining the beta function may be rewritten in a variety of ways, including the following:
B(z1,z2)=2∫0π/2(sinθ)2z1−1(cosθ)2z2−1dθ,=∫0∞tz1−1(1+t)z1+z2dt,=n∫01tnz1−1(1−tn)z2−1dt,=(1−a)z2∫01(1−t)z1−1tz2−1(1−at)z1+z2dtfor any a∈ℝ≤1, where in the second-to-last identity n} is any positive real number. One may move from the first integral to the second one by substituting t=tan2(θ). For values z=z1=z2≠1 we have:
B(z,z)=1z∫0π/21(sinθz+cosθz)2zdθ. The beta function can be written as an infinite sum:
B(x,y)=∑n=0∞(1−x)n(y+n)n!. If x and y are equal we get
B(z,z)=2∑n=0∞(2z+n−1)n(−1)n(z+n)n!=limx→1−2∑n=0∞(−2z)nxn(z+n)n! where (x)n is the rising factorial. The beta function can also be written as an infinite product
B(x,y)=x+yxy∏n=1∞(1+xyn(x+y+n))−1. The beta function satisfies several identities analogous to corresponding identities for binomial coefficients, including a version of Pascal's identity
B(x,y)=B(x,y+1)+B(x+1,y), which can be proved as follows:
B(x,y+1)+B(x+1,y)=Γ(x)Γ(y+1)Γ(x+y+1)+Γ(x+1)Γ(y)Γ(x+y+1)=yΓ(x)Γ(y)+xΓ(x)Γ(y)(x+y)Γ(x+y)=Γ(x)Γ(y)Γ(x+y)=B(x,y). The above proof also shows the simple recurrence on one coordinate
B(x+1,y)=B(x,y)⋅xx+y,B(x,y+1)=B(x,y)⋅yx+y. The positive integer values of the beta function are also the partial derivatives of the function
h(a,b)=ea−eba−b. Indeed, for all nonnegative integers m and n,
B(m+1,n+1)=∂m+nh∂am∂bn(0,0). The Pascal-like identity above implies that this function is a solution to the first-order partial differential equation
h=ha+hb. For x,y≥1, the beta function may be written in terms of a convolution involving the truncated power function t↦t+x:
B(x,y)⋅(t↦t+x+y−1)=(t↦t+x−1)∗(t↦t+y−1) Evaluation at particular points simplifies the expression significantly; for example,
B(1,x)=1x and
B(x,1−x)=πsin(πx),x∉ℤ By taking x=1/2 in this last formula, it follows that Γ(1/2)=π. Generalizing this into a bivariate identity for a product of beta functions leads to:
B(x,y)⋅B(x+y,1−y)=πxsin(πy). Also, by the Legendre duplication formula, we get
2z−1B(z/2,z/2)=B(1/2,z/2). Euler's integral for the beta function may be converted into an integral over the Pochhammer contour C as
(1−e2πiα)(1−e2πiβ)B(α,β)=∫Ctα−1(1−t)β−1dt. This Pochhammer contour integral converges for all values of α and β and so gives the analytic continuation of the beta function. Just as the gamma function for integers describes factorials, the beta function can define a binomial coefficient after adjusting indices:
(nk)=1(n+1)B(n−k+1,k+1). Moreover, for integer n, the beta function can be factored to give a closed form interpolation function for continuous values of k:
(nk)=(−1)nn!⋅sin(πk)π∏i=0n(k−i).
Reciprocal beta function The reciprocal beta function is the function
f(x,y)=1B(x,y) Interestingly, their integral representations closely relate as the definite integral of trigonometric functions with product of its power and multiple-angle:
∫0πsinx−1θsinyθ dθ=πsinyπ22x−1xB(x+y+12,x−y+12),∫0πsinx−1θcosyθ dθ=πcosyπ22x−1xB(x+y+12,x−y+12),∫0π2cosx−1θcosyθ dθ=π2xxB(x+y+12,x−y+12).
Incomplete beta function The incomplete beta function, a generalization of the beta function, is defined as
B(x;a,b)=∫0xta−1(1−t)b−1dt. For x=1, the incomplete beta function coincides with the complete beta function. For positive integers a and b, the incomplete beta function is a polynomial of degree a+b−1 with rational coefficients. Substituting t=sin2θ and t=11+s gives alternative integral forms:
B(x;a,b)=2∫0arcsinxsin2a−1θcos2b−1θdθ=∫1−xx∞sb−1(1+s)a+bds. It can also be written in terms of the hypergeometric function:
B(x;a,b)=xaa2F1(a,1−b;a+1;x) The regularized incomplete beta function (or regularized beta function for short) is defined in terms of the incomplete beta function and the complete beta function:
Ix(a,b)=B(x;a,b)B(a,b)=Γ(a+b)Γ(a)Γ(b)∫0xta−1(1−t)b−1dt. The regularized incomplete beta function is the cumulative distribution function of the beta distribution, and is related to the cumulative distribution function F(k;n,p) of a random variable X following a binomial distribution with probability of single success p and number of Bernoulli trials n:
F(k;n,p)=Pr(X≤k)=I1−p(n−k,k+1)=1−Ip(k+1,n−k).
… excerpt ends here. Continue reading the full article.

