Mean and variance of a linear combination
A total weight, a difference between two times, a price with a fixed fee added: each is built from random parts. Know the mean and variance of each part and you know them for the whole, without listing a single outcome. One pair runs through this unit: X with mean 18 and variance 4, and Y with mean 11 and variance 9, independent of each other.
1One variable: scale it, then shift it
E(X) = 18 and Var(X) = 4. Find the mean and variance of L = 2X + 5.
- Apply the same rule to the meanE(L)=2E(X) + 5=2(18) + 5 = 41
- Square the multiplier; the 5 adds no spreadVar(L)=2²Var(X)=4 × 4 = 16
- AnswerE(L) = 41 and Var(L) = 16, so SD(L) = 4
2Two independent variables: square each multiplier
X and Y are independent, with E(X) = 18, Var(X) = 4, E(Y) = 11, Var(Y) = 9. Find the mean and variance of Z = 2X − Y + 5.
- Means: use every sign and the constantE(Z)=2E(X) − E(Y) + 5=36 − 11 + 5 = 30
- Variances: square both multipliersVar(Z)=2²Var(X) + (−1)²Var(Y)=16 + 9 = 25
- AnswerE(Z) = 30 and Var(Z) = 25, so SD(Z) = 5
3A difference still adds variance
4Try it
1 E(T) = 12 and Var(T) = 3. Find the mean and variance of 4T − 7.
2 U and V are independent; E(U) = 5, Var(U) = 2, E(V) = 3, Var(V) = 1. Find the mean and variance of 3U − 2V + 1.
3 For the same U and V, find Var(U − V).
- 1E = 4(12) − 7 = 41; Var = 4² × 3 = 48
- 2E = 15 − 6 + 1 = 10; Var = 9(2) + 4(1) = 22
- 32 + 1 = 3: the variances add
Several draws or one value copied
Weigh three bags and add the weights, or weigh one bag and write its weight down three times. Both totals have the same mean, but the first lets the bags balance each other out. Independent draws are written X₁ + X₂ + X₃; one value copied is 3X.
1Three draws against 3X: same mean, different variance
X₁, X₂, X₃ are independent, each with mean 18 and variance 4. Find E and Var of S = X₁ + X₂ + X₃.
- Each draw brings its own meanE(S)=18 + 18 + 18 = 54
- AnswerVar(S) = 4 + 4 + 4 = 12Independent draws: the variances add.
X has mean 18 and variance 4. Find E and Var of C = 3X.
- The same mean as SE(C)=3(18) = 54
- AnswerVar(C) = 3²(4) = 36All three copies move together.
2See it on the normal curves
Find P(S > 60) for S ~ N(54, 12).
- U ~ N(0, 1). Divide by the SD √12, not by 12P(S > 60)=P(U > )
- Answer= 1 − Φ(√3) ≈ 0.0416A thin tail: about 4%.
Find P(C > 60) for C ~ N(54, 36).
- 60 is only one SD above the meanP(C > 60)=P(U > )
- Answer= 1 − Φ(1) ≈ 0.159Four times as likely.
3Try it
1 W has mean 6 and variance 1.5. Find the mean and variance of W₁ + W₂ + W₃ + W₄ (independent draws).
2 Find the mean and variance of 4W.
3 W ~ N(6, 1.5). Find P(W₁ + W₂ + W₃ + W₄ > 26).
- 1mean 24, variance 4 × 1.5 = 6
- 2mean 24, variance 4² × 1.5 = 24
- 3total ~ N(24, 6): P(U > 2/√6) = 1 − Φ(0.816) ≈ 0.207
Normal combinations and tail probabilities
Add or subtract independent normal variables and the result is normal again. That means any question about a combination is one normal probability: find its mean and variance, name its distribution, then standardise.
1Mean, variance, then the table
X ~ N(18, 4) and Y ~ N(11, 9) are independent. Find P(Z > 35) for Z = 2X − Y + 5.
- Mean and varianceE(Z)=2(18) − 11 + 5 = 30Var(Z)=16 + 9 = 25
- Name the distributionZ ~ N(30, 25), SD=5
- Standardise the boundaryP(Z > 35)=P(U > )=1 − Φ(1)
- AnswerP(Z > 35) ≈ 0.159
2One multiplier across a bracket
X ~ N(18, 4), Y ~ N(11, 9) and W ~ N(7, 1) are independent. H = X − 2(Y + W). Find P(H > −15).
- Mean: weight the whole bracketE(H)=18 − 2(11 + 7) = −18
- Variance: square the −2 for Y and for WVar(H)=4 + (−2)²(9 + 1) = 44
- Name the distributionH ~ N(−18, 44)
- Standardise; −15 is 3 above the meanP(H > −15)=1 − Φ()
- AnswerP(H > −15) ≈ 0.326
3Try it
1 R ~ N(20, 9) and T ~ N(12, 16) are independent. Write down the distribution of R + T.
2 Find P(R + T < 40).
3 Find P(2R − T > 25).
- 1R + T ~ N(32, 25)
- 2Φ((40 − 32)/5) = Φ(1.6) ≈ 0.945
- 32R − T ~ N(28, 52): 1 − Φ(−3/√52) = Φ(0.416) ≈ 0.661
Which is bigger? Comparing two random values
“Is X bigger than Y?” sounds like a question about two variables. Turn it into a question about one: X > Y is the same event as X − Y > 0. The difference has its own normal distribution, so the answer is one tail area.
1Form the difference, then compare it with zero
X ~ N(18, 4) and Y ~ N(11, 9) are independent. Find P(X > Y).
- Let D = X − Y; the event is D > 0E(D)=18 − 11 = 7Var(D)=4 + 9 = 13
- Name the distributionD ~ N(7, 13)
- Standardise zeroP(D > 0)=P(U > )=Φ()
- AnswerP(X > Y) ≈ 0.974
2Totals of different sizes
X₁, X₂ ~ N(18, 4) and Y₁, Y₂, Y₃ ~ N(11, 9) are all independent. Find the probability that the two-X total is more than the three-Y total.
- Let G be the gap; the event is G > 0G=(X₁ + X₂) − (Y₁ + Y₂ + Y₃)
- Mean: two 18s, minus three 11sE(G)=36 − 33 = 3
- Variance: five variances addVar(G)=4 + 4 + 9 + 9 + 9 = 35
- Standardise zeroP(G > 0)=Φ()
- AnswerP(G > 0) ≈ 0.694
3Try it
1 R ~ N(20, 9) and T ~ N(18, 16) are independent. Find P(R > T).
2 Find P(T > R).
3 R₁, R₂ are independent copies of R, and T₁, T₂ of T. Find P(R₁ + R₂ > T₁ + T₂ + 5).
- 1R − T ~ N(2, 25): Φ(2/5) = Φ(0.4) ≈ 0.655
- 21 − 0.655 = 0.345
- 3R₁ + R₂ − T₁ − T₂ − 5 ~ N(−1, 50): Φ(−1/√50) ≈ 0.444
Adding Poisson counts
Two independent streams of events land in the same window: calls on two lines, faults on two machines. Their total count is Poisson again, with the means added. The rule is narrow, though: it holds for a plain sum, not for a copied count or a difference.
1The sum is Poisson: add the means
A ~ Po(2.4) and B ~ Po(1.6) are independent counts in one window. Find P(A + B = 3) and P(A + B < 4).
- Add the meansS=A + B ~ Po(4)
- One valueP(S=3) = e⁻⁴ 4³/3! ≈ 0.195
- “Less than 4” is 0, 1, 2 or 3P(S < 4)=e⁻⁴(1 + 4 + 4²/2! + 4³/3!)
- AnswerP(S = 3) ≈ 0.195 and P(S < 4) ≈ 0.433
2A condition on the total: weigh the pairs
Find P(A ≥ 2 | A + B = 4).
- Pairs with A ≥ 2 and a total of 4(2, 2), (3, 1), (4, 0)
- Multiply within each pair, then adde⁻⁴[(2.4²/2!)(1.6²/2!) + (2.4³/3!)(1.6) + 2.4⁴/4!]=8.7552e⁻⁴
- Divide by P(S = 4)P(S=4) = e⁻⁴4⁴/4! = (32/3)e⁻⁴8.7552 ÷ (32/3)
- AnswerP(A ≥ 2 | S = 4) = 0.8208
3Copies and differences are not Poisson
4Try it
1 C ~ Po(1.5) and D ~ Po(2.5) are independent. Find P(C + D = 2).
2 Find P(C + D ≤ 1).
3 Find P(C = 0 | C + D = 2).
4 Is 3C + D a Poisson variable? Give a reason.
- 1C + D ~ Po(4): e⁻⁴4²/2! ≈ 0.147
- 2e⁻⁴(1 + 4) ≈ 0.0916
- 3P(C = 0)P(D = 2)/P(C + D = 2) = (2.5/4)² ≈ 0.391
- 4no: mean 7 but variance 9(1.5) + 2.5 = 16
Working backwards to a missing value
Every rule on these pages can run in reverse. Know the answer, a mean, a variance or a probability, and you can recover the multiplier, scale or rate that produced it. Watch the variance: it squares, so it hides the sign.
1A multiplier from the variance: keep both signs
X and Y are independent, E(X) = 18, Var(X) = 4, E(Y) = 11, Var(Y) = 9. For Z = aX − Y + b, E(Z) = 30 and Var(Z) = 25. Find all possible a and b, then the pair with a > 0.
- Variance: b drops out4a² + 9=25a²=4, so a = 2 or a = −2
- Mean, with each signed a18a − 11 + b=30b=41 − 18a
- Pair them upa=2: b = 5a=−2: b = 77
- Answera = 2, b = 5 (the condition a > 0 rules out a = −2, b = 77)
2A scale from a normal probability
X ~ N(18, 4) and Y ~ N(11, 9) are independent. K = c(X + 2Y) with c > 0, and P(K < 38) = 0.30. Find c to 3 significant figures.
- Mean and variance in terms of cE(K)=c(18 + 22) = 40cVar(K)=c²(4 + 36) = 40c²
- c > 0, so SD = c√40K ~ N(40c, 40c²)
- Table: Φ(z) = 0.30z ≈ −0.5244
- Standardise 38 and solve
- Answerc ≈ 1.04
3A rate from a Poisson probability
A ~ Po(2.4) and B ~ Po(λ) are independent, λ > 0, and S = A + B. P(S = 0) = P(A = 0)/5. Find λ, then P(S = 1).
- Zero counts
- Cancel e⁻²·⁴ and take logs≈ 1.61
- Use the total, S ~ Po(2.4 + ln 5)P(S=1) =
- Answerλ = ln 5 ≈ 1.61 and P(S = 1) ≈ 0.0727
4Try it
1 U has mean 5 and variance 2. aU + b has mean 13 and variance 18, with a > 0. Find a and b.
2 R ~ N(20, 9) and K = cR with c > 0. P(K < 50) = 0.9. Find c to 3 significant figures.
3 C ~ Po(1.5) and D ~ Po(μ) are independent, and P(C + D = 0) = e⁻⁴. Find μ.
- 12a² = 18, so a = 3; 3(5) + b = 13, so b = −2
- 2K ~ N(20c, 9c²); Φ(z) = 0.9 gives z ≈ 1.282; 50 = 20c + 1.282(3c), so c ≈ 2.10
- 31.5 + μ = 4, so μ = 2.5