Movement IV: Gaussian Vectors and Linear Estimation
EE 520: Random Processes (Fall 2026). Instructor: John Lipor.
Session 2’s update rule was arithmetic on a handful of cell probabilities: a prior over four regions, a failed look, a renormalization. Today the latent world is not four cells but a vector in , several coupled unknowns at once, and the observation is another such vector. In general, updating belief on a continuous vector means integrating a joint density, hard work with no closed form. But for one distinguished family, the Gaussian vectors of Session 12’s covariance matrix, the very same update, condition and renormalize, collapses to two matrix formulas you can memorize by lunch: a linear correction to the mean and a fixed shrinkage of the covariance. This session earns those two formulas and reads what they mean.
We keep Session 12’s objects, a mean vector and a covariance matrix , and single out the distributions that live comfortably on them. The cleanest definition does not write a density at all.
Definition 1 (Gaussian vector). A random vector is a Gaussian vector (equivalently, jointly Gaussian) if every linear combination , for , is a scalar Gaussian random variable. If has mean and covariance , we write .
When is nonsingular, this definition is equivalent to having the density the direct matrix generalization of the scalar bell curve: the scalar variance becomes the matrix , division by becomes multiplication by , and becomes . We state [eq:mvn] and will not derive its constant.
Which definition is the honest one. The definition by linear combinations is primary; the density [eq:mvn] is a consequence of it (and needs nonsingular even to be written down). Two payoffs follow immediately. First, “Gaussian” is now a property preserved by linear algebra, not by integrals, which is why every closure result below is a one-liner. Second, the family is fixed by just two numbers, and , so to know a Gaussian vector is to know its mean and covariance and nothing else.
Let , , , and set . Then is again Gaussian. The proof is one line from the definition: for any , which is a linear combination of the entries of (namely with coefficient vector ) plus the constant . A linear combination of a Gaussian vector’s entries is scalar Gaussian by definition, and adding a constant keeps it Gaussian, so is scalar Gaussian for every ; hence is a Gaussian vector. Its mean and covariance are Session 12’s affine-propagation formulas, no new work:
The workhorse, now with a distribution attached. Session 12 showed and propagate the first two moments through any affine map. The Gaussian family adds the sentence those formulas were missing: for a Gaussian , [eq:affine] is not just the mean and covariance of , it is the entire distribution of . Two formulas now carry the whole probability model through every linear operation of Movement IV.
Marginals are a special case of [eq:affine]. To extract , take to be the th coordinate-selector row ; then is scalar Gaussian with mean and variance . Stacking several selector rows shows every subvector of a Gaussian vector is itself Gaussian, with the mean and covariance simply read off the corresponding entries of and . So marginalization, which for a general density means an integral, is here just crossing out rows and columns.
For a general pair of random variables, independence implies zero covariance but not conversely (Session 12’s unit-circle counterexample). Inside a Gaussian vector the converse holds too, and this is the convenience that makes the Gaussian own this subject.
Proposition 1. If is a Gaussian vector with diagonal (all pairwise covariances zero), then are independent.
Proof. Take the two-variable case; the general case is identical entry by entry. Let be jointly Gaussian, zero-mean without loss of generality, with . A diagonal matrix has and inverse , so the quadratic form in the exponent of [eq:mvn] splits, and therefore the joint density factors: A joint density that factors into the product of the marginals is exactly the statement that and are independent. ◻
Pitfall. The proposition’s hypothesis is that is jointly Gaussian, and it cannot be dropped. Two random variables can each be Gaussian on their own (Gaussian marginals) yet fail to form a Gaussian vector, and for such a pair zero correlation proves nothing about independence. “Each one is Gaussian” is weaker than “the pair is jointly Gaussian”: the definition demands that every linear combination be Gaussian, not just the two coordinate projections. Constructing such a pair, uncorrelated, marginally Gaussian, but dependent, is HW6 Problem 2(b). The lesson worth carrying: “uncorrelated independent” is a theorem about the joint distribution, never about the marginals alone.
Now the update itself. Partition a Gaussian vector into two blocks: the coordinates we have measured, the sampled block , and the ones we have not, the unsampled block that we want to learn about. The subscripts are mnemonics, for sampled and for unsampled (or unknown); in Sessions 15 and 18 the sampled coordinates will be the places where we chose to look. Write , with the matching partition of the mean and covariance,
Theorem 1 (Gaussian conditioning). With the partition above and nonsingular, the conditional distribution of given the observation is Gaussian: with
Proof (scalar case, by completing the square). Take and scalar, zero-mean (restore means at the end by shifting), with By definition . The denominator does not depend on , so as a function of the conditional density is proportional to the joint density, and by [eq:mvn] that means proportional to with Write for the determinant. It is positive: covariances obey (Session 12’s ), so , and because is nonsingular. Then forces as well. Both signs matter below: they make the coefficient positive, so the exponent describes a bell, not an upside-down one. Expanding, We collect the terms in and complete the square. Keeping only the -dependent part (constants in fold into the normalizer), So , the shape of a Gaussian density in . Shape determines the density here. Everything we dropped along the way (the constant in [eq:mvn], the denominator , and the -free part of ) depends on but not on , so the conditional density equals this exponential times a factor . A conditional density integrates to over , and that forces to be the one constant that makes the exponential integrate to , namely the normalizing constant of the Gaussian with this center and variance. So the conditional density is exactly that Gaussian density, not merely shaped like it. Reading off its center and its variance (the variance is the reciprocal of the coefficient multiplying in the exponent), These are exactly [eq:condformulas] in the scalar case, with ; restoring the means shifts and adds , giving the stated form. ◻
Remark 1. The block case [eq:condformulas] is proved by the identical completion of the square, now with vectors and matrices in place of scalars, so that becomes the matrix (a genuine matrix inverse, hence the nonsingularity hypothesis on the observed block) and the squared term becomes a quadratic form; the algebra is the same with transposes in the right places.1
The two lines of [eq:condformulas] are worth slowing down over, because between them they say everything Movement IV has to say.
The posterior mean is a prior mean plus a correction: The innovation is the surprise in the data, how far the observation landed from what we expected before seeing it. The gain is a fixed matrix, set entirely by the covariance structure, that translates surprise in the observed block into a correction of the unknown block. Belief moves linearly in the data, and it moves proportionally to how surprising the data were: no surprise () means no update, exactly as a failed look that told us nothing would leave Session 2’s posterior unmoved.
The posterior covariance is stranger and more powerful: does not contain at all. The amount an observation reduces your uncertainty is settled by the covariance structure alone, before the observation is taken. You know in advance how much a measurement will teach you; you just do not yet know which way it will move your estimate.
One theorem, three costumes. The gain is, read one way, the best linear estimator’s coefficient: Session 14 rederives [eq:condformulas] from a purely geometric principle (the error is uncorrelated with the data) and finds the same formula, now called the LMMSE estimator, valid even when nothing is Gaussian. Session 15 stacks the same formula over a continuum of indices and calls it Gaussian-process regression. Gaussian conditioning, linear estimation, and GP regression are one theorem wearing three costumes; the phrase to watch for at each reappearance is “the same formula.” The data-independence of , meanwhile, is what lets Session 18 plan where to measure: if the value of a measurement can be scored before taking it, you can choose the most informative measurement in advance.
AI corner: honest uncertainty. Corner 3 asked whether a model’s reported confidence can be believed; here is what believable looks like. Gaussian conditioning returns a full posterior, a mean and a variance, and that variance is correct by construction and, this session’s remark, known before the data arrive. Contrast a language model: it emits a probability for each next token, but no posterior over the facts it asserts; its “confidence” is a score produced by the same machinery that produces the answer, not a variance you can plan against. The Gaussian-process machinery of Movement V is the working standard of honest uncertainty against which such systems are measured, and Session 18 will show what honest uncertainty buys: the ability to plan measurements before taking them. One frontier caveat: giving systems at the scale of modern language models calibrated, plannable uncertainty of this kind is an open research problem, not a solved one.
Session 12 built a Gaussian vector with any prescribed covariance as an affine map of independent standard normals, and Session 15 will use exactly that construction to draw random functions. Suppose drawing from the prior is all your software can do. After observing , can you produce draws from the posterior without first computing and building a new generator for it? You can, and the recipe is gain times innovation, applied to a simulated world.
Proposition 2 (Posterior draws from prior draws). Partition as in Theorem 1, with nonsingular, and write for the gain. Let be a draw from the prior and set Then : it is an exact draw from the posterior of Theorem 1.
Proof. Three steps, each using one tool we already have.
It is Gaussian. In block form, an affine map of a Gaussian vector ( is a fixed number, not random). By closure [eq:affine] it is Gaussian, so it remains only to match its mean and covariance.
Its mean. By linearity, .
Its covariance. By Session 12’s propagation formula with , Since is symmetric, , and each of the last three terms equals (for the last one, ). Two minus signs and one plus sign leave . ◻
Take scalar and , zero mean, unit variances, correlation , and observe . The gain is , so the posterior is . Now correct two prior draws:
The draw has simulated innovation , so .
The draw has simulated innovation , so .
The first draw’s simulated observation fell short of the real one, so its unknown is pushed up; the second overshot, so its unknown is pulled down. Each draw keeps its own idiosyncratic part, and only the part the data can explain is replaced. Corrected over many draws, the values have mean and variance (a simulation with draws reproduces both to three decimals), with no generator for the posterior ever built.
Correct the observed coordinates by the same recipe: their gain on themselves is , so , the data exactly. Figure 1 runs the recipe on a 60-coordinate zero-mean Gaussian vector with , which makes neighboring coordinates nearly equal and distant ones nearly independent, so a single draw looks like a smooth random curve. Two coordinates are observed, and . Every corrected draw threads both observations and the draws bunch together near them. Away from them, including midway at coordinate 30 and at both ends, the posterior spread is almost back to the prior’s. That is a picture of Session 15’s Gaussian-process posterior, drawn with nothing but this session’s formula.
Why the posterior variance cannot see the data. Add and subtract to write the prior draw as , with residual . This is only a rewriting, but a useful one, since in these terms the recipe [eq:pathwise] reads The correction swaps the prediction from the simulated observation, , for the prediction from the real one, , and leaves alone. And carries no trace of the data: , and since is an affine image of a Gaussian vector, uncorrelated means independent (the factorization proof of Subsection 2.4 works block by block). So the posterior spread is the spread of , which never sees : the data-independence of , now as a mechanism instead of an algebraic accident. Applied to itself, the same rewriting proves the block case of Theorem 1 in one line: given , with independent of , and has mean and covariance by the computation above. Session 14 promotes “the residual is uncorrelated with the data” to the defining principle of the best linear estimator.
(Mechanical.) Let be zero-mean Gaussian with . Compute as a function of , and . By what factor did conditioning on shrink the variance of ? (Answer: , , half of .)
(Conceptual.) You are told and are each Gaussian and that . Can you conclude and are independent? State the exact extra hypothesis that would make the conclusion valid. (Answer: no, not from the marginals alone; you need to be a jointly Gaussian vector, and then Subsection 2.4 applies.)
(Conceptual.) A colleague is about to take a Gaussian measurement and asks whether it is worth the cost. Which of the two conditioning outputs can you hand them before the measurement is taken, and which must wait for the data? (Answer: the posterior variance is knowable in advance, it never depended on ; the posterior mean needs the observed value.)
(Conceptual.) One scalar look. Suppose the observed block is a single coordinate, so is a number and is a column vector. Show that the theorem needs no matrix inverse and that Every column of the subtracted matrix is a multiple of the one vector (it has rank one). Use this to show that if a combination of the unknowns is uncorrelated with the observed coordinate, then the look leaves exactly where it was. (Answer: with the inverse is a division and . Then , and , so the variance is unchanged exactly when that covariance is zero. One scalar observation shrinks uncertainty along the single direction and nowhere else.)
Session 2 asked the three questions of the course thesis about a handful of cells and answered them by renormalizing a list. This session asked them about a vector, and for the Gaussian family the answer stayed in closed form: what is uncertain is with prior ; what is observed is ; and how belief changes is the two lines of [eq:condformulas], a mean corrected by gain times innovation and a covariance that shrinks by a fixed, data-independent amount. The closure properties are what make this work: Gaussian in, linear map, Gaussian out; Gaussian in, condition on part, Gaussian out. Because the family is pinned by a mean and a covariance, updating belief never leaves it. Session 14 will show that the gain in these formulas is the best linear estimator from any distribution, and Session 15 will let the index run over a continuum; both are the same theorem, and you will hear “the same formula” each time it returns.
State the definition of a Gaussian vector without writing a density. Why is “each coordinate is Gaussian” not enough?
In , name the gain and the innovation, and say what the posterior mean equals when the innovation is zero.
True or false: the conditional covariance depends on the observed value . Justify in one sentence, and say what this buys a measurement-planner.
Pitfall. Three slips recur. (i) The marginally-Gaussian-but-not-jointly trap: worth saying twice, uncorrelated implies independent only inside a Gaussian vector; two separately Gaussian variables can be uncorrelated and still dependent (HW6 Problem 2(b)). (ii) Inverting the wrong block: the formulas invert , the covariance of the observed block, not ; a dimension check ( must be ) catches the error. (iii) Expecting the posterior variance to move with the data: has no in it; if your conditional variance depends on the observed value, you have made an algebra mistake.
The posterior covariance is the Schur complement of in ; the name is optional and we use only the formula.↩︎