Finance-Theory · Unit 16 · Video 1 · Interactive Practice
Portfolio Variance: Why Risk Lives in the Covariances
IKey Formulas
Formula
Name
What it says
μp=E[Rp]=ω1μ1+ω2μ2+⋯+ωnμn
Portfolio mean
Follows from the accounting identity Rp=ω1R1+⋯+ωnRn: the mean is the weighted average of the means
σi2=Var[Ri]=E[(Ri−μi)2]
Variance of one security
The standard deviation σi is its square root: the risk coordinate on the mean–SD graph
Var[Rp]=i=1∑nj=1∑nωiωjσij
Portfolio variance
Add up all n2 cells of the table; a cell with i=j is ωi2σi2
σij=Cov[Ri,Rj]=σiσjρij
Covariance
The two standard deviations times the correlation; it is negative when ρij<0
Key Insight: The table has n variances on its diagonal and n2−n=n(n−1) covariances off it, so as n grows a portfolio's risk depends mainly on how its stocks move together.
IIEvery Cell of the Table
Portfolio variance is the sum of all nine cells, and a negative covariance subtracts from it (illustrative stocks; the slider's range is limited so the inputs stay consistent).
IIICounting the Cells
An n-stock table has n variance cells and n2−n covariance cells, so covariances soon dominate.
IVMean Averages, Risk Does Not
The portfolio's mean is the weighted average of the means; where does its standard deviation land? (Illustrative means: Alder 0.6%, Birch 0.9%, Cedar 1.4% per month.)
VQuiz Questions
Problem 1 · A Month's Realized Return
Given: An illustrative portfolio holds 20% Alder, 30% Birch and 50% Cedar. Last month Alder returned 3%, Birch −2% and Cedar 4%. Find the portfolio's realized return for the month.
✅ Correct!Rp=∑iωiRi is an accounting identity: the return you earned is the weighted average of what each stock earned.
❌ Not quite. That is the plain average (3−2+4)/3. Cedar carries half the money, so its 4% counts for half.
❌ Not quite. Birch lost 2%: its term is 0.3×(−2%)=−0.6%, which subtracts.
❌ Not quite. That adds the three returns without weights. Each return is multiplied by its weight, and the weights sum to one.
❌ Not quite. Weight each stock's return by its share of the portfolio.
Show solution
The weights sum to one: 0.2+0.3+0.5=1. The realized return is the weighted sum of the realized returns:
Rp=0.2×3%+0.3×(−2%)+0.5×4%=0.6%−0.6%+2.0%=2.0%
Taking expected values of the same line gives μp=∑iωiμi: the identity holds month by month, and the mean formula follows from it.
Problem 2 · One Off-Diagonal Cell
Given: In an illustrative portfolio, Alder has weight 0.20 and monthly SD 5%, Birch has weight 0.30 and monthly SD 8%, and their correlation is ρAB=−0.3. Find the value of the single cell ωAωBσAB in the portfolio's variance table, in %2.
✅ Correct!0.20×0.30×5×8×(−0.3)=−0.72: a negative covariance, so this cell lowers the portfolio's variance.
❌ Not quite.−12 is the covariance σAB=5×8×(−0.3) itself. The cell also carries the two weights, ωAωB=0.06.
❌ Close, but…−1.44 is the two mirror cells ωAωBσAB and ωBωAσBA together. The question asks for one cell.
❌ Not quite. The correlation is negative, so the covariance and the cell are negative too.
❌ Not quite. Multiply both weights, both standard deviations and the correlation.
Show solution
First the covariance: σAB=σAσBρAB=5×8×(−0.3)=−12%2.
The cell carries both weights:
ωAωBσAB=0.20×0.30×(−12)=0.06×(−12)=−0.72%2
The mirror cell ωBωAσBA holds the same value, so the Alder–Birch pair contributes 2×(−0.72)=−1.44%2 to the sum of all cells.
Problem 3 · The Whole Table
Given: An illustrative portfolio holds 25% Alder, 25% Birch and 50% Cedar, with monthly SDs 5%, 8% and 12% and correlations ρAB=0.2, ρAC=0.5, ρBC=−0.3. Find the portfolio's monthly variance and standard deviation.
What is Var[R_p]?
What is SD[R_p]?
✅ Correct! All nine cells give 42.8625%2, so σp≈6.55% per month, well below the weighted average of the SDs, 9.25%.
❌ Close, but… That counts each covariance once. Each pair fills two cells, (i,j) and (j,i), so each off-diagonal value appears twice.
❌ Not quite. That is the weighted average of the variances, ∑iωiσi2. Portfolio variance is not that: each variance enters with ωi2, and the covariance cells must be added.
❌ Not quite. The Birch–Cedar cells are negative, ρBC=−0.3, so they subtract from the total.
❌ Not quite. Add all nine cells ωiωjσiσjρij.
❌ Not quite.9.25% is the weighted average of the SDs. Standard deviations do not average; take the square root of the portfolio variance.
❌ Close, but…41.5625≈6.45 uses only the diagonal. The covariance cells add a net +1.3%2.
❌ Not quite.94.25≈9.71 is the root of the weighted average of the variances, which is not the portfolio variance.
❌ Not quite. Take the square root of the portfolio variance.
Given: A portfolio already holds 30 stocks, and Dogwood is added as a 31st. Find how many covariance cells the variance table gains.
✅ Correct! Dogwood gets a new row and a new column: 61 new cells, of which only one is its own variance.
❌ Close, but… Dogwood forms 30 new pairs, but each pair fills two cells of the table, one in Dogwood's row and one in its column.
❌ Close, but…312−302=61 counts every new cell, including Dogwood's own variance on the diagonal.
❌ Not quite.31×30=930 is the total number of covariance cells in the new table, not the number added.
❌ Not quite. Compare the covariance count n(n−1) before and after.
Show solution
Covariance cells in an n-stock table: n2−n=n(n−1).
31×30−30×29=930−870=60
Equivalently: the table grows from 302=900 to 312=961 cells, 61 new ones. One is Dogwood's variance; the other 60 are its covariances with the 30 stocks already held, 30 in its row and 30 in its column. However volatile Dogwood is on its own, its variance is 1 cell of 961.