Movement IV: Gaussian Vectors and Linear Estimation
EE 520: Random Processes (Fall 2026). Instructor: John Lipor.
Two thermometers sit in the same room, reading and . There is one temperature. Do we average the two readings? Weight them, and if so, by how much? And what should we do if the two thermometers are not independent, if they share a draft from the same open window? Today we produce the weights, all of them, from a single geometric principle, and the very same principle will still be running the show in Session 17, when the unknown is no longer a temperature but an entire waveform observed through a continuum of noisy measurements. Movement IV has been about doing Session 2’s belief update in a Gaussian world; this session reads the update as the answer to an optimization problem, and shows that the two views coincide.
We want to estimate a scalar unknown from a vector of observations , using an affine rule and we choose the weights and offset to minimize the mean squared error . Restricting to [eq:linform] is a deliberate act of humility: the exact best estimator can demand the full joint distribution, which we may not have, whereas [eq:linform] needs only means, variances, and covariances, the second-order description Session 12 taught us to assemble from a verbal sensor model.
The offset is dispatched first. For any fixed , the cross term in vanishes at the choice that centers the estimate, so the optimal rule is : predict the prior mean, then correct by a weighted combination of the surprises . This lets us assume and are zero-mean while solving for , and restore the means at the very end. We do so from here on.
Everything now follows from one geometric fact. Write the error of a candidate estimate as .
Theorem 1 (Orthogonality principle). Among all linear estimates of a zero-mean from a zero-mean , the mean squared error is minimized if and only if the error is uncorrelated with every component of the data:
Proof. Necessity (optimal orthogonal), by perturbation. Suppose is optimal, and perturb one weight: compare against for a scalar . Its error is , and This is a quadratic in with a positive leading coefficient, and by optimality it is minimized at . Its derivative there must vanish: , which is [eq:orth]. (Geometrically: if the error had any correlation with , we could shave the MSE by leaning a little on ; optimality means no such free improvement is left.)
Sufficiency (orthogonal optimal), by add-and-subtract. Let satisfy [eq:orth] and let be any other linear estimate. Then is itself a linear combination of the , so by [eq:orth] the error is uncorrelated with it. Writing , with equality only when . So the orthogonal estimate is the unique minimizer. ◻
The name is literal. Regard random variables as vectors and the covariance as their inner product; then [eq:orth] says the error is perpendicular to the data subspace , and is the orthogonal projection of onto that subspace. The best linear estimate is the foot of the perpendicular, and the error is the leg that stands at a right angle to everything the data can build.
Turn [eq:orth] into algebra. With , the condition for every reads, stacking the equations, which in matrix form is , where is the data covariance and is the cross-covariance vector. Solving, (with the means restored, and ). The resulting error is computed once and reused forever: by orthogonality the error is uncorrelated with , so , that is,
The same formula, a third time. Compare [eq:normal] and [eq:mmse] with Session 13’s Gaussian conditioning: the gain and the variance drop are the same formula as the conditional mean and covariance and , with playing the unknown block and the observed block. Session 13 arrived there by completing the square in a Gaussian density; here we arrived by a projection that never mentioned Gaussianity. So for a Gaussian problem the best linear estimator is the best estimator, period, because there the conditional mean happens to be linear in . Stated cleanly: under Gaussianity, LMMSE equals the conditional mean; without Gaussianity, LMMSE is the best you can do while staying linear, and some nonlinear estimator may beat it.
We reuse Session 12’s hydrophone covariance and put it to work. A source amplitude has mean and . Two sensors report with zero-mean noises of unequal quality, (the good sensor) and (the noisy one), correlated through , and both uncorrelated with . Session 12 assembled since , , and . Using both readings at once, the normal equations [eq:normal] with (all means zero) give the batch estimate with by [eq:mmse]. That is the target. A filter running in real time cannot wait for both readings; it processes them one at a time, and the posterior after becomes the prior for . When does that land on [eq:batch]?
Condition on . In Session 13’s equation (4) take and : , , , and . So with
Use it as the prior for . With , the readings are independent given , so Bayes’ rule factors: This is the first calculation again, with prior in place of and noise variance in place of . Substituting , , , : The estimate moves by a gain, , times the surprise .
The batch answer agrees: at , and [eq:batch] gives and . The weights stand in the ratio of the noise precisions, and precisions add, whether counted in one step or two: .
Now a draft from the same open window reaches both sensors, . The posterior after is unchanged, since and alone never involve . Repeat (a)’s substitution and the recipe reports the same and the same weights. The batch formula [eq:batch] disagrees. Now has determinant , and The naive filter is overconfident: it claims when the best achievable is . It is also simply worse: its weights leave the error , whose variance works out to . Wrong about its own uncertainty, and wrong about the estimate.
The diagnosis is the factorization in (a): it needs the readings independent given , so that ’s noise is independent of everything already used, but here : part of ’s noise was already in . Treating as a fresh look counts that shared noise twice, the same double counting as Session 3’s repeated looks wrongly treated as independent.
Use only the part of that could not predict. The best linear prediction of from is , so define the innovation (The naive recipe predicted by , the estimate of alone, as if said nothing about .) By the orthogonality principle, applied to predicting from , the prediction error is uncorrelated with ; directly, . Two facts now make the second step legitimate. First, is an invertible linear transformation of , so the two pairs build exactly the same linear estimates and share the same best one. Second, and are uncorrelated, so their covariance matrix is diagonal, the normal equations decouple, and the best estimate from both is the update on already made plus a separate update on : The variance drops by , from to , and the estimate becomes the batch answer exactly. In (a) nothing needed fixing, because with independent noises was the best prediction of : the surprise used there was already the innovation.
Posterior becomes prior, on innovations. Sequential updating reproduces the batch answer when each step uses the innovation, the part of the new reading that the old readings could not predict; the orthogonality principle is what manufactures it. With independent noises the innovation is just the surprise that a naive filter would use anyway; with shared noise it is not, and the naive filter turns overconfident. That recursion, “today’s posterior is tomorrow’s prior,” run on innovations, is the germ of every tracking filter: when the unknown also drifts in time between observations, the same bookkeeping is precisely the Kalman filter. We only name it; its dynamics and state-space machinery belong to a later course. What Movement IV establishes is the update step it runs on, gain times innovation, over and over.
A weak signal (think of a fetal heartbeat) is buried in strong interference (the mother’s heartbeat). A microphone on the belly records . A second, reference microphone near the mother’s heart records , where is its own measurement noise: it hears the interference and none of the signal. Take , , zero-mean and uncorrelated with , , .
One microphone. From alone the gain is and the MSE is , barely better than ignoring the data and guessing (MSE ). The interference swamps the signal.
The tempting answer. : the reference microphone is uncorrelated with what we want, so give it weight zero.
The orthogonality principle disagrees. The one-microphone estimate has error , and By Theorem 1, an estimate whose error is correlated with an available reading is not optimal: leaning on will lower the MSE. What matters is whether correlates with the error, not with the target. The normal equations, with (determinant ) and , give A microphone that never hears the signal nearly halves the error.
Reading the answer. Factor the estimate as The term is the best estimate of the interference from the reference microphone (Session 13’s scalar conditioning: ). The estimator subtracts that estimate from the belly reading, cancelling most of the interference, and then shrinks what is left toward the prior mean. With a perfect reference () the weights tend to , , and the MSE tends to : the interference cancels exactly.
Correlated with the error, not with the target. The two examples are one lesson seen from opposite sides. In the hydrophone example a reading that is correlated with was worth less than it looked, because part of it repeated what had already said. Here a reading that is uncorrelated with is worth a great deal, because it explains what the first estimate gets wrong. In both, the orthogonality principle settles the question, and intuition about correlation with the target does not.
The hydrophone example is the smallest case of a pattern that organizes all of Movements IV and V. Let be an unknown vector observed through a linear channel with additive independent Gaussian noise, Then the estimate is Read the ingredients: is the covariance of the data , and is the cross-covariance , so [eq:lingauss] is nothing but the normal equations [eq:normal] in disguise, the same formula once more. We state it here for orientation only; deriving it from [eq:normal] is HW6, Problem 5.
Movement IV in one sentence: we did Session 2’s Bayes rule in a world where everything is Gaussian, and the update collapsed to a gain times an innovation. The belief that was a list of cell probabilities became a mean vector and a covariance matrix; renormalizing the list became conditioning the Gaussian; and the same three questions of the course thesis, what is uncertain, what is observed, how should belief change, got answered in closed form by [eq:normal]. The four columns line up exactly across the two worlds:
| Ingredient | Movement I (search) | Movement IV (Gaussian) |
|---|---|---|
| Prior | cell probabilities | |
| Observation | a failed look | (linear noise) |
| Posterior | renormalized cells | conditioned Gaussian [eq:normal] |
| Action | where to look next | the estimate itself |
The estimate is the action here: a posterior over a number, compressed to the single best number under squared error, ready to be reported or fused with the next reading. Movement V lets the unknown become a whole function and shows the same table survives intact.
(Mechanical.) A scalar is zero-mean with ; a single sensor reports with , uncorrelated with . Using [eq:normal] and [eq:mmse], find the LMMSE weight and the MSE. (Answer: ; , i.e. .)
(Conceptual.) A colleague fuses a bank of thermometers one at a time, adding each one’s precision to a running total. When is this correct, and what goes wrong if the thermometers share a draft? (Answer: it is correct when the noises are uncorrelated with one another and with the unknown, so that each reading is a fresh look. With shared noise the running total counts the common part repeatedly: the reported variance is too small and the weights are off, as in the hydrophone example’s part (b). Update on innovations instead.)
(Short proof.) Let be zero-mean with for some , so neighbors are strongly related and distant entries weakly. Guess that the best linear predictor of from is , and prove it by checking the orthogonality principle instead of solving the normal equations. What is the MSE? (Answer: for every , , so the error is uncorrelated with all the data and, by the sufficiency half of Theorem 1, is optimal. By orthogonality the MSE is . The older values get weight zero: everything they could say about is already carried by .)
The course thesis asks how observation should change belief and action; this session answered “by projection.” The best linear estimate is the orthogonal projection of the unknown onto the span of the data, characterized by the one geometric fact that the leftover error correlates with nothing the data can build [eq:orth]. From that fact fell the normal equations [eq:normal], which turned out to be Session 13’s conditioning formulas reached by a different road. They specialize to precision-weighted fusion when the readings are independent, they run one reading at a time when each update uses the innovation, and they cancel interference using a reading that never sees the signal. Under Gaussianity the linear answer is the whole answer; without it, the linear answer is the best one can buy with second moments alone. Movement V now lets the index set run over a continuum: the projection becomes projection onto a space of functions, and the orthogonality principle returns for its third and final appearance as the Wiener filter.
State the orthogonality principle for the LMMSE estimate in one sentence, and explain why it forces the normal equations .
In the hydrophone example with , naive sequential updating reported a variance of when the best achievable was . Which assumption failed, and what should the second update have used in place of ?
When does the LMMSE estimator coincide with , and what does it give up when that condition fails?
Pitfall. Three slips recur. (i) Applying the zero-mean formulas to non-centered data: [eq:normal] corrects the prior mean by the gain times the surprise ; feeding it raw instead of biases the estimate. (ii) Treating every new reading as a fresh look: “posterior becomes prior” with each reading’s own noise variance is right only when the noises are uncorrelated. Shared noise makes the naive filter overconfident (it claimed against a best possible ) and its estimate worse (); update on the innovation. (iii) Zeroing a reading because it is uncorrelated with the unknown: the reference microphone never heard the signal and still nearly halved the MSE. Ask whether a reading correlates with the current error, not with the target.