A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Mean-Variance Optimization (Markowitz Framework)

College Depth 114 in the knowledge graph ☐ I know this ☆ Set as goal
37topics build on this
809prerequisites beneath it
See this on the map →
Constrained Optimization ApplicationsExpected Return and Variance of Financial Assets+8 more→→Correlation and Covariance Matrices in Portfolio OptimizationEfficient Frontier and Capital Market Line+1 more
markowitz portfolio-optimization covariance-matrix modern-portfolio-theory

Core Idea

Harry Markowitz (1952) formalized portfolio selection as an optimization problem: for any target expected return, find the portfolio weights that minimize variance, subject to weights summing to one. The inputs are expected returns, variances, and all pairwise covariances — summarized in the covariance matrix. Solving this quadratic optimization for all feasible return levels traces out the minimum-variance frontier, and the upper portion — where no portfolio can offer higher expected return for the same variance — is the efficient frontier. This was the first rigorous mathematical treatment of diversification, earning Markowitz a Nobel Prize in Economics in 1990.

How It's Best Learned

Set up the optimization in matrix form for three assets to see the role of the covariance matrix. Use software (Python/scipy or Excel Solver) to trace the full efficient frontier. Observe how the frontier shifts when correlations change, highlighting the central role of covariance structure.

Common Misconceptions

Explainer

You already know from portfolio diversification that combining assets with imperfect correlation reduces portfolio risk without necessarily reducing expected return. Markowitz's contribution was to formalize exactly *how* to do this optimally. Instead of relying on intuition about which assets to combine, he posed it as a precise mathematical problem: given a target expected return, find the portfolio weights that minimize variance. Solving this for every possible target return generates a curve in expected-return/standard-deviation space — the minimum-variance frontier.

The inputs to this optimization are three things: a vector of expected returns (one per asset), a vector of variances, and — crucially — the full matrix of pairwise covariances between every pair of assets. This covariance matrix is what captures the diversification structure of the portfolio. Two assets that are individually volatile but negatively correlated create a combined portfolio with dramatically lower variance. The optimization exploits all of these correlations simultaneously, which is why it requires matrix algebra rather than simple arithmetic.

The efficient frontier is the upper portion of the minimum-variance frontier. For a given level of variance (horizontal axis), the efficient portfolio maximizes expected return; equivalently, for a given expected return, it minimizes variance. Portfolios below the minimum-variance point are dominated — there exists another portfolio with the same variance but higher expected return — so no rational investor would choose them. The efficient frontier does not specify a single best portfolio; which point on it is optimal depends on the investor's risk tolerance, which is encoded in their utility function.

A critical and counterintuitive property of the framework is its sensitivity to expected return inputs. Small changes in projected returns — well within the range of estimation error — can cause the optimizer to shift portfolio weights dramatically, concentrating heavily in assets whose expected return is only trivially higher. This "error maximization" problem means that naïvely applying Markowitz optimization to historical return estimates often produces unstable, concentrated portfolios that perform poorly out of sample. Practitioners respond with robust estimation methods, Bayesian shrinkage, or by constraining weights directly.

The mean-variance framework earned Markowitz the 1990 Nobel Prize not because it is perfectly practical in its raw form, but because it established the foundational principle: return and risk must be traded off *at the portfolio level*, accounting for correlations, not just asset by asset. Every subsequent asset pricing model — the CAPM, factor models, Black-Litterman — builds directly on this foundation.

Practice Questions 3 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Double Integrals: Definition and Setup → Iterated Integrals and Fubini's Theorem → Double Integrals over Rectangular Regions → Double Integrals over General Regions → Applications of Double Integrals: Area, Mass, and Moments → Center of Mass → Conservation of Linear Momentum → Elastic Collisions → Inelastic Collisions → Coefficient of Restitution → Collision Analysis and Real-World Applications → Two-Body Collisions in the Center-of-Mass Frame → Reduced Mass and Two-Body Problems → Kinematics in Two Dimensions → Projectile Motion → Circular Motion: Kinematics → Simple Harmonic Motion → Introduction to Differential Equations → Solow Growth Model → Capital Accumulation and the Golden Rule → Investment Demand and Capital Formation → Aggregate Demand → The AS-AD Model → Business Cycles → Monetary Policy Tools → Term Structure of Interest Rates → Risk and Return Tradeoff → Expected Return and Variance of Financial Assets → Portfolio Diversification → Mean-Variance Optimization (Markowitz Framework)

Longest path: 115 steps · 809 total prerequisite topics

Prerequisites (10)

Leads To (3)