Chapter 02
Medium

Diversification and Covariance

00 · Symbol Glossary

$R_p$R sub p — portfolio return

The return on a portfolio. For two assets, Rp=wR1+(1−w)R2R_p=wR_1+(1-w)R_2. For NN assets, Rp=∑i=1NwiRiR_p=\sum_{i=1}^N w_i R_i with ∑iwi=1\sum_i w_i=1. A weight outside [0,1][0,1] is a short sale; the algebra does not change.

$\mu_p$mu sub p — portfolio mean

μp=E[Rp]\mu_p=\mathbb{E}[R_p]. Means add with the weights: μp=∑iwiμi\mu_p=\sum_i w_i\mu_i. Correlation does not appear.

$\sigma_p^2$sigma sub p squared — portfolio variance

σp2=Var(Rp)\sigma_p^2=\mathrm{Var}(R_p). For two assets, w2σ12+(1−w)2σ22+2w(1−w)Cov(R1,R2)w^2\sigma_1^2+(1-w)^2\sigma_2^2+2w(1-w)\mathrm{Cov}(R_1,R_2). In general, the quadratic form wTΣw\mathbf{w}^T\Sigma\mathbf{w}.

$\mathrm{Cov}(R_i,R_j)$Covariance of two returns

Cov(Ri,Rj)=E[(Ri−μi)(Rj−μj)]\mathrm{Cov}(R_i,R_j)=\mathbb{E}[(R_i-\mu_i)(R_j-\mu_j)]. Diagonal case i=ji=j is the variance. Units are return squared. The definition and the sample matrix SS are Linear Algebra, Chapter 15.

$\rho_{ij}$rho — correlation

ρij=Cov(Ri,Rj)/(σiσj)\rho_{ij}=\mathrm{Cov}(R_i,R_j)/(\sigma_i\sigma_j), a pure number in [−1,1][-1,1]. The matrix of all ρij\rho_{ij} is the correlation matrix; ones sit on its diagonal.

$\Sigma$Sigma — covariance matrix

Symmetric matrix with Σij=Cov(Ri,Rj)\Sigma_{ij}=\mathrm{Cov}(R_i,R_j). Positive semidefinite, so wTΣw≥0\mathbf{w}^T\Sigma\mathbf{w}\ge 0 for every weight vector. Positive definite matrices, used to get a unique variance minimum, are Linear Algebra Chapter 14 and the optimizer in Chapter 03.

$\mathbf{w}^T\Sigma\mathbf{w}$Portfolio variance as a quadratic form

The NN-asset variance. Same object as xTAx\mathbf{x}^T A\mathbf{x} in Linear Algebra Chapter 15, with the weight vector in the slot of x\mathbf{x} and Σ\Sigma in the slot of AA.

$\bar{c}$Average pairwise covariance

The mean of the off-diagonal entries that an equal-weight book actually holds. Equal-weight variance tends to cˉ\bar{c} as N→∞N\to\infty, which is the risk diversification does not remove.


01 · Two Positions, One Book

Chapter 01 priced a single return by its mean and its variance. A book is a sum. Fix a weight ww in asset 1 and put the residual weight 1−w1-w in asset 2:

Rp=wR1+(1−w)R2R_p = w R_1 + (1-w) R_2

Expectation is linear, and linearity does not consult the joint distribution. The portfolio mean is the same weighted sum of the two means:

μp=wμ1+(1−w)μ2\mu_p = w\mu_1 + (1-w)\mu_2

Variance is not linear. Expanding Var(wR1+(1−w)R2)\mathrm{Var}(wR_1+(1-w)R_2) by bilinearity of covariance — the same identity behind xTAx\mathbf{x}^TA\mathbf{x} in Linear Algebra Chapter 15 — gives three terms, two from the diagonals and one from the cross:

σp2=w2σ12+(1−w)2σ22+2w(1−w) Cov(R1,R2)\sigma_p^2 = w^2\sigma_1^2 + (1-w)^2\sigma_2^2 + 2w(1-w)\,\mathrm{Cov}(R_1,R_2)

The cross term is the whole subject of this chapter. It is large when the two residuals tend to share a sign, small when they do not, and negative when they tend to offset. Individual volatilities never see that sign.

The mean is blind to co-movement

Changing ρ\rho moves σp\sigma_p and leaves μp\mu_p where it is. On a plot with volatility on the horizontal axis and mean on the vertical, correlation slides a portfolio sideways. It does not lift it. Any pitch that "diversification raises expected return" is smuggling in a different weight, a different asset, or a different mean.


02 · A Desk Calculation

Running example for the rest of the chapter. Asset 1: μ1=0.05\mu_1=0.05, σ1=0.10\sigma_1=0.10. Asset 2: μ2=0.11\mu_2=0.11, σ2=0.20\sigma_2=0.20. Hold them half and half, w=0.5w=0.5.

Step-by-step — Half-and-half variance at three correlations
1

