Skip to content
LeetQuant
QR10 Portfolio Construction and Risk

QR10 · Portfolio Construction and Risk · Lesson 1 of 5

Portfolio Optimisation

Lagrange multipliers, the minimum-variance portfolio, mean–variance weights and combining Sharpe ratios.

30 min

The minimum-variance portfolio

Minimise w⊤Σww^\top\Sigma w subject to full investment, 1⊤w=1\mathbf 1^\top w = 1. With a Lagrange multiplier, the first-order condition 2Σw=λ12\Sigma w = \lambda\mathbf 1 gives

w∗=Σ−111⊤Σ−11.w^* = \frac{\Sigma^{-1}\mathbf 1}{\mathbf 1^\top\Sigma^{-1}\mathbf 1} .

For two assets this simplifies to

w1∗=σ22−ρσ1σ2σ12+σ22−2ρσ1σ2.w_1^* = \frac{\sigma_2^2 - \rho\sigma_1\sigma_2}{\sigma_1^2 + \sigma_2^2 - 2\rho\sigma_1\sigma_2} .

With uncorrelated assets the weights are proportional to 1/σi21/\sigma_i^2: inverse-variance weighting.

Worked example

two correlated assets

Asset 1 has volatility 20%, asset 2 has 30%, and their correlation is 0.25. Find the minimum-variance weights.

Show solution

σ1σ2ρ=0.2×0.3×0.25=0.015\sigma_1\sigma_2\rho = 0.2 \times 0.3 \times 0.25 = 0.015.

w1∗=0.09−0.0150.04+0.09−0.03=0.0750.10=0.75,w_1^* = \frac{0.09 - 0.015}{0.04 + 0.09 - 0.03} = \frac{0.075}{0.10} = 0.75 ,

so 75% in asset 1 and 25% in asset 2. If the correlation were high enough (ρ>σ1/σ2\rho > \sigma_1/\sigma_2), the formula would ask you to short asset 2.

Mean–variance optimisation

An investor who trades expected return μ\mu against variance with risk aversion γ\gamma maximises w⊤μ−γ2w⊤Σww^\top\mu - \tfrac{\gamma}{2}w^\top\Sigma w (with μ\mu as excess returns and no budget constraint). The solution is

w∗=1γΣ−1μ.w^* = \frac{1}{\gamma}\Sigma^{-1}\mu .

For a single asset this is w∗=μγσ2w^* = \dfrac{\mu}{\gamma\sigma^2}. With γ=1\gamma = 1 it matches the continuous-time Kelly fraction μ/σ2\mu/\sigma^2, which maximises log growth. Every mean–variance investor holds the same risky mix, Σ−1μ\Sigma^{-1}\mu (the tangency portfolio), scaled up or down by 1/γ1/\gamma.

For uncorrelated strategies, the tangency portfolio's Sharpe ratio is

SRcombined=∑iSRi2.\text{SR}_{\text{combined}} = \sqrt{\textstyle\sum_i \text{SR}_i^2} .

This is why funds hunt for many small, uncorrelated edges: Sharpe ratios add in quadrature.

Knowledge check

Two strategies are uncorrelated, with Sharpe ratios 0.6 and 0.8. What is the best Sharpe ratio you can get by combining them?

Knowledge check

An asset has 6% expected excess return and 20% volatility. A mean–variance investor with γ = 3 holds what fraction of wealth in it?

Knowledge check

Three uncorrelated assets have volatilities 10%, 20% and 20%. What weight does the minimum-variance portfolio put on the first?

Practice problems

Finished reading?

Answer the 3 knowledge checks to complete this lesson (0 done).