What is the conditional distribution of a partitioned multivariate Gaussian? If (x1,x2) is jointly Gaussian with means μ1=1, μ2=2, variances Σ11=4, Σ22=2 and covariance Σ12=2, what is p(x1∣x2=3)?

Probabilistic models, Gaussian models
Level L2 Elementary. Length Medium. Nature Mat Mathematical.

What's being asked

Whether you know the conditioning formulas behind Kalman filters and Gaussian processes, and can apply them.

Key idea

If (x1x2)∼N((μ1μ2),(Σ11Σ12Σ21Σ22)), then x1∣x2∼N(μ1+Σ12Σ22−1(x2−μ2), Σ11−Σ12Σ22−1Σ21) Observing x2 shifts the mean of x1 and always shrinks its variance.

Steps

  1. Write the partitioned mean and covariance, and the two formulas.
  2. Conditional mean: 1+22(3−2)=2.
  3. Conditional variance: 4−2×22=2. So x1∣x2=3∼N(2, 2).
  4. Interpret: the mean moves by the regression coefficient Σ12/Σ22=1 times the surprise x2−μ2=1; the variance drops from 4 to 2 and does not depend on the observed value.
  5. If asked to justify: let z=x1−Σ12Σ22−1x2. Then Cov⁡(z,x2)=Σ12−Σ12Σ22−1Σ22=0, so z is independent of x2 (they are jointly Gaussian), and x1=z+Σ12Σ22−1x2 gives both formulas.

Common mistakes

How long your answer should be

The two formulas and a three-line computation; about 2 minutes.

Last checked on 4 December 2026.

Read this

Previous in Probabilistic models: An HMM has hidden states Rainy (R) and Sunny (S), initial probabilities π=(0.6,0.4), transitions P(R→R)=0.7, P(R→S)=0.3, P(S→R)=0.4, P(S→S)=0.6, and emissions P(walk∣R)=0.1, P(shop∣R)=0.4, P(walk∣S)=0.6, P(shop∣S)=0.3. Using the Viterbi algorithm, what is the most likely hidden sequence for the observations (walk, shop)?
Next in Probabilistic models: Explain the three basic connections in a Bayesian network (chain, fork, collider) and when each one blocks a path. In the graph A→C←B, C→D, is A⊥B? Is A⊥B∣D?