Mean, once. μp=0.5(0.05)+0.5(0.11)=0.08\mu_p=0.5(0.05)+0.5(0.11)=0.08. Store it. Every correlation below prints this same 8%8\% mean.

2

Variances. σ12=0.01\sigma_1^2=0.01, σ22=0.04\sigma_2^2=0.04. At w=0.5w=0.5 the diagonal contribution is always

(0.5)2(0.01)+(0.5)2(0.04)=0.0025+0.0100=0.0125(0.5)^2(0.01)+(0.5)^2(0.04)=0.0025+0.0100=0.0125

The correlation enters only through the covariance.

3

ρ=0.5\rho=0.5. Cov=0.5⋅0.10⋅0.20=0.010\mathrm{Cov}=0.5\cdot 0.10\cdot 0.20=0.010. The cross term is 2(0.5)(0.5)(0.010)=0.0052(0.5)(0.5)(0.010)=0.005.

σp2=0.0125+0.005=0.0175,σp=0.0175≈0.1323\sigma_p^2=0.0125+0.005=0.0175, \qquad \sigma_p=\sqrt{0.0175}\approx 0.1323

About 13.2%13.2\% volatility against an 8%8\% mean.

4

ρ=1\rho=1. Cov=0.020\mathrm{Cov}=0.020. Cross term 2(0.5)(0.5)(0.020)=0.0102(0.5)(0.5)(0.020)=0.010.

σp2=0.0125+0.010=0.0225,σp=0.0225=0.15\sigma_p^2=0.0125+0.010=0.0225, \qquad \sigma_p=\sqrt{0.0225}=0.15

This is exactly 0.5⋅0.10+0.5⋅0.200.5\cdot 0.10+0.5\cdot 0.20. Perfect positive correlation makes volatility itself a weighted average.

5

ρ=−1\rho=-1. Cov=−0.020\mathrm{Cov}=-0.020. Cross term −0.010-0.010.

σp2=0.0125−0.010=0.0025,σp=0.0025=0.05\sigma_p^2=0.0125-0.010=0.0025, \qquad \sigma_p=\sqrt{0.0025}=0.05

Same weights, same means, volatility cut from 15%15\% to 5%5\%. The gap is the cross term, nothing else.

Example — A mix quieter than the quieter asset

Keep the same two vols and move to w=0.8w=0.8 with ρ=0\rho=0, so the covariance is zero. Then

σp2=(0.8)2(0.01)+(0.2)2(0.04)=0.0064+0.0016=0.0080\sigma_p^2=(0.8)^2(0.01)+(0.2)^2(0.04)=0.0064+0.0016=0.0080

and σp=0.0080≈0.0894\sigma_p=\sqrt{0.0080}\approx 0.0894, under the 10%10\% vol of asset 1. The mean is 0.8(0.05)+0.2(0.11)=0.0620.8(0.05)+0.2(0.11)=0.062.

Repeat the identical weights at ρ=0.5\rho=0.5, where Cov=0.010\mathrm{Cov}=0.010:

σp2=0.0080+2(0.8)(0.2)(0.010)=0.0080+0.0032=0.0112\sigma_p^2=0.0080+2(0.8)(0.2)(0.010)=0.0080+0.0032=0.0112

and σp=0.0112≈0.1058\sigma_p=\sqrt{0.0112}\approx 0.1058, which is above 10%10\%. Holding both names paid only while the covariance was small enough to offset the vol imported from asset 2.


03 · Correlation Is Scaled Covariance

Covariance still carries the units of the two returns. A covariance of 0.0100.010 is "large" next to vols of 10%10\% and 20%20\%, and negligible next to vols of 80%80\%. Correlation strips the scale:

Definition — Correlation

For σ1>0\sigma_1>0 and σ2>0\sigma_2>0,

ρ=ρ12=Cov(R1,R2)σ1σ2,Cov(R1,R2)=ρ σ1σ2\rho=\rho_{12}=\frac{\mathrm{Cov}(R_1,R_2)}{\sigma_1\sigma_2}, \qquad \mathrm{Cov}(R_1,R_2)=\rho\,\sigma_1\sigma_2

Substituting the second display into the two-asset variance gives the form used on a desk:

σp2=w2σ12+(1−w)2σ22+2w(1−w)ρ σ1σ2\sigma_p^2 = w^2\sigma_1^2+(1-w)^2\sigma_2^2+2w(1-w)\rho\,\sigma_1\sigma_2

The bound −1≤ρ≤1-1\le\rho\le 1 is Cauchy–Schwarz applied to the centred returns, the same inner-product fact as in the covariance chapter. Equality is not a mysterious edge case. It is an algebraic relation between the two random variables:

  • ρ=1\rho=1 if and only if R2=a+bR1R_2=a+bR_1 almost surely for some b>0b>0. One return is a positively levered copy of the other, plus a constant.
  • ρ=−1\rho=-1 if and only if the same holds with b<0b<0. The copy is levered in the opposite direction.

Anything strictly inside (−1,1)(-1,1) means neither return is an affine function of the other. There is residual variation to diversify.

