hedgefund.wiki — institutional knowledge base

Mean-Variance Optimization

Portfolio Theory · advanced · CC-BY-4.0

Mean-variance optimization (MVO) is the mathematical framework developed by Harry Markowitz (1952) for constructing the portfolio that achieves the highest expected return for a given level of portfolio variance (risk), or equivalently, the lowest variance for a given expected return. It is the foundational model of modern portfolio theory and underpins the concept of the efficient frontier.

Key takeaways

Explanation

Mean-variance optimization is simultaneously the most celebrated and most criticized tool in portfolio management. Its theoretical contribution — formalizing the intuition that diversification reduces risk and showing how to exploit correlations to construct efficient portfolios — earned Markowitz the Nobel Prize in Economics in 1990. Yet its practical implementation is fraught with challenges that have occupied researchers and practitioners for decades.

The MVO problem is solved using quadratic programming. Given a vector of expected returns μ and a covariance matrix Σ for n assets, the optimizer finds the portfolio weight vector w that maximizes the risk-adjusted utility function: U = w'μ − (λ/2)w'Σw, where λ is the investor's risk aversion parameter. The solution traces out the efficient frontier as λ varies from zero (maximum return portfolio, fully concentrated in the highest-return asset) to infinity (minimum variance portfolio). Every portfolio on the efficient frontier is 'efficient' in the sense that no other portfolio offers higher expected return at the same variance.

The central practical challenge of MVO is the sensitivity of optimal weights to input parameters, particularly expected returns. Michaud (1989) demonstrated that MVO tends to 'error maximize' — small errors in the expected return estimates produce large errors in the optimal portfolio weights, resulting in portfolios that are heavily concentrated in a few assets and extremely sensitive to rebalancing. The covariance matrix inputs are generally more stable than return estimates, which is why robust variants of MVO such as the minimum variance portfolio (which sets all expected returns equal and optimizes solely on the covariance structure) have gained significant traction in practice.

Several important theoretical results emerge from the MVO framework. The two-fund separation theorem states that every efficient portfolio is a combination of just two mutual funds: the risk-free asset and the tangency portfolio (the risky efficient portfolio with the highest Sharpe ratio). This result implies that all rational, risk-averse investors should hold the same risky portfolio (the market portfolio, in equilibrium), differing only in the proportion allocated between it and the risk-free asset — the foundational insight underlying the Capital Asset Pricing Model (CAPM).

Formula

Minimize: w'Σw subject to w'μ = μ_target, Σw_i = 1

Example

A pension fund allocates across three asset classes: equities (μ=8%, σ=15%), bonds (μ=3%, σ=5%), and commodities (μ=5%, σ=20%), with correlations ρ(equity,bond)=−0.1, ρ(equity,commodity)=0.2, and ρ(bond,commodity)=0.05. The MVO optimizer with a moderate risk aversion parameter (λ=3) finds the optimal allocation: 55% equities, 35% bonds, 10% commodities — with an expected portfolio return of 6.0% and portfolio volatility of 9.8%. This portfolio achieves a Sharpe ratio (assuming 2% risk-free rate) of (6.0−2.0)/9.8 = 0.41. The minimum variance portfolio allocates 25% equities, 70% bonds, and 5% commodities with volatility of 4.6%.

Related terms

Bond Capital Asset Pricing Model Covariance Covariance Matrix Diversification Efficient Frontier Efficient Market Hypothesis Equity Factor Model Idiosyncratic Risk Premium Minimum Variance Portfolio Modern Portfolio Theory