Sub topic 17
Two-Asset Portfolio Expected Return and Risk
This chapter assumes you can compute expected value, variance and standard deviation for a discrete distribution. It also assumes you know what covariance and correlation measure. Here you apply those tools to a portfolio of two assets.
Why a portfolio is not just an average
A portfolio's expected return is the weighted average of the asset expected returns. Its risk is not the weighted average of the asset risks. Risk depends on how the two assets move together, and that effect is the basis of diversification.
The chapter has three parts:
- A formula for expected return.
- A formula for variance and standard deviation.
- A look at how correlation changes the answer.
Expected return of the portfolio
Let w1 and w2 be the portfolio weights, with w1 + w2 = 1. Let E(R1) and E(R2) be the expected returns. Then:
E(Rp) = w1 × E(R1) + w2 × E(R2)
Expectation is linear, so this holds whatever the correlation is. Correlation does not affect expected return.
With 60% in asset 1 (expected return 10%) and 40% in asset 2 (expected return 6%):
E(Rp) = 0.6 × 0.10 + 0.4 × 0.06 = 0.084, or 8.4%.
Variance and standard deviation of the portfolio
For two assets, the portfolio variance is:
Var(Rp) = w1² σ1² + w2² σ2² + 2 w1 w2 Cov(R1, R2)
Covariance is related to correlation by Cov(R1, R2) = ρ12 × σ1 × σ2. Substituting gives the form most exam questions use:
Var(Rp) = w1² σ1² + w2² σ2² + 2 w1 w2 ρ12 σ1 σ2
The standard deviation is the square root of the variance. The last term is the covariance term. It is positive when the assets tend to move together, and negative when they tend to move in opposite directions.
Worked example
Asset 1 has σ1 = 20%, asset 2 has σ2 = 10%, ρ = 0.3, and the weights are 60% and 40%.
- Asset 1 term: (0.6 × 0.20)² = 0.0144
- Asset 2 term: (0.4 × 0.10)² = 0.0016
- Covariance term: 2 × 0.6 × 0.4 × 0.3 × 0.20 × 0.10 = 0.00288
- Variance: 0.0144 + 0.0016 + 0.00288 = 0.01888
- Standard deviation: √0.01888 ≈ 0.1374, or 13.74%
The weighted average of the two standard deviations is 0.6 × 20% + 0.4 × 10% = 16%. The portfolio's 13.74% is lower. The difference is the diversification benefit.
w1, w2 = 0.6, 0.4
mean1, mean2 = 0.10, 0.06
sd1, sd2 = 0.20, 0.10
rho = 0.3
portfolio_mean = w1 * mean1 + w2 * mean2
portfolio_variance = (w1 * sd1) ** 2 + (w2 * sd2) ** 2 + 2 * w1 * w2 * rho * sd1 * sd2
portfolio_sd = portfolio_variance ** 0.5
print(round(portfolio_mean, 4)) # 0.084
print(round(portfolio_variance, 5)) # 0.01888
print(round(portfolio_sd, 4)) # 0.1374How correlation changes risk
Hold the weights and standard deviations fixed and change only ρ. The code below recomputes the portfolio standard deviation for several correlations.
w1, w2 = 0.6, 0.4
sd1, sd2 = 0.20, 0.10
def portfolio_sd(rho):
variance = (w1 * sd1) ** 2 + (w2 * sd2) ** 2 + 2 * w1 * w2 * rho * sd1 * sd2
return variance ** 0.5
for rho in [-1.0, -0.5, 0.0, 0.3, 0.5, 1.0]:
print(f"rho = {rho:+.1f} portfolio sd = {portfolio_sd(rho):.4f}")The output is:
rho = -1.0 portfolio sd = 0.0800
rho = -0.5 portfolio sd = 0.1058
rho = +0.0 portfolio sd = 0.1265
rho = +0.3 portfolio sd = 0.1374
rho = +0.5 portfolio sd = 0.1442
rho = +1.0 portfolio sd = 0.1600Four cases are worth remembering:
| Correlation | Effect on the covariance term | Diversification benefit |
|---|---|---|
| ρ = +1 | Largest positive value | None. Portfolio SD equals the weighted average of the SDs |
| 0 < ρ < 1 | Positive but smaller | Some |
| ρ = 0 | Zero | The covariance term drops out |
| ρ = −1 | Largest negative value | Greatest. Risk can fall to zero with the right weights |
For ρ = +1 the variance formula collapses to a perfect square:
Var(Rp) = (w1 σ1 + w2 σ2)²
So σp = w1 σ1 + w2 σ2. This is the only case where the weighted average of standard deviations is correct.
For ρ = −1 the formula becomes Var(Rp) = (w1 σ1 − w2 σ2)². The portfolio risk is zero when w1 σ1 = w2 σ2. In the example, that happens at w1 = σ2 / (σ1 + σ2) = 0.10 / 0.30 = 1/3. At those weights, 1/3 × 20% = 2/3 × 10%.
Using covariance directly
Some questions give covariance instead of correlation. Use it in the same formula. You do not need ρ if you have Cov(R1, R2):
Var(Rp) = w1² σ1² + w2² σ2² + 2 w1 w2 Cov(R1, R2)
In the example, Cov = 0.3 × 0.20 × 0.10 = 0.006. Then 2 × 0.6 × 0.4 × 0.006 = 0.00288, which matches the covariance term above.
If a question gives variances rather than standard deviations, do not square them again. A common slip is to square a number that is already a variance.
Common errors
- Averaging standard deviations. Combine variances and covariance, then take the square root at the end.
- Mixing percent and decimal. Compute in decimals. A variance of 0.01888 is 188.8 in percent-squared units, which is easy to misread.
- Forgetting the factor 2. The covariance term appears twice in the full expansion, once for each ordering of the assets.
- Weights that do not sum to 1. Check this first. Short positions are an exception, because a weight can be negative. The formula still works as written.
- Assuming correlation changes expected return. It does not. Only risk changes.
Putting it together
For any exam question on two assets, work in this order:
- Write down the weights and check that they sum to 1.
- Compute the expected return as the weighted average.
- Get the covariance, either given or from ρ × σ1 × σ2.
- Compute the variance with the three-term formula.
- Take the square root to get the standard deviation.
- Compare the result with the weighted average of the SDs to see the diversification benefit.
Exercise
Asset A has expected return 8% and standard deviation 12%. Asset B has expected return 12% and standard deviation 20%. The portfolio holds 70% A and 30% B, and the correlation is 0.5. Find the portfolio expected return and standard deviation.
Show answer
Expected return = 0.7 × 8% + 0.3 × 12% = 9.2%. Variance = (0.7 × 0.12)² + (0.3 × 0.20)² + 2 × 0.7 × 0.3 × 0.5 × 0.12 × 0.20 = 0.007056 + 0.0036 + 0.00504 = 0.015696. Standard deviation = √0.015696 ≈ 0.1253, or 12.53%.
Exercise
Two assets have standard deviations of 12% and 20%, and their covariance is 0.0048. What is the correlation?
Show answer
Correlation = Cov / (σ1 × σ2) = 0.0048 / (0.12 × 0.20) = 0.0048 / 0.024 = 0.20.
Exercise
Two assets have a correlation of −1, with standard deviations of 20% and 10%. What weight in the 20% asset makes the portfolio risk-free, and what is the portfolio standard deviation at that weight?
Show answer
Set w1 σ1 = w2 σ2, which gives w1 = σ2 / (σ1 + σ2) = 0.10 / 0.30 = 1/3. The weight in the 10% asset is 2/3. The standard deviation is |1/3 × 20% − 2/3 × 10%| = 0.