❌ Treating a small correlation as a small covariance

A sheet shows ρ=0.20\rho=0.20 between two equity books and the risk manager marks the pair "barely related." Each book has volatility 40%40\%, so

Cov=0.20⋅0.40⋅0.40=0.032\mathrm{Cov}=0.20\cdot 0.40\cdot 0.40=0.032

On a half-and-half mix the cross term alone is 2(0.5)(0.5)(0.032)=0.0162(0.5)(0.5)(0.032)=0.016, which is 44 volatility points once you take the square root of a variance that was otherwise near 0.080.08. The correlation looked modest because each volatility in the denominator was large. The covariance, which is what σp2\sigma_p^2 adds, did not shrink with them.

Consequence: hedge ratios and risk contributions are computed from covariances. Quote ρ\rho when you want a scale-free comparison. Feed Cov\mathrm{Cov}, or ρσiσj\rho\sigma_i\sigma_j, into the variance formula.


04 · The Curve in the Volatility–Mean Plane

Put volatility on the horizontal axis and mean on the vertical. The two assets of the running example are the points (0.10, 0.05)(0.10,\ 0.05) and (0.20, 0.11)(0.20,\ 0.11). Every weight ww produces one further point (σp(w), μp(w))(\sigma_p(w),\ \mu_p(w)). The mean is always the straight interpolation

μp=0.11−0.06 w\mu_p=0.11-0.06\,w

so the vertical coordinate is locked once ww is chosen. The horizontal coordinate depends on ρ\rho. Read the picture as ww runs from 00 (pure asset 2) to 11 (pure asset 1).

Perfect positive correlation. With ρ=1\rho=1 and w∈[0,1]w\in[0,1],

σp=wσ1+(1−w)σ2=0.20−0.10 w\sigma_p=w\sigma_1+(1-w)\sigma_2=0.20-0.10\,w

Both σp\sigma_p and μp\mu_p are affine in ww, so the plot is the straight segment joining (0.20, 0.11)(0.20,\ 0.11) to (0.10, 0.05)(0.10,\ 0.05). The half-and-half book sits on that chord at (0.15, 0.08)(0.15,\ 0.08). There is no bulge. A weight outside [0,1][0,1] continues the same line: w=1.2w=1.2 is 120%120\% long asset 1 and 20%20\% short asset 2, and both formulas still apply. The point lies past asset 1, at higher volatility. Constraints that forbid the short are Chapter 10.

Perfect negative correlation. With ρ=−1\rho=-1 the volatility collapses to an absolute value,

σp=∣wσ1−(1−w)σ2∣=∣0.30 w−0.20∣\sigma_p=\lvert w\sigma_1-(1-w)\sigma_2\rvert=\lvert 0.30\,w-0.20\rvert

This is zero at w=2/3w=2/3: the long mix 2/32/3 in the 10%10\% asset and 1/31/3 in the 20%20\% asset. The mean there is (2/3)(0.05)+(1/3)(0.11)=0.07(2/3)(0.05)+(1/3)(0.11)=0.07. The picture is two straight rays meeting at the kink (0, 0.07)(0,\ 0.07). One ray connects the kink to (0.10, 0.05)(0.10,\ 0.05), the other connects the kink to (0.20, 0.11)(0.20,\ 0.11). The half-and-half book is at (0.05, 0.08)(0.05,\ 0.08), on the ray toward asset 2. Past either asset, a short sale walks back out along the same ray and volatility rises again. You can lever a perfect hedge; you cannot make variance negative.

Correlation strictly inside (−1,1)(-1,1). The map w↦σp(w)w\mapsto\sigma_p(w) is now the square root of a quadratic that stays positive for every ww. As ww runs over the reals, (σp,μp)(\sigma_p,\mu_p) traces one branch of a hyperbola, opening to the right, with a leftmost point at the global minimum-variance mix. Restricting to w∈[0,1]w\in[0,1] shows only the arc between the two asset points.

That arc bows to the left of the ρ=1\rho=1 chord. The half-and-half numbers from Section 02 are four points at the same height μ=0.08\mu=0.08:

ρ\rhoσp\sigma_p at w=0.5w=0.5Where it sits
110.1500.150On the chord
0.50.50.0175≈0.132\sqrt{0.0175}\approx 0.132Left of the chord
000.0125≈0.112\sqrt{0.0125}\approx 0.112Further left
−1-10.0500.050On the lower ray

The horizontal gap from the chord to the arc, at fixed mean, is the diversification benefit in volatility units. Lower ρ\rho deepens the bow. The arc never crosses to the left of the ρ=−1\rho=-1 rays: those rays are the Cauchy–Schwarz boundary. For ρ=0.5\rho=0.5 in this example the bow does not get left of asset 1's 10%10\% vol anywhere on the long-only arc. For ρ=0\rho=0 it does — the w=0.8w=0.8 mix of Section 02 prints 8.9%8.9\%. Beating the safer asset's volatility is a statement about how small ρ\rho is relative to σ1/σ2\sigma_1/\sigma_2, checked by computing σp\sigma_p, not by counting positions.

