What the relationship means
A general normal distribution may have positive-semidefinite, including singular, covariance. The full d-dimensional density shown here requires positive definiteness. The calculator handles only a nonsingular, jointly normal two-dimensional pair. Coordinates are dimensionless and correlation lies strictly between −1 and 1.
The univariate normal describes marginals. Covariance and Pearson correlation describe how variables vary together; covariance eigenvalues and eigenvectors determine elliptical contour axes. Zero correlation implies independence automatically only within the jointly Gaussian model, not for arbitrary data with similarly shaped marginals.
Derive it step by step
A linear transformation of independent standard normals gives X=μ+LZ with covariance LLᵀ. With positive-definite covariance, the determinant factor corrects volume and Mahalanobis distance measures deviation after accounting for that stretching and rotation.
- For two variables, write Σ=[[σx2,ρσxσᵧ],[ρσxσᵧ,σᵧ2]]. A full density requires σx,σᵧ>0 and |ρ|<1.
- Standardize u=(x−μx)/σx and v=(y−μᵧ)/σᵧ. Squared distance is D2=(u2−2ρuv+v2)/(1−ρ2).
- Normalize exp(−D2/2) by 2πσxσᵧ√(1−ρ2). The result is density per unit area, not probability at a single point.
- Completing the square in y gives normal Y|X=x with mean μᵧ+ρσᵧ(x−μx)/σx and variance σᵧ2(1−ρ2). Joint normality is required, not merely normal marginals.
Visualize the model
Covariance rotates elliptical contours
Free with a Quanta account. Your download stays ready after registration.
Two worked examples
Density at the center
- Given
- Author calculation: μ=(0,0), σx=σᵧ=1, ρ=0.5; point (0,0).
- Find
- Find determinant and density.
Σ=[[1,0.5],[0.5,1]] and detΣ=1−0.25=0.75.
At the center D2=0; the exponential factor is 1.
f(0,0)=1/(2π√0.75)=1/(π√3)≈0.183776298.
Result: Density is about 0.183776298; point probability remains zero.
Check: Positive determinant and positive diagonal entries establish positive definiteness here.
Conditional distribution after one observation
- Given
- Author calculation: μx=10, μᵧ=20, σx=2, σᵧ=3, ρ=0.4; observe X=12.
- Find
- Find conditional mean and spread of Y.
Standardized X deviation is (12−10)/2=1.
Mean is 20+0.4·3·1=21.2.
Variance is 9·(1−0.16)=7.56; standard deviation √7.56≈2.749545417.
Result: Y|X=12 is normal with mean 21.2 and variance 7.56.
Check: Conditional variance is below 9 and does not depend on the particular x in this model.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Limits and result checks
Normal marginals alone do not establish joint normality. Density values may exceed 1 yet remain different from point probabilities. The one-dimensional 68% rule does not apply to a two-dimensional D2=1 contour: under the nonsingular bivariate normal model it contains only 1−e−1ᐟ2≈39.35%. At |ρ|=1 the distribution lies on a line and has no full area density.
- Normal marginals are treated as joint normality. Check the joint model assumption separately.
- Density is read as point probability. Integrate over regions to obtain probability.
- The 68% rule is applied to D2=1 in two dimensions. The enclosed mass there is about 39.35%.
Five exercises with solutions
Calculate · Foundation
μ=(0,0), σx=σᵧ=1, ρ=0. What is f(0,0)?
Show hint
D2=0 and detΣ=1.
Learning goal: Calculate bivariate center density
Show solution and calculation
f(0,0)=1/(2π)≈0.159154943.
This is density; P((X,Y)=(0,0)) is zero for this continuous distribution.
Rearrange · Foundation
Cov(X,Y)=3, σx=2, σᵧ=3. Find ρ and check the density condition.
Show hint
ρ=Cov/(σxσᵧ).
Learning goal: Recover correlation from covariance
Show solution and calculation
ρ=3/(2·3)=0.5.
Both standard deviations are positive and |ρ|<1; a full bivariate normal density is therefore possible.
Interpret · Application
A pair has normal marginals and zero correlation. Is independence guaranteed?
Show hint
Joint normality is stronger than normal marginals.
Learning goal: Interpret zero correlation correctly
Show solution and calculation
No.
Let X be standard normal, S an independent equiprobable ±1, and Y=SX.
Both marginals are normal and Cov(X,Y)=0, but |Y|=|X| proves dependence.
Joint normality is needed to make zero correlation sufficient.
Error analysis · Application
σx=σᵧ=1 and ρ=1 are substituted into the full area density. Why is this invalid?
Show hint
detΣ=1−ρ2.
Learning goal: Distinguish singular covariance
Show solution and calculation
detΣ=0, so the inverse and positive normalization factor do not exist.
A joint normal distribution may still exist, such as Y=X; it lies on a line and has no full two-dimensional density.
Transfer · Challenge
How much probability lies inside D2≤1 for a full bivariate normal distribution?
Show hint
D2 has a chi-square distribution with two degrees of freedom.
Learning goal: Separate contour mass from a one-dimensional rule
Show solution and calculation
P(D2≤1)=1−exp(−1/2)≈0.393469340, about 39.35%, not the one-dimensional roughly 68%.
State both contour and dimension.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Sources for this explanation
Quanta · Updated November 8, 2026
- NIST: Multivariate Normal Distribution
- Universität Ulm: Mehrdimensionale Normalverteilungen
- Universität Ulm: Eigenschaften der mehrdimensionalen Normalverteilung
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Added a full article with model limits, independently calculated examples, five exercise paths and source references.
Cite this reference page
Quanta. Multivariate Normal Distribution with Covariance Matrix. Updated November 8, 2026. https://quanta-study.de/en/formula-sheet/multivariate-normalverteilung-kovarianz
When citing a specific scientific statement, also cite the specialist source linked to that statement.