The Multivariate Normal
The bell curve in many dimensions, set by a mean vector and a covariance matrix, with elliptical contours.
Needs a step first: 27
Its density is proportional to . The contours are ellipses (ellipsoids in higher dimensions) whose axes point along the eigenvectors of , with lengths proportional to the square roots of the eigenvalues. Linear combinations, marginals and conditionals of a multivariate normal are all normal again, and for jointly normal variables zero covariance does mean independence. That closure makes it the workhorse of Kalman filters, Gaussian processes and diffusion models.
Where it shows up: A diffusion model adds multivariate normal noise to an image and learns to undo it, and a Gaussian process puts a multivariate normal over whole functions.
How to hold it: In your head
Picture its contours as ellipses whose axes are the eigenvectors of , and know that linear combinations, marginals and conditionals all stay normal.
What knowing it looks like
- Sketch the contours of a two-dimensional normal from its covariance matrix, using its eigenvectors.
- Find the distribution of a linear combination: .
- Make correlated normal samples from independent ones by multiplying by a matrix.
Test yourself
is normal with mean and covariance . (a) Along which directions do the axes of its contour ellipses point, and in what ratio are their lengths? (b) Find the distributions of and . (c) Are and independent?
Show the worked answer
Needs a step first: 27
Learn it with an AI
Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.
Be my maths tutor. I'm learning "The Multivariate Normal" (Undergraduate II tier): The bell curve in many dimensions, set by a mean vector and a covariance matrix, with elliptical contours.
I already know: Joint Distributions and Covariance, The Spectral Theorem.
Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away.
Finish by testing me with this: $X=(X_1,X_2)$ is normal with mean $0$ and covariance $\Sigma=\begin{pmatrix}2&1\\1&2\end{pmatrix}$. (a) Along which directions do the axes of its contour ellipses point, and in what ratio are their lengths? (b) Find the distributions of $X_1+X_2$ and $X_1-X_2$. (c) Are $X_1+X_2$ and $X_1-X_2$ independent?
Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.Needs first
- Joint Distributions and CovarianceHow two or more random quantities behave together, and covariance, which measures whether they tend to rise and fall together.Undergraduate I · Probability & Statistics
- The Spectral TheoremEvery real symmetric matrix has real eigenvalues and perpendicular eigenvectors, so it is just stretching along perpendicular axes.Undergraduate II · Linear Algebra
Leads to
On the way to
Recommended
- MIT 6.1200J Mathematics for Computer ScienceMIT OpenCourseWare · CourseMIT's 2024 course on proofs, number theory, graphs, counting and discrete probability, with lecture videos, notes and problem sets.
- Mathematics for Machine LearningDeisenroth, Faisal and Ong (Cambridge University Press) · BookA free book that gathers exactly the linear algebra, vector calculus, probability and optimisation machine learning uses, then applies them to regression, PCA and classification.
- Seeing TheoryBrown University · InteractiveA visual introduction to probability and statistics in which you flip coins, draw samples and fit lines in the browser; complete and ad-free, with a Chinese version.
- Harvard Stat 110: ProbabilityJoe Blitzstein, Harvard University · CourseJoe Blitzstein's Harvard probability course: lecture videos, about 250 practice problems with solutions and a free online textbook, strong on intuition and story proofs.
- Information Theory, Inference, and Learning AlgorithmsDavid MacKay · BookMacKay's book connecting entropy, coding, Bayesian inference and neural networks, free to read online and still the one recommended for information theory with intuition.
- 宋浩老师官方宋浩(山东财经大学) · Videos · 中文Full university courses in calculus, linear algebra and probability by a Shandong University of Finance and Economics lecturer, clear and good-humoured; a new calculus series came out in October 2026.