Beta
Details
- Beta is a mathematical function, suitable for both symbolic and numerical manipulation.
.
. - Beta[z,a,b] has a branch cut discontinuity in the complex
plane running from
to
. - Beta[z0,z1,a,b] gives the generalized incomplete beta function
. - Note that the arguments in the incomplete form of Beta are arranged differently from those in the incomplete form of Gamma.
- For certain special arguments, Beta automatically evaluates to exact values.
- Beta can be evaluated to arbitrary numerical precision.
- Beta automatically threads over lists.
- In TraditionalForm, Beta is output using \[CapitalBeta].
- Beta can be used with Interval and CenteredInterval objects. »
Examples
open all close allBasic Examples (6)
Beta[5, 4]Beta[5 / 2, 7 / 2]Beta[2.3, 3.2]Plot
over a subset of the reals:
Plot[Beta[1 / 2, x], {x, -2, 3}]Plot the incomplete beta function over a subset of the reals:
Plot[Beta[x, 1 / 2, 1 / 2], {x, 0, 1}]Plot over a subset of the complexes:
ComplexPlot3D[Beta[1 / 2, z], {z, -2 - 2I, 2 + 2I}, PlotLegends -> Automatic]Series expansion at the origin:
Series[Beta[1 / 2, x], {x, 0, 2}]//Normal//FullSimplifySeries expansion at Infinity:
Series[Beta[-1 / 2, x], {x, ∞, 4}]//NormalScope (42)
Numerical Evaluation (8)
Beta[1.1, 2.1]Evaluate symbolically in special cases:
{Beta[0, b], Beta[a, 0]}N[Beta[22 / 10, 33 / 10], 50]The precision of the output tracks the precision of the input:
Beta[2.200000000000000000000000, 33 / 10]Beta[22 / 10, 3.300000000000000000000000]Beta[100000, 100000]//ShortBeta[10. ^ 5, 10. ^ 5]Evaluate for complex arguments:
Beta[2.5 + I, 1 - I]Evaluate Beta efficiently at high precision:
Beta[1.1`200, 2.2`200]//TimingBeta[1.1`1000, 2.2`1000];//TimingCompute worst-case guaranteed intervals using Interval and CenteredInterval objects:
Beta[2, Interval[{1.2, 2.1}]]Beta[2, CenteredInterval[2, 1 / 8]]Or compute average-case statistical intervals using Around:
Beta[ Around[1.2, 0.01], 1, 2]Compute the elementwise values of an array:
Beta[{{1 / 2, -1}, {0, 1 / 2}}, 1, 2]Or compute the matrix Beta function using MatrixFunction:
MatrixFunction[Beta[#, 1, 2]&, {{1 / 2, -1}, {0, 1 / 2}}]//FullSimplifySpecific Values (4)
Beta[Infinity, 0]Beta[0, Infinity]xmin = Solve[Beta[x, -1 / 2] == 0 && 0 < x < 1, x, Reals][[1, 1, 2]]//QuietPlot[Beta[x, -1 / 2], {x, -1, 3}, Epilog -> Style[Point[{xmin, Beta[xmin, -1 / 2]}], PointSize[Large], Red]]Evaluate the incomplete beta function symbolically at integer and half‐integer orders:
Beta[z, 3, b] // FunctionExpandBeta[13 / 2, 7 / 2, 9 / 2] // FunctionExpand//SimplifyEvaluate the generalized incomplete beta symbolically:
Beta[1 / 4, 1 / 3, 1 / 2, 3 / 2]//FunctionExpand//SimplifyVisualization (2)
Function Properties (11)
Real domain of the complete Euler beta function:
FunctionDomain[Beta[a, b], {a, b}]FunctionDomain[Beta[az, bz], {az, bz}, Complexes]Beta[a, b] == Beta[b, a]//FullSimplifyEuler beta function has the mirror property
:
FullSimplify[Beta[Conjugate[a], Conjugate[b]] == Conjugate[Beta[a, b]]]The complete beta function is not an analytic function:
FunctionAnalytic[Beta[a, b], {a, b}]FunctionMeromorphic[Beta[a, b], {a, b}]Its singularities and discontinuities are restricted to the non-positive integers:
FunctionSingularities[Beta[a, b], {a, b}]FunctionDiscontinuities[Beta[a, b], {a, b}]The incomplete beta function
is an analytic function of
for positive integer
:
FunctionAnalytic[Beta[x, a, 1], x, Assumptions -> a > 0 && a∈ℤ]Thus, any such function will have no singularities or discontinuities:
FunctionSingularities[Beta[x, 1, 1], x]FunctionDiscontinuities[Beta[x, 1, 1], x]For other values of
,
is neither analytic nor meromorphic:
FunctionAnalytic[Beta[x, 1 / 2, 1], x]FunctionMeromorphic[Beta[x, 1 / 2, 1], x]
is neither non-increasing nor non-decreasing:
FunctionMonotonicity[Beta[x, 1, 2], x]
is injective for positive odd
but not positive even
:
FunctionInjective[Beta[x, 2k, 1], x, Assumptions -> k > 0 && k∈ℤ]FunctionInjective[Beta[x, 2k + 1, 1], x, Assumptions -> k > 0 && k∈ℤ]Plot[{Beta[x, 3, 1], Beta[x, 4, 1], 1}, {x, -2, 2}]
is surjective for positive odd
but not positive even
:
Table[FunctionSurjective[Beta[x, a, 1], x], {a, 5}]Plot[{Beta[x, 3, 1], Beta[x, 4, 1], -1}, {x, -2, 2}]
is non-negative for positive even
but indefinite for odd
:
Table[FunctionSign[Beta[x, a, 1], x], {a, 5}]FunctionConvexity[Beta[x, 2k, 1], x, Assumptions -> k > 0 && k∈ℤ]TraditionalForm formatting:
Beta[a, b]//TraditionalFormDifferentiation (2)
First derivative of the beta function:
D[Beta[a, b], a]D[Beta[a, b], b]Higher derivatives of the beta function:
derivs = Table[D[Beta[a, b], {b, n}], {n, 1, 3}]Plot[Evaluate[derivs /. a -> 1 / 2], {b, -2, 2}, PlotLegends -> {"First Derivative", "Second Derivative", "Third Derivative"}]Series Expansions (5)
The beta function series expansion at poles:
Series[Beta[z, -2z], {z, -5, 3}] // FullSimplifyThe first term in the beta function series expansion around
:
Series[Beta[a, b], {a, 0, 1}]Asymptotic expansion of the beta function:
Series[Beta[a, b], {a, Infinity, 2}]Incomplete beta function series expansion at any point:
Series[Beta[z, a, b], {z, z0, 2}]Series[Beta[z, a, b], {a, a0, 1}]Beta can be applied to power series:
Beta[1 + x + (x^2/2) + O[x]^4, 3]//SimplifyFunction Identities and Simplifications (4)
Generalized incomplete beta function is related to incomplete beta function:
Beta[x, y, a, b]//FunctionExpandUse FullSimplify to simplify beta functions:
FullSimplify[Beta[2 a, 2 b]Beta[b, b] / (Beta[a, b] Beta[a + 1 / 2, b])]FullSimplify[Beta[a, b] == (a + b/a)Beta[a + 1, b]]FullSimplify[Beta[a, b] == Beta[a + 1, b] + Beta[a, b + 1]]FullSimplify[Beta[a, b]Beta[a + b, c] == Beta[b, c]Beta[b + c, a]]Function Representations (6)
Primary definition in terms of Gamma function:
FunctionExpand[Beta[a, b]]Reduce the generalized incomplete beta function to incomplete beta functions:
Beta[z1, z2, a, b]//FunctionExpandIntegral representation of the Euler beta function:
Beta[a, b] == Integrate[x^a - 1(1 - x)^b - 1, {x, 0, 1}, Assumptions -> {Re[a] > 0, Re[b] > 0}]//FullSimplifyIntegral representation of the incomplete beta function:
Integrate[x^a - 1(1 - x)^b - 1, {x, 0, z}, Assumptions -> {Re[a] > 0 && z ≤ 1}]Beta can be represented in terms of MeijerG:
MeijerGReduce[Beta[x, a, b], x]Activate[%]//FullSimplifyBeta can be represented as a DifferentialRoot:
DifferentialRootReduce[Beta[x, a, b], x]Generalizations & Extensions (6)
Euler Beta Function (2)
Evaluate symbolically in special cases:
Beta[0, n]Beta threads elementwise over lists:
Beta[2, {2, 3, 4, 5}]Incomplete Beta Function (2)
Evaluate symbolically at integer and half‐integer orders:
Beta[z, 3, b] // FunctionExpandBeta[13 / 2, 7 / 2, 9 / 2] // FunctionExpand//SimplifySeries expansion at any point:
Series[Beta[z, a, b], {z, z0, 2}]Series[Beta[z, a, b], {a, a0, 1}]Applications (5)
Plot the beta function for real positive values:
Plot3D[Beta[a, b], {a, 0, 2}, {b, 0, 2}]Plot of the absolute value of Beta in the complex plane:
Plot3D[Abs[Beta[x + I y, -3.1]], {x, -5, 2}, {y, -1, 1}]Distribution of the average distance s of all pairs of points in a d‐dimensional hypersphere:
p[d_, s_] := d s ^ (d - 1) Beta[1 - s ^ 2 / 4, (d + 1) / 2, 1 / 2] / Beta[(d + 1) / 2, 1 / 2]Low‐dimensional distributions can be expressed in elementary functions:
Table[FullSimplify[FunctionExpand[p[d, s]], s > 0], {d, 3}]Plot[Evaluate[Table[p[d, s], {d, 10}]], {s, 0, 2}]The PDF for the beta distribution for random variable
:
PDF[BetaDistribution[α, β]][x]Plot the PDF for various parameters:
Plot[Evaluate[Flatten[Table[PDF[BetaDistribution[α, β]][x], {α, {1, 2, 3, 4} / 4}, {β, {1, 2, 3, 4} / 4}]]], {x, 0, 1}]Mean[BetaDistribution[α, β]]The probability that more than
(capacity) simultaneous service requests are made can be represented in terms of Gamma and Beta functions:
Probability[x > c, xBinomialDistribution[n, p], Assumptions -> c∈Integers && 0 ≤ c ≤ n]Properties & Relations (7)
Express the Euler beta function as a ratio of Euler gamma functions:
FunctionExpand[Beta[a, b]]Reduce the generalized incomplete beta function to incomplete beta functions:
Beta[z1, z2, a, b]//FunctionExpandUse FullSimplify to simplify beta functions:
FullSimplify[Beta[2 a, 2 b]Beta[b, b] / (Beta[a, b] Beta[a + 1 / 2, b])]Numerically find a root of a transcendental equation:
FindRoot[Beta[1, z] - 4 Beta[2, z ^ 2] + z == 2, {z, 1}]Sum expressions involving Beta:
Underoverscript[∑, k = 1, n]Beta[k, k]Underoverscript[∑, k = 1, n](z^k/Beta[k, 2k])Underoverscript[∑, k = 1, ∞]Beta[k, b] x^kObtain as special cases of hypergeometric functions:
z^aHypergeometric2F1[a, 1 - b, 1 + a, z]//FullSimplifyBeta can be represented as a DifferenceRoot:
DifferenceRootReduce[Beta[k, z], k]Possible Issues (4)
Large arguments can give results too small to be computed explicitly:
Beta[10 ^ 20., 10. ^ 20]Machine‐number inputs can give high‐precision results:
Beta[10. ^ 3, 10. ^ 3]MachineNumberQ[%]Algorithmically generated results often use gamma and hypergeometric rather than beta functions:
Underoverscript[∑, k = 0, ∞](Pochhammer[1 - b, k]/(a + k) k!)Integrate[t^a - 1 (1 - t)^b - 1, {t, 0, 1}, Assumptions -> Re[a] > 0∧Re[b] > 0](1/a + b - 1)Underoverscript[∏, k = 1, ∞](k (a + b + k - 2)/(a + k - 1) (b + k - 1))eq = z (1 - z) w''[z] + (1 - a + (a + b - 2) z)w'[z];
DSolve[eq == 0 , w[z], z]The differential equation is satisfied by a sum of incomplete beta functions:
eq /. w -> (Beta[#, a, b + 1] + Beta[#, a + 1, b]&)//SimplifyBeta functions are typically not generated by FullSimplify:
Beta[a, b]//FunctionExpandFullSimplify[%]Neat Examples (2)
Nest Beta over the complex plane:
DensityPlot[Arg[Nest[Beta[#, #]&, x + I y, 3]], {x, -2, 4}, {y, -2, 2}, Exclusions -> {}]//QuietDefine the beta matrix, whose entries are reciprocals of beta functions:
betaMatrix[n_] := 1 / Array[Beta, {n, n}]The determinant of the beta matrix is
:
Table[Det[betaMatrix[n]], {n, 10}]FindSequenceFunction[%, n]The beta matrix is symmetric positive definite, and its Cholesky decomposition has entries of the form
:
Table[CholeskyDecomposition[betaMatrix[n]] == Array[Sqrt[#1]Binomial[#2, #1]&, {n, n}], {n, 10}]Tech Notes
Related Guides
Related Links
History
Introduced in 1988 (1.0) | Updated in 1996 (3.0) ▪ 2021 (13.0) ▪ 2022 (13.1)
Text
Wolfram Research (1988), Beta, Wolfram Language function, https://reference.wolfram.com/language/ref/Beta.html (updated 2022).
CMS
Wolfram Language. 1988. "Beta." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2022. https://reference.wolfram.com/language/ref/Beta.html.
APA
Wolfram Language. (1988). Beta. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Beta.html
BibTeX
@misc{reference.wolfram_2026_beta, author="Wolfram Research", title="{Beta}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/Beta.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_beta, organization={Wolfram Research}, title={Beta}, year={2022}, url={https://reference.wolfram.com/language/ref/Beta.html}, note=[Accessed: 13-June-2026]}