The efficient frontier and the one portfolio everyone should hold
Markowitz’s 1952 idea is the base of almost everything in portfolio construction: judge a portfolio by its expected return and its volatility, and look only at mixes that give the most return for their risk. Add a risk-free asset and something surprising happens: the best risky portfolio is the same for everybody. Risk appetite only decides how much of it to hold.
Mixing two assets bends the line
Take stocks (7% expected return, 16% vol) and bonds (3.5%, 6%). Hold a fraction w in stocks. The expected return is a straight average, but the volatility is
which is less than the average of the two vols whenever ρ < 1. So the set of mixes is a curve bulging to the left, towards lower risk. The upper half of the curve, from the minimum-variance mix upwards, is the efficient frontier: every point below it is beaten by a point above with the same vol.
With ρ = 1 the curve becomes a straight line and diversification does nothing. With ρ = −1 it touches the vertical axis: some mix is riskless.
The capital market line
Now allow lending and borrowing at the risk-free rate . Mixing cash with any risky portfolio P gives a straight line from through P, with slope equal to P’s Sharpe ratio. The steepest such line just touches the frontier: that touching point is the tangency portfolio, and the line is the capital market line. Every point on it beats every point on the frontier except the tangency point itself.
With ρ = 0.2 and a 2% cash rate, the tangency portfolio is about 34% stocks and 66% bonds, with a Sharpe ratio of 0.37. That’s higher than either asset alone (0.31 for stocks, 0.25 for bonds): diversification raises the best achievable Sharpe ratio. Lower the correlation and the frontier bulges further left and the tangency Sharpe rises (0.45 at ρ = −0.2). Raise the stock return and the tangency point slides towards stocks.
import numpy as np
def tangency(mu, Sigma, rf):
"""Max-Sharpe portfolio of risky assets (unconstrained), its return, vol and Sharpe ratio."""
w = np.linalg.solve(Sigma, mu - rf)
w = w / w.sum()
ret, vol = w @ mu, np.sqrt(w @ Sigma @ w)
return w, ret, vol, (ret - rf) / vol
mu = np.array([0.07, 0.035])
vol = np.array([0.16, 0.06])
Sigma = np.outer(vol, vol) * np.array([[1, 0.2], [0.2, 1]])
print(tangency(mu, Sigma, 0.02)) # weights ≈ [0.344, 0.656], Sharpe ≈ 0.366Same risky portfolio, different amounts of cash
Because the capital market line dominates everything, every mean–variance investor picks a point on it. A cautious investor sits near cash; an aggressive one goes past the tangency point by borrowing. But the risky part is always the same tangency mix. Tobin called this separation: the choice of risky portfolio is separate from the choice of how much risk to take.
If everyone holds the tangency portfolio, it must be the market portfolio. That’s the step from Markowitz to the CAPM, and it’s the logic behind Black–Litterman, which reverses it to back out expected returns from market weights.
Where people slip in interviews
- Picking the highest-Sharpe single asset. A mix almost always beats it unless the assets are perfectly correlated.
- Confusing the minimum-variance portfolio with the tangency portfolio. Minimum variance ignores expected returns; tangency maximises the Sharpe ratio.
- Trusting the inputs. Small errors in μ swing the tangency weights wildly; see covariance shrinkage and Black–Litterman for fixes.
- Forgetting that leverage keeps the Sharpe ratio. Moving along the capital market line changes risk and return in proportion.
Try these before you open the answer
Warm-upTwo assets each with 20% vol and correlation 0. What's the vol of a 50/50 mix?Show answer
Min varFind the minimum-variance weight in asset 1 for two assets with vols σ₁, σ₂ and correlation ρ.Show answer
For stocks and bonds above with ρ = 0.2: about 7% stocks.
SharpeTwo uncorrelated assets each have Sharpe ratio 0.5. What's the tangency Sharpe ratio?Show answer
Uncorrelated Sharpe ratios add in quadrature, like independent bets in the fundamental law.
AllocationThe tangency portfolio has 6% excess return and 12% vol. How much does an investor with γ = 3 put in it?Show answer
139%: they borrow 39% at the risk-free rate.
StretchTwo assets have the same Sharpe ratio. What does the tangency portfolio look like, and does it depend on the correlation?Show answer
With equal Sharpe ratios S, , so . For two assets that gives for any correlation: inverse-volatility weights, the same as risk parity with two assets.
The tangency weights and Sharpe ratios were computed with the code above. The figure recomputes the frontier and the tangency point as you move the sliders.