<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Beta_function</id>
	<title>Beta function - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Beta_function"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Beta_function&amp;action=history"/>
	<updated>2026-05-05T20:21:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Beta_function&amp;diff=4599646&amp;oldid=prev</id>
		<title>imported&gt;Nailujon: /* growthexperiments-addlink-summary-summary:2|1|0 */</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Beta_function&amp;diff=4599646&amp;oldid=prev"/>
		<updated>2025-12-25T01:58:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;growthexperiments-addlink-summary-summary:2|1|0&lt;/span&gt;&lt;/p&gt;
&lt;a href=&quot;http://debianws.lexgopc.com/wiki143/index.php?title=Beta_function&amp;amp;diff=4599646&amp;amp;oldid=166522&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>imported&gt;Nailujon</name></author>
	</entry>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Beta_function&amp;diff=166522&amp;oldid=prev</id>
		<title>imported&gt;PolyconvexPoster: /* Incomplete beta function */Fixed typo</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Beta_function&amp;diff=166522&amp;oldid=prev"/>
		<updated>2025-04-16T08:27:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Incomplete beta function: &lt;/span&gt;Fixed typo&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Mathematical function}}&lt;br /&gt;
{{About|the Euler beta function}}&lt;br /&gt;
[[File:Beta function.svg|thumb|[[Contour plot]] of the beta function]]&lt;br /&gt;
&lt;br /&gt;
In [[mathematics]], the &amp;#039;&amp;#039;&amp;#039;beta function&amp;#039;&amp;#039;&amp;#039;, also called the [[Euler integral (disambiguation)|Euler integral]] of the first kind, is a [[special function]] that is closely related to the [[gamma function]] and to [[binomial coefficient]]s. It is defined by the [[integral]]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \Beta(z_1,z_2) = \int_0^1 t^{z_1-1}(1-t)^{z_2-1}\,dt&amp;lt;/math&amp;gt;&lt;br /&gt;
for [[complex number]] inputs &lt;br /&gt;
&amp;lt;math&amp;gt; z_1, z_2 &amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; \operatorname{Re}(z_1), \operatorname{Re}(z_2)&amp;gt;0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The beta function was studied by [[Leonhard Euler]] and [[Adrien-Marie Legendre]] and was given its name by [[Jacques Philippe Marie Binet|Jacques Binet]]; its symbol {{math|Β}} is a [[Greek alphabet|Greek]] capital [[Beta (letter)|beta]].&lt;br /&gt;
&lt;br /&gt;
== Properties ==&lt;br /&gt;
The beta function is [[symmetric function|symmetric]], meaning that&lt;br /&gt;
&amp;lt;math&amp;gt; \Beta(z_1,z_2) = \Beta(z_2,z_1)&amp;lt;/math&amp;gt; for all inputs &amp;lt;math&amp;gt;z_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;z_2&amp;lt;/math&amp;gt;.&amp;lt;ref name=Davis622&amp;gt;{{citation&lt;br /&gt;
 | last = Davis | first = Philip J.&lt;br /&gt;
 | title = Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables &lt;br /&gt;
 | chapter = 6. Gamma function and related functions&lt;br /&gt;
 | editor1-last = Abramowitz | editor1-first = Milton | editor1-link = Milton Abramowitz&lt;br /&gt;
 | editor2-last = Stegun | editor2-first = Irene A. | editor2-link = Irene Stegun&lt;br /&gt;
 | publisher = [[Dover Publications]]&lt;br /&gt;
 | location = New York&lt;br /&gt;
 | isbn = 978-0-486-61272-0&lt;br /&gt;
 | year = 1972&lt;br /&gt;
 | url = https://archive.org/details/handbookofmathe000abra/page/258/mode/2up?view=theater&lt;br /&gt;
 | page = 258&lt;br /&gt;
}}. Specifically, see 6.2 Beta Function.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A key property of the beta function is its close relationship to the [[gamma function]]:&amp;lt;ref name=Davis622/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \Beta(z_1,z_2)=\frac{\Gamma(z_1)\,\Gamma(z_2)}{\Gamma(z_1+z_2)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A proof is given below in {{slink||Relationship to the gamma function}}.&lt;br /&gt;
&lt;br /&gt;
The beta function is also closely related to [[binomial coefficient]]s. When {{mvar|m}} (or {{mvar|n}}, by symmetry) is a positive integer, it follows from the definition of the gamma function {{math|Γ}} that&amp;lt;ref name=Davis622/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \Beta(m,n) =\frac{(m-1)!\,(n-1)!}{(m+n-1)!} = \frac{m + n}{mn} \Bigg/ \binom{m + n}{m} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Relationship to the gamma function ==&lt;br /&gt;
To derive this 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:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
 \Gamma(z_1)\Gamma(z_2) &amp;amp;= \int_{u=0}^\infty\ e^{-u} u^{z_1-1}\,du \cdot\int_{v=0}^\infty\ e^{-v} v^{z_2-1}\,dv \\[6pt]&lt;br /&gt;
 &amp;amp;=\int_{v=0}^\infty\int_{u=0}^\infty\ e^{-u-v} u^{z_1-1}v^{z_2-1}\, du \,dv.&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Changing variables by {{math|&amp;#039;&amp;#039;u&amp;#039;&amp;#039; {{=}} &amp;#039;&amp;#039;st&amp;#039;&amp;#039;}} and {{math|&amp;#039;&amp;#039;v&amp;#039;&amp;#039; {{=}} &amp;#039;&amp;#039;s&amp;#039;&amp;#039;(1 − &amp;#039;&amp;#039;t&amp;#039;&amp;#039;)}}, because {{math|&amp;#039;&amp;#039;u + v&amp;#039;&amp;#039; {{=}} &amp;#039;&amp;#039;s&amp;#039;&amp;#039;}} and {{math| &amp;#039;&amp;#039;u&amp;#039;&amp;#039; / &amp;#039;&amp;#039;(u+v)&amp;#039;&amp;#039; {{=}} &amp;#039;&amp;#039;t&amp;#039;&amp;#039;}}, we have that the limits of integrations for {{math| &amp;#039;&amp;#039;s&amp;#039;&amp;#039;}} are 0 to ∞ and the limits of integration for {{math| &amp;#039;&amp;#039;t&amp;#039;&amp;#039;}} are 0 to 1. Thus produces&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\Gamma(z_1)\Gamma(z_2) &amp;amp;= \int_{s=0}^\infty\int_{t=0}^1 e^{-s} (st)^{z_1-1}(s(1-t))^{z_2-1}s\,dt \,ds \\[6pt]&lt;br /&gt;
 &amp;amp;= \int_{s=0}^\infty e^{-s}s^{z_1+z_2-1} \,ds\cdot\int_{t=0}^1 t^{z_1-1}(1-t)^{z_2-1}\,dt\\&lt;br /&gt;
 &amp;amp;=\Gamma(z_1+z_2) \cdot \Beta(z_1,z_2).&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dividing both sides by &amp;lt;math&amp;gt;\Gamma(z_1+z_2)&amp;lt;/math&amp;gt; gives the desired result.  &lt;br /&gt;
&lt;br /&gt;
The stated identity may be seen as a particular case of the identity for the [[convolution#Integration|integral of a convolution]]. Taking&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}f(u)&amp;amp;:=e^{-u} u^{z_1-1} 1_{\R_+} \\ g(u)&amp;amp;:=e^{-u} u^{z_2-1} 1_{\R_+}, \end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
one has:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \Gamma(z_1) \Gamma(z_2) = \int_{\R}f(u)\,du\cdot \int_{\R} g(u) \,du = \int_{\R}(f*g)(u)\,du =\Beta(z_1,z_2)\,\Gamma(z_1+z_2).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See &amp;#039;&amp;#039;The Gamma Function&amp;#039;&amp;#039;, page 18–19&amp;lt;ref&amp;gt;{{citation|last1=Artin|first1=Emil|title=The Gamma Function|pages=18–19|url=http://www.plouffe.fr/simon/math/Artin%20E.%20The%20Gamma%20Function%20(1931)(23s).pdf|access-date=2016-11-11|archive-url=https://web.archive.org/web/20161112081854/http://www.plouffe.fr/simon/math/Artin%20E.%20The%20Gamma%20Function%20(1931)(23s).pdf|archive-date=2016-11-12|url-status=dead}}&amp;lt;/ref&amp;gt; for a derivation of this relation.&lt;br /&gt;
&lt;br /&gt;
== Differentiation of the beta function ==&lt;br /&gt;
&lt;br /&gt;
We have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{\partial}{\partial z_1} \mathrm{B}(z_1, z_2) = \mathrm{B}(z_1, z_2) \left( \frac{\Gamma&amp;#039;(z_1)}{\Gamma(z_1)} - \frac{\Gamma&amp;#039;(z_1 + z_2)}{\Gamma(z_1 + z_2)} \right) = \mathrm{B}(z_1, z_2) \big(\psi(z_1) - \psi(z_1 + z_2)\big),&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{\partial}{\partial z_m} \mathrm{B}(z_1, z_2, \dots, z_n) = \mathrm{B}(z_1, z_2, \dots, z_n) \left(\psi(z_m) - \psi\left( \sum_{k=1}^n z_k \right)\right), \quad 1\le m\le n,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\psi(z)&amp;lt;/math&amp;gt; denotes the [[digamma function]].&lt;br /&gt;
&lt;br /&gt;
==Approximation==&lt;br /&gt;
[[Stirling&amp;#039;s approximation]] gives the asymptotic formula&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Beta(x,y) \sim \sqrt {2\pi } \frac{x^{x - 1/2} y^{y - 1/2} }{( {x + y} )^{x + y - 1/2} }&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for large {{mvar|x}} and large {{mvar|y}}. &lt;br /&gt;
&lt;br /&gt;
If on the other hand {{mvar|x}} is large and {{mvar|y}} is fixed, then&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Beta(x,y) \sim \Gamma(y)\,x^{-y}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Other identities and formulas ==&lt;br /&gt;
The integral defining the beta function may be rewritten in a variety of ways, including the following:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\Beta(z_1,z_2) &amp;amp;= 2\int_0^{\pi / 2}(\sin\theta)^{2z_1-1}(\cos\theta)^{2z_2-1}\,d\theta, \\[6pt]&lt;br /&gt;
    &amp;amp;= \int_0^\infty\frac{t^{z_1-1}}{(1+t)^{z_1+z_2}}\,dt, \\[6pt]&lt;br /&gt;
    &amp;amp;= n\int_0^1t^{nz_1-1}(1-t^n)^{z_2-1}\,dt, \\&lt;br /&gt;
    &amp;amp;= (1-a)^{z_2} \int_0^1 \frac{(1-t)^{z_1-1}t^{z_2-1}}{(1-at)^{z_1+z_2}}dt \qquad \text{for any } a\in\mathbb{R}_{\leq 1},&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where in the second-to-last identity {{mvar|n}} is any positive real number. One may move from the first integral to the second one by substituting &amp;lt;math&amp;gt;t = \tan^2(\theta)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For values &amp;lt;math&amp;gt;z=z_1=z_2\neq1&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\Beta(z,z) = \frac{1}{z}\int_0^{\pi / 2}\frac{1}{(\sqrt[z]{\sin\theta} + \sqrt[z]{\cos\theta})^{2z}}\,d\theta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The beta function can be written as an infinite sum&amp;lt;ref&amp;gt;{{citation|url=https://functions.wolfram.com/GammaBetaErf/Beta/06/03/0001/|title = Beta function : Series representations (Formula 06.18.06.0007)}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\Beta(x,y) = \sum_{n=0}^\infty \frac{(1-x)_n}{(y+n)\,n!}&amp;lt;/math&amp;gt; &lt;br /&gt;
If &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; are equal to a number &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; we get:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\Beta(z,z) = 2\sum_{n=0}^\infty \frac{(2z+n-1)_n (-1)^n}{(z+n)n!} = \lim_{x \to 1^-}2\sum_{n=0}^\infty \frac{(-2z)_n x^n}{(z+n)n!}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
: (where &amp;lt;math&amp;gt;(x)_n&amp;lt;/math&amp;gt; is the [[falling and rising factorials|rising factorial]])&lt;br /&gt;
and as an infinite product&lt;br /&gt;
: &amp;lt;math&amp;gt;\Beta(x,y) = \frac{x+y}{x y} \prod_{n=1}^\infty \left( 1+ \dfrac{x y}{n (x+y+n)}\right)^{-1}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The beta function satisfies several identities analogous to corresponding identities for binomial coefficients, including a version of [[Pascal&amp;#039;s identity]]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \Beta(x,y) = \Beta(x, y+1) + \Beta(x+1, y)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and a simple recurrence on one coordinate: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Beta(x+1,y) = \Beta(x, y) \cdot \dfrac{x}{x+y}, \quad \Beta(x,y+1) = \Beta(x, y) \cdot \dfrac{y}{x+y}.&amp;lt;/math&amp;gt;&amp;lt;ref&amp;gt;{{citation|last=Mäklin|first=Tommi|year=2022|title=Probabilistic Methods for High-Resolution Metagenomics|publisher=Unigrafia|location=Helsinki|pages=27|series=Series of publications A / Department of Computer Science, University of Helsinki|issn=2814-4031|isbn=978-951-51-8695-9|url=https://helda.helsinki.fi/bitstream/handle/10138/349862/M%C3%A4klin_Tommi_dissertation_2022.pdf}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The positive integer values of the beta function are also the partial derivatives of a 2D function: for all nonnegative integers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;,&lt;br /&gt;
:&amp;lt;math&amp;gt;\Beta(m+1, n+1) = \frac{\partial^{m+n}h}{\partial a^m \, \partial b^n}(0, 0),&amp;lt;/math&amp;gt;&lt;br /&gt;
where&lt;br /&gt;
:&amp;lt;math&amp;gt;h(a, b) = \frac{e^a-e^b}{a-b}.&amp;lt;/math&amp;gt;&lt;br /&gt;
The Pascal-like identity above implies that this function is a solution to the [[first-order partial differential equation]]&lt;br /&gt;
:&amp;lt;math&amp;gt;h = h_a+h_b.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;x, y \geq 1&amp;lt;/math&amp;gt;, the beta function may be written in terms of a [[convolution]] involving the [[truncated power function]] &amp;lt;math&amp;gt;t \mapsto t_+^x&amp;lt;/math&amp;gt;:&lt;br /&gt;
:&amp;lt;math&amp;gt; \Beta(x,y) \cdot\left(t \mapsto t_+^{x+y-1}\right) = \Big(t \mapsto t_+^{x-1}\Big) * \Big(t \mapsto t_+^{y-1}\Big)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Evaluations at particular points may simplify significantly; for example, &lt;br /&gt;
:&amp;lt;math&amp;gt; \Beta(1,x) = \dfrac{1}{x} &amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt; \Beta(x,1-x) = \dfrac{\pi}{\sin(\pi x)}, \qquad x \not \in \mathbb{Z} &amp;lt;/math&amp;gt;&amp;lt;ref&amp;gt;{{citation|title=Euler&amp;#039;s Reflection Formula - ProofWiki|url=https://proofwiki.org/wiki/Euler%27s_Reflection_Formula|access-date=2020-09-02|website=proofwiki.org}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By taking &amp;lt;math&amp;gt; x = \frac{1}{2}&amp;lt;/math&amp;gt; in this last formula, it follows that &amp;lt;math&amp;gt;\Gamma(1/2) = \sqrt{\pi}&amp;lt;/math&amp;gt;.&lt;br /&gt;
Generalizing this into a bivariate identity for a product of beta functions leads to:&lt;br /&gt;
:&amp;lt;math&amp;gt; \Beta(x,y) \cdot \Beta(x+y,1-y) = \frac{\pi}{x \sin(\pi y)} .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Euler&amp;#039;s integral for the beta function may be converted into an integral over the [[Pochhammer contour]] {{mvar|C}} as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(1-e^{2\pi i\alpha}\right)\left(1-e^{2\pi i\beta}\right)\Beta(\alpha,\beta) =\int_C t^{\alpha-1}(1-t)^{\beta-1} \, dt.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This Pochhammer contour integral converges for all values of {{mvar|α}} and {{mvar|β}} and so gives the [[analytic continuation]] of the beta function.&lt;br /&gt;
&lt;br /&gt;
Just as the gamma function for integers describes [[factorial]]s, the beta function can define a [[binomial coefficient]] after adjusting indices:&lt;br /&gt;
:&amp;lt;math&amp;gt;\binom{n}{k} = \frac{1}{(n+1)\,\Beta(n-k+1, k+1)}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Moreover, for integer {{mvar|n}}, {{math|Β}} can be factored to give a closed form interpolation function for continuous values of {{mvar|k}}:&lt;br /&gt;
:&amp;lt;math&amp;gt;\binom{n}{k} = (-1)^n\, n! \cdot\frac{\sin (\pi k)}{\pi \displaystyle\prod_{i=0}^n (k-i)}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reciprocal beta function==&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;reciprocal beta function&amp;#039;&amp;#039;&amp;#039; is the [[special function|function]] about the form&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;f(x,y)=\frac{1}{\Beta(x,y)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Interestingly, their integral representations closely relate as the [[definite integral]] of [[trigonometric functions]] with product of its power and [[List of trigonometric identities#Multiple-angle formulae|multiple-angle]]:&amp;lt;ref&amp;gt;{{dlmf|id=5.12|title=Beta Function|first=R. B. |last=Paris}}&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\int_0^\pi\sin^{x-1}\theta\sin y\theta~d\theta=\frac{\pi\sin\frac{y\pi}{2}}{2^{x-1}x\Beta\left(\frac{x+y+1}{2},\frac{x-y+1}{2}\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\int_0^\pi\sin^{x-1}\theta\cos y\theta~d\theta=\frac{\pi\cos\frac{y\pi}{2}}{2^{x-1}x\Beta\left(\frac{x+y+1}{2},\frac{x-y+1}{2}\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\int_0^\pi\cos^{x-1}\theta\sin y\theta~d\theta=\frac{\pi\cos\frac{y\pi}{2}}{2^{x-1}x\Beta\left(\frac{x+y+1}{2},\frac{x-y+1}{2}\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\int_0^\frac{\pi}{2}\cos^{x-1}\theta\cos y\theta~d\theta=\frac{\pi}{2^xx\Beta\left(\frac{x+y+1}{2},\frac{x-y+1}{2}\right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Incomplete beta function==&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;incomplete beta function&amp;#039;&amp;#039;&amp;#039;, a generalization of the beta function, is defined as&amp;lt;ref&amp;gt;{{citation&lt;br /&gt;
 | last1 = Zelen | first1 = M.&lt;br /&gt;
 | last2 = Severo | first2 = N. C.&lt;br /&gt;
 | editor1-last = Abramowitz | editor1-first = Milton   | editor1-link = Milton Abramowitz&lt;br /&gt;
 | editor2-last = Stegun     | editor2-first = Irene A. | editor2-link = Irene Stegun&lt;br /&gt;
 | year = 1972&lt;br /&gt;
 | title = [[Abramowitz and Stegun|Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables]] &lt;br /&gt;
 | chapter = 26. Probability functions&lt;br /&gt;
 | pages = [https://archive.org/details/handbookofmathe000abra/page/944 944]&lt;br /&gt;
 | publisher = [[Dover Publications]]&lt;br /&gt;
 | location = New York&lt;br /&gt;
 | isbn = 978-0-486-61272-0}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;paris-ibf&amp;quot;&amp;gt;{{dlmf|mode=cs2&lt;br /&gt;
 | last = Paris | first = R. B.&lt;br /&gt;
 | id = 8.17&lt;br /&gt;
 | title = Incomplete beta functions}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \Beta(x;\,a,b) = \int_0^x t^{a-1}\,(1-t)^{b-1}\,dt. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For {{math|&amp;#039;&amp;#039;x&amp;#039;&amp;#039; {{=}} 1}}, the incomplete beta function coincides with the complete beta function. For positive integers &amp;#039;&amp;#039;a&amp;#039;&amp;#039; and &amp;#039;&amp;#039;b&amp;#039;&amp;#039;, the incomplete beta function will be a polynomial of degree &amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;amp;nbsp;+&amp;amp;nbsp;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;amp;nbsp;-&amp;amp;nbsp;1 with rational coefficients.&lt;br /&gt;
&lt;br /&gt;
By the substitution &amp;lt;math&amp;gt;t = \sin^2\theta&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;t = \frac1{1+s}&amp;lt;/math&amp;gt;, we can show that &lt;br /&gt;
:&amp;lt;math&amp;gt;\Beta(x;\,a,b) = 2 \int_0^{\arcsin \sqrt x} \sin^{2a-1\!}\theta\cos^{2b-1\!}\theta\,\mathrm d\theta = \int_{\frac{1-x}x}^\infty \frac{s^{b-1}}{(1+s)^{a+b}}\,\mathrm ds&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;regularized incomplete beta function&amp;#039;&amp;#039;&amp;#039; (or &amp;#039;&amp;#039;&amp;#039;regularized beta function&amp;#039;&amp;#039;&amp;#039; for short) is defined in terms of the incomplete beta function and the complete beta function:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; I_x(a,b) = \frac{\Beta(x;\,a,b)}{\Beta(a,b)}. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The regularized incomplete beta function is the [[cumulative distribution function]] of the [[beta distribution]], and is related to the [[cumulative distribution function]] &amp;lt;math&amp;gt;F(k;\,n,p)&amp;lt;/math&amp;gt; of a [[random variable]] {{mvar|X}} following a [[binomial distribution]] with probability of single success {{mvar|p}} and number of Bernoulli trials {{mvar|n}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F(k;\,n,p) = \Pr\left(X \le k\right) = I_{1-p}(n-k, k+1) = 1 - I_p(k+1,n-k). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Properties===&lt;br /&gt;
&amp;lt;!-- (Many other properties could be listed here.)--&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
I_0(a,b) &amp;amp;= 0 \\&lt;br /&gt;
I_1(a,b) &amp;amp;= 1 \\&lt;br /&gt;
I_x(a,1) &amp;amp;= x^a\\&lt;br /&gt;
I_x(1,b) &amp;amp;= 1 - (1-x)^b \\&lt;br /&gt;
I_x(a,b) &amp;amp;= 1 - I_{1-x}(b,a) \\&lt;br /&gt;
I_x(a+1,b) &amp;amp;= I_x(a,b)-\frac{x^a(1-x)^b}{a \Beta(a,b)} \\&lt;br /&gt;
I_x(a,b+1) &amp;amp;= I_x(a,b)+\frac{x^a(1-x)^b}{b \Beta(a,b)} \\&lt;br /&gt;
\int \Beta(x;a,b) \mathrm{d}x &amp;amp;= x \Beta(x; a, b) - \Beta(x; a+1, b) \\&lt;br /&gt;
\Beta(x;a,b)&amp;amp;=(-1)^{a} \Beta\left(\frac{x}{x-1};a,1-a-b\right)&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Continued fraction expansion===&lt;br /&gt;
&lt;br /&gt;
The [[generalized continued fraction|continued fraction]] expansion&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Beta(x;\,a,b) = \frac{x^{a} (1 - x)^{b}}{a \left( 1 + \frac{{d}_{1}}{1 +} \frac{{d}_{2}}{1 +} \frac{{d}_{3}}{1 +} \frac{{d}_{4}}{1 +} \cdots \right)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with odd and even coefficients respectively&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{d}_{2 m + 1} = - \frac{(a + m) (a + b + m) x}{(a + 2 m) (a + 2 m + 1)}&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;{d}_{2 m} = \frac{m (b - m) x}{(a + 2 m - 1) (a + 2 m)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
converges rapidly when &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; is not close to 1.  The &amp;lt;math&amp;gt;4 m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;4 m + 1&amp;lt;/math&amp;gt; convergents are less than &amp;lt;math&amp;gt;\Beta(x;\,a,b)&amp;lt;/math&amp;gt;, while the &amp;lt;math&amp;gt;4 m + 2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;4 m + 3&amp;lt;/math&amp;gt; convergents are greater than &amp;lt;math&amp;gt;\Beta(x;\,a,b)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;x &amp;gt; \frac{a + 1}{a + b + 2}&amp;lt;/math&amp;gt;, the function may be evaluated more efficiently using &amp;lt;math&amp;gt;\Beta(x;\,a,b) = \Beta(a, b) - \Beta(1 - x;\,b,a)&amp;lt;/math&amp;gt;.&amp;lt;ref name=&amp;quot;paris-ibf&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Multivariate beta function==&lt;br /&gt;
The beta function can be extended to a function with more than two arguments:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Beta(\alpha_1,\alpha_2,\ldots\alpha_n) = \frac{\Gamma(\alpha_1)\,\Gamma(\alpha_2) \cdots \Gamma(\alpha_n)}{\Gamma(\alpha_1 + \alpha_2 + \cdots + \alpha_n)} .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This multivariate beta function is used in the definition of the [[Dirichlet distribution]].  Its relationship to the beta function is analogous to the relationship between [[multinomial coefficient]]s and binomial coefficients. For example, it satisfies a similar version of Pascal&amp;#039;s identity:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Beta(\alpha_1,\alpha_2,\ldots\alpha_n) = \Beta(\alpha_1+1,\alpha_2,\ldots\alpha_n)+\Beta(\alpha_1,\alpha_2+1,\ldots\alpha_n)+\cdots+\Beta(\alpha_1,\alpha_2,\ldots\alpha_n+1) .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
The beta function is useful in computing and representing the [[scattering amplitude]] for [[Regge trajectories]]. Furthermore, it was the first known [[S matrix|scattering amplitude]] in [[string theory]], first [[Veneziano amplitude|conjectured]] by [[Gabriele Veneziano]]. It also occurs in the theory of the [[preferential attachment]] process, a type of stochastic [[urn problem|urn process]]. The beta function is also important in statistics, e.g. for the [[beta distribution]] and [[beta prime distribution]]. As briefly alluded to previously, the beta function is closely tied with the [[gamma function]] and plays an important role in [[calculus]].&lt;br /&gt;
&lt;br /&gt;
==Software implementation==&lt;br /&gt;
Even if unavailable directly, the complete and incomplete beta function values can be calculated using functions commonly included in [[spreadsheet]] or [[computer algebra system]]s. &lt;br /&gt;
&lt;br /&gt;
In [[Microsoft Excel]], for example, the complete beta function can be computed with the &amp;lt;code&amp;gt;[[Gamma_function#Log-gamma function|GammaLn]]&amp;lt;/code&amp;gt; function (or &amp;lt;code&amp;gt;special.gammaln&amp;lt;/code&amp;gt; in [[Python (programming language)|Python&amp;#039;s]] [[SciPy]] package):&lt;br /&gt;
:&amp;lt;code&amp;gt;Value = Exp(GammaLn(a) + GammaLn(b) − GammaLn(a + b))&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This result follows from the properties [[#Properties|listed above]].&lt;br /&gt;
&lt;br /&gt;
The incomplete beta function cannot be directly computed using such relations and other methods must be used. In [https://www.gnu.org/software/gsl/doc/html/specfunc.html#incomplete-beta-function GNU Octave], it is computed using a [[continued fraction]] expansion.&lt;br /&gt;
&lt;br /&gt;
The incomplete beta function has existing implementation in common languages. For instance, &amp;lt;code&amp;gt;betainc&amp;lt;/code&amp;gt; (incomplete beta function) in [[MATLAB]] and [[GNU Octave]], &amp;lt;code&amp;gt;pbeta&amp;lt;/code&amp;gt; (probability of beta distribution) in [[R (programming language)|R]] and &amp;lt;code&amp;gt;betainc&amp;lt;/code&amp;gt; in [[SymPy]]. In [[SciPy]], &amp;lt;code&amp;gt;special.betainc&amp;lt;/code&amp;gt; computes the [[Beta distribution#Cumulative distribution function|regularized incomplete beta function]]—which is, in fact, the cumulative beta distribution. To get the actual incomplete beta function, one can multiply the result of &amp;lt;code&amp;gt;special.betainc&amp;lt;/code&amp;gt; by the result returned by the corresponding &amp;lt;code&amp;gt;beta&amp;lt;/code&amp;gt; function. In [[Mathematica]], &amp;lt;code&amp;gt;Beta[x, a, b]&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;BetaRegularized[x, a, b]&amp;lt;/code&amp;gt; give &amp;lt;math&amp;gt; \Beta(x;\,a,b) &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; I_x(a,b) &amp;lt;/math&amp;gt;, respectively.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Beta distribution]] and [[Beta prime distribution]], two probability distributions related to the beta function&lt;br /&gt;
* [[Jacobi sum]], the analogue of the beta function over [[finite field]]s.&lt;br /&gt;
* [[Nørlund–Rice integral]]&lt;br /&gt;
* [[Yule–Simon distribution]]&lt;br /&gt;
&lt;br /&gt;
{{More footnotes|date=November 2010}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
* {{dlmf|mode=cs2|authorlink=Richard Askey|first=R. A.|last= Askey|first2= R.|last2= Roy |id=5.12 }}&lt;br /&gt;
* {{Citation | last1=Press | first1=W. H. | last2=Teukolsky | first2=SA | last3=Vetterling | first3=WT | last4=Flannery | first4=BP | year=2007 | title=Numerical Recipes: The Art of Scientific Computing | edition=3rd | publisher=Cambridge University Press | publication-place=New York | isbn=978-0-521-88068-8 | chapter=Section 6.1 Gamma Function, Beta Function, Factorials | chapter-url=http://apps.nrbook.com/empanel/index.html?pg=256 | access-date=2011-08-09 | archive-date=2021-10-27 | archive-url=https://web.archive.org/web/20211027043154/http://apps.nrbook.com/empanel/index.html?pg=256 | url-status=dead }}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* {{springer|title=Beta-function|id=p/b015960}}&lt;br /&gt;
* {{planetmath|evaluationofbetafunctionusinglaplacetransform|title=Evaluation of beta function using Laplace transform}}&lt;br /&gt;
* Arbitrarily accurate values can be obtained from:&lt;br /&gt;
** [http://functions.wolfram.com The Wolfram functions site]: [http://functions.wolfram.com/webMathematica/FunctionEvaluation.jsp?name=BetaRegularized Evaluate Beta Regularized incomplete beta]&lt;br /&gt;
**danielsoper.com: [https://web.archive.org/web/20070120151547/http://www.danielsoper.com/statcalc/calc36.aspx Incomplete  beta function calculator], [https://web.archive.org/web/20070120151557/http://www.danielsoper.com/statcalc/calc37.aspx Regularized incomplete beta function calculator]&lt;br /&gt;
&lt;br /&gt;
{{Authority control}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Gamma and related functions]]&lt;br /&gt;
[[Category:Special hypergeometric functions]]&lt;/div&gt;</summary>
		<author><name>imported&gt;PolyconvexPoster</name></author>
	</entry>
</feed>