Locating the leftmost point subject to a required mean, and deciding which arc is worth holding, is the optimization in Chapters 03 and 04. This chapter only needs the geometry: ρ=1\rho=1 is a line, ρ=−1\rho=-1 is a broken line through a zero-vol kink, and every interior correlation is a curve bowed toward lower volatility at the same mean.


05 · N Assets, One Quadratic Form

Let RiR_i have mean μi\mu_i, and let Σ\Sigma be the covariance matrix, Σij=Cov(Ri,Rj)\Sigma_{ij}=\mathrm{Cov}(R_i,R_j). A portfolio is a weight vector w\mathbf{w} with ∑i=1Nwi=1\sum_{i=1}^N w_i=1. The return Rp=∑iwiRiR_p=\sum_i w_i R_i has

μp=∑i=1Nwiμi,σp2=wTΣw=∑i=1N∑j=1Nwi Σij wj\mu_p=\sum_{i=1}^N w_i\mu_i, \qquad \sigma_p^2=\mathbf{w}^T\Sigma\mathbf{w}=\sum_{i=1}^N\sum_{j=1}^N w_i\,\Sigma_{ij}\,w_j

The double sum is the two-asset formula written without privilege for a pair. Diagonal entries contribute wi2σi2w_i^2\sigma_i^2. Each unordered pair {i,j}\{i,j\} contributes twice, once as (i,j)(i,j) and once as (j,i)(j,i), which is why the two-asset cross term carries a 22.

Definition — Portfolio variance

If Σ\Sigma is the covariance matrix of the asset returns and w\mathbf{w} is the weight vector, portfolio variance is the quadratic form σp2=wTΣw\sigma_p^2=\mathbf{w}^T\Sigma\mathbf{w}. Because every covariance matrix is symmetric and positive semidefinite, the form is nonnegative for every w\mathbf{w}. A negative number out of a risk system means the matrix that was typed is not a covariance matrix.

Count the terms before interpreting them. The double sum has N2N^2 summands: NN variances and N(N−1)N(N-1) covariances. At N=30N=30 that is 3030 diagonal entries and 870870 off-diagonal entries. A risk report that lists thirty volatilities has inspected one thirtieth of the matrix that actually produces σp2\sigma_p^2.

Step-by-step — Three-asset variance, both as a matrix product and as six terms
1

Inputs. Weights w=(0.4, 0.4, 0.2)T\mathbf{w}=(0.4,\ 0.4,\ 0.2)^T and

Σ=(0.040.010.020.010.0100.0200.09)\Sigma=\begin{pmatrix}0.04 & 0.01 & 0.02\\ 0.01 & 0.01 & 0\\ 0.02 & 0 & 0.09\end{pmatrix}

Rows and columns are assets 1, 2, 3. The matrix is symmetric. Asset 2 is uncorrelated with asset 3.

2

Apply Σ\Sigma to w\mathbf{w}.

Σw=(0.4⋅0.04+0.4⋅0.01+0.2⋅0.020.4⋅0.01+0.4⋅0.01+0.2⋅00.4⋅0.02+0.4⋅0+0.2⋅0.09)=(0.0240.0080.026)\Sigma\mathbf{w}=\begin{pmatrix}0.4\cdot 0.04+0.4\cdot 0.01+0.2\cdot 0.02\\ 0.4\cdot 0.01+0.4\cdot 0.01+0.2\cdot 0\\ 0.4\cdot 0.02+0.4\cdot 0+0.2\cdot 0.09\end{pmatrix}=\begin{pmatrix}0.024\\ 0.008\\ 0.026\end{pmatrix}
3

Dot with w\mathbf{w}.

σp2=0.4(0.024)+0.4(0.008)+0.2(0.026)=0.0096+0.0032+0.0052=0.0180\sigma_p^2=0.4(0.024)+0.4(0.008)+0.2(0.026)=0.0096+0.0032+0.0052=0.0180

So σp=0.0180≈0.1342\sigma_p=\sqrt{0.0180}\approx 0.1342.

4

Open the double sum to see who paid. Diagonal: 0.42(0.04)+0.42(0.01)+0.22(0.09)=0.0064+0.0016+0.0036=0.01160.4^2(0.04)+0.4^2(0.01)+0.2^2(0.09)=0.0064+0.0016+0.0036=0.0116. Cross terms: 2(0.4)(0.4)(0.01)+2(0.4)(0.2)(0.02)+2(0.4)(0.2)(0)=0.0032+0.0032+0=0.00642(0.4)(0.4)(0.01)+2(0.4)(0.2)(0.02)+2(0.4)(0.2)(0)=0.0032+0.0032+0=0.0064. Total 0.0116+0.0064=0.01800.0116+0.0064=0.0180. About a third of this book's variance is covariance, and the zero block between assets 2 and 3 contributed nothing.

Short sales, one line

