All revision notes topics

Sums of independent random variablesAQA A-Level Further Maths: Revision notes

Section 1

The mean of a sum

For any two random variables, discrete or continuous, E(X+Y)=E(X)+E(Y).E(X+Y)=E(X)+E(Y). This is true whether or not XX and YY are independent, and it works if one is discrete and the other continuous. If E(X)=12E(X)=12 and E(Y)=7E(Y)=7 then E(X+Y)=19E(X+Y)=19.

Key termsexpectation of a sum

Section 2

The variance of a sum

If XX and YY are independent, Var(X+Y)=Var(X)+Var(Y).\text{Var}(X+Y)=\text{Var}(X)+\text{Var}(Y). The variance of a sum adds because the two sources of variation combine. With Var(X)=9\text{Var}(X)=9 and Var(Y)=16\text{Var}(Y)=16, Var(X+Y)=25\text{Var}(X+Y)=25, and the standard deviation is 25=5\sqrt{25}=5.

Key termsindependent
Common mistake

Adding standard deviations. Here 3+4=73+4=7 but the standard deviation of X+YX+Y is 55. Add variances, then take the square root.

Section 3

Independence matters

The result for the variance of a sum is only valid when XX and YY are independent. State this assumption when you use it, using the context: for example, the preparation time for a dish does not affect its cooking time. Independence is not needed for the mean. If a question gives you the pdfs of two independent variables, find EE and Var\text{Var} for each separately (using Var=E(X2)−[E(X)]2\text{Var}=E(X^2)-[E(X)]^2), then combine.

Section 4

Two independent observations are not the same as doubling

Let X1X_1 and X2X_2 be independent observations from the same distribution, with mean μ\mu and variance σ2\sigma^2. E(X1+X2)=2μ,Var(X1+X2)=2σ2.E(X_1+X_2)=2\mu,\qquad \text{Var}(X_1+X_2)=2\sigma^2. Doubling a single observation is different: Var(2X)=4σ2\text{Var}(2X)=4\sigma^2, because the same value is used twice, so the variation is not averaged out.

Common mistake

Writing X1+X2=2XX_1+X_2=2X for two separate observations. They are different values, so the variance is 2σ22\sigma^2, not 4σ24\sigma^2.

Section 5

Worked example

WW has pdf 16\frac16 on [4,10][4,10] and BB has pdf b8\frac{b}{8} on [0,4][0,4], independent. E(W)=7E(W)=7, E(W2)=52E(W^2)=52, so Var(W)=3\text{Var}(W)=3. E(B)=83E(B)=\frac83, E(B2)=8E(B^2)=8, so Var(B)=89\text{Var}(B)=\frac89. For T=W+BT=W+B: E(T)=7+83=293E(T)=7+\frac83=\frac{29}{3} and Var(T)=3+89=359\text{Var}(T)=3+\frac89=\frac{35}{9}.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Sums of independent random variables

  1. XX and YY are independent random variables with E(X)=12E(X)=12, Var(X)=9\text{Var}(X)=9, E(Y)=7E(Y)=7 and Var(Y)=16\text{Var}(Y)=16.
    A student claims that the standard deviation of X+YX+Y is 3+4=73+4=7. Show that this is wrong and state the correct value.2 marks
  2. The times, in minutes, taken to prepare and to cook a dish are modelled by independent random variables XX and YY, with E(X)=8.5E(X)=8.5, Var(X)=1.44\text{Var}(X)=1.44, E(Y)=12.3E(Y)=12.3 and Var(Y)=2.56\text{Var}(Y)=2.56. The total time is T=X+YT=X+Y.
    Find the standard deviation of TT, and state the assumption that makes it valid to add the variances.2 marks
  3. The continuous random variable XX has probability density function f(x)=x2f(x)=\frac{x}{2} for 0≤x≤20\le x\le2, and f(x)=0f(x)=0 otherwise. The discrete random variable YY is the score when a fair six-sided die is rolled, so E(Y)=72E(Y)=\frac72 and Var(Y)=3512\text{Var}(Y)=\frac{35}{12}. XX and YY are independent.
    Find E(X+Y)E(X+Y).3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).