Multivariate Normal
Distribution
Master the joint distribution of multiple correlated Gaussian variables: density functions, covariance structure, and the geometry of probability contours.
What Is a Multivariate Normal?
A random vector \(\mathbf{X} = (X_1, X_2, \dots, X_p)^\top\) follows a multivariate normal distribution if every linear combination \(a_1 X_1 + a_2 X_2 + \cdots + a_p X_p\) is univariate normal (or degenerate).
This is the natural extension of the familiar bell curve to \(p\) dimensions. In two dimensions, the density surface looks like a 3D hill, and its contours of equal probability form ellipses.
Bivariate Normal Contours
Why Does It Matter?
The Probability Density Function
For \(\mathbf{X}\sim\mathcal{N}_p(\boldsymbol{\mu},\boldsymbol{\Sigma})\) with \(\boldsymbol{\Sigma}\) positive definite:
\(\boldsymbol{\mu}\) and \(\boldsymbol{\Sigma}\) Unpacked
Key Properties
Marginal vs Conditional
Partition \(\mathbf{X}=\begin{pmatrix}\mathbf{X}_1\\\mathbf{X}_2\end{pmatrix}\) with matching partitions of \(\boldsymbol{\mu}\) and \(\boldsymbol{\Sigma}\):
| Marginal | Conditional | |
|---|---|---|
| Distribution | \(\mathbf{X}_1 \sim \mathcal{N}(\boldsymbol{\mu}_1,\boldsymbol{\Sigma}_{11})\) | \(\mathbf{X}_1\mid\mathbf{X}_2=\mathbf{x}_2\) |
| Mean | \(\boldsymbol{\mu}_1\) | \(\boldsymbol{\mu}_1+\boldsymbol{\Sigma}_{12}\boldsymbol{\Sigma}_{22}^{-1}(\mathbf{x}_2-\boldsymbol{\mu}_2)\) |
| Covariance | \(\boldsymbol{\Sigma}_{11}\) | \(\boldsymbol{\Sigma}_{11}-\boldsymbol{\Sigma}_{12}\boldsymbol{\Sigma}_{22}^{-1}\boldsymbol{\Sigma}_{21}\) |
| Key idea | Just drop variables | Mean shifts; variance shrinks |
How to Apply the MVN
Example 1: Linear Transformation
Let \(\mathbf{X}=\begin{pmatrix}X_1\\X_2\end{pmatrix}\sim\mathcal{N}_2\!\left(\begin{pmatrix}1\\3\end{pmatrix},\begin{pmatrix}4&1\\1&2\end{pmatrix}\right)\). Find the distribution of \(Y=X_1+2X_2\).
Example 2: Conditional Distribution
Using the same \(\mathbf{X}\sim\mathcal{N}_2\!\left(\begin{pmatrix}1\\3\end{pmatrix},\begin{pmatrix}4&1\\1&2\end{pmatrix}\right)\), find \(X_1\mid X_2=5\).
Example 3: Mahalanobis Distance
Same distribution. Compute the Mahalanobis distance of \(\mathbf{x}=(3,\;5)^\top\) from \(\boldsymbol{\mu}\).
Geometry of the Covariance Matrix
Independence vs Uncorrelated
| Independent | Uncorrelated | |
|---|---|---|
| Definition | Joint = Product of marginals | \(\text{Cov}(X_i,X_j)=0\) |
| Implies the other? | Always implies uncorrelated | Does NOT imply independent (in general) |
| Under MVN? | Equivalent | Equivalent |
| Counterexample | N/A | \(X\sim\mathcal{N}(0,1)\), \(Y=X^2\): \(\text{Cov}(X,Y)=0\) but dependent |
Common Mistakes
Summary of Key Results
| Operation | Result Mean | Result Covariance |
|---|---|---|
| Affine \(A\mathbf{X}+\mathbf{b}\) | \(A\boldsymbol{\mu}+\mathbf{b}\) | \(A\boldsymbol{\Sigma}A^\top\) |
| Marginal of \(\mathbf{X}_1\) | \(\boldsymbol{\mu}_1\) | \(\boldsymbol{\Sigma}_{11}\) |
| Conditional \(\mathbf{X}_1\mid\mathbf{X}_2\) | \(\boldsymbol{\mu}_1+\boldsymbol{\Sigma}_{12}\boldsymbol{\Sigma}_{22}^{-1}(\mathbf{x}_2-\boldsymbol{\mu}_2)\) | \(\boldsymbol{\Sigma}_{11}-\boldsymbol{\Sigma}_{12}\boldsymbol{\Sigma}_{22}^{-1}\boldsymbol{\Sigma}_{21}\) |
| Sum \(X_1+X_2\) | \(\mu_1+\mu_2\) | \(\sigma_1^2+2\sigma_{12}+\sigma_2^2\) |
| Mahalanobis \(d^2\) | \((\mathbf{x}-\boldsymbol{\mu})^\top\boldsymbol{\Sigma}^{-1}(\mathbf{x}-\boldsymbol{\mu})\sim\chi^2_p\) | |
Question 1 of 5
If \(\mathbf{X}\sim\mathcal{N}_3(\boldsymbol{\mu},\boldsymbol{\Sigma})\), what distribution does the linear combination \(\mathbf{a}^\top\mathbf{X}\) follow?
Question 2 of 5
For \(\mathbf{X}\sim\mathcal{N}_p(\boldsymbol{\mu},\boldsymbol{\Sigma})\), the squared Mahalanobis distance \((\mathbf{X}-\boldsymbol{\mu})^\top\boldsymbol{\Sigma}^{-1}(\mathbf{X}-\boldsymbol{\mu})\) follows which distribution?
Question 3 of 5
Let \(\begin{pmatrix}X_1\\X_2\end{pmatrix}\sim\mathcal{N}_2\!\left(\begin{pmatrix}0\\0\end{pmatrix},\begin{pmatrix}1&0\\0&1\end{pmatrix}\right)\). Which statement is true?
Question 4 of 5
If \(\mathbf{Y}=A\mathbf{X}+\mathbf{b}\) where \(A\) is \(q\times p\) and \(\mathbf{X}\sim\mathcal{N}_p(\boldsymbol{\mu},\boldsymbol{\Sigma})\), what is the covariance of \(\mathbf{Y}\)?
Question 5 of 5
Suppose each marginal \(X_i\) of a random vector \(\mathbf{X}\) is normally distributed. Does this guarantee \(\mathbf{X}\) is multivariate normal?