A coordinate of w\mathbf{w} may be negative. Then Rp=∑iwiRiR_p=\sum_i w_i R_i and σp2=wTΣw\sigma_p^2=\mathbf{w}^T\Sigma\mathbf{w} are unchanged as formulas: the short is just a negative weight in the same quadratic form. Which shorts a mandate allows is a constraint problem, taken up in Chapter 10, not a change to covariance.


06 · What an Equal-Weight Book Keeps

Split each return, for intuition only, into a piece shared with the others and a piece private to the name:

Ri=μi+βiF+εiR_i=\mu_i+\beta_i F+\varepsilon_i

Take FF as a common factor, Cov(εi,F)=0\mathrm{Cov}(\varepsilon_i,F)=0, and Cov(εi,εj)=0\mathrm{Cov}(\varepsilon_i,\varepsilon_j)=0 for i≠ji\neq j. Then the off-diagonal of Σ\Sigma is entirely factor covariance, Σij=βiβjVar(F)\Sigma_{ij}=\beta_i\beta_j\mathrm{Var}(F), while the diagonal adds the private variance: Σii=βi2Var(F)+Var(εi)\Sigma_{ii}=\beta_i^2\mathrm{Var}(F)+\mathrm{Var}(\varepsilon_i). The private piece is what people call idiosyncratic. The factor piece is systematic: it is still there in every portfolio that has not set its factor exposure to zero. A later chapter builds the single-index model properly. The only claim used here is the accounting inside Σ\Sigma.

The cleanest place to watch the private piece die is an equal-weight book of NN names that share one volatility σ\sigma and one pairwise correlation ρ\rho. Then wi=1/Nw_i=1/N, every diagonal term is σ2/N2\sigma^2/N^2, and there are NN of them. Every off-diagonal term is ρσ2/N2\rho\sigma^2/N^2, and there are N(N−1)N(N-1) of them. Adding,

σp2=1Nσ2+(1−1N)ρσ2=ρσ2+(1−ρ)σ2N\sigma_p^2=\frac{1}{N}\sigma^2+\left(1-\frac{1}{N}\right)\rho\sigma^2=\rho\sigma^2+\frac{(1-\rho)\sigma^2}{N}
Step-by-step — Equal-weight volatility as the book grows
1

Fix the names. σ=0.30\sigma=0.30 and ρ=0.40\rho=0.40, so single-name variance is 0.090.09 and pairwise covariance is 0.40⋅0.09=0.0360.40\cdot 0.09=0.036. The formula specialises to

σp2=0.036+0.054N\sigma_p^2=0.036+\frac{0.054}{N}
2

N=1N=1. σp2=0.090\sigma_p^2=0.090, σp=0.30\sigma_p=0.30. The "portfolio" is the asset.

3

N=2N=2. σp2=0.036+0.027=0.063\sigma_p^2=0.036+0.027=0.063, σp=0.063≈0.251\sigma_p=\sqrt{0.063}\approx 0.251. One extra name, same correlation, removes about five volatility points.

4

N=10N=10 and N=100N=100. At N=10N=10, σp2=0.036+0.0054=0.0414\sigma_p^2=0.036+0.0054=0.0414, σp≈0.203\sigma_p\approx 0.203. At N=100N=100, σp2=0.036+0.00054=0.03654\sigma_p^2=0.036+0.00054=0.03654, σp≈0.191\sigma_p\approx 0.191.

5

The limit. As N→∞N\to\infty the second term vanishes and σp2→0.036\sigma_p^2\to 0.036, so σp→0.300.40≈0.190\sigma_p\to 0.30\sqrt{0.40}\approx 0.190. Everything past the first handful of names is a slow crawl toward that floor. The floor equals the common covariance, not zero.

Read the two terms in the display. (1−ρ)σ2/N(1-\rho)\sigma^2/N is the equal-weight average of the idiosyncratic variances; it is O(1/N)O(1/N). ρσ2\rho\sigma^2 is the covariance every pair still shares; it does not depend on NN. Adding the 50th name at the same ρ\rho barely moves a book that already holds 49. It does nothing to the floor.

If the pairwise covariances are not identical, the same limit holds with ρσ2\rho\sigma^2 replaced by the average off-diagonal covariance cˉ\bar{c}: equal-weight variance tends to cˉ\bar{c}. Diversification drives the contribution of the diagonal to zero. It converges to the covariances you refused to make small.


07 · Diversify Is a Covariance Statement

The operable sentence is: portfolio variance is wTΣw\mathbf{w}^T\Sigma\mathbf{w}, so a change of book changes risk only by changing the weights on the entries of Σ\Sigma. "Own more names" is a special case that works when the new names arrive with small covariances against the book you already have, and when their weights are large enough for those entries to matter.

❌ Averaging the volatilities

A two-asset sleeve, w=0.5w=0.5, vols 20%20\% and 40%40\%, correlation 0.250.25, is reported at 30%30\% risk because (20+40)/2=30(20+40)/2=30.

