Capital Market Theory - CAPM and the Efficient Frontier › The Risk-Free Asset and Portfolio Combinations
Quantitative FinanceAll chapters Capital Market Theory - CAPM and the Efficient Frontier › The Risk-Free Asset and Portfolio CombinationsOne section · Sections in this chapter3 / 14 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
The introduction of a risk-free asset fundamentally changes the efficient frontier we developed in the previous chapter. Recall that without a risk-free asset, the efficient frontier is a curved hyperbola in mean-standard deviation space. When investors can borrow or lend at the risk-free rate, new portfolio possibilities emerge that dramatically simplify your decision problem.
A risk-free asset provides a guaranteed return with zero variance. In practice, short-term government securities (like U.S. Treasury bills) approximate the risk-free asset, though even these carry some inflation risk and reinvestment risk.
To understand why the risk-free asset matters so much, consider the fundamental question facing every investor: how should you allocate between safe and risky investments? Before CAPM, this question seemed hopelessly complex because different risky portfolios offered different risk-return tradeoffs. The risk-free asset provides a universal anchor for constructing these allocations.
Consider combining a risk-free asset with return and a risky portfolio with expected return and standard deviation . If we invest a fraction in the risky portfolio and in the risk-free asset, we can derive the portfolio's characteristics by applying the basic rules of portfolio mathematics. The expected return calculation follows from the linearity of expectations. Since we earn on the safe portion and on the risky portion, the combined expected return is simply the weighted average:
where:
- : expected return of the combined portfolio
- : weight invested in the risky portfolio
- : return on the risk-free asset
- : expected return of the risky portfolio
The rearranged form reveals an important insight: the expected return equals the risk-free rate plus a premium that scales with your allocation to the risky portfolio. This premium, , represents the reward for taking on risk, and you earn more of it as you increase your risky allocation.
The variance calculation is where the magic happens. Normally, portfolio variance depends on the variances of both components plus their covariance. But the risk-free asset, by definition, has zero variance and zero covariance with any other asset. This special property leads to a remarkable simplification:
where:
- : standard deviation of the combined portfolio
- : weight invested in the risky portfolio
- : standard deviation of the risky portfolio
- : standard deviation of the risk-free asset (zero)
This result has practical implications. The standard deviation of the combined portfolio is simply the weight in the risky portfolio times the risky portfolio's standard deviation. There are no squared terms or covariance adjustments to worry about. Risk scales linearly with your allocation to risky assets.
Notice that both expected return and standard deviation are linear in . This means combinations of the risk-free asset and any risky portfolio trace out a straight line in mean-standard deviation space. This linearity is the key geometric insight that underlies all of CAPM. In contrast, combinations of two risky assets typically trace out curved paths because their covariance introduces nonlinearity into the portfolio variance formula.
When , we hold only the risk-free asset and earn with zero risk. When , we hold only the risky portfolio. When , we borrow at the risk-free rate to leverage our position in the risky portfolio. Leveraging amplifies both expected returns and risk proportionally, which is why the straight line extends beyond the risky portfolio's position.
To express the risk-return relationship directly, we substitute from the risk equation into the return equation. This substitution eliminates and gives us expected return as a function of risk:
Rearranging terms gives the Capital Allocation Line (CAL):
where:
- : expected return of the combined portfolio
- : risk-free rate (intercept)
- : Sharpe ratio (slope)
- : standard deviation of the combined portfolio
This is the equation of a line with intercept and slope . The slope represents the risk premium per unit of risk, a concept we'll formalize shortly. This slope measures how much additional expected return you receive for each additional unit of risk you accept. A higher slope means a better risk-return tradeoff, which is exactly what you seek.
import numpy as np
# Define risk-free rate and a risky portfolio
rf = 0.03 # 3% risk-free rate
portfolio_return = 0.10 # 10% expected return
portfolio_std = 0.15 # 15% standard deviation
# Generate combinations with different weights
weights = np.linspace(0.0, 2.0, 100) # From 100% risk-free to 2x leverage
combined_returns = rf + weights * (portfolio_return - rf)
combined_stds = weights * portfolio_stdWe can visualize the risk-return trade-off by plotting the Capital Allocation Line.

The figure illustrates how the Capital Allocation Line (CAL) extends from the risk-free rate through the risky portfolio and beyond. Investors with low risk tolerance choose portfolios close to the risk-free asset (lending portfolios), while aggressive investors leverage their positions by borrowing at the risk-free rate. The key insight is that the CAL represents all achievable combinations using a particular risky portfolio. Your optimal point on this line depends on your personal risk preferences, but everyone faces the same menu of options defined by this straight line.