Homepage Solution manuals Kevin P. Murphy Machine Learning: a Probabilistic Perspective Exercise 4.5 - Normalization constant for a multidimensional Gaussian

Exercise 4.5 - Normalization constant for a multidimensional Gaussian

Answers

Assume μ = 0 w.l.o.g. If the covariance matrix already takes a diagonal form:

Σ = ( λ 1 1 λ d 1 ) ,

then:

exp ( 1 2 𝐱 T Σ 𝐱 ) d 𝐱 = exp ( 1 2 ( i = 1 d x i 2 λ i ) ) d 𝐱 = i = 1 d exp ( x i 2 2 λ i ) d x i = ( 2 π λ i ) d 2 .

Plugging in | Σ | = i = 1 d λ i 1 yields the desired normalization constant. In the second equation, using the distribution law (though somewhat intimidating).

For the general case, we begin by diagonalizing Σ into:

Σ = U T Λ U ,

where Λ is a diagonal matrix with components λ 1 1 λ d 1 and U is a orthogonal matrix. The integral now becomes:

exp ( 1 2 ( U 𝐱 ) T Λ ( U 𝐱 ) ) d 𝐱 .

Since | U | = 1 uniformly, we can directly rewrite the integral into:

exp ( 1 2 𝐮 T Λ 𝐮 ) d 𝐮 .

The rest is repeating the diagonal case.

User profile picture
2021-03-24 13:42
Comments