14.1 Mean–variance portfolios
Motivation
M06 used the tangency portfolio to derive the CAPM. Here you derive it properly, because every risk-budgeting and strategy-combination rule in this module is a special case or a robust replacement of it.
Setup
risky assets with expected returns and positive-definite covariance . Portfolio weights with (shorting allowed unless stated). Portfolio mean , variance . Define the scalars
and because is positive definite. By Cauchy–Schwarz in the inner product , , with equality iff ; assume is not proportional to , so .
14.1.1The minimum-variance frontier#
Proposition 14.1Global minimum variance, GMV
The solution of subject to is
Proof
Lagrangian . Stationarity: , so . The constraint gives . The objective is strictly convex and the constraint affine, so the stationary point is the unique global minimum. Then and .∎
Note that : every asset has the same marginal contribution to variance at the GMV portfolio.
Proposition 14.2Frontier portfolios
For a target mean , the solution of subject to and is
Proof
. Stationarity: . The two constraints become the linear system
with determinant , so and . For the variance, .∎
In space the frontier is the hyperbola , with vertex at the GMV point .
14.1.2Tangency and two-fund separation#
Proposition 14.3Tangency portfolio
With a risk-free asset at and (i.e. ), the risky portfolio that maximises the Sharpe ratio over is
Proof
Let . Allocate to risky assets and to the risk-free asset. Excess return is , variance . Minimise variance for a target excess return : gives . Every efficient portfolio is therefore a positive multiple of (for ). The fully invested risky portfolio on this ray is obtained by normalising: . The Sharpe ratio is scale-invariant, so it is the same for every point on the ray, and the ray is the efficient set, so maximises it. The normaliser is positive by the assumption .∎
Corollary 14.4Maximum Sharpe ratio
.
Proof
With : and , so . Expand .∎
Proposition 14.5Two-fund separation
(i) Without a risk-free asset, every frontier portfolio is an affine combination of any two distinct frontier portfolios. (ii) With a risk-free asset, every mean–variance investor holds a combination of the risk-free asset and the same tangency portfolio ; only the proportion depends on risk aversion.
Proof
(i) By (14.2), is affine in : for fixed vectors . For and any , put ; then . (ii) In the proof of 14.3 every efficient portfolio is : a scalar multiple of in risky assets, the remainder in the risk-free asset. An investor maximising chooses , again on this ray.∎
14.1.3A four-asset example#
Worked example
Four building blocks for an Indian investor, with illustrative annual inputs (not forecasts): Nifty 50 (μ 12%, σ 16%), gold in INR (9%, 14%), a 10-year G-sec fund (7%, 5%), and a trend-following futures strategy (15%, 20%). Correlations: Nifty–gold 0, Nifty–G-sec 0.1, Nifty–trend 0.3, gold–G-sec 0.1, gold–trend 0.1, G-sec–trend 0. Risk-free 6.5%.
| Portfolio | Nifty | Gold | G-sec | Trend | μ | σ | Sharpe |
|---|---|---|---|---|---|---|---|
| GMV (14.1) | 0.045 | 0.076 | 0.840 | 0.039 | 7.69% | 4.68% | 0.25 |
| Tangency (14.3) | 0.272 | 0.182 | 0.231 | 0.315 | 11.24% | 9.36% | 0.507 |
| Equal weight | 0.25 | 0.25 | 0.25 | 0.25 | 10.75% | 8.50% | 0.500 |
Here , , , , and . The individual Sharpe ratios are 0.34, 0.18, 0.10 and 0.43; the tangency combination beats every one of them. An investor who wants 6% volatility holds in the tangency portfolio and 36% in the risk-free asset. The code (m14_portfolio.py) checks (14.1)–(14.3) against scipy.optimize and checks two-fund separation numerically.
Note how close equal weighting is to the optimum (0.500 against 0.507). That is not a coincidence of this example; it is the subject of the next section.