Why Singular Gaussian Blocks Need Special Treatment
The usual conditional Gaussian formulas involve the inverse of the covariance matrix of the observed block. That inverse does not exist when some observed coordinates are redundant or have zero variance. The singularity is not a defect in the model: it says that the observed vector is confined to a lower-dimensional affine set. The conditional law is well defined for observations on that set, and its formula uses the Moore–Penrose inverse.
Let \(X\) be a \(p\)-dimensional Gaussian vector and \(Y\) a \(q\)-dimensional Gaussian vector. Write their joint mean and covariance in block form as follows:
where \(A=\operatorname{Var}(X)\), \(B=\operatorname{Var}(Y)\), and \(C=\operatorname{Cov}(X,Y)\). The full block matrix is positive semidefinite, while \(B\) is allowed to be singular.
Support and the Moore–Penrose Inverse
For a symmetric positive semidefinite matrix \(B\), its range \(\operatorname{Range}(B)\) is the set of possible directions of variation of a centered Gaussian vector with covariance \(B\). Thus \(Y\) lies in the affine set \(\mu_Y+\operatorname{Range}(B)\) with probability one. This affine set is the support of \(Y\).
Before applying this inverse to a conditional formula, it is important that the cross-covariance \(C\) be compatible with the null directions of \(B\). Joint positive semidefiniteness guarantees precisely this compatibility.
To verify this, take any \(v\in\operatorname{Null}(B)\). The scalar \(v^T(Y-\mu_Y)\) has variance \(v^TBv=0\), so it equals zero almost surely. Therefore its covariance with \(X\) is zero, giving \(Cv=0\). Hence \(\operatorname{Null}(B)\subseteq\operatorname{Null}(C)\), which means the rows of \(C\) are orthogonal to \(\operatorname{Null}(B)\). For symmetric \(B\), that orthogonal complement is \(\operatorname{Range}(B)\), proving the stated identities.
Worked Example: A Scalar Given a Redundant Observation
Let \(U\) and \(V\) be independent \(N(0,1)\) variables, and set \(X=U+V\) and \(Y=(U,2U)^T\). The second coordinate of \(Y\) repeats the first up to a factor of two. Find the law of \(X\) given \(Y=(t,2t)^T\).
The mean vectors are zero. Direct covariance calculations give \(A=2\), \(B=uu^T\) for \(u=(1,2)^T\), and \(C=(1,2)\). Since \(u^Tu=5\), the matrix \(B\) has eigenvalue \(5\) in the direction \(u\) and eigenvalue zero in its orthogonal direction. Its Moore–Penrose inverse is
The conditional mean coefficient and covariance are
For \(y=(t,2t)^T\), the conditional mean is \(\frac15t+\frac25(2t)=t\). Therefore \(X\mid Y=(t,2t)^T\sim N(t,1)\). This agrees with the construction: observing \(Y\) reveals \(U=t\), while the independent \(V\) remains \(N(0,1)\).
The Conditional Gaussian Formula on the Support
Here is a derivation that also explains why the Moore–Penrose inverse appears. Define the centered observation \(D=Y-\mu_Y\), the matrix \(L=CB^+\), and the residual
First, the compatibility identities give
The covariance expansion must include both cross terms. In full, it is
Substitute \(L=CB^+\). Since \(B^+\) is symmetric and \(B^+BB^+=B^+\), the terms become \(LC^T=CB^+C^T\), \(CL^T=CB^+C^T\), and \(LBL^T=CB^+BB^+C^T=CB^+C^T\). Thus
The pair \((R,D)\) is jointly Gaussian because it is an affine transformation of \((X,Y)\). Its cross-covariance is zero. To see directly that the two components are independent here, the characteristic function of a jointly Gaussian vector is the exponential of its linear mean term minus one half of its covariance quadratic form. With zero cross-covariance, that quadratic form separates into an \(R\) term and a \(D\) term; the characteristic function therefore factors into the marginal characteristic functions. Hence \(R\) and \(D\) are independent.
Finally, \(X=\mu_X+LD+R\). Given \(Y=y\), the value of \(D\) is \(y-\mu_Y\), while the independent residual \(R\) retains its Gaussian law with mean zero and covariance \(A-CB^+C^T\). This yields the displayed conditional mean and covariance. The derivation also shows that this covariance is positive semidefinite: it is the covariance of \(R\). Since \(Y\) belongs to its support almost surely, the formula gives a version of the conditional law on every support value. \(\square\)
Worked Example: A Vector Given a Repeated Coordinate
Let \(U,V,W\) be independent \(N(0,1)\) variables. Set \(X=(U+V,\,2U+W)^T\) and \(Y=(U,U)^T\). Find the conditional distribution of \(X\) given \(Y=(t,t)^T\).
The covariance blocks are
The matrix \(B\) has eigenvalue \(2\) along \((1,1)^T\) and zero along \((1,-1)^T\), so \(B^+=\frac14\begin{pmatrix}1&1\\1&1\end{pmatrix}\). Multiplication gives
The support of \(Y\) consists of vectors \((t,t)^T\). At such a value the conditional mean is \((t,2t)^T\), and the conditional covariance is
Thus \(X\mid Y=(t,t)^T\sim N((t,2t)^T,I_2)\). The construction checks the result: \(Y\) reveals \(U=t\), leaving the independent \(V\) and \(W\) as the two unit-variance residuals.
Worked Example: Conditioning on a Singular Observation of a Sum
Let \(U,V\) be independent \(N(0,1)\) variables, take \(X=(U,V)^T\), and observe \(Y=(U+V,\,2U+2V)^T\). Find the conditional distribution of \(X\) when \(Y=(s,2s)^T\).
Here \(A=I_2\). With \(u=(1,2)^T\), the covariance blocks are \(B=2uu^T\) and \(C=\begin{pmatrix}1&2\\1&2\end{pmatrix}\). The nonzero eigenvalue of \(B\) is \(2u^Tu=10\), so
Each row of \(C\) is \((1,2)\). Multiplying gives \(CB^+=\begin{pmatrix}1/10&1/5\\1/10&1/5\end{pmatrix}\), and then
The conditional mean at \(y=(s,2s)^T\) is \((s/2,s/2)^T\). Therefore \(X\mid Y=(s,2s)^T\sim N((s/2,s/2)^T,\begin{pmatrix}1/2&-1/2\\-1/2&1/2\end{pmatrix})\). The covariance is singular: conditional on the observed sum, the two components fluctuate in opposite directions, so their sum has zero conditional variance.
Support Values, Impossible Values, and a Common Pitfall
In the last example, \(Y\) can only equal \((s,2s)^T\) for some real \(s\). An input such as \(y=(1,3)^T\) is outside the support and has probability zero under the model. The theorem does not assert a meaningful conditional law for such an impossible observation. A regular conditional distribution is only determined almost surely, so its values outside the support may be assigned arbitrarily.
A common mistake is to treat \(B^+\) as though it were an ordinary inverse and apply the formula to any vector \(y-\mu_Y\). The resulting algebraic expression can be evaluated off the support, but that does not make it the conditional distribution for an observation the model cannot produce. Check first that \(y-\mu_Y\in\operatorname{Range}(B)\). On the support, the formula accounts for exactly the identifiable directions; null directions contain no random variation to condition on.
Check Your Understanding
Use the support and conditional formula to answer these questions.
- If \(B\) has rank \(r<q\), what is the dimension of the affine support of \(Y\)?
- Why does \(v\in\operatorname{Null}(B)\) imply \(Cv=0\) for a jointly Gaussian block with positive semidefinite joint covariance?
- For \(B=\begin{pmatrix}4&0\\0&0\end{pmatrix}\), find \(B^+\) and describe \(\operatorname{Range}(B)\).
- In the repeated-coordinate example with \(Y=(U,U)^T\), why is \(y=(t_1,t_2)^T\) a possible observation only when \(t_1=t_2\)?
- What random vector is used in the proof to isolate the part of \(X\) remaining after its linear dependence on \(Y\) is removed?