Note AcademyNote Academy

Mathematics (AS & A Level) 9709 · Chapter 29

Linear combinations of random variables

Paper 6. The expectation and variance of aX + b and aX + bY, and how normal and Poisson variables combine, including the difference between X1 + X2 and 2X.

Written for the 2026–2027 syllabus · 4 min read

6.2 Linear combinations of random variables

One variable

Adding a constant moves the distribution but does not spread it. Multiplying by a constant does both.

E(3X−2)=13\mathrm{E}(3X - 2) = 13 and Var(3X−2)=9×4=36\mathrm{Var}(3X - 2) = 9 \times 4 = 36.

The constant −2-2 makes no difference to the variance. A standard deviation scales by ∣a∣\lvert a\rvert, which makes the standard deviation here 3×2=63 \times 2 = 6.

Two variables

Variances add even for a difference, because squaring b=−1b = -1 gives +1+1:

Var(X−Y)=Var(X)+Var(Y)\mathrm{Var}(X - Y) = \mathrm{Var}(X) + \mathrm{Var}(Y)

A difference between two uncertain quantities has more uncertainty than either one, not less.

Combining normal variables

Let D=Y−2XD = Y - 2X. Then

E(D)=25−20=5Var(D)=9+4×4=25\mathrm{E}(D) = 25 - 20 = 5 \qquad \mathrm{Var}(D) = 9 + 4 \times 4 = 25

So D∼N(5,25)D \sim \mathrm{N}(5, 25), and

P(D>0)=P(Z>0−55)=P(Z>−1)=0.8413\mathrm{P}(D > 0) = \mathrm{P}\left(Z > \frac{0 - 5}{5}\right) = \mathrm{P}(Z > -1) = 0.8413

X1+X2X_1 + X_2 and 2X2X

These look the same but are not.

ExpressionMeansMeanVariance
X1+X2X_1 + X_2Two separate values added2μ2\mu2σ22\sigma^2
2X2XOne value, doubled2μ2\mu4σ24\sigma^2

Four different apples means X1+X2+X3+X4X_1 + X_2 + X_3 + X_4, so the mean is 4×150+200=8004 \times 150 + 200 = 800 and the variance is 4×100=4004 \times 100 = 400. The box's fixed mass adds nothing to the variance.

P(T>850)=P(Z>850−80020)=1−Φ(2.5)=0.0062\mathrm{P}(T > 850) = \mathrm{P}\left(Z > \frac{850 - 800}{20}\right) = 1 - \Phi(2.5) = 0.0062

D=Y−2XD = Y - 2X has mean 320−300=20320 - 300 = 20 and variance 400+4×100=800400 + 4 \times 100 = 800.

P(D>0)=P(Z>−20800)=Φ(0.707)=0.760\mathrm{P}(D > 0) = \mathrm{P}\left(Z > \frac{-20}{\sqrt{800}}\right) = \Phi(0.707) = 0.760

Combining Poisson variables

X+Y∼Po(5)X + Y \sim \mathrm{Po}(5), so

P(2)=e−5522!=0.0842\mathrm{P}(2) = \mathrm{e}^{-5}\frac{5^2}{2!} = 0.0842

Which results need independence

ResultNeeds independence?
E(aX+bY)=aE(X)+bE(Y)\mathrm{E}(aX + bY) = a\mathrm{E}(X) + b\mathrm{E}(Y)No
Var(aX+bY)=a2Var(X)+b2Var(Y)\mathrm{Var}(aX + bY) = a^2\mathrm{Var}(X) + b^2\mathrm{Var}(Y)Yes
Normal stays normal under aX+bYaX + bYYes
Poisson stays Poisson under X+YX + YYes
Test yourself12 flashcards on this chapter.Flashcards →