Minimum Variance Portfolio with Factor Model
Consider a universe of $n$ risky assets with positive-definite covariance matrix $\Sigma$. The minimum-variance portfolio solves
$w^{*} = \arg\min_w \; w^\top \Sigma \, w \quad \text{subject to} \quad \mathbf{1}^\top w = 1.$
- Derive the closed-form solution for $w^{*}$.
- Now suppose you replace $\Sigma$ with a one-factor model $\Sigma = \sigma_f^2 \, \beta \beta^\top + D$, where $\beta \in \mathbb{R}^n$ is the vector of factor loadings, $\sigma_f^2$ is the factor variance, and $D = \text{diag}(d_1, \ldots, d_n)$ is the diagonal matrix of idiosyncratic variances. Derive the minimum-variance weights under this factor covariance.
- Explain which inputs dominate the portfolio weights when $D$ is small (low idiosyncratic risk) versus when $D$ is large (high idiosyncratic risk). What happens in each limit?
Hints
- Set up the Lagrangian for a quadratic objective with a linear equality constraint. The optimal weights will be proportional to $\Sigma^{-1} \mathbf{1}$.
- For the factor model, use the Sherman-Morrison (Woodbury) formula to invert $\Sigma = \sigma_f^2 \beta \beta^\top + D$. Since $\beta \beta^\top$ is rank one and $D$ is diagonal, the inverse has a clean closed form.
- To analyze the limits, look at the scalar $\phi = \sigma_f^2 \beta^\top D^{-1} \beta$. When $D \to 0$, $\phi \to \infty$ and the factor-hedging term dominates. When $D \to \infty$, $\phi \to 0$ and you recover inverse-variance weighting.
Worked Solution
How to Think About It: The minimum-variance portfolio is the simplest mean-variance problem -- you are not trying to maximize return, just minimize risk. The key intuition: if you could perfectly diversify away all risk, you would hold equal weights. But assets have different volatilities and correlations, so the optimizer tilts toward lower-variance, lower-correlation assets. The factor model version is especially useful because it separates systematic risk (the factor) from idiosyncratic risk (the diagonal $D$), and the closed-form solution reveals exactly how each component drives portfolio construction.
Quick Sanity Checks: The weights must sum to 1. If all assets are identical (same variance, same correlations), the answer should be $w_i = 1/n$. Under a factor model with equal loadings and equal idiosyncratic variances, we should also get equal weights. As idiosyncratic risk vanishes, the portfolio should try hardest to hedge out the common factor.
Derivation:
Part 1 -- General closed form.
Set up the Lagrangian:
$\mathcal{L} = w^\top \Sigma \, w - \lambda (\mathbf{1}^\top w - 1).$
The first-order condition gives