FIN-301 · Lesson 4 of 12 · 25 min

Portfolio theory I: risk aversion, diversification and two assets

In 1952 Harry Markowitz showed that investors should judge each asset not by its own risk but by how it changes the risk of the whole portfolio. FIN-201 lesson 10 introduced the result: combining assets that do not move together reduces risk, and the risk that cannot be diversified away, systematic risk, is what earns a premium. This lesson works through the mathematics behind that idea. It starts with how investors trade off risk and return, then shows how to allocate between a risky portfolio and a risk-free asset, and finally how two risky assets combine. Lesson 5 extends the analysis to many assets and to the choice of the best risky portfolio.

Risk aversion and utility

Most investors are risk-averse: offered a risky investment and a certain one with the same expected return, they choose the certain one. They will hold risk only if paid a risk premium. A convenient way to describe this is a utility score that rewards expected return and penalizes variance. The coefficient \( A \) measures the investor's risk aversion: a risk-neutral investor has \( A = 0 \), and higher values mean a stronger dislike of risk. Studies of how investors actually behave suggest values of roughly 2 to 4 for typical investors, though the number varies widely between people and over a person's life.

\[U = E(r) - \tfrac{1}{2} A \sigma^{2}\]

Returns and standard deviations in this formula are written as decimals. The certainty equivalent of an investment is the risk-free return that would give the same utility. An investor with \( A = 4 \) looking at a portfolio with an expected return of 8 % and a standard deviation of 20 % has a utility of 0.08 − 0.5 × 4 × 0.04 = 0, so they would be indifferent between that portfolio and a guaranteed return of zero. They would prefer even a 1 % treasury bill. A less risk-averse investor with \( A = 2 \) values the same portfolio at 4 %, and would choose it over the bill.

Investment dealers and advisers in Canada must collect know-your-client information, including the client's risk tolerance, risk capacity, time horizon and investment objectives, and must put the client's interest first when making suitability determinations under the client-focused reforms in force since 2021. Risk questionnaires are a practical, if imperfect, way to estimate a client's risk aversion.

Allocating between a risky portfolio and a risk-free asset

The simplest portfolio decision is how much to put into a diversified risky portfolio \( P \) and how much into a risk-free asset such as treasury bills. If a fraction \( y \) goes into the risky portfolio, the complete portfolio has an expected return that rises in a straight line with \( y \), and a standard deviation equal to \( y \) times the risky portfolio's, because the risk-free asset has no variance and no covariance with anything. Plotting all the combinations gives a straight line from the risk-free rate through the risky portfolio: the capital allocation line (CAL). Points beyond \( P \) represent borrowing at the risk-free rate to invest more than 100 % in the risky portfolio.

\[E(r_C) = r_f + y\,[E(r_P) - r_f], \qquad \sigma_C = y\,\sigma_P\]

The slope of the CAL is the reward-to-volatility ratio, or Sharpe ratio, of the risky portfolio: the extra expected return for each extra unit of standard deviation. Every investor faces the same line if they can invest in the same risky portfolio; what differs is where on the line each chooses to be. Maximizing utility gives the optimal fraction in the risky portfolio.

\[y^{*} = \frac{E(r_P) - r_f}{A\,\sigma_P^{2}}\]

Worked problem

Choosing a position on the capital allocation line

A diversified share portfolio has an expected return of 8 % and a standard deviation of 16 %; treasury bills yield 3 %. Find the optimal allocation for investors with risk aversion 2 and 4, and the expected return and standard deviation of each complete portfolio.

Show solution
  1. Risk premium = 5 %; variance = 0.0256.
  2. A = 4: y* = 0.05 ÷ (4 × 0.0256) = 0.488. E(r) = 3 + 0.488 × 5 = 5.44 %; σ = 0.488 × 16 = 7.8 %.
  3. A = 2: y* = 0.05 ÷ (2 × 0.0256) = 0.977. E(r) = 7.88 %; σ = 15.6 %.
  4. Sharpe ratio for both = 5 ÷ 16 = 0.3125.

Answer: Both investors hold the same risky portfolio; the more risk-averse one simply holds less of it and more treasury bills.

Covariance and correlation

When two risky assets are combined, what matters is not only their individual risks but how they move together. Covariance measures whether two returns tend to be above or below their averages at the same time. Its size depends on the units, so it is usually scaled into the correlation coefficient, which runs from −1 (perfect opposite movement) through 0 (no linear relationship) to +1 (perfect movement together). Correlations between broad share markets are often 0.6 to 0.9, between shares and high-quality government bonds historically near zero or negative, though that relationship turned positive in 2022, when rising inflation hurt both together.

\[\text{Cov}(r_1, r_2) = \rho_{12}\,\sigma_1\sigma_2\]

The two-asset portfolio