Why it breaks: 30%30\% is the ρ=1\rho=1 answer from Section 03. At ρ=0.25\rho=0.25 the covariance is 0.25⋅0.20⋅0.40=0.0200.25\cdot 0.20\cdot 0.40=0.020, and

σp2=(0.5)2(0.04)+(0.5)2(0.16)+2(0.5)(0.5)(0.020)=0.01+0.04+0.01=0.06\sigma_p^2=(0.5)^2(0.04)+(0.5)^2(0.16)+2(0.5)(0.5)(0.020)=0.01+0.04+0.01=0.06

so σp=0.06≈0.245\sigma_p=\sqrt{0.06}\approx 0.245. The report overstated volatility by about five and a half points, which will mis-size every limit that reads it.

Consequence: average the vols only on a day when you are prepared to defend ρ=1\rho=1. Otherwise compute the quadratic form.

❌ Counting names

A 20-name equal-weight book with σ=0.30\sigma=0.30 and ρ=0.40\rho=0.40 already sits at

σp2=0.036+0.05420=0.0387,σp≈0.197\sigma_p^2=0.036+\frac{0.054}{20}=0.0387, \qquad \sigma_p\approx 0.197

against a floor of 0.1900.190. Replacing one name by a near-clone of another (ρ\rho near 11 with a name you already hold, ordinary ρ\rho with the rest) changes NN by zero and changes the relevant row of Σ\Sigma a lot. Adding a 21st clone does increase NN and still imports almost a full covariance row. Either trade leaves σp\sigma_p essentially on the floor already computed.

Consequence: the diversification ratio you can still earn is the gap from 0.1970.197 down toward 0.1900.190, unless a new name comes in with a genuinely smaller covariance against this book. The headcount is not the state variable. The matrix is.

Example — Where a new name actually moves the number

Start from asset 2 alone in the running example: σ=0.20\sigma=0.20, μ=0.11\mu=0.11. Add asset 1 at weight 0.50.5 with ρ=0.5\rho=0.5. Section 02 gives σp≈0.132\sigma_p\approx 0.132 and μp=0.08\mu_p=0.08. Volatility fell, and so did the mean, because asset 1's mean is lower. The covariance statement is only the volatility half. Whether the trade is attractive at the new mean is a preference over (σp,μp)(\sigma_p,\mu_p), and that comparison is Chapter 03. The input it will use is the variance just computed, not the fact that the book now contains two tickers.


08 · Exercises

EXERCISE 2.1

The mean does not use ρ\rho. For the variance, compute Cov=ρσ1σ2\mathrm{Cov}=\rho\sigma_1\sigma_2 separately at each correlation, then add w2σ12+(1−w)2σ22+2w(1−w)Covw^2\sigma_1^2+(1-w)^2\sigma_2^2+2w(1-w)\mathrm{Cov}. The ρ=1\rho=1 volatility should match wσ1+(1−w)σ2w\sigma_1+(1-w)\sigma_2.

μp=0.5(0.06)+0.5(0.14)=0.10\mu_p=0.5(0.06)+0.5(0.14)=0.10 at either correlation.

Variances: σ12=0.04\sigma_1^2=0.04, σ22=0.16\sigma_2^2=0.16. Diagonal contribution at w=0.5w=0.5: 0.25(0.04)+0.25(0.16)=0.01+0.04=0.050.25(0.04)+0.25(0.16)=0.01+0.04=0.05.

At ρ=0.25\rho=0.25, Cov=0.25⋅0.20⋅0.40=0.020\mathrm{Cov}=0.25\cdot 0.20\cdot 0.40=0.020, and the cross term is 2(0.5)(0.5)(0.020)=0.0102(0.5)(0.5)(0.020)=0.010. So σp2=0.05+0.010=0.060\sigma_p^2=0.05+0.010=0.060 and σp=0.060≈0.2449\sigma_p=\sqrt{0.060}\approx 0.2449.

At ρ=1\rho=1, Cov=0.080\mathrm{Cov}=0.080, cross term =0.040=0.040, σp2=0.090\sigma_p^2=0.090, σp=0.30\sigma_p=0.30. The weighted vol is 0.5(0.20)+0.5(0.40)=0.300.5(0.20)+0.5(0.40)=0.30, matching. The diversification gap at this weight is 0.30−0.060≈0.0550.30-\sqrt{0.060}\approx 0.055 of volatility, entirely from replacing covariance 0.0800.080 with 0.0200.020.

Asset 1 has mean 0.060.06 and volatility 0.200.20. Asset 2 has mean 0.140.14 and volatility 0.400.40. For the half-and-half book w=0.5w=0.5, compute μp\mu_p and σp\sigma_p at ρ=0.25\rho=0.25 and again at ρ=1\rho=1. Check the ρ=1\rho=1 result against the weighted average of the two volatilities, and state the volatility gap between the two correlations.

EXERCISE 2.2

At ρ=−1\rho=-1, σp=∣wσ1−(1−w)σ2∣\sigma_p=\lvert w\sigma_1-(1-w)\sigma_2\rvert. Set the inside to zero to place the kink. The mean is still wμ1+(1−w)μ2w\mu_1+(1-w)\mu_2. The long-only picture is two segments meeting at that kink; ww outside [0,1][0,1] continues them.

