Cambridge International AS & A Level · Topic 6.2
A-Level Maths 9709 / Topic 6.2 / AS & A Level

Means add, variances add too.

Paper 6. Total weights, differences in times, a scaled measurement: whenever random quantities are combined, the mean follows the obvious rule, the variance follows a less obvious one, and normal and Poisson shapes survive the combination.

The key idea

\(\text{E}(aX + bY) = a\text{E}(X) + b\text{E}(Y)\) always. For independent \(X\) and \(Y\), \(\text{Var}(aX + bY) = a^{2}\text{Var}(X) + b^{2}\text{Var}(Y)\), so variances ADD even for a difference. Constants shift the mean but not the variance. Combinations of independent normals are normal; sums of independent Poissons are Poisson.

-8-30271217 0.3446 A − B (minutes) A − B ~ N(2, 25) mean 25 − 23 = 2 variance 9 + 16 = 25
Fig. 1: Ann's time A ~ N(25, 9) and Ben's time B ~ N(23, 16). The difference A − B ~ N(2, 25); the shaded area P(A − B < 0) = 0.3446 is the probability that Ann is faster
Section 01

Scaling one variable: aX + b.

Multiplying by \(a\) stretches the spread by \(|a|\), so the variance is multiplied by \(a^{2}\). Adding \(b\) slides the whole distribution along without changing its spread.

QuantityRule
\(\text{E}(aX + b)\)\(a\text{E}(X) + b\)
\(\text{Var}(aX + b)\)\(a^{2}\text{Var}(X)\)
If \(X \sim N(\mu, \sigma^{2})\)\(aX + b \sim N(a\mu + b,\ a^{2}\sigma^{2})\)
Worked example Mean and variance of a transformed variable
\(\text{E}(X) = 12\) and \(\text{Var}(X) = 4\). Find the mean and variance of \(Y = 3X - 5\).
  1. \(\text{E}(Y) = 3 \times 12 - 5 = 31\).
  2. \(\text{Var}(Y) = 3^{2} \times 4 = 36\). The \(-5\) has no effect on the spread.
Answer: \(\text{E}(Y) = 31\), \(\text{Var}(Y) = 36\)
Worked example Changing units
The noon temperature \(C\) in degrees Celsius satisfies \(C \sim N(20, 9)\). Find the distribution of the temperature in Fahrenheit, \(F = 1.8C + 32\).
  1. \(F\) is a linear function of a normal variable, so it is normal.
  2. Mean: \(1.8 \times 20 + 32 = 68\).
  3. Variance: \(1.8^{2} \times 9 = 3.24 \times 9 = 29.16\).
Answer: \(F \sim N(68, 29.16)\)
Examiner trap

\(\text{Var}(3X - 5)\) is not \(3 \times 4 - 5\), and not \(3 \times 4\). The factor is squared and the constant disappears: \(9 \times 4 = 36\).

Section 02

Sums and differences: variances add.

For independent \(X\) and \(Y\), \(\text{Var}(X - Y) = \text{Var}(X) + \text{Var}(Y)\): taking away an uncertain amount adds uncertainty. Also be clear about the difference between doubling one value and adding two separate values.

Worked example A total of several items
Apples have masses \(A \sim N(150, 20^{2})\) grams and empty boxes have masses \(B \sim N(500, 30^{2})\) grams, all independent. A box holds 6 apples. Find the probability that a full box has mass more than 1450 g.
  1. Total \(T = A_1 + \cdots + A_6 + B\), which is normal.
  2. \(\text{E}(T) = 6 \times 150 + 500 = 1400\).
  3. \(\text{Var}(T) = 6 \times 400 + 900 = 3300\) (six separate apples, so \(6\sigma^{2}\), not \(36\sigma^{2}\)).
  4. \(z = \dfrac{1450 - 1400}{\sqrt{3300}} = 0.870\), so \(\text{P}(T > 1450) = 1 - 0.8079 = 0.1921\).
Answer: \(0.192\) (3 s.f.)
Worked example Who is faster?
Ann's time to run a course is \(A \sim N(25, 9)\) minutes and Ben's is \(B \sim N(23, 16)\) minutes, independently. Find the probability that Ann is faster than Ben.
  1. Ann is faster when \(A < B\), that is \(A - B < 0\).
  2. \(A - B \sim N(25 - 23,\ 9 + 16) = N(2, 25)\).
  3. \(z = \dfrac{0 - 2}{5} = -0.4\).
  4. \(\text{P}(A - B < 0) = \Phi(-0.4) = 1 - 0.6554 = 0.3446\) (Fig. 1).
