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 moreCorrelation 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 ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsCenter of MassConservation of Linear MomentumElastic CollisionsInelastic CollisionsCoefficient of RestitutionCollision Analysis and Real-World ApplicationsTwo-Body Collisions in the Center-of-Mass FrameReduced Mass and Two-Body ProblemsKinematics in Two DimensionsProjectile MotionCircular Motion: KinematicsSimple Harmonic MotionIntroduction to Differential EquationsSolow Growth ModelCapital Accumulation and the Golden RuleInvestment Demand and Capital FormationAggregate DemandThe AS-AD ModelBusiness CyclesMonetary Policy ToolsTerm Structure of Interest RatesRisk and Return TradeoffExpected Return and Variance of Financial AssetsPortfolio DiversificationMean-Variance Optimization (Markowitz Framework)

Longest path: 115 steps · 809 total prerequisite topics

Prerequisites (10)

Leads To (3)