The Efficient Frontier
The set of minimum-variance portfolios for each level of return, derived in closed form with Lagrange multipliers, giving the two-fund theorem, the global minimum-variance portfolio, the tangency portfolio, and the capital market line.
Prerequisites: MPT (Harry Markowitz), Expectation, Variance & Moments
The efficient frontier is the geometric heart of MPT (Harry Markowitz): out of the infinitely many portfolios you can build from a set of assets, only a one-dimensional curve is worth considering. Every portfolio on it delivers the minimum possible variance for its expected return, everything below and to the right is dominated. Understanding the frontier means being able to derive it, not just draw it, because the derivation exposes the two-fund theorem and the tangency portfolio that the whole edifice of asset pricing is built on.
The optimization problem
Take risky assets with expected excess-return vector and covariance matrix (assumed positive definite, so invertible). A fully-invested portfolio is a weight vector with . Its expected return is and its variance is . The frontier is traced by solving, for each target return ,
Deriving the frontier
Form the Lagrangian with multipliers :
The first-order condition gives the optimal weights as a linear function of the two multipliers:
This single equation is the whole story: every frontier portfolio is a linear combination of the two fixed vectors and . To pin down , impose the two constraints. Define the three scalars
and (positive by Cauchy–Schwarz whenever is not proportional to ). Substituting into the constraints yields a linear system whose solution is and . Plugging back, the minimum variance attainable at return is
This is a parabola in space and a hyperbola in space. The upper branch, where higher return comes with higher variance, is the efficient frontier; the lower branch is dominated.
The global minimum-variance portfolio
The apex of the hyperbola, the portfolio of least variance regardless of return, comes from setting , giving and
Notice it depends only on , not on , which is why the GMV portfolio is the practitioner's refuge when expected returns are too noisy to trust (see Pitfalls of Mean-Variance Optimization).
Two-fund theorem
Because is affine in , any two distinct frontier portfolios span the entire frontier: a convex combination of them is again a frontier portfolio. Hence all investors, whatever their risk appetite, can be served by just two mutual funds. This is the two-fund separation theorem, the origin of index-plus-bond investing.
Adding a risk-free asset: the tangency portfolio and CML
Introduce a risk-free rate (lend or borrow freely). Now an investor splits between the risk-free asset and one portfolio of risky assets. Maximizing the Sharpe ratio over the budget constraint gives the tangency portfolio
(Note the family resemblance to multi-asset The Kelly Criterion sizing, , same object, differently normalized.) Combining the risk-free asset with traces a straight line in space, the capital market line:
Its slope is the maximum attainable Sharpe ratio, and it is tangent to the risky-asset hyperbola at . Every efficient portfolio is now a mix of one risky fund and cash, the sharper form of two-fund separation, and the launchpad for the The Capital Asset Pricing Model (CAPM).
Worked example
Two assets: , volatilities and , correlation , so
The GMV weight in asset 1 is . Numerically , so . That portfolio has variance , i.e. volatility , below the 15% vol of asset 1 and far below asset 2's 25%. Diversification has produced a portfolio less risky than either constituent: the frontier bulges to the left of the individual assets precisely because . With , the tangency portfolio tilts toward the higher-Sharpe asset and defines the CML the investor levers up or down.
Failure modes
- Garbage inputs. The frontier is a deterministic function of ; estimation error in makes the efficient frontier itself a random object, and the "optimal" portfolio can be wildly wrong. This is Pitfalls of Mean-Variance Optimization in full.
- Ill-conditioned . When assets number near the sample length, amplifies noise; see Covariance Matrix Estimation and Ledoit-Wolf Covariance Shrinkage.
- No constraints. Unconstrained frontiers routinely demand enormous long-short positions; adding no-short or turnover constraints bends the frontier inward but stabilizes it.
- Non-Gaussian returns. Variance is only the right risk measure under elliptical returns or quadratic utility; fat tails argue for Expected Shortfall (CVaR) instead.
In interviews
Be ready to set up the Lagrangian and show that the optimal weights are , the step that instantly gives two-fund separation. State the GMV portfolio and note it ignores . Explain why the frontier is a hyperbola and where the tangency portfolio sits. A classic follow-up: "why does adding a risk-free asset turn the curve into a line?", because you are now mixing a point (cash, zero variance) with a single fund, and mixing is linear in . See Sharpe Ratio and The Capital Asset Pricing Model (CAPM) for where this leads.
Related concepts
Practice in interviews
Further reading
- Markowitz (1952), Portfolio Selection, Journal of Finance
- Merton (1972), An Analytic Derivation of the Efficient Portfolio Frontier
- Grinold & Kahn, Active Portfolio Management (Ch. 2)