Skip to content

9709 · 6.2

Linear combinations of random variables — practice questions

Practice and worked examples for 9709 Linear combinations of random variables. Short previews only — attempt the full question in MarkScheme against the official scheme.

Worked example 1

The independent random variables X and Y have the following properties: E(X)=12E(X) = 12, Var(X)=9\text{Var}(X) = 9 E(Y)=20E(Y) = 20, Var(Y)=7\text{Var}(Y) = 7 Find the mean and variance of the random variable W=2X3YW = 2X - 3Y.

Show solution outline

To find the mean of W, we use the linearity of expectation: E(W)=E(2X3Y)E(W) = E(2X - 3Y) E(W)=2E(X)3E(Y)E(W) = 2E(X) - 3E(Y) E(W)=2(12)3(20)=2460=36E(W) = 2(12) - 3(20) = 24 - 60 = -36

To find the variance of W, we use the variance formula for independent variables: Var(W)=Var(2X3Y)\text{Var}(W) = \text{Var}(2X - 3Y) Var(W)=22Var(X)+(3)2Var(Y)\text{Var}(W) = 2^2\text{Var}(X) + (-3)^2\text{Var}(Y) Var(W)=4Var(X)+9Var(Y)\text{Var}(W) = 4\text{Var}(X) + 9\text{Var}(Y) Var(W)=4(9)+9(7)=36+63=99\text{Var}(W) = 4(9) + 9(7) = 36 + 63 = 99

So, the mean of W is -36 and the variance is 99.

Worked example 2

The weights of adult male Labradors, M, are normally distributed with mean 30 kg and standard deviation 2 kg. The weights of adult female Labradors, F, are normally distributed with mean 25 kg and standard deviation 1.5 kg. The weights are independent. (i) Find the probability that a randomly chosen male Labrador is more than 6 kg heavier than a randomly chosen female Labrador. (ii) Find the probability that the total weight of two randomly chosen female Labradors is less than 48 kg.

Show solution outline

(i) We are interested in the distribution of D=MFD = M - F. First, find the mean and variance of D. E(D)=E(MF)=E(M)E(F)=3025=5E(D) = E(M - F) = E(M) - E(F) = 30 - 25 = 5 kg.

We are given standard deviations, so we find the variances: Var(M)=22=4\text{Var}(M) = 2^2 = 4 and Var(F)=1.52=2.25\text{Var}(F) = 1.5^2 = 2.25. Var(D)=Var(MF)=Var(M)+Var(F)=4+2.25=6.25\text{Var}(D) = \text{Var}(M - F) = \text{Var}(M) + \text{Var}(F) = 4 + 2.25 = 6.25.

Since M and F are Normal, D is also Normal. So, DN(5,6.25)D \sim N(5, 6.25). We need to find P(D>6)P(D > 6). Standardise: Z=DμDσD=656.25=12.5=0.4Z = \frac{D - \mu_D}{\sigma_D} = \frac{6 - 5}{\sqrt{6.25}} = \frac{1}{2.5} = 0.4. P(D>6)=P(Z>0.4)=1P(Z<0.4)=1Φ(0.4)P(D > 6) = P(Z > 0.4) = 1 - P(Z < 0.4) = 1 - \Phi(0.4). From tables, Φ(0.4)=0.6554\Phi(0.4) = 0.6554. P(D>6)=10.6554=0.3446P(D > 6) = 1 - 0.6554 = 0.3446.

(ii) We are interested in the distribution of T=F1+F2T = F_1 + F_2, where F1F_1 and F2F_2 are independent observations from the distribution of F. E(T)=E(F1)+E(F2)=25+25=50E(T) = E(F_1) + E(F_2) = 25 + 25 = 50 kg. Var(T)=Var(F1)+Var(F2)=2.25+2.25=4.5\text{Var}(T) = \text{Var}(F_1) + \text{Var}(F_2) = 2.25 + 2.25 = 4.5.

So, TN(50,4.5)T \sim N(50, 4.5). We need to find P(T<48)P(T < 48). Standardise: Z=48504.5=22.1213...=0.9428...Z = \frac{48 - 50}{\sqrt{4.5}} = \frac{-2}{2.1213...} = -0.9428... P(T<48)=P(Z<0.9428)=1Φ(0.9428)P(T < 48) = P(Z < -0.9428) = 1 - \Phi(0.9428). From tables, Φ(0.9428)0.8271\Phi(0.9428) \approx 0.8271. P(T<48)=10.8271=0.1729P(T < 48) = 1 - 0.8271 = 0.1729 (to 4 s.f.).