Sub topic 1
Risk and return: what diversification trades off
Diversification means spreading money across many holdings so that no single loss sinks the whole portfolio. It reduces risk, but it does not remove all of it. This chapter explains which risk diversification can reduce, how correlation controls the size of that reduction, and how to calculate it.
Prerequisites
You should already understand:
- What a stock, a fund, and an ETF (exchange-traded fund) are.
- Percentage returns and simple averages.
- The general rule that higher expected return usually comes with higher risk.
Systematic versus idiosyncratic risk
Total risk has two parts. Systematic risk is market-wide, such as recessions or interest rate shocks, and affects nearly every holding. Idiosyncratic risk is specific to one company, such as a failed product or a lawsuit. Diversification reduces idiosyncratic risk. It does not reduce systematic risk.
Correlation: why holdings that move differently help
Correlation measures how closely two holdings move together, on a scale from -1 to +1. Diversification works best when correlation is low. At a correlation of +1, the holdings move in lockstep and mixing them gives no benefit.
The math of combining assets
For two assets with weights w1 and w2 (where w2 = 1 - w1), volatility (standard deviation of returns) is:
σp² = (w1·σ1)² + (w2·σ2)² + 2·w1·w2·σ1·σ2·ρ
The code below applies this formula to a 50/50 mix of two assets, each with 20% volatility.
import math
def portfolio_vol(w1, s1, s2, rho):
w2 = 1 - w1
variance = (w1 * s1) ** 2 + (w2 * s2) ** 2 + 2 * w1 * w2 * s1 * s2 * rho
return math.sqrt(variance)
for rho in (1.0, 0.5, 0.0):
print(rho, round(portfolio_vol(0.5, 0.20, 0.20, rho), 4))
# 1.0 0.2
# 0.5 0.1732
# 0.0 0.1414The output shows that the same two assets produce 20%, 17.3%, and 14.1% volatility as correlation falls.
Exercise
Using the function above, what is the portfolio volatility at a 30/70 split with both volatilities at 0.20 and correlation 0.0?
Show answer
The variance is (0.3·0.2)² + (0.7·0.2)² = 0.0036 + 0.0196 = 0.0232, so the volatility is about 0.1523, or 15.23%.