FRM Exam Part I · Multivariate Random Variables
Moments of Sums and Linear Combinations of Random Variables
Updated 11 October 2026 · Fact-checked
The mean of a weighted sum is the weighted sum of the means, always. The variance also needs covariance: Var(aX + bY) = a²σX² + b²σY² + 2abρσXσY. For a two-asset portfolio, replace a and b with weights. Compute the mean first, then the variance, then take the square root for volatility.
Understand Moments of Sums and Linear Combinations of Variables
A portfolio return is a weighted sum of asset returns. To describe it, you need its mean and its variance. Both come from the moments of the individual assets and how they move together.
The mean is easy. Expectation is linear, so E(aX + bY) = aE(X) + bE(Y). This holds whether or not X and Y are independent or correlated. No extra input is needed.
The variance is different. Spread in the sum depends on how the variables move together. If X and Y tend to rise together, the extremes add up and the variance grows. If they move in opposite directions, they offset and the variance shrinks. The covariance term measures this. It is counted twice because the cross term appears twice when you expand the square.
This is the source of diversification. With correlation below 1, the portfolio volatility is lower than the weighted average of the individual volatilities. At correlation 1 there is no benefit. At correlation −1 with the right weights, the risk can be removed entirely.
Extending to many assets gives the matrix form: portfolio variance = wᵀΣw, where Σ is the covariance matrix. The FRM mostly tests two or three variables, so you must be fast with the two-variable case.
Key formulas to remember
- Mean of a linear combination
- E(aX + bY + c) = aE(X) + bE(Y) + c
- Always true. No independence needed.
- Variance of a weighted sum
- Var(aX + bY) = a²σX² + b²σY² + 2ab·Cov(X, Y)
- A constant added to the sum does not change the variance.
- Covariance and correlation link
- Cov(X, Y) = ρ·σX·σY
- Correlation is covariance scaled to lie between −1 and +1.
- Two-asset portfolio variance
- σp² = w1²σ1² + w2²σ2² + 2w1w2ρσ1σ2
- Weights are the portfolio weights. Volatility is σp = √σp².
- Variance of a difference
- Var(X − Y) = σX² + σY² − 2Cov(X, Y)
- The sign of the covariance term flips.
- Independent or uncorrelated case
- Var(aX + bY) = a²σX² + b²σY²
- Valid when Cov(X, Y) = 0. Independence implies zero covariance, but not the reverse.
- Matrix form
- σp² = wᵀΣw
- Σ is the covariance matrix. Diagonal entries are variances.
How to solve Moments of Sums and Linear Combinations of Variables questions
Use this order for any question on sums or weighted combinations.
- 1Write the combination, for example Z = aX + bY, and identify the weights a and b, including any negative sign.
- 2Compute the mean: aE(X) + bE(Y).
- 3Check whether the question gives variance, standard deviation, covariance or correlation. Convert everything to variances and covariance.
- 4If correlation is given, find Cov = ρσXσY.
- 5Apply Var = a²σX² + b²σY² + 2ab·Cov, keeping the sign of ab.
- 6Take the square root if the question asks for standard deviation or volatility.
- 7Sanity check: the result should lie between the values at ρ = −1 and ρ = +1.
Quickest way: Standard deviation shortcut with weighted volatilities
When to use it: Use when the question gives volatilities and a correlation and asks for portfolio volatility.
- Compute the weighted volatilities A = w1σ1 and B = w2σ2.
- Then σp² = A² + B² + 2ρAB.
- Take the square root.
- Check the answer lies between |A − B| and A + B. If not, you made an error.
Common mistakes in Moments of Sums and Linear Combinations of Variables
Adding standard deviations to get portfolio risk.
Means add, so students assume volatility adds too.
Fix: Add variances plus the covariance term. Adding σ's works only when ρ = 1 and weights are positive.
Leaving out the factor 2 on the covariance term.
Students forget the cross term appears twice in the expansion.
Fix: Always write 2ab·Cov(X, Y) or 2w1w2ρσ1σ2.
Forgetting to square the weights or constants.
Mean scales by a, but variance scales by a².
Fix: Write a² and b² explicitly. Var(3X) = 9Var(X).
Using a plus sign for Var(X − Y).
Students remember the sum formula only.
Fix: Treat the combination as 1·X + (−1)·Y, so the cross term is 2(1)(−1)Cov = −2Cov.
Entering volatility where variance is needed, or reporting variance as volatility.
Questions switch between σ and σ² without warning.
Fix: Label each input and the final answer, and square root only at the end.
Assuming zero covariance means independence.
Both give no covariance term in the variance formula.
Fix: Zero covariance is enough for the variance formula. Independence is a stronger statement.
Worked examples
Example 1
Asset A has expected return 8% and volatility 20%. Asset B has expected return 12% and volatility 30%. The correlation is 0.25. A portfolio holds 60% in A and 40% in B. Find the expected return and volatility of the portfolio.
Show the solution
- Mean: 0.6 × 8% + 0.4 × 12% = 4.8% + 4.8% = 9.6%.
- Weighted volatilities: A = 0.6 × 20% = 12%, B = 0.4 × 30% = 12%.
- Variance: 12² + 12² + 2 × 0.25 × 12 × 12 = 144 + 144 + 72 = 360 (in %²).
- Volatility = √360 = 18.97%.
Answer: Expected return 9.6%, volatility about 18.97%.
Example 2
X and Y have variances 16 and 9 and covariance 6. Find Var(2X − 3Y).
Show the solution
- Weights are a = 2 and b = −3.
- a²σX² = 4 × 16 = 64.
- b²σY² = 9 × 9 = 81.
- Cross term: 2ab·Cov = 2 × 2 × (−3) × 6 = −72.
- Total: 64 + 81 − 72 = 73.
Answer: Var(2X − 3Y) = 73.
Exam tips
- Read whether the question gives variance or standard deviation. This is where most marks are lost.
- Use the weighted volatility shortcut and the range check to catch arithmetic slips quickly.
- Expect negative weights, such as a long-short position or a difference of two variables. Keep the sign of ab.
- Questions may ask for the correlation that minimizes or eliminates risk. Set ρ = −1 and solve for weights, or use the extreme values to bound the answer.
- A calculator with a square root and memory is enough. Do not waste time on matrices unless three assets are given.
Practice questions from Multivariate Random Variables
- A risk analyst uses the law of iterated expectations. Y has conditional mean E[Y|X=0]=4 and E[Y|X=1]=10, with P(X=1)=0.25. Also, Var(Y|X=0)=…
- X and Y have means of 5 and 8, standard deviations of 2 and 3, and covariance 1.5. What is Cov(3X + 2, 4Y - 1)?
- The joint probability mass function of discrete random variables X (values 0, 1) and Y (values 0, 1, 2) is: P(0,0)=0.10, P(0,1)=0.20, P(0,2)…
- Random variables X and Y have the joint distribution P(X=0,Y=0)=0.12, P(0,1)=0.28, P(1,0)=0.18, P(1,1)=0.42. Which statement is correct?
- A risk analyst models returns on a portfolio of two assets, each with standard deviation 5%, as bivariate normal with correlation 0.30. The …
Moments of Sums and Linear Combinations of Variables in other exams
The same ground in other exams, if you are preparing for more than one or want another angle on it.
Moments of Sums and Linear Combinations of Variables: frequently asked questions
What is the variance of the sum of two random variables?
Var(X + Y) = Var(X) + Var(Y) + 2Cov(X, Y). If the variables are uncorrelated, the covariance term is zero and the variances simply add.
Do I need independence to find the mean of a sum?
No. The expected value of a sum is the sum of the expected values for any random variables. Independence matters only for simplifying the variance, and then only uncorrelatedness is actually needed.
How do I calculate two-asset portfolio variance in the FRM?
Use w1²σ1² + w2²σ2² + 2w1w2ρσ1σ2. Take the square root to get portfolio volatility. Check that the weights are in decimals and sum to one if the portfolio is fully invested.
Why is portfolio volatility lower than the weighted average of volatilities?
When correlation is below 1, the assets do not move perfectly together, so some of their movements offset. This is diversification. At ρ = 1, portfolio volatility equals the weighted average.