Quant Memo
Foundational

Diversification

The closest thing to a free lunch in investing. By spreading money across holdings that don't move in lockstep, you shrink the wobble of a portfolio without giving up its average return, but only up to a floor of market-wide risk you can never diversify away.

Prerequisites: Volatility

Diversification is the one genuinely free lunch in finance. If you spread your money across many holdings that don't all rise and fall together, the ups in one tend to cancel the downs in another, so your total portfolio jumps around less than any single holding does. The remarkable part: you get this smoother ride without accepting a lower average return. You are not trading away reward for safety, you are simply deleting risk that you were never being paid to take.

Why spreading out cuts risk

The whole effect runs on one word: correlation, how tightly two holdings move together. (Here "risk" means volatility, the size of a holding's swings.) If two stocks always move in perfect step (correlation +1+1), owning both is no different from owning a double dose of one, the swings just add up. But if they move somewhat independently, a bad day for one is often an ordinary day for the other, and the bad news gets partly washed out in the average. The less correlated your holdings, the more the individual shocks cancel, and the calmer the portfolio.

systematic (market) risk risk number of holdings (n) 1 10 20 30
Portfolio risk drops fast as you add the first several holdings, then flattens. The gap you can erase is diversifiable (company-specific) risk; the floor it lands on is systematic risk, shared by the whole market, and no amount of diversifying removes it.

The lever behind that curve is correlation. Take just two assets and slide the correlation ρ\rho between them: the lower it goes, the further the combined portfolio bows to the left — same return, less risk. That leftward bow is diversification made visible.

Efficient frontier
4%8%12%0%8%16%24%ABmin riskrisk (volatility) →
Mix: 50% A · 50% Breturn 8.0%risk 11.8%min-risk mix 96% A

Diversification pays off precisely when holdings aren't perfectly correlated. At ρ=1\rho = 1 there's no benefit (risk just averages); as ρ\rho drops toward 1-1, opposing moves cancel and combined risk collapses.

The math in one formula

For a portfolio of two holdings with weights w1,w2w_1, w_2 (fractions of your money), the portfolio variance is

σp2=w12σ12+w22σ22+2w1w2ρσ1σ2,\sigma_p^2 = w_1^2\sigma_1^2 + w_2^2\sigma_2^2 + 2\,w_1 w_2\,\rho\,\sigma_1\sigma_2,

where σ1,σ2\sigma_1, \sigma_2 are the two volatilities and ρ\rho is their correlation. The correlation ρ\rho sits in the last term, and it is the whole story: lower ρ\rho means a smaller last term, which means smaller portfolio variance.

Now stack nn identical holdings, each with variance σ2\sigma^2 and the same pairwise correlation ρ\rho, in equal weights. The formula collapses to a clean one:

σp2=σ2n+(11n)ρσ2.\sigma_p^2 = \frac{\sigma^2}{n} + \left(1 - \frac{1}{n}\right)\rho\,\sigma^2.

As you add names (nn grows), the first term σ2/n\sigma^2/n melts toward zero, that is the diversifiable, company-specific risk vanishing. But the second term marches toward ρσ2\rho\sigma^2 and stays there. That leftover, ρσ2\rho\sigma^2, is the systematic floor in the diagram: the shared market risk you cannot escape by adding more of the same.

Worked example

Take two stocks, each with volatility σ=20%\sigma = 20\%, split 50/50.

  • Perfectly correlated (ρ=1\rho = 1): σp2=0.25(0.04)+0.25(0.04)+2(0.25)(1)(0.2)(0.2)=0.04\sigma_p^2 = 0.25(0.04) + 0.25(0.04) + 2(0.25)(1)(0.2)(0.2) = 0.04, so σp=20%\sigma_p = 20\%. No benefit, you doubled up on the same bet.
  • Uncorrelated (ρ=0\rho = 0): the last term is zero, so σp2=0.25(0.04)+0.25(0.04)=0.02\sigma_p^2 = 0.25(0.04) + 0.25(0.04) = 0.02, giving σp=0.02=14.1%\sigma_p = \sqrt{0.02} = 14.1\%. Same expected return, nearly a third less risk.
  • Perfectly opposed (ρ=1\rho = -1): σp2=0.020.02=0\sigma_p^2 = 0.02 - 0.02 = 0, so σp=0%\sigma_p = 0\%. The two exactly hedge each other.

Now the nn-name version with a realistic ρ=0.3\rho = 0.3: a single stock has σ=20%\sigma = 20\%. With n=10n = 10 names, σp2=0.04/10+0.9(0.3)(0.04)=0.004+0.0108=0.0148\sigma_p^2 = 0.04/10 + 0.9(0.3)(0.04) = 0.004 + 0.0108 = 0.0148, so σp=12.2%\sigma_p = 12.2\%. Push nn \to \infty and the floor is 0.3×20%=11.0%\sqrt{0.3}\times 20\% = 11.0\%. So ten names already capture almost all the benefit, and the last stubborn 11%11\% is pure market risk.

Systematic vs unsystematic risk

Splitting risk into two buckets is the single most useful idea here. Unsystematic (or idiosyncratic) risk is specific to one company, a factory fire, a bad earnings call, and it is diversifiable: enough independent names average it away. Systematic risk is market-wide, a recession or a rate shock hits everything at once, and it is undiversifiable. This is exactly why the efficient frontier and Markowitz portfolio theory are built on covariances rather than individual variances, and why only systematic risk earns a return: nobody pays you to carry a risk you could have deleted for free. That link between risk you cannot diversify and reward is the heart of the risk-return tradeoff.

Common pitfalls

  • Correlations spike in a crash. The ρ\rho you measured in calm markets is not the ρ\rho you get in a panic, when almost everything falls together. Diversification tends to fail exactly when you need it most.
  • More names is not more diversification. Adding a fifth tech stock that moves with the four you own barely helps. What matters is low correlation, not the raw count of holdings.
  • Diworsification. Past a couple dozen well-chosen names the marginal risk reduction is tiny, while trading costs and diluted conviction pile up. Owning everything is a way to guarantee mediocrity, not to manage risk.
  • Hidden concentration. Thirty stocks that are all energy names, or all funded by the same factor, are one bet wearing thirty costumes. Diversify across drivers, not just tickers.

Related concepts

Practice in interviews

Further reading

  • Markowitz (1952), Portfolio Selection
  • Bodie, Kane & Marcus, Investments (Ch. 7)
ShareTwitterLinkedIn