In mathematics, the multivariate gamma function Γp is a generalization of the gamma function. It is useful in multivariate statistics, appearing in the probability density function of the Wishart and inverse Wishart distributions, and the matrix variate beta distribution. In mathematics, the multivariate gamma function Γp is a generalization of the gamma function. It is useful in multivariate statistics, appearing in the probability density function of the Wishart and inverse Wishart distributions, and the matrix variate beta distribution. It has two equivalent definitions. One is given as the following integral over the p × p {displaystyle p imes p} positive-definite real matrices: (note that Γ 1 ( a ) {displaystyle Gamma _{1}left(a ight)} reduces to the ordinary gamma function). The other one, more useful to obtain a numerical result is: