Historical Context & Motivation
Before the mid-twentieth century, investment decision-making was largely qualitative—security analysts evaluated companies one at a time and assembled portfolios based on intuition, industry familiarity, or simple rules of thumb such as "don't put all your eggs in one basket." There was no rigorous mathematical framework for quantifying how much risk a combination of assets actually carried, nor for demonstrating why spreading capital across multiple securities could reduce that risk without necessarily sacrificing return. Harry Markowitz changed the field permanently in 1952 when he published "Portfolio Selection" in The Journal of Finance, introducing the mean-variance framework that underpins virtually all modern portfolio theory.
Markowitz's insight was deceptively simple: an investor should care not only about each security's expected return but also about how each security's returns move relative to every other security in the portfolio—their covariances. By expressing portfolio risk as a function of individual variances and pairwise covariances, Markowitz demonstrated that diversification is not merely folk wisdom but a mathematically provable strategy for improving the risk-return trade-off. The timeline below traces the intellectual milestones that led to—and built upon—this breakthrough.
The central question this lesson addresses is straightforward yet foundational: given a set of assets with known expected returns, variances, and covariances, how do we compute the expected return and variance of the portfolio they form? Mastering these calculations is the prerequisite for efficient frontier construction, CAPM derivation, and virtually every advanced topic in investments.
Core Principles & Definitions
Before diving into formulas, it is essential to anchor the discussion in a handful of foundational concepts. These definitions recur throughout portfolio theory and will serve as the building blocks for every calculation that follows.
Portfolio Weight (wᵢ)
Expected Return E(Rᵢ)
Variance (σ²) & Standard Deviation (σ)
Covariance (σᵢⱼ)
Correlation (ρᵢⱼ)
Visualizing Portfolio Construction
The diagram below illustrates how two individual assets—Stock A and Stock B—combine to form portfolios along a curve in risk-return space. The horizontal axis represents portfolio standard deviation (risk), and the vertical axis represents portfolio expected return. As the weight in each asset changes from 100 % A / 0 % B to 0 % A / 100 % B, the resulting portfolio traces out a curve whose shape depends critically on the correlation between the two assets. When correlation is less than +1, the curve bends to the left, demonstrating the diversification benefit—some combinations of A and B have lower risk than either asset alone.
The curvature of the frontier is the visual manifestation of the core insight: because portfolio variance depends on covariance (not just individual variances), mixing assets with imperfect correlation creates risk-return combinations that fall to the left of the straight line connecting the two assets. The further the curve bends leftward, the greater the diversification benefit. This observation motivates the precise formulas we develop in the next section.
Mathematical Framework
We now formalize the two key portfolio statistics—expected return and variance—beginning with the general n-asset case before specializing to the two-asset case that dominates introductory applications.
Portfolio Expected Return
Note the elegant simplicity: expected return is linear in weights. If you invest 60 % in Asset A yielding 8 % and 40 % in Asset B yielding 12 %, your portfolio's expected return is 0.60 × 8 % + 0.40 × 12 % = 9.6 %. No surprises, no interaction effects—just a straight blend.
Portfolio Variance — Two-Asset Case
Unlike expected return, portfolio variance is not simply a weighted average of individual variances. The cross-product term (2w₁w₂ρ₁₂σ₁σ₂) is the mathematical engine of diversification. When ρ₁₂ < 1, this term reduces the portfolio's variance below the weighted sum of individual variances. When ρ₁₂ = −1, it is theoretically possible to construct a zero-variance portfolio—a result that underscores why correlation is the single most important input in portfolio construction.
How Correlation Shapes Portfolio Risk
The correlation coefficient ρ₁₂ is the lever that determines how much diversification benefit a two-asset portfolio captures. To build intuition, the diagram below plots portfolio standard deviation against the weight in Asset A for three correlation scenarios: ρ = +1, ρ = 0, and ρ = −1. Both assets are assumed to have a standard deviation of 20 % so that differences in the curves arise solely from correlation.
| Correlation (ρ₁₂) | Diversification Effect | Minimum σₚ (equal σ case) |
|---|---|---|
| +1 | None — portfolio σ equals the weighted average of individual σ values | 20 % (no reduction possible) |
| +0.5 | Moderate — curve bends left of the straight line | ≈ 17.3 % |
| 0 | Significant — substantial risk reduction at the optimum mix | ≈ 14.1 % |
| −0.5 | Large — portfolio risk drops well below either asset's σ | ≈ 10.0 % |
| −1 | Maximum — risk can be completely eliminated | 0 % |
Worked Example — Two-Stock Portfolio
Suppose an investor allocates 60 % of her wealth to Stock X and 40 % to Stock Y. The following data are given: E(RX) = 10 %, σX = 15 %, E(RY) = 14 %, σY = 25 %, and ρXY = 0.30. We seek the portfolio's expected return, variance, and standard deviation.
Strengths & Limitations of Mean-Variance Analysis
The mean-variance framework is elegant and powerful, but like any model it rests on assumptions that may not hold perfectly in practice. Understanding these strengths and limitations prepares you to apply the framework with appropriate caution and to appreciate the more advanced models that extend it.
| Strengths | Limitations |
|---|---|
| Provides a rigorous, quantitative basis for diversification—replaces intuition with mathematics. | Assumes returns are normally distributed; real-world returns exhibit skewness and fat tails (kurtosis). |
| Uses only two parameters (mean and variance), making computation tractable even for large portfolios. | Requires accurate estimates of expected returns, variances, and covariances—all of which are notoriously unstable over time. |
| Foundational for CAPM, efficient frontier analysis, and performance measurement (Sharpe ratio). | Treats variance symmetrically—penalizes upside deviations the same as downside, even though investors typically dislike losses more than they enjoy gains. |
| Enables construction of the efficient frontier and identification of the optimal risky portfolio. | Single-period model; does not address multi-period rebalancing, transaction costs, or changing investor preferences over time. |
Connection to Advanced Portfolio Theory
The two-asset calculations introduced here are the building blocks for far more sophisticated frameworks. As you advance in your finance coursework, you will encounter n-asset optimization, where the variance formula expands into matrix notation, and the efficient frontier becomes a computational rather than algebraic exercise. The table below previews how the introductory concepts map to their advanced counterparts.
| Introductory Concept | Advanced Extension |
|---|---|
| Two-asset portfolio variance formula | Matrix form: σ²ₚ = w'Σw, where Σ is the n × n covariance matrix and w is the weight vector. |
| Minimum-variance portfolio (two assets) | Global minimum-variance portfolio via constrained optimization (Lagrangian or quadratic programming). |
| Diversification reduces σ when ρ < 1 | Efficient frontier and Markowitz bullet: the set of portfolios offering the highest return for each level of risk. |
| Portfolio expected return as a weighted average | Capital Market Line (CML) combining the risk-free asset with the tangency portfolio; CAPM pricing of individual securities via beta. |
| Variance as the sole risk metric | Downside risk measures (semivariance, Value at Risk, CVaR), multi-factor models (Fama–French), and behavioral finance critiques. |
Every one of these advanced topics rests on the same foundational algebra you have learned in this lesson. Mastering the two-asset portfolio variance calculation—understanding why the cross-product term matters and how correlation governs diversification—ensures you will be well prepared to navigate the matrix algebra, optimization, and equilibrium pricing models that define the investments curriculum.
Practice Problems
Lesson Summary
This lesson introduced the foundational computations of portfolio expected return and portfolio variance within the mean-variance framework pioneered by Harry Markowitz in 1952. Portfolio expected return is a weighted average of individual asset expected returns, making it straightforward to calculate. Portfolio variance, in contrast, incorporates covariance (or equivalently, correlation) between assets, and it is this cross-product term that generates the diversification benefit—the ability to reduce portfolio risk below the weighted average of individual risks whenever correlation is less than +1.
For the two-asset case, the key formulas are E(Rₚ) = w₁E(R₁) + w₂E(R₂) and σ²ₚ = w₁²σ₁² + w₂²σ₂² + 2w₁w₂ρ₁₂σ₁σ₂. The minimum-variance portfolio can be found by optimizing the weight formula, and the risk-return frontier visualizes the full set of attainable portfolios. These introductory concepts scale directly to n-asset optimization via matrix algebra and form the bedrock of the Capital Asset Pricing Model, efficient frontier analysis, and modern portfolio management.