(a) w(0.10)=(1−w)(0.30)w(0.10)=(1-w)(0.30) gives 0.10w=0.30−0.30w0.10w=0.30-0.30w, so 0.40w=0.300.40w=0.30 and w=0.75w=0.75. The mean is 0.75(0.04)+0.25(0.10)=0.030+0.025=0.0550.75(0.04)+0.25(0.10)=0.030+0.025=0.055. The kink is the point (0, 0.055)(0,\ 0.055).

(b) Asset 1 is (0.10, 0.04)(0.10,\ 0.04), asset 2 is (0.30, 0.10)(0.30,\ 0.10). One straight segment joins (0.10, 0.04)(0.10,\ 0.04) to (0, 0.055)(0,\ 0.055) as ww runs from 11 to 0.750.75. The other joins (0, 0.055)(0,\ 0.055) to (0.30, 0.10)(0.30,\ 0.10) as ww runs from 0.750.75 to 00.

(c) At w=0.5w=0.5, Cov=−0.10⋅0.30=−0.030\mathrm{Cov}=-0.10\cdot 0.30=-0.030. Then σp2=(0.5)2(0.01)+(0.5)2(0.09)+2(0.5)(0.5)(−0.030)=0.0025+0.0225−0.015=0.010\sigma_p^2=(0.5)^2(0.01)+(0.5)^2(0.09)+2(0.5)(0.5)(-0.030)=0.0025+0.0225-0.015=0.010, so σp=0.10\sigma_p=0.10. The mean is 0.5(0.04)+0.5(0.10)=0.070.5(0.04)+0.5(0.10)=0.07. The point (0.10, 0.07)(0.10,\ 0.07) lies on the segment from the kink to asset 2.

(d) w=1.25w=1.25 means 125%125\% long asset 1 and 25%25\% short asset 2. Then σp=∣1.25(0.10)−(−0.25)(0.30)∣=∣0.125+0.075∣=0.20\sigma_p=\lvert 1.25(0.10)-(-0.25)(0.30)\rvert=\lvert 0.125+0.075\rvert=0.20, which is past asset 1 and larger than 0.100.10. The mean is 1.25(0.04)+(−0.25)(0.10)=0.050−0.025=0.0251.25(0.04)+(-0.25)(0.10)=0.050-0.025=0.025.

Two assets have σ1=0.10\sigma_1=0.10, μ1=0.04\mu_1=0.04, σ2=0.30\sigma_2=0.30, μ2=0.10\mu_2=0.10, and ρ=−1\rho=-1. (a) Find the weight ww in asset 1 that makes σp=0\sigma_p=0, and the mean at that weight. (b) Describe the long-only curve in the volatility–mean plane: the two endpoints and the kink. (c) Compute (σp,μp)(\sigma_p,\mu_p) at w=0.5w=0.5 and say which segment it lies on. (d) Compute (σp,μp)(\sigma_p,\mu_p) at w=1.25w=1.25 and place that point relative to asset 1.

EXERCISE 2.3

Compute Σw\Sigma\mathbf{w} one row at a time, then dot with w\mathbf{w}. As a check, expand wi2Σiiw_i^2\Sigma_{ii} and 2wiwjΣij2w_iw_j\Sigma_{ij} for i<ji<j. The pair with a zero covariance must contribute nothing.

Σw=(0.4⋅0.04+0.4⋅0.01+0.2⋅0.02, 0.4⋅0.01+0.4⋅0.01+0, 0.4⋅0.02+0+0.2⋅0.09)T=(0.024, 0.008, 0.026)T\Sigma\mathbf{w}=(0.4\cdot 0.04+0.4\cdot 0.01+0.2\cdot 0.02,\ 0.4\cdot 0.01+0.4\cdot 0.01+0,\ 0.4\cdot 0.02+0+0.2\cdot 0.09)^T=(0.024,\ 0.008,\ 0.026)^T.

σp2=0.4(0.024)+0.4(0.008)+0.2(0.026)=0.0096+0.0032+0.0052=0.0180\sigma_p^2=0.4(0.024)+0.4(0.008)+0.2(0.026)=0.0096+0.0032+0.0052=0.0180, so σp=0.0180≈0.1342\sigma_p=\sqrt{0.0180}\approx 0.1342.

Diagonal contribution: 0.16(0.04)+0.16(0.01)+0.04(0.09)=0.0064+0.0016+0.0036=0.01160.16(0.04)+0.16(0.01)+0.04(0.09)=0.0064+0.0016+0.0036=0.0116. Covariance contribution: 2(0.4)(0.4)(0.01)+2(0.4)(0.2)(0.02)+2(0.4)(0.2)(0)=0.0032+0.0032+0=0.00642(0.4)(0.4)(0.01)+2(0.4)(0.2)(0.02)+2(0.4)(0.2)(0)=0.0032+0.0032+0=0.0064. The assets 2 and 3 pair adds zero. Covariances are 0.0064/0.0180≈36%0.0064/0.0180\approx 36\% of portfolio variance. Of the nine entries in the double sum, six are off-diagonal; after symmetry they are three unordered pairs, one of which is idle.

