All subjects · Mathematics · WST03 Statistics 3

Linear combinations of random variables

Edexcel IAL Mathematics · WST03 Statistics 3

S3 opens by combining random variables. You already know E(aX + b) and Var(aX + b) from S1; now two or more independent variables are added or subtracted, and the key result is that a linear combination of independent normal variables is itself normal.

Practise this in the app: instant marking and a fix for every mistake. Free, no email needed to start.

Practise this lesson

Expectation

For any random variables X and Y and constants a and b:

E(aX ± bY) = aE(X) ± bE(Y).

This holds whether or not X and Y are independent. For independent X and Y the formulae booklet also gives E(XY) = E(X)E(Y).

Variance: variances always add

If X and Y are independent:

Var(aX ± bY) = a2 Var(X) + b2 Var(Y).

Notice the plus sign even for a difference: subtracting a random quantity adds uncertainty, it never removes it. The constants are squared, so Var(3X) = 9Var(X). Standard deviations do not add; always combine variances and square-root at the end.

Combinations of normal variables

If X ~ N(μx, σx2) and Y ~ N(μy, σy2) are independent then

aX ± bY ~ N(aμx ± bμy, a2σx2 + b2σy2).

The same applies to any number of independent normal variables. No proof is required: you use the result, then standardise with Z = (value - mean)/sd as in S1.

CombinationMeanVariance
X + Yμx + μyσx2 + σy2
X - Yμx - μyσx2 + σy2
3X - 2Y3μx - 2μy9σx2 + 4σy2

Worked example

X ~ N(30, 22) and Y ~ N(20, 32) are independent. Find P(X + Y > 55).

  1. X + Y ~ N(30 + 20, 4 + 9) = N(50, 13).
  2. z = (55 - 50)/sqrt(13) = 1.3868
  3. P(Z > 1.39) = 1 - 0.9177

Answer: P(X + Y > 55) = 0.0823 (tables) or 0.0828 (calculator)

Key idea: Means combine with the same signs as the variables; variances of independent variables always add, with the constants squared. Normal in, normal out.

Check yourself

  1. X ~ N(30, 22) and Y ~ N(20, 32) are independent. Find E(3X - 2Y).
    Show answer

    50. 3 × 30 - 2 × 20 = 50.

  2. X ~ N(30, 22) and Y ~ N(20, 32) are independent. Find Var(3X - 2Y).
    Show answer

    72. 32 × 4 + 22 × 9 = 36 + 36 = 72.

  3. X and Y are independent with Var(X) = 4 and Var(Y) = 9. What is Var(X - Y)?
    • 13
    • -5
    • 5
    • sqrt(13)
    Show answer

    13. Variances of independent variables add, even for a difference: 4 + 9 = 13.

  4. X ~ N(30, 22) and Y ~ N(20, 32) are independent. Find P(X + Y > 55). Give your answer to 4 decimal places.
    Show answer

    0.0828. X + Y ~ N(50, 13); z = 5/sqrt(13) = 1.3868; P = 0.0823 from tables (0.0828 by calculator).

  5. X ~ N(30, 22) and Y ~ N(20, 32) are independent. Find P(X - Y < 8). Give your answer to 4 decimal places.
    Show answer

    0.2895. X - Y ~ N(10, 13); z = -2/sqrt(13) = -0.5547; P = 0.2912 from tables.

  6. X and Y are independent with standard deviations 4 and 3. Find the standard deviation of X + Y.
    Show answer

    5. Var = 16 + 9 = 25, so the standard deviation is 5. Standard deviations themselves do not add (4 + 3 = 7 is wrong).

  7. X and Y are independent with E(X) = 30 and E(Y) = 20. Find E(XY).
    Show answer

    600. For independent variables E(XY) = E(X)E(Y) = 600.

  8. Why must X and Y be independent to use Var(X + Y) = Var(X) + Var(Y)?
    • If they are related, the way they vary together changes the variance of the sum
    • Otherwise E(X + Y) would not equal E(X) + E(Y)
    • Only independent variables can be normally distributed
    • Independence makes the two variances equal
    Show answer

    If they are related, the way they vary together changes the variance of the sum. Dependent variables can move together (making the sum more variable) or against each other (less variable), so the simple rule fails.

Practise with instant feedback

Sources

Last updated 8 November 2026. Spotted a mistake? Tell us.