Answer: \(0.345\) (3 s.f.)
Worked example Three of one against two of another
\(X \sim N(20, 4)\) and \(Y \sim N(28, 9)\) independently. Find the probability that the sum of three independent values of \(X\) is greater than twice a single value of \(Y\).
  1. Let \(D = X_1 + X_2 + X_3 - 2Y\). We need \(\text{P}(D > 0)\).
  2. \(\text{E}(D) = 3 \times 20 - 2 \times 28 = 4\).
  3. \(\text{Var}(D) = 3 \times 4 + 2^{2} \times 9 = 12 + 36 = 48\).
  4. \(z = \dfrac{0 - 4}{\sqrt{48}} = -0.577\), so \(\text{P}(D > 0) = \Phi(0.577) = 0.7180\).
Answer: \(0.718\) (3 s.f.)
Your turn
\(X \sim N(10, 4)\). Find \(\text{P}(X_1 + X_2 > 23)\) for two independent values, and say why this differs from \(\text{P}(2X > 23)\).
Examiner trap

The commonest Paper 6 error: \(\text{Var}(A - B) = 9 - 16\). A variance can never be negative; for independent variables they always add.

Stage 1 · Learn

Check your understanding

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

\(\text{E}(X) = 5\). Find \(\text{E}(3X + 2)\).

Quick check+10 XP

\(\text{Var}(X) = 4\). Find \(\text{Var}(3X + 2)\).

Quick check+10 XP

\(X\) and \(Y\) are independent. Which is \(\text{Var}(X - Y)\)?

Quick check+10 XP

\(X \sim \text{Po}(2)\) and \(Y \sim \text{Po}(3)\) are independent. Which of these has a Poisson distribution?

Section 03

Sums of Poisson variables.

If \(X \sim \text{Po}(\lambda)\) and \(Y \sim \text{Po}(\mu)\) are independent, then \(X + Y \sim \text{Po}(\lambda + \mu)\). This only works for sums of the raw counts: \(2X\) and \(X - Y\) are not Poisson.

Worked example Combining two sources
Emails from colleagues arrive at random at a mean rate of 2 per hour, and independently emails from customers arrive at a mean rate of 3.5 per hour. Find the probability that exactly 4 emails arrive in an hour.
  1. Total \(T \sim \text{Po}(2 + 3.5) = \text{Po}(5.5)\).
  2. \(\text{P}(T = 4) = e^{-5.5}\dfrac{5.5^{4}}{24}\).
  3. \(= 0.004\,087 \times 38.13 = 0.1558\).
Answer: \(0.156\) (3 s.f.)
Worked example Why 2X is not Poisson
\(X \sim \text{Po}(3)\). Show that \(2X\) does not have a Poisson distribution.
  1. \(\text{E}(2X) = 2 \times 3 = 6\).
  2. \(\text{Var}(2X) = 2^{2} \times 3 = 12\).
  3. A Poisson variable has mean equal to variance; \(6 \ne 12\). (Also \(2X\) can only take even values.)
Answer: Mean 6, variance 12, so \(2X\) is not Poisson.
Examiner trap

Before adding Poisson parameters, put them on the same interval. A rate of 2 per hour and 0.5 per 10 minutes give \(\text{Po}(2 + 3) = \text{Po}(5)\) for an hour, not \(\text{Po}(2.5)\).

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to AS & A Level Paper 1 to 6 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

\(X\) and \(Y\) are independent with \(\text{Var}(X) = 3\) and \(\text{Var}(Y) = 2\). Find \(\text{Var}(2X - 3Y)\).

Exam style+20 XP

Bags of flour have masses \(N(0.5, 0.03^{2})\) kg, independently. Find the probability that the total mass of 4 bags exceeds 2.1 kg.

Exam style+20 XP

\(X \sim \text{Po}(1.8)\) and \(Y \sim \text{Po}(2.7)\) are independent. Find \(\text{P}(X + Y = 3)\).

Exam style+20 XP

\(X \sim N(60, 16)\) and \(Y \sim N(28, 9)\) are independent. Find \(\text{P}(X > 2Y)\).

Skill unlocked

Combinations, combined.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
Scaling a variable, totals of several items, 2X versus X1 + X2, Poisson sums, a lift load, and a coffee-jug problem.