1 2 Journal of Integer Sequences, Vol. 22 (2019), 3 Article 19.6.6 47 6 23 11

Probabilistic Proofs of Some Beta-Function Identities

Palaniappan Vellaisamy Department of Indian Institute of Technology Bombay Powai, Mumbai-400076 India [email protected]

Aklilu Zeleke Lyman Briggs College & Department of Statistics and Probability Michigan State University East Lansing, MI 48825 USA [email protected]

Abstract Using a probabilistic approach, we derive some interesting identities involving beta functions. These results generalize certain well-known combinatorial identities involv- ing binomial coefficients and gamma functions.

1 Introduction

There are several interesting combinatorial identities involving binomial coefficients, gamma functions, and hypergeometric functions (see, for example, Riordan [9], Bagdasaryan [1],

1 Vellaisamy [15], and the references therein). One of these is the following famous identity that involves the of the central binomial coefficients: n 2k 2n − 2k =4n. (1) k n − k k X=0    In recent years, researchers have provided several proofs of (1). A proof that uses generating functions can be found in Stanley [12]. Combinatorial proofs can also be found, for example, in Sved [13], De Angelis [3], and Miki´c[6]. A related and an interesting identity for the alternating convolution of central binomial coefficients is

n n n 2k 2n − 2k 2 n , if n is even; (−1)k = 2 (2) k n − k k=0 (0,  if n is odd. X    Nagy [7], Spivey [11], and Miki´c[6] discussed the combinatorial proofs of the above identity. Recently, there has been considerable interest in finding simple probabilistic proofs for com- binatorial identities (see Vellaisamy and Zeleke [14] and the references therein). Pathak [8] gave a probabilistic proof of the identity in (2). Chang and Xu [2] extended the result in (1) and presented a probabilistic proof of the identity n m 2k1 2k2 2km 4 Γ(n + 2 ) ··· = m , (3) k1 k2 km n! Γ( 2 ) kj ≥0, 1≤j≤m;      mX Pj=1 kj =n where k1,...,km are nonnegative integers, and m and n are positive integers. Miki´c[6] discussed a combinatorial proof of (3) based on the method of recurrence relations and telescoping. Duarte and Guedes de Oliveira [4] discussed a generalization of the result in (3) and proved the following identity (see their Theorem 2), using combinatorial arguments, 2k + l 2k + l 2k + l n + m − 1 1 1 2 2 ··· m m =4n 2 , (4) k1 k2 km n m k n Pj=1Xj =        where l1,...,lm are reals such that l1 + ··· + lm = 0. Our goal in this paper is to generalize the combinatorial identities in (2) and (3), using a simple probabilistic approach. Indeed, we derive certain identities involving beta func- tions. Our method uses the Dirichlet-multinomial distribution and also the moments of the difference of two gamma random variables.

2 Identities involving beta functions

Let the T follow the with parameters a,b > 0 and with probability density 1 f(t)= ta−1(1 − t)b−1, t> 0, B(a,b)

2 where B(a,b) is the beta function. Note that the beta function B(x,y) is related to the by Γ(x)Γ(y) B(x,y)= , Γ(x + y) ∞ x−1 −t where Γ(x) = 0 t e dt,x > 0. The beta function is symmetric (that is, B(x,y) = B(y,x)) and satisfies the basic identity B(x,y)= B(x,y +1)+ B(x +1,y), for x,y > 0. (5)

It is easy to see that the derivative of the beta function is ∂ B(x,y)= B(x,y)(ψ(y) − ψ(x + y)) , (6) ∂y where ψ(x)=Γ′(x)/Γ(x) is the digamma function. We start with a result that relates binomial coefficients and beta functions on one side to a simple rational expression on the other side. Theorem 1. For s> 0 and an integer n ≥ 0,

n j n B(j +1,s) 1 (−1)j = · j s + i (s + n)2 j=0 i=0 X X   Proof. Let the random variable Y follow the beta distribution with parameters 1 and n + s. Using the density of Y , we get ∞ 1 (1 − y)n+s−1dy = B(1,n + s) = ; 0 n + s Z n ∞ n 1 =⇒ (−1)j yj (1 − y)s−1dy = ; j n + s Z0 j=0   ! n X n ∞ 1 =⇒ (−1)j yj(1 − y)s−1dy = ; j n + s j=0   Z0 Xn n 1 =⇒ (−1)j B(j +1,s) = · (7) j n + s j=0 X   Differentiate both sides of (7) with respect to s> 0 to get

n −1 n ∂ = (−1)j B(j +1,s) (s + n)2 j ∂s j=0   Xn n = (−1)j B(j +1,s)(ψ(s) − ψ(j +1+ s)) , (8) j j=0 X  

3 using (6). Further, it is known that the digamma function ψ(x) satisfies 1 ψ(x + 1) − ψ(x)= . (9) x Using (9) iteratively leads to

j 1 ψ(x + j + 1) − ψ(x)= , (10) x + i i=0 X for a nonnegative integer j. The result follows by putting (10) into (8). Remark 2. The identity in (7) itself is an interesting identity. When n = 2, it reduces to 1 B(1,s) − 2B(2,s)+ B(3,s)= , s +2 which can also be verified using the basic identity in (5). Next we extend the identity in (2). Let X be a gamma random variable with parameter p> 0, denoted by X ∼ G(p). The density of X is given by 1 f(x|p)= e−xxp−1, x> 0, p> 0. Γ(p)

Then, it follows (see Rohatgi and Saleh [10]) that

1 ∞ Γ(p + n) E(Xn)= e−xxp+n−1dx = . Γ(p) Γ(p) Z0 Theorem 3. Let p> 0 and n be a positive integer. Then

n n n!Γ(p)Γ(p + ) n 2 , if n is even; (−1)k B(p + k,p + n − k)= Γ( n + 1)Γ(2p + n) k  2 k=0 if is odd. X   0, n

Proof. Consider the random variable X = X1 − X2, where X1 and X2 are independent gamma random variables with the same parameter p > 0, that is, Xi ∼ G(p), for i = 1, 2. d Since X1 and X2 are independent and identically distributed, we have X = −X (that is, X and −X have the same distributions on R). This implies the density of X is symmetric about zero. Hence, E(Xn)=0if n is an odd integer. Next we compute the even moments of X. Finding the moments of X using the proba- bility density function is tedious. This is because the density of X is very complicated and it involves Whittaker’s W-function (see Mathai [5]). Therefore, we use the moment generating function (MGF) approach to find the moments of X.

4 It is known (see Rohatgi and Saleh [10]) that the MGF of X1 is

tX1 −p MX1 (t)= E(e )=(1 − t) .

Hence, the MGF of X is

−p −p 2 −p MX (t)= MX1 (t)MX2 (−t)=(1 − t) (1 + t) = (1 − t ) , which exists for |t| < 1. Using the result

∞ Γ(n + p)qn (1 − q)−p = , for p> 0 and |q| < 1, Γ(n + 1)Γ(p) n=0 X we have ∞ Γ(n + p)t2n M (t)=(1 − t2)−p = . (11) X Γ(n + 1)Γ(p) n=0 X Hence, for n ≥ 1, we have from (11)

Γ(n + p)(2n)! E(X2n)= M (2n)(t)| = , X t=0 Γ(n + 1)Γ(p) where f (k) denotes the k-th derivative of f. Thus, we have shown that

n!Γ( n + p) 2 , if n is even; E(Xn)= Γ( n + 1)Γ(p) (12)  2  0, if n is odd. Next, we compute the moments of X, using the binomial theorem. Note that

n n E(Xn)=E(X − X )n = (−1)k E(Xk)E(Xn−k) 1 2 k 1 2 k=0   n X n Γ(p + k) Γ(p + n − k) = (−1)k . (13) k Γ(p) Γ(p) k X=0     Equating (12) and (13), we get

n n n!Γ( + p)Γ(p) n 2 , if n is even; (−1)k Γ(p + k)Γ(p + n − k)= Γ( n + 1) (14) k  2 k X=0   0, if n is odd, which is an interesting identity involving gamma functions and binomial coefficients. Divid- ing both sides of (14) by Γ(2p + n), the result follows.

5 We will show now that the identity in (2) follows as a special case.

Corollary 4. Let n be a positive integer. Then

n n n 2k 2n − 2k 2 n , if n is even; (−1)k = 2 k n − k k=0 (0,  if n is odd. X    1 Proof. Let p = 2 in (14) and it suffices to consider the case when n is even. Then

n n 1 1 n!Γ( n + 1 )Γ( 1 ) (−1)k Γ k + Γ n − k + = 2 2 2 . k 2 2 Γ( n + 1) k 2 X=0       That is,

n n Γ(k + 1 ) Γ(n − k + 1 ) n!Γ( n + 1 ) (−1)k 2 2 = 2 2 . (15) k Γ( 1 ) Γ( 1 ) Γ( 1 )Γ( n + 1) k 2 2 2 2 X=0     Note that,

Γ(n + 1 ) n − 1 n − 3 ··· 3 1 Γ 1 2 = 2 2 2 2 2 Γ( 1 ) Γ 1 2   2    (2n − 1) · (2n − 3) ··· 3 · 1 =  2n (2n)! = . (16) n!4n Using (16) in (15), we get

n k n! (2k)! (2n − 2k)! n!n! (−1) = n . k!(n − k)! 4kk! 4(n−k)(n − k)! 2 n n k 4 ( 2 )!( 2 )! X=0 That is, n n k 2k 2n − 2k n!4 n n (−1) = n =2 n , k n − k n n 2 k ( 2 )!( 2 )!4 2 X=0      which proves the result.

Finally, we discuss an extension of the identity given in (3). Let pi > 0 for 1 ≤ i ≤ m. Let Γ(p1)Γ(p2) ··· Γ(pm) B(p1,...,pm)= Γ(p1 + ··· + pm) denote the beta function of m variables, and n = n! denote the multinomial k1,...,km k1!···km! coefficient.  6 Let X = (X1,...,Xm) be a discrete nonnegative random vector and Y = (Y1,...,Ym) m m be a continuous positive random vector such that 1 Xi = n and 1 Yi =1. Let (X|Y ) ∼ MN(n; Y1,...,Ym), the multinomial distribution, with P P n P (X = k ,...,X = k |Y = y ,...,Y = y )= yk1 ...ykm 1 1 m m 1 1 m m k ,...,k 1 m  1 m and Y ∼ Dir(p1,...,pm), the , with density

1 p1−1 pm−1 f(y1,...,ym)= y1 ··· ym . B(p1,...,pm) Then the marginal distribution of X follows the Dirichlet-multinomial distribution with

P (X1 = k1,...,Xm = km) 1 n = B(k + p ,...,k + p ), B(p ,...,p ) k ,...,k 1 1 m m 1 m  1 m where k1 + ··· + km = n. The next result follows trivially as the sum of the above probabilities is unity.

Theorem 5. Let p1,...,pm > 0. Then for any nonnegative integer n, n B(k1 + p1,...,km + pm)= B(p1,...,pm). (17) k1,...,km kj ≥0, 1≤j≤m;   mX Pj=1 kj =n It is interesting to note that the identity in (3) follows as a special case. 1 Corollary 6. When p1 = p2 = ··· = pm = 2 , the identity in (17) reduces to n m 2k1 2k2 2km 4 Γ(n + 2 ) ··· = m , (18) k1 k2 km n! Γ( 2 ) kj ≥0, 1≤j≤m;      mX Pj=1 kj =n for all integers m,n ≥ 1. 1 Proof. Putting p1 = p2 = ··· = pm = 2 in (17), we obtain n 1 1 1 1 B + k1,..., + km = B ,..., . k1,...,km 2 2 2 2 kj ≥0, 1≤j≤m;       mX Pj=1 kj =n This implies,

1 1 1 1 n Γ 2 + k1 ··· Γ 2 + km Γ 2 ··· Γ 2 m = m , k1,...,km Γ n + Γ kj ≥0, 1≤j≤m;    2   2  PmXk =n j=1 j  

7 or, equivalently,

1 1 m n Γ 2 + k1 ··· Γ 2 + km Γ n + 2 1 1 = m . k1,...,km Γ ··· Γ Γ kj ≥0, 1≤j≤m;   2 2  2  PmXk =n j=1 j    Using (16), we get

n (2k )! ··· (2k )! Γ n + m 1 m = 2 , k1 km m k1,...,km 4 (k1)! ··· 4 (km)! Γ kj ≥0, 1≤j≤m;   2  PmXk =n j=1 j  which is equivalent to the identity in (18). Remark 7. Obviously, when m = 2, the identity in (17) reduces to

n B(p1 + k1,p2 + k2) k1, k2 kj ≥0, 1≤j≤2;   k1+Xk2=n n n = B(p + k,p + n − k)= B(p ,p ). k 1 2 1 2 k X=0   1 Also, in view of Corollary 6, when p1 = p2 = 2 , the above equation reduces to (1). Remark 8. Let m be even so that m = 2l for some positive integer l. Then the right hand side of (18) is 4n Γ(n + l) n + l − 1 n + m − 1 =4n =4n 2 . n! Γ(l) n n     Similarly, when m is odd, say m =2l + 1,

4n Γ(n + m ) 4n Γ(n + l + 1 ) 4n Γ(n + l + 1 ) Γ( 1 ) 2 = 2 = 2 2 n! Γ( m ) n! Γ(l + 1 ) n! Γ( 1 ) Γ(l + 1 ) 2 2  2  2  2n +2l (2n)! l! n! = (using (16)) 2n n! n! (n + l)!     2n+2l 2n 2n n = n+l n  2n+m−1 2n 2n  n = m−1 , n+ 2 n   

8 since 2l = m − 1. Thus, we have, from (18), n + m − 1 4n 2 , if m is even; n 2k1 2k2 2km    ··· =  k1 k2 km  2n+m−1 2n kj ≥0, 1≤j≤m;  m       2n n P Xk =n −1 , if m is odd, j=1 j n+ m 2   n  which is equation (3) of Miki´c[6]. Indeed, Miki´c[ 6] provided a combinatorial proof of the above result based on recurrence relations.

Corollary 9. Let k1,...,km be nonnegative integers and l1,...,lm be integers such that m 0 ≤ ki + li ≤ n and i=1 li =0. Then n m P 2k1 +2l1 2k2 +2l2 2km +2lm 4 Γ(n + 2 ) ··· = m , k1 + l1 k2 + l2 km + lm n! Γ( ) m k n 2 Pj=1Xj =      for all integers m,n ≥ 1. The above corollary, which follows from Corollary 6, is similar to (4). It is not clear if the identity in (4) can be obtained through probabilistic considerations.

3 Acknowledgments

The authors are grateful to the editor-in-chief and the referee for several helpful comments and also for pointing out the paper of Duarte and Guedes de Oliveira [4]. This work was completed while the first author was visiting the Department of Statistics and Probability at Michigan State University during the summer of 2019. We are grateful to Professor Frederi Viens for his support and encouragements.

References

[1] A. Bagdasaryan, A combinatorial identity involving gamma function and Pochhammer symbol, Appl. Math. Comput. 256 (2015), 125–130. [2] G. Chang and C. Xu, Generalization and probabilistic proof of a combinatorial identity, Amer. Math. Monthly 118 (2011), 175–177. [3] V. De Angelis, Pairings and signed permutations, Amer. Math. Monthly 113 (2006), 642–644. [4] R. Duarte and A. Guedes de Oliveira, Note on the convolution of binomial coefficients, J. Integer Sequences 16 (2013), Article 13.7.6.

9 [5] A. M. Mathai, On non-central generalized Laplacianness of quadratic forms in normal variables, J. Multivariate Anal. 45 (1993), 239–246.

[6] J. Miki´c, A proof of a famous identity concerning the convolution of the central binomial coefficients, J. Integer Sequences 19 (2016), Article 13.7.6.

[7] G. V. Nagy, A combinatorial proof of Shapiro’s Catalan convolution, Adv. in Appl. Math. 49 (2012), 391–396.

[8] A. K. Pathak, A simple probabilistic proof for the alternating convolution of the central binomial coefficients, Amer. Statist. 72 (2017), 287–288.

[9] J. Riordan, Combinatorial Identities, Wiley, 1968.

[10] V. K. Rohatgi and A. K. Md. E. Saleh, An Introduction to Probability and Statistics, Wiley, 2002.

[11] M. Z. Spivey, A combinatorial proof for the alternating convolution of the central bino- mial coefficients, Amer. Math. Monthly 121 (2014), 537–540.

[12] R. Stanley, Enumerative Combinatorics, Vol. 1, Cambridge University Press, 1997.

[13] M. Sved, Counting and recounting: the aftermath, Math. Intelligencer 6 (1984), 44–46.

[14] P. Vellaisamy and A. Zeleke, Exponential order statistics and some combinatorial iden- tities, Comm. Statist. Theory Methods 48 (2019), 5099–5105.

[15] P. Vellaisamy, On probabilistic proofs of certain binomial identities, Amer. Statist. 69 (2015), 241–243.

2010 Mathematics Subject Classification: Primary 05A19; Secondary 05A10, 33B15. Keywords: combinatorial identity, beta distribution, gamma distribution, moment, proba- bilistic proof.

Received April 12 2019; revised versions received May 14 2019; August 23 2019; August 31 2019; September 2 2019; September 10 2019. Published in Journal of Integer Sequences, September 23 2019.

Return to Journal of Integer Sequences home page.

10