Let w=(0.4, 0.4, 0.2)T\mathbf{w}=(0.4,\ 0.4,\ 0.2)^T and

Σ=(0.040.010.020.010.0100.0200.09)\Sigma=\begin{pmatrix}0.04 & 0.01 & 0.02\\ 0.01 & 0.01 & 0\\ 0.02 & 0 & 0.09\end{pmatrix}

Compute σp2=wTΣw\sigma_p^2=\mathbf{w}^T\Sigma\mathbf{w} and σp\sigma_p. Split the variance into the diagonal part and the covariance part, and say what the zero entry Σ23\Sigma_{23} contributed.

EXERCISE 2.4

With equal vols and a common correlation, σp2=ρσ2+(1−ρ)σ2/N\sigma_p^2=\rho\sigma^2+(1-\rho)\sigma^2/N. The limit as N→∞N\to\infty is the covariance ρσ2\rho\sigma^2, so the limiting volatility is σρ\sigma\sqrt{\rho}. Compute the ρ=0.90\rho=0.90 floor the same way and compare floors, not headcounts.

Single-name variance σ2=0.0625\sigma^2=0.0625. At ρ=0.36\rho=0.36 the pairwise covariance is 0.36⋅0.0625=0.02250.36\cdot 0.0625=0.0225, and

σp2=0.0225+0.0400N\sigma_p^2=0.0225+\frac{0.0400}{N}

(a) N=4N=4: σp2=0.0225+0.0100=0.0325\sigma_p^2=0.0225+0.0100=0.0325, σp=0.0325≈0.1803\sigma_p=\sqrt{0.0325}\approx 0.1803. N=16N=16: σp2=0.0225+0.0025=0.0250\sigma_p^2=0.0225+0.0025=0.0250, σp=0.0250≈0.1581\sigma_p=\sqrt{0.0250}\approx 0.1581.

(b) The limit is 0.02250.0225, hence σp=0.250.36=0.15\sigma_p=0.25\sqrt{0.36}=0.15. Of the original variance 0.06250.0625, the fraction that remains is 0.0225/0.0625=0.36=ρ0.0225/0.0625=0.36=\rho. The fraction 1−ρ=0.641-\rho=0.64 is the idiosyncratic share, and it is the only share that NN can kill.

(c) At ρ=0.90\rho=0.90 the floor is 0.90⋅0.0625=0.056250.90\cdot 0.0625=0.05625, so σp→0.250.90≈0.2372\sigma_p\to 0.25\sqrt{0.90}\approx 0.2372. A 16-name book at ρ=0.36\rho=0.36 is already at about 15.8%15.8\% vol, under that floor. Raising NN further at ρ=0.90\rho=0.90 cannot get below 23.7%23.7\%. The binding input is the correlation that sets the floor, not the number of lines in the position blotter.

Every asset in an equal-weight book has volatility 0.250.25. (a) If every pairwise correlation equals 0.360.36, compute σp2\sigma_p^2 and σp\sigma_p at N=4N=4 and at N=16N=16. (b) Give the limiting variance and the limiting volatility as N→∞N\to\infty, and the fraction of single-name variance that remains. (c) Repeat the limit at pairwise correlation 0.900.90, and say which book is riskier: 16 names at correlation 0.360.36, or infinitely many names at correlation 0.900.90.


09 · Chapter Summary

ObjectWhat it does
μp=∑iwiμi\mu_p=\sum_i w_i\mu_iMeans add. Correlation never enters.
Two-asset σp2\sigma_p^2w2σ12+(1−w)2σ22+2w(1−w)Cov(R1,R2)w^2\sigma_1^2+(1-w)^2\sigma_2^2+2w(1-w)\mathrm{Cov}(R_1,R_2)
ρ\rhoScale-free covariance, Cov=ρσiσj\mathrm{Cov}=\rho\sigma_i\sigma_j, and −1≤ρ≤1-1\le\rho\le 1
ρ=±1\rho=\pm 1Straight lines in the volatility–mean plane; ρ=−1\rho=-1 kinks at a zero-vol mix
−1<ρ<1-1<\rho<1The long-only mixes bow left of the ρ=1\rho=1 chord: same mean, less volatility
σp2=wTΣw\sigma_p^2=\mathbf{w}^T\Sigma\mathbf{w}NN variance terms and N(N−1)N(N-1) covariance terms
Equal-weight limitσp2→ρσ2\sigma_p^2\to\rho\sigma^2 when vols and correlations are common; the floor is the covariance
A new nameChanges risk through its row of Σ\Sigma, not through the headcount

Next: Chapter 03 — Mean-Variance Optimization, which takes this variance as the objective and chooses w\mathbf{w} subject to a target mean.