Suppose two sensors respond to the same uncertain state. Reading the first should tell us something about the second, but how much? A covariance records the coupling; a Gaussian model makes that coupling sufficient to calculate the entire conditional law.
Let z have independent standard normal coordinates and let x=m+C1/2z, where C is SPSD. An eigenvector of C with eigenvalue λ has standard deviation λ. If λ=0, every draw has the same coordinate there. A Gaussian may consequently live on a lower-dimensional affine subspace and have no density relative to ambient volume.
The projection definition below includes this degenerate case. Think of ℓ as a measuring ruler: every scalar reading is normal, with a mean and variance determined by m,C.
We say that an Rn-valued random variable/vector x follows a Gaussian/normal distribution with mean vector m∈Rn and covariance matrix C∈Rn×n, denoted
x∼N(m,C),
if (equivalently)
for every ℓ∈Rn, ℓ⋅x is a real-valued normally-distributed r.v. with mean ℓ⋅m and variance ℓ⊤Cℓ≥0;
the characteristic function Rn→C
ℓ↦E[exp(iℓ⋅x)]
takes the form
E[exp(iℓ⋅x)]=exp(iℓ⋅m−21ℓ⊤Cℓ);
[Valid only if C is SPD i.e. if C−1 exists]x has the PDF
Keep the underlying standardised draws fixed while changing their covariance. This couples the before and after views: movement comes from the covariance transformation, not from drawing a different random sample.
Covariance shapes the same standardised draws
Same standard-normal draws
Correlated draws
ρ=0.000, C eigenvalues = 1.000, 1.000
The cloud leans towards x₁=x₂. Narrowing in one principal direction balances widening in the other; both coordinate variances remain one.
Play once, pause, or scrub to inspect an intermediate state.
Ready to explore.Transform the same deterministic illustrative standard-normal draws by a covariance factor L satisfying LL*=C=[[1,ρ],[ρ,1]]. Both marginal variances stay one while the principal variances become 1+ρ and 1−ρ. The ellipse is the one-Mahalanobis-radius contour, not a confidence region with unspecified coverage. ↗
Linear images of Gaussians are again Gaussian!
Let x∼N(m,C) in Rn and fix A∈Rp×n and consider
y:=Ax
in Rp. Then y is a Rp-valued Gaussian, and in fact
Another nice property of Gaussians is that their conditional distributions are Gaussian, and the conditional mean and covariance are easy to calculate using linear algebra.
The transformation theorem explains forward uncertainty propagation: A acts on the mean once and on the covariance on both sides. Conditioning runs a different calculation. We keep the observed value fixed and ask which uncertainty remains compatible with it; it is not an inverse matrix operation on the sample itself.
Conditioning theorem
Let
x=(x1x2)
be an Rn-valued Gaussian, with x1 denoting the first n1 components and x2 denoting the remaining n2 components, n1+n2=n.
Write the mean m and cov. C of x in block form as
E[x]=m=(m1m2),Cov[x]=C=(C11C21C12C22),
with m1∈Rn1, m2∈Rn2, C11∈Rn1×n1, C12=C21⊤, ...
Assume that C and C22 are invertible (generalizations are possible). Then, for every x2∈Rn2, x1∣x2=x2 is Gaussian,
What changes when the two sensors are correlated? Compare the same observation x2=1 under two joint Gaussian models.
Unit marginal variances and zero prior means. With correlation 0.8, the conditional mean is 0.8 and variance is 0.36. Axes match across panels. ↗
The correlated reading moves the centre and narrows the distribution. The next derivation explains both changes using an independent Gaussian residual.
Move the observed coordinate through the joint Gaussian. Predict which property of the conditional law changes and which stays fixed before playing the sequence.
An observation moves the conditional distribution
Observed coordinate
Conditional law of x₁
b=-2.000, conditional mean=-1.600, variance=0.360
The observation changes the centre, while the conditional variance stays fixed because the joint model and correlation have not changed.
Play once, pause, or scrub to inspect an intermediate state.
Ready to explore.Zero-mean joint Gaussian with unit marginal variances and fixed correlation 0.8. As x₂=b moves, x₁|x₂=b has mean 0.8b and variance 0.36. The dashed marginal stays fixed. This is Gaussian conditioning, not geometric truncation of the cloud. ↗
Why the update is a projection
Set K=C12C22−1 and form the residual random vector
r=x1−m1−K(x2−m2).
Then Cov(r,x2)=C12−KC22=0 and Cov(r)=C11−C12C22−1C21. The pair (r,x2) is jointly Gaussian by the linear-image theorem. Its characteristic function factors because the cross covariance vanishes, so r and x2 are independent. Conditioning now fixes only the term K(x2−m2) and leaves the residual law unchanged. This proves the theorem and explains why the conditional covariance does not depend on the observed value.
For scalar unit-variance coordinates with correlation ρ, observing x2=b gives mean ρb and variance 1−ρ2. When ρ=0, nothing is learned. As ∣ρ∣ approaches one, very little uncertainty remains. Covariance reduction is SPSD because it is the covariance of r, not merely a formal subtraction.
Check your understanding. Zero covariance implies independence here because the joint law is Gaussian. Give a non-Gaussian counterexample by taking X uniform on [−1,1] and Y=X2.
The update gives exact answers for Gaussian models. For other laws we often need expectations that cannot be evaluated symbolically. Week 4 replaces analytic integration with sampling.