Abstract
We derive new reduction formulas for the incomplete beta function and the Lerch transcendent in terms of elementary functions when is rational and z is complex. As an application, we calculate some new integrals. Additionally, we use these reduction formulas to test the performance of the algorithms devoted to the numerical evaluation of the incomplete beta function.
Keywords:
incomplete beta function; lerch transcendent; reduction formulas; numerical evaluation of special functions MSC:
33B20; 33B99
1. Introduction
The origin of the beta function goes back to Wallis’ attempt of the calculation of [1]. For this purpose, he evaluated the integral
where and are integers or and is rational. Moreover, Wallis suggested that [2] (p. 4)
This result may have led Euler to consider the integral (1) for and not necessarily integers and its relation to the gamma function. In fact, Euler derived the following relation between the beta and gamma functions [2] (Equation 1.1.13):
A natural generalization of the beta function is the incomplete beta function, defined as [3] (Equation 8.17.1)
where it is straightforward to continue analytically to complex values of , , and z.
Many applications have been developed over time regarding the function. For instance, in statistics it is used extensively as the probability integral of the beta distribution [4] (pp. 210–275). Additionally, it appears in statistical mechanics for Monte Carlo sampling [5], in the analysis of packings of granular objects [6], and in growth formulas in cosmology [7]. Therefore, to evaluate the function, it is quite interesting to have reduction formulas to simplify its computation, both symbolically and numerically. For instance, when is a positive integer (i.e., ), we have the following reduction formula in terms of elementary functions [8] (Equation 58:4:3)
However, when , the incomplete beta function is given in terms of the Lerch transcendent [8] (Equation 58:4:4)
where the Lerch transcendent is defined as [9] (Equation 1.11(1))
It is worth noting that (3) can be proved by induction from (4) and (5), applying the connection formula [8] (Equation 58:5:3):
Nevertheless, reduction formulas for when is a rational number do not seem to be reported in the most common literature. The aim of this note is just to provide such reduction formulas in terms of elementary functions. As an application, we will calculate some new integrals in terms of elementary functions. Additionally, we will check that the numerical evaluation of the incomplete beta function is improved with these reduction formulas.
This paper is organized as follows: In Section 2 we derive reduction formulas for , for both positive rational and negative rational. Particular cases of the reduction formulas for and (where n is a non-negative integer) are also considered. In Section 3, we apply the reduction formulas derived in Section 2 to calculate some integrals which do not seem to be reported in the most common literature. Furthermore, for particular values of the parameters, the symbolic computation of these integrals is quite accelerated using the aforementioned reduction formulas. Moreover, we use these reduction formulas to numerically test the performance of the algorithm provided in MATHEMATICA to compute the incomplete beta function.
2. Main Results
The series in Equation (6) is divergent for non-positive integral values of . Therefore, we will consider two separate cases in this section: and . Here and denote the sets of positive and negative rational numbers, respectively.
2.1. Case
Consider where is the integer part of and . From (6), we have
More generally, set in (7) with coprimes. Then,
Apply now the reduction formula [10] (Equation 7.3.1.131)
Theorem 1.
For , with and coprimes, the reduction formula
holds true.
2.2. Case
Consider where , and . From (6), we have
Taking and applying again (9), we have
Theorem 2.
For , with and coprimes, the reduction formula
holds true.
3. Applications
In this section, we apply the reduction formulas obtained in Section 2 to express certain integrals in terms of elementary functions and evaluate the incomplete beta function with some specified arguments. Additionally, we will use these reduction formulas as a benchmark for the computation of the incomplete beta function.
3.1. Calculation of Integrals
Straightforward from the definition of the incomplete beta function given in (2), we obtain the following integral representation:
Additionally, an integral representation of the Lerch transcendent is [9] (Equation 1.11(3))
As another example, in the literature we found [8] (Equation 58:14:7)
The integral given in (23) generalizes the results found in the literature for and with [11] (Eqns. 2.424.2–3).
3.2. Numerical Evaluation
From a numerical point of view, the reduction Formulas (14) and (17) are quite useful to plot as a function of in the real domain. However, for some real values of and z, we obtain a complex value for . In these cases, the imaginary part of is not always easy to compute. Figure 1 shows the plot of as a function of z for . The reduction formula (14) shows the correct answer, i.e., , meanwhile the numerical evaluation of with MATHEMATICA diverges from this result. A similar feature is observed using (17) and a negative value for . It is worth noting that the equivalent numerical evaluation of with MATHEMATICA yields also .
Figure 1.
Evaluation of with MATHEMATICA and (14) with .
4. Conclusions
On the one hand, we have derived in (14) and (17) new expressions for the incomplete beta function and the Lerch transcendent in terms of elementary functions when is rational and z is complex. Particular formulas for non-negative integers values of and for half-integer values of are given in (8), (10) and (16) respectively.
On the other hand, we have calculated the integrals given (20) from the reduction Formulas (14) and (17) and the integral representation of the incomplete beta function and the Lerch transcendent. Additionally, in (23), the integral is calculated in terms of elementary functions for and . It is worth noting that (23) generalizes the results found in the literature, which are restricted to and with .
Finally, with the aid of the reduction Formulas (14) and (17), we have tested that the numerical algorithm provided by MATHEMATICA sometimes fails to compute the imaginary part of . Additionally, the reduction Formulas (14) and (17) are numerically useful to plot as a function of in the real domain.
All the results presented in this paper have been implemented in MATHEMATICA and can be downloaded from https://bit.ly/2XT7UjK, (accessed on 24 June 2021).
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Wallis, J. Arithmetica Infinitorum; Leon Lichfield Academia Typographi: Oxford, UK, 1656. [Google Scholar]
- Andrews, G.E.; Askey, R.; Roy, R.; Roy, R.; Askey, R. Special Functions; Cambridge University Press: Cambridge, UK, 1999; Volume 71. [Google Scholar]
- Olver, F.W.; Lozier, D.W.; Boisvert, R.F.; Clark, C.W. NIST Handbook of Mathematical Functions Hardback and CD-ROM; Cambridge University Press: Cambridge, UK, 2010. [Google Scholar]
- Johnson, N.L.; Kotz, S.; Balakrishnan, N. Continuous Univariate Distributions; John Wiley & Sons: Hoboken, NJ, USA, 1995; Volume 2. [Google Scholar]
- Kofke, D.A. Comment on “The incomplete beta function law for parallel tempering sampling of classical canonical systems” [J. Chem. Phys. 120, 4119 (2004)]. J. Chem. Phys. 2004, 121, 1167. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Prellberg, T.; Owczarek, A.L. Stacking models of vesicles and compact clusters. J. Stat. Phys. 1995, 80, 755–779. [Google Scholar] [CrossRef]
- Hamilton, A. Formulae for growth factors in expanding universes containing matter and a cosmological constant. Mon. Not. R. Astron. Soc. 2001, 322, 419–425. [Google Scholar] [CrossRef] [Green Version]
- Oldham, K.B.; Myland, J.; Spanier, J. An atlas of Functions: With Equator, the Atlas Function Calculator; Springer Science & Business Media: Berlin, Germany, 2010. [Google Scholar]
- Bateman, H. Higher Transcendental Functions; McGraw-Hill Book Company: New York, NY, USA, 1953; Volume 1. [Google Scholar]
- Prudnikov, A.; Brychkov, Y.A.; Marichev, O. Integrals and Series Volume 3: More Special Functions; Taylor and Francis: Oxford, UK, 2003. [Google Scholar]
- Gradshteyn, I.S.; Ryzhik, I.M. Table of Integrals, Series, and Products; Academic Press: Cambridge, MA, USA, 2014. [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).