A portfolio with weight \( w \) in asset 1 and \( 1 - w \) in asset 2 has an expected return equal to the weighted average of the two expected returns. Its variance is not a simple average: it includes a term for the covariance. That covariance term is where diversification comes from. Unless the correlation is exactly +1, the portfolio's standard deviation is less than the weighted average of the two standard deviations.

\[\sigma_P^{2} = w^{2}\sigma_1^{2} + (1-w)^{2}\sigma_2^{2} + 2w(1-w)\rho_{12}\sigma_1\sigma_2\]

Three cases show the effect of correlation. With \( \rho = +1 \), the portfolio's standard deviation is the weighted average, so there is no diversification benefit; the combinations lie on a straight line. With \( \rho = -1 \), the two assets can be combined to eliminate risk entirely. In between, which is the normal case, the combinations trace a curve that bows to the left: some portfolios have less risk than either asset alone. The weight that gives the minimum-variance portfolio has a closed form.

\[w_{\min} = \frac{\sigma_2^{2} - \rho_{12}\sigma_1\sigma_2}{\sigma_1^{2} + \sigma_2^{2} - 2\rho_{12}\sigma_1\sigma_2}\]
Chart of expected return against standard deviation for portfolios of a stock fund and a bond fund under four correlations, from a straight line at +1 to a line touching zero risk at −1.
Portfolios of a stock fund (10 %, 20 %) and a bond fund (4.5 %, 8 %): the lower the correlation, the further the curve bows to the left.

Worked problem

A stock fund and a bond fund

A stock fund has an expected return of 10 % and standard deviation of 20 %; a bond fund 4.5 % and 8 %; their correlation is 0.2. Find the minimum-variance portfolio and the risk of a 60/40 mix.

Show solution
  1. Covariance = 0.2 × 0.20 × 0.08 = 0.0032.
  2. Minimum-variance weight in stocks = (0.0064 − 0.0032) ÷ (0.04 + 0.0064 − 0.0064) = 0.08.
  3. Minimum-variance portfolio: E(r) = 0.08 × 10 + 0.92 × 4.5 = 4.94 %; σ = 7.84 %, below the bond fund's 8 %.
  4. 60/40 mix: E(r) = 7.8 %; variance = 0.36 × 0.04 + 0.16 × 0.0064 + 2 × 0.6 × 0.4 × 0.0032 = 0.01696; σ = 13.0 %.
  5. A weighted average of the two standard deviations would have been 15.2 %.

Answer: Adding a small amount of the riskier stock fund to bonds lowers risk, and the 60/40 mix has two percentage points less risk than a simple average would suggest.

# Two-asset portfolios: return and risk as the weight and correlation change
import math
er1, sd1 = 0.10, 0.20     # stock fund
er2, sd2 = 0.045, 0.08    # bond fund

def port(w, rho):
    er = w * er1 + (1 - w) * er2
    var = w**2 * sd1**2 + (1 - w)**2 * sd2**2 + 2 * w * (1 - w) * rho * sd1 * sd2
    return er, math.sqrt(var)

def w_min(rho):
    cov = rho * sd1 * sd2
    return (sd2**2 - cov) / (sd1**2 + sd2**2 - 2 * cov)

for rho in (1.0, 0.5, 0.2, 0.0, -0.5, -1.0):
    w = w_min(rho)
    er, sd = port(w, rho)
    print(f"rho {rho:+.1f}: min-variance weight in stocks {w:6.3f}  E(r) {er:6.2%}  sd {sd:6.2%}")
print()
for w in (0.0, 0.2, 0.4, 0.6, 0.8, 1.0):
    er, sd = port(w, 0.2)
    print(f"w = {w:.1f}: E(r) {er:.2%}  sd {sd:.2%}")
Output
rho +1.0: min-variance weight in stocks -0.667  E(r)  0.83%  sd  0.00%
rho +0.5: min-variance weight in stocks -0.053  E(r)  4.21%  sd  7.95%
rho +0.2: min-variance weight in stocks  0.080  E(r)  4.94%  sd  7.84%
rho +0.0: min-variance weight in stocks  0.138  E(r)  5.26%  sd  7.43%
rho -0.5: min-variance weight in stocks  0.231  E(r)  5.77%  sd  5.55%
rho -1.0: min-variance weight in stocks  0.286  E(r)  6.07%  sd  0.00%

w = 0.0: E(r) 4.50%  sd 8.00%
w = 0.2: E(r) 5.60%  sd 8.20%
w = 0.4: E(r) 6.70%  sd 10.12%
w = 0.6: E(r) 7.80%  sd 13.02%
w = 0.8: E(r) 8.90%  sd 16.40%
w = 1.0: E(r) 10.00%  sd 20.00%

With a correlation of +1, the formula gives a negative weight: it shorts two-thirds of a unit of the stock fund for every unit of portfolio and puts 1.67 units in bonds, which removes all risk but leaves an expected return of only 0.83 %. Without short selling, perfectly correlated assets offer no diversification at all. At a correlation of −1, zero risk is reached with positive weights in both funds. Real assets lie in between, which is why diversification reduces risk but cannot eliminate it.

