If equity and bond returns move in opposite directions, portfolio variance shrinks, diversification works. The covariance and correlation coefficient quantify the direction and strength of linear dependence between two random variables.
HIGH-FREQUENCY: The computational formula is the standard approach. Compute from the joint PMF; compute from the marginals.
For discrete random variables:
- , symmetric
- , constants vanish
- , additive
- If independent,
TRAP: The converse of property 5 is FALSE. does NOT imply independence. Covariance only captures linear dependence. Two variables can be maximally dependent with zero covariance if the dependence is nonlinear.
Classic counterexample: Let be uniform on and . Then , , so . But is completely determined by .
Common mistakes
- Forgetting to subtract . Reporting as the covariance. The correct covariance is . Trap: 41/9.
- Using to conclude independence. Zero covariance means no linear relationship, but the variables may still be dependent through nonlinear association.
- Omitting the term in . Under independence, . With dependence, the covariance term is essential. Dropping it gives 88/81 instead of 104/81. Trap: 88/81.
Bottom line
- Covariance: ; a positive value means they move together
- Correlation: , always bounded
- does NOT imply independence: it captures only linear association
- Variance of sum:
Exam shortcut
Compute five quantities in order: , , , , . For with a table, sum only cells where both and are nonzero. "Covariance = Cross minus Product of means." Pattern matches variance: . "Variance of a sum = sum of variances plus twice the covariance." The 2 is there because has a cross-term .
The full lesson (about 2,319 words, 15 min read) adds 3 worked examples, all 6 common mistakes, a self-check, free in the app.
Learning objectives
- 3e
Browse all free Exam P lessons or jump into free Exam P practice questions.