Jump to content

Beta function

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by HowlingAngel (talk | contribs) at 05:00, 8 March 2016 (Undid revision 708915028 by 201.230.248.90 (talk) possible vandalism or good-faith edit). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Contour plot of the beta function
A plot of the beta function for positive x and y values

In mathematics, the beta function, also called the Euler integral of the first kind, is a special function defined by

for

The beta function was studied by Euler and Legendre and was given its name by Jacques Binet; its symbol Β is a Greek capital β rather than the similar Latin capital B.

Properties

The beta function is symmetric, meaning that

[1]

A key property of the Beta function is its relationship to the Gamma function; proof is given below in section on relationship between gamma function and beta function

[1]


When x and y are positive integers, it follows from the definition of the gamma function that:


[2]
[2]

The Beta function satisfies several interesting identities, including

where is a truncated power function and the star denotes convolution. The lowermost identity above shows in particular . Some of these identities, e.g. the trigonometric formula, can be applied to deriving the volume of an n-ball in Cartesian coordinates.

Euler's integral for the beta function may be converted into an integral over the Pochhammer contour C as

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:

Moreover, for integer n, can be factored to give a closed form, an interpolation function for continuous values of k:

The beta function was the first known scattering amplitude in string theory, first conjectured by Gabriele Veneziano. It also occurs in the theory of the preferential attachment process, a type of stochastic urn process.

Relationship between gamma function and beta function

To derive the integral representation of the beta function, write the product of two factorials as

Changing variables by and shows that this is

where is the absolute value of the Jacobian determinant of and .

The stated identity may be seen as a particular case of the identity for the integral of a convolution. Taking

and , one has:

Derivatives

We have

where is the digamma function.

Integrals

The Nörlund–Rice integral is a contour integral involving the beta function.

Approximation

Stirling's approximation gives the asymptotic formula

for large x and large y. If on the other hand x is large and y is fixed, then

Incomplete beta function

The incomplete beta function, a generalization of the beta function, is defined as

For x = 1, the incomplete beta function coincides with the complete beta function. The relationship between the two functions is like that between the gamma function and its generalization the incomplete gamma function.

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:

The regularized incomplete beta function is the cumulative distribution function of the Beta distribution, and is related to the cumulative distribution function of a random variable X from a binomial distribution, where the "probability of success" is p and the sample size is n:

Properties

Multivariate beta function

The beta function can be extended to a function with more than two arguments:

.

This multivariate beta function is used in the definition of the Dirichlet distribution.

Software implementation

Even if unavailable directly, the complete and incomplete beta function values can be calculated using functions commonly included in spreadsheet or computer algebra systems. In Excel, for example, the complete beta value can be calculated from the GammaLn function:

Value = Exp(GammaLn(a) + GammaLn(b) − GammaLn(a + b))

An incomplete beta value can be calculated as:

Value = BetaDist(x, a, b) * Exp(GammaLn(a) + GammaLn(b) − GammaLn(a + b)).

These result follow from the properties listed above.

Similarly, betainc (incomplete beta function) in MATLAB and GNU Octave, pbeta (probability of beta distribution) in R, or special.betainc in Python's SciPy package compute the regularized incomplete beta function—which is, in fact, the cumulative beta distribution—and so, to get the actual incomplete beta function, one must multiply the result of betainc by the result returned by the corresponding beta function.

See also

References

  1. ^ a b Davis (1972) 6.2.2 p.258
  2. ^ a b Davis (1972) 6.2.1 p.258
  • Askey, R. A.; Roy, R. (2010), "Beta function", in Olver, Frank W. J.; Lozier, Daniel M.; Boisvert, Ronald F.; Clark, Charles W. (eds.), NIST Handbook of Mathematical Functions, Cambridge University Press, ISBN 978-0-521-19225-5, MR 2723248.
  • Zelen, M.; Severo, N. C. (1972), "26. Probability functions", in Abramowitz, Milton; Stegun, Irene A. (eds.), Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, New York: Dover Publications, pp. 925–995, ISBN 978-0-486-61272-0
  • Davis, Philip J. (1972), "6. Gamma function and related functions", in Abramowitz, Milton; Stegun, Irene A. (eds.), Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, New York: Dover Publications, ISBN 978-0-486-61272-0
  • Paris, R. B. (2010), "Incomplete beta functions", in Olver, Frank W. J.; Lozier, Daniel M.; Boisvert, Ronald F.; Clark, Charles W. (eds.), NIST Handbook of Mathematical Functions, Cambridge University Press, ISBN 978-0-521-19225-5, MR 2723248.
  • Press, WH; Teukolsky, SA; Vetterling, WT; Flannery, BP (2007), "Section 6.1 Gamma Function, Beta Function, Factorials", Numerical Recipes: The Art of Scientific Computing (3rd ed.), New York: Cambridge University Press, ISBN 978-0-521-88068-8