Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

For a one-dimensional x,


This can be shown through integration by parts. There is a good derivation of that here.

I'm wondering, does the same exist for a multivariate Gaussian $$\ p(x|\mu,\Sigma)=\left(2\pi\right)^{-\frac{N}{2}}|\Sigma|^{-\frac{1}{2}}\exp\left(-\frac{1}{2}(x-\mu)^{\textrm{T}}\Sigma^{-1}(x-\mu)\right)$$

Where $\Sigma$ (positive-definite) is the variance and $\mu$ is the mean. Here, I'm using $N$ for the dimension of $x$. That is, does



My first thought is that the identity should be identical because after carrying out the inner products "upstairs" in the exponential and "downstairs" in the coefficient, it becomes a positive scalar.

This calculation is involved in determining the differential entropy of a multivariate Gaussian. For my answer to agree with the answer given in theorem 9.4.1 here, there should be an additional factor of N on the right hand side.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.