From two assets to the efficient set

The curve of two-asset portfolios has two parts. Portfolios on the upper part, above the minimum-variance point, offer the highest expected return for their level of risk and are called efficient. Portfolios on the lower part are dominated: another portfolio has the same risk and a higher return. No rational risk-averse investor would hold a dominated portfolio. With many assets, as lesson 5 shows, the same logic produces the efficient frontier, and adding a risk-free asset turns the investor's problem into choosing the single risky portfolio that gives the steepest capital allocation line.

Two practical points temper the theory. First, the inputs, expected returns, standard deviations and especially correlations, are estimated from limited and noisy data and change over time; correlations tend to rise in crises, exactly when diversification is most needed. Second, investors care about more than mean and variance, including liquidity, taxes, ethics and the fat tails described in lesson 3. Portfolio theory is a disciplined starting point, not a machine that produces the right answer.

Common mistakes

  • MistakeA risky asset always increases a portfolio's risk.

    InsteadAn asset with low or negative correlation can reduce portfolio risk even if it is volatile on its own.

  • MistakePortfolio standard deviation is the weighted average of the assets' standard deviations.

    InsteadThat holds only when the correlation is +1; otherwise it is lower.

  • MistakeMore risk-averse investors should choose a different risky portfolio.

    InsteadWith a risk-free asset, all investors hold the same risky portfolio and differ only in how much of it.

  • MistakeA correlation of 0 means the assets are unrelated, so combining them adds no benefit.

    InsteadZero correlation gives a large diversification benefit.

  • MistakeCorrelations measured in calm years will hold in a crisis.

    InsteadCorrelations often rise in crises, reducing diversification when it is most needed.

Summary and key terms

  • Utility U = E(r) − ½Aσ² captures the trade-off between return and risk for a risk-averse investor.
  • Combining a risky portfolio with a risk-free asset gives a straight capital allocation line whose slope is the Sharpe ratio.
  • The optimal risky share is y* = (E(rP) − rf) ÷ (Aσ²P).
  • Correlation, from −1 to +1, determines how much two assets diversify each other.
  • Two-asset portfolio variance includes a covariance term; unless ρ = +1, risk falls below the weighted average.
  • The minimum-variance weight has a closed-form formula.
  • Portfolios above the minimum-variance point are efficient; those below are dominated.
Risk aversion
A preference for certain outcomes over risky ones with the same expected return.
Utility score
A measure that rewards expected return and penalizes risk, U = E(r) − ½Aσ².
Certainty equivalent
The risk-free return that gives the same utility as a risky investment.
Capital allocation line
The line of portfolios combining a risky portfolio with the risk-free asset.
Sharpe ratio
Excess return divided by standard deviation; the slope of the capital allocation line.
Covariance
A measure of how two returns move together.
Correlation coefficient
Covariance scaled to lie between −1 and +1.
Minimum-variance portfolio
The combination of assets with the lowest possible standard deviation.
Efficient portfolio
A portfolio offering the highest expected return for its level of risk.
Dominated portfolio
A portfolio for which another offers higher return at the same risk.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. A = 3, E(r) = 9 %, σ = 18 %. Utility?

    Show answer

    0.09 − 0.5 × 3 × 0.0324 = 0.0414, or 4.14 %.

  2. A risky portfolio: E(r) 10 %, σ 25 %; rf 3 %. Optimal y for A = 2.5?

    Show answer

    0.07 ÷ (2.5 × 0.0625) = 0.448.

  3. In the same case, what is the Sharpe ratio?

    Show answer

    0.07 ÷ 0.25 = 0.28.

  4. σ1 = 30 %, σ2 = 15 %, ρ = 0.4. Covariance?

    Show answer

    0.4 × 0.30 × 0.15 = 0.018.

  5. Equal weights in those two assets. Portfolio σ?

    Show answer

    Var = 0.25 × 0.09 + 0.25 × 0.0225 + 2 × 0.25 × 0.018 = 0.037125; σ = 19.3 %.

  6. What is the minimum-variance weight in asset 1 for those assets?

    Show answer

    (0.0225 − 0.018) ÷ (0.09 + 0.0225 − 0.036) = 0.0588.

  7. With ρ = −1, σ1 = 20 % and σ2 = 10 %, what weights give zero risk?

    Show answer

    w1 = 10 ÷ 30 = 1/3, w2 = 2/3.

  8. Why is the lower part of the two-asset curve never chosen?

    Show answer

    Its portfolios are dominated by portfolios on the upper part with the same risk and higher return.

  9. What happened to the stock–bond correlation in 2022, and why does it matter?

    Show answer

    It turned positive as inflation hurt both, so bonds diversified shares less.

  10. Portfolio task: complete an online risk questionnaire and explain what it suggests about your own risk aversion and time horizon.

    Show answer

    Answers vary; note that questionnaires are only a starting point.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz