How to Integrate the Incomplete Beta Function
At a glance
- 1. Fix the convention
Use B_x(a,b) for the lower incomplete beta function, integrated from 0 to x.
- 2. Differentiate B_x
Its derivative with respect to x is x^(a−1)(1−x)^(b−1).
- 3. Apply integration by parts
The antiderivative is x B_x(a,b) minus B_x(a+1,b), plus a constant.
- 4. Use limits if needed
For an integral from 0 to 1, the result is the complete beta function B(a,b+1).
The phrase “integral of the incomplete beta function” can mean an indefinite integral with respect to its argument, or a definite integral over a range. For the usual lower incomplete beta function, both have concise formulas. The key is to keep track of the parameter shift: integrating with respect to changes to in one term.
Definition and convention
The lower incomplete beta function is
For real parameters, this integral is directly defined when and . The formulas below also apply more broadly by analytic continuation where the functions are defined. Differentiating with respect to the upper limit gives
There is also an upper incomplete beta function, often written . Its antiderivative has a different sign; see the section on conventions below.
Indefinite integral of the lower function
Use integration by parts with and . Then and , so
Thus,
To check the result, differentiate the right-hand side. The product rule gives , and the derivative of is . Since , those terms cancel, leaving .
Worked example
Take and . Directly expanding the integrand gives
The general formula says
Here,
Substituting and collecting terms gives
Differentiating this polynomial recovers , as required.
Definite integral from 0 to 1
Integrating the lower incomplete beta function over its full argument range gives
where is the complete beta function. One way to see this is to reverse the order of integration:
The region of integration is , so for each fixed , the remaining range for has length . For example, the worked example yields .
More generally, for ,
Upper incomplete beta and common mistakes
If your convention is the upper tail
then . Integration by parts therefore gives
The sign is positive in the second term, unlike the lower-function formula. Check the definition before applying either result: authors do not always use the same notation for lower and upper incomplete beta functions.
Another common error is shifting the wrong parameter. Multiplication of the defining integrand by changes into , so the shift is , not . The definite integral over does involve , because reversing the order of integration contributes a factor of .
References
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.