Learn how to construct and interpret the minimum-variance frontier, exploring its mathematical derivation, real-world constraints, and practical applications in portfolio optimization.
Let’s start with a quick thought experiment. Imagine you’ve got two different assets—say, a broad equity index fund and a corporate bond fund. If you only invest in one (that corporate bond fund, for instance), your risk and return profile will be entirely tied to that asset’s ups and downs. But if you can mix them, perhaps in different proportions, you suddenly get a whole range of possible risk-return outcomes—an entire “opportunity set” of portfolios.
These possible mixes can be visualized in a coordinate plane. On the x-axis, you have risk (often measured by standard deviation or variance), and on the y-axis, you have expected return. Each point in that plane then corresponds to a unique blend of the two assets. This region where all feasible combinations lie is often called the feasible set or opportunity set. And as we’ll see, from within that region emerges something special called the minimum-variance frontier.
For a given level of expected return, the portfolio with the lowest possible variance (i.e., the smallest risk) lies on the so-called minimum-variance frontier. Conversely, for a given level of risk, you can find a portfolio with the highest return on a related line known as the efficient frontier (a subset of the minimum-variance frontier lying above the global minimum point).
In simpler terms:
• The minimum-variance frontier is like a boundary that encloses all the portfolios that achieve the absolute minimum risk possible for each level of return.
• The portfolio at the lowest point on that frontier is the global minimum-variance portfolio, the absolute champion of “low variance.”
When we shift from concept to practice, we usually rely on variance, covariance, and correlation estimates—covered in detail in Section 2.3—to figure out precisely where that “frontier” exists. You might recall from your study of correlation that assets whose returns move in opposite directions (negative correlation) can help reduce overall portfolio risk. That synergy typically lowers the combined portfolio’s variance more than you’d imagine if you just glued two assets together randomly.
Ah, the two-asset world. It feels almost too easy, but it’s a perfect place to start building intuition. Suppose you have two assets, Asset A and Asset B, with expected returns Rₐ and R_b, standard deviations σₐ and σ_b, and correlation ρₐb.
If you invest a fraction w in Asset A and (1 – w) in Asset B, then your portfolio’s expected return, E[R_p], is:
But the real excitement is the portfolio variance, Var(R_p):
Where:
• w is the weight on Asset A,
• ρₐb is the correlation between the asset returns, and
• σₐ and σ_b are the standard deviations of Asset A and Asset B returns, respectively.
If you vary w from 0% to 100%, you plot a curve of risk-return combinations. Some of those portfolio combinations will form the so-called minimum-variance curve. The lowest point on that curve is where you get the global minimum-variance solution.
Below is a simplified diagram showing how the feasible region might look when blending Asset A and Asset B, plus the minimum-variance portion of that curve:
graph LR A["Start with Asset A"] --> B["Combine in different <br/>proportions with Asset B"] B --> C["Plot returns <br/>& risk"] C --> D["Feasible Set <br/>(All combinations)"] D --> E["Minimum-Variance <br/>Frontier (subset)"]
In that picture, you begin with Asset A, begin combining with Asset B, compute the risk and return for each blend, and gather them in a single feasible region. The portion of that region that yields the lowest risk for each return is our frontier.
Of course, in real life, you’re hardly restricted to two assets. Most portfolios contain multiple asset classes: domestic stocks, international stocks, bonds, real estate, sometimes even alternative assets. Extending our formula to n assets can be quite math-heavy—though the logic is basically the same, just with a bigger covariance matrix.
The formula for your portfolio’s variance will look something like:
Where:
• \(\mathbf{w}\) is the vector of portfolio weights, w = (w₁, w₂, …, wₙ),
• \(\Sigma\) is the covariance matrix of asset returns.
Minimizing \(\mathbf{w}^\mathsf{T} \Sigma \mathbf{w}\) subject to constraints (like \(\sum wᵢ = 1\)) and possibly additional constraints (e.g., no short selling) is typically done using quadratic programming in software tools like Excel Solver, Python libraries, or specialized portfolio optimizers.
Once you’ve solved the puzzle and found that curve—some might call it the “holy grail” of modern portfolio theory—you need to interpret it. The key points to remember:
• The global minimum-variance portfolio is the portfolio that sits at the leftmost vertex of the frontier (where standard deviation is minimal).
• Any portfolios inside the frontier (or “southwest” of it) are not achievable because they represent returns that are too high for the given level of risk or risk that’s too low for the given level of return.
• All the portfolios on the frontier are “efficient” in the sense that you’re not wasting any risk.
At times, you might see the portion of the frontier above the global minimum-variance point described as the efficient frontier. Many investors focus on that upper section because they’re looking for higher returns, but keep in mind that if your main objective is to have the smallest possible variance, the global minimum-variance portfolio is the portfolio.
In an idealized Markowitz world, you can short assets, borrow or lend unlimited amounts at the risk-free rate, and there are no frictional costs. In practice? Not so simple. We have restrictions on short selling, transaction costs, taxes, minimum liquidity thresholds, and other complexities. These real-world constraints can affect the shape of the frontier:
• No short sales: Investors may impose wᵢ ≥ 0 for each asset weight. This restricts the feasible region and typically shifts the frontier to the right (i.e., to higher variance levels).
• Transaction costs: Trading in and out of positions might mean you can’t continuously rebalance into the “perfect” frontier portfolio.
• Leverage limits: If you can’t borrow freely, you can’t easily form highly leveraged portfolios that might otherwise achieve interesting risk-return combos.
• Liquidity requirements: Sometimes you need to hold a chunk of your portfolio in cash or short-term instruments, especially in a corporate or pension setting to meet near-term liabilities.
If you want to get a sense of how these constraints change your optimization, you can typically just add constraints in your software solver or optimization approach, then watch as your “perfect” frontier morphs into something more jagged or compressed. That’s real life, folks!
You can do a lot of manual algebra to build the minimum-variance frontier for two assets, but once you go beyond that, it’s time to harness technology. Let’s see a quick snippet of Python code that uses a popular numeric library to do a simplified optimization (just to bring the concept to life). Suppose we have:
• A vector of expected returns.
• A covariance matrix.
• A constraint that all weights sum to 1 and no short sales are allowed.
Below is an illustrative snippet (not a full working script, but enough to point you in the right direction):
1import numpy as np
2from scipy.optimize import minimize
3
4returns = np.array([0.08, 0.10, 0.12]) # 3 assets
5cov_matrix = np.array([
6 [0.04, 0.01, 0.00],
7 [0.01, 0.09, 0.02],
8 [0.00, 0.02, 0.16]
9])
10
11def portfolio_variance(weights, cov_matrix):
12 return weights.T @ cov_matrix @ weights
13
14def constraint_sum_of_weights(weights):
15 return np.sum(weights) - 1.0
16
17bnds = tuple((0,1) for _ in range(len(returns)))
18
19init_weights = np.array([1/3, 1/3, 1/3])
20
21constraints = ({'type': 'eq', 'fun': constraint_sum_of_weights})
22
23opt = minimize(portfolio_variance, init_weights, args=(cov_matrix,),
24 method='SLSQP', bounds=bnds, constraints=constraints)
25
26optimal_weights = opt.x
27optimal_variance = opt.fun
28optimal_sd = np.sqrt(optimal_variance)
29
30print("Optimal Weights:", optimal_weights)
31print("Optimal Std Dev:", optimal_sd)
If you want to replicate something similar in Excel Solver:
Voila—now you’ve identified the global minimum-variance portfolio (under no short sales). By sweeping through different return targets or expected return constraints, you can trace out the entire frontier.
• Data Quality: Garbage in, garbage out. Variances and covariances are estimates; errors or old data can lead you astray.
• Overconcentration: Sometimes, unconstrained optimization (especially with short sales) leads to extreme allocations. Keep an eye out for standard constraints like no weight exceeding a certain limit.
• Stability: If you tweak your inputs even slightly, do you get a drastically new frontier? That might be a sign your model is too sensitive.
• Continuous Rebalancing: Real-world friction—trading costs, taxes, and timing—means you can’t just re-optimize daily without incurring real losses.
• Revision: Periodically revisit your estimates of returns and correlations because they change (especially in times of crisis).
I remember a scenario in a prior role where we used a matrix that hadn’t been updated for fresh market data. An entire pension plan’s risk model was anchored to last year’s correlation patterns. Needless to say, folks were pretty surprised when markets diverged from our assumptions. So, do keep your data sets up to date.
If you’re preparing for the CFA exam (or any advanced finance exam), keep these pointers in mind:
• Master the Formula: Even though you might have software at hand, you’ll likely need to show your understanding of \(\mathbf{w}^\mathsf{T} \Sigma \mathbf{w}\) for a multi-asset setup or the Waltz equation for a two-asset scenario.
• Remember the Global Minimum: On the exam, you might be asked to identify or interpret the global minimum-variance portfolio. Emphasize how its variance can be derived.
• Constraints: You’ll often see exam questions featuring constraints—like no short selling or maximum leverage. That changes the solution approach and the shape of the frontier.
• Time Management: Scenario-based questions can be lengthy. Make sure you can swiftly interpret risk-return diagrams, identify feasible sets, and highlight the frontier.
• Conceptual vs. Calculation: Be prepared for “explain” questions (qualitative) and “calculate” questions (quantitative). They might ask “Why does correlation matter?” or “Here’s the correlation matrix, find the weighting for minimum variance.”
• Markowitz, Harry. “Portfolio Selection.” The Journal of Finance, 1952.
• Elton, Edwin J., Martin J. Gruber, Stephen J. Brown, and William N. Goetzmann. Modern Portfolio Theory and Investment Analysis.
• See also Chapter 2.3 on Calculating Mean Returns, Variance, Covariance, and Correlation for deeper mathematical background.
Important Notice: FinancialAnalystGuide.com provides supplemental CFA study materials, including mock exams, sample exam questions, and other practice resources to aid your exam preparation. These resources are not affiliated with or endorsed by the CFA Institute. CFA® and Chartered Financial Analyst® are registered trademarks owned exclusively by CFA Institute. Our content is independent, and we do not guarantee exam success. CFA Institute does not endorse, promote, or warrant the accuracy or quality of our products.