Covariance, Independence and the Variance of a Sum
What you will be able to do
The learner can determine whether the variance of a sum decomposes, justifying the decision by the covariance term, and can distinguish independence from zero covariance by exhibiting or interpreting a pair that is uncorrelated yet dependent.
Orientation
The one rule that carries a condition
Expectations add. Variances usually do not.
holds for any two random variables, however they are related. It needs no hypothesis and admits no exception.
holds only when the two are uncorrelated. In general there is a third term, and this unit is about what that term does.
The asymmetry is not a technicality to note and move past. It is the reason a standard error depends on how a sample was drawn:
The second idea in this unit is a distinction that looks pedantic and is not. Uncorrelated and independent are different conditions. Independence is strictly stronger. Variance addition needs only the weaker one, which is worth knowing precisely because it means a dependent pair can still satisfy it, and because a reported correlation of zero is much weaker evidence than it is usually read as.
Definition
Why the cross term appears, and what it detects
Where the third term comes from. Variance involves squares, and
and the bracket is the covariance. It vanishes exactly when
What the sign means.
The perfectly dependent case. If
Covariance is not scale-free. Multiplying
Independence, and why it is more.
Example
A pair with a covariance that does not vanish
Every pair examined so far had zero covariance. Here is one that does not, worked end to end, so the cross term can be seen doing its work.
---
The setup. Draw one card from four, labelled
The marginals.
The covariance.
Positive, as expected: high cards are exactly when
What that does to the sum. Let
Verified directly.
Adding the variances would have understated the spread by 40%. The expectation, meanwhile, adds correctly without any condition:
---
The same calculation with the sign flipped. Let
so
What the two cases show. The cross term is not a correction for sloppiness; it carries real information about the pair. When the variables move together the sum ranges further than the parts; when they move oppositely, the sum is tamer than either. Negative covariance is why a hedged portfolio can be steadier than either holding alone, and why a difference of two positively correlated measurements is less variable than a difference of independent ones.
Scale dependence, seen once. Measure the card in tens,
Contrast
Uncorrelated does not mean independent
Zero covariance is often treated as a synonym for independence. It is strictly weaker, and the gap matters wherever a claim of "no relationship" is made.
---
The pair. Let
Yet the covariance is zero.
so
All four values verified exactly in rational arithmetic.
But independence fails plainly. Independence would require
Equivalently:
---
Why covariance missed it. Covariance measures linear association, whether
Covariance does not report "no relationship". It reports no net linear tendency, which a symmetric non-linear relationship produces just as readily as no relationship at all.
---
The comparison.
| Two independent dice | ||
|---|---|---|
| yes ( | yes ( | |
| yes | yes | |
| no ( | yes | |
| Independent | no | yes |
The variance-addition rule holds in both columns, which is the practically important point. Uncorrelatedness is exactly what that rule needs; independence is more than required.
So the logical structure is:
with neither implication reversible.
---
Where this bites. A reported correlation of zero between two variables licenses "no linear relationship", not "no relationship" and certainly not "independent". A U-shaped dose–response, harmful at low and high doses, beneficial in the middle, can show a correlation near zero while the dose determines the outcome entirely.
The converse error is rarer but worse: assuming independence from an observed zero correlation, then using it to justify something genuinely stronger, such as treating observations as independent draws when computing a standard error. Variance addition survives; most other consequences of independence do not.