Multivariate Gaussian Distributions
Sources:
Notation
The notations of this article is exactly the same as these in Univariate Gaussian Distributions. For the multi variate case, we add additional rules:
The multivariate normal distribution of a
-dimensional random vector can be written in the following notation: or to make it explicitly known that is -dimensional, where and are the expectation and variance of . Since is a random vector, is a variance-covariance matrix (or simply covariance matrix).The PDF1
is often denoted as , or where . We sometimes omit the subscript .We use underline to show the importance of some symbols. For instance,
to show the importance of .
Multivariate Gaussian distributions

Figure 1: The figure on the left shows a univariate Gaussian density for a single variable X. The figure on the right shows a multivariate Gaussian density over two variables X1 and X2.
The multivariate normal distribution of a
The PDF is:
where
Note:
is the determinant of the covariance matrix. is the inverse of the covariance matrix.
Isocontours
One way to understand a multivariate Gaussian conceptually is to understand the shape of its isocontours. For a function
Shape of isocontours
What do the isocontours of a multivariate Gaussian look like? As before, let's consider the case where
Let's take the example of
The PDF is
Now, let's consider the level set consisting of all points where
Defining
Equation

To get a better understanding of how the shape of the level curves vary as a function of the variances of the multivariate Gaussian distribution, suppose that we are interested in
The figure on the left shows a heatmap indicating values of the density function for an axis-aligned multivariate Gaussian with mean
The figure on the right shows a heatmap indicating values of the density function for a non axis-aligned multivariate Gaussian with mean
First, observe that maximum of Equation (4) occurs where
From this, it follows that the axis length needed to reach a fraction 1/e of the peak height of the Gaussian density in the
Linear Linear transformation interpretation
Theorem: Let
Proof:
- As before said, if
, then it can be thought of as a collection of independent standard normal random variables (i.e., ). - Furthermore, if
then follows from simple algebra. - Consequently, the theorem states that any random variable
with a multivariate Gaussian distribution can be interpreted as the result of applying a linear transformation to some collection of independent standard normal random variables .
Probability density function↩︎