· H2 Mathematics — Ten-Year Series, worked ← All 10 questions

2018 A-Level · Paper 2 · Question 8

2018 H2 Maths Paper 2, Question 8

Discrete random variables 11 marks expectation and variance
Download Paper 2 solutions (PDF)

Part (i)

4 marks

Approach

The bag has n+5n + 5 balls in total: 22 numbered 33, 33 numbered 44, and nn numbered 55. Drawing 22 balls without replacement, the possible values of SS come from pairing these three labels: 3+3=63 + 3 = 6, 3+4=73 + 4 = 7, 3+5=83 + 5 = 8 or 4+4=84 + 4 = 8, 4+5=94 + 5 = 9, 5+5=105 + 5 = 10. We count the number of ways to get each sum and divide by the total number of ways to choose 22 balls from n+5n + 5.

The total number of ways to choose 22 balls from the bag is

(n+52)=(n+5)(n+4)2.\binom{n + 5}{2} = \frac{(n + 5)(n + 4)}{2}.

For each value of SS:

Dividing each by (n+52)\binom{n + 5}{2} and simplifying to a common denominator (n+5)(n+4)(n + 5)(n + 4),

ss 66 77 88 99 1010
P(S=s)P(S = s) 2(n+4)(n+5)\frac{2}{(n + 4)(n + 5)} 12(n+4)(n+5)\frac{12}{(n + 4)(n + 5)} 4n+6(n+4)(n+5)\frac{4n + 6}{(n + 4)(n + 5)} 6n(n+4)(n+5)\frac{6n}{(n + 4)(n + 5)} n(n−1)(n+4)(n+5)\frac{n(n - 1)}{(n + 4)(n + 5)}
To check your answer: summing the five numerators gives 2+12+(4n+6)+6n+n(n−1)=n2+9n+20=(n+4)(n+5)2 + 12 + (4n + 6) + 6n + n(n - 1) = n^{2} + 9n + 20 = (n + 4)(n + 5), matching the common denominator exactly, so the probabilities sum to 11 for every nn. ✓

Part (ii)

1 mark

With n=1n = 1 there are 66 balls in the bag, with only one ball numbered 55. Substituting n=1n = 1 into the formula for P(S=10)P(S = 10) from (i),

P(S=10)=1(1−1)(1+4)(1+5)=030=0.P(S = 10) = \frac{1(1 - 1)}{(1 + 4)(1 + 5)} = \frac{0}{30} = 0.

Explanation: S=10S = 10 can only arise from drawing two balls both numbered 55. Since there is only one ball numbered 55 in the bag when n=1n = 1, it is impossible to draw two of them, so this outcome cannot occur.

∴P(S=10)=0\therefore P(S = 10) = 0, since the bag contains only one 55-numbered ball when n=1n = 1, so two 55s cannot both be drawn.

Part (iii)

6 marks

Approach

We compute E(S)E(S) and E(S2)E\left( S^{2} \right) directly from the distribution in (i), then use Var(S)=E(S2)−[E(S)]2Var(S) = E\left( S^{2} \right) - \left\lbrack E(S) \right\rbrack^{2} and combine everything over the common denominator (n+4)(n+5)(n + 4)(n + 5) (squared, where needed) to match the required form.

Using the distribution from (i),

E(S)=∑s P(S=s)E(S) = \sum s\, P(S = s)
=6(2)+7(12)+8(4n+6)+9(6n)+10 n(n−1)(n+4)(n+5)= \frac{6(2) + 7(12) + 8(4n + 6) + 9(6n) + 10\, n(n - 1)}{(n + 4)(n + 5)}
=10n2+76n+144(n+4)(n+5)= \frac{10n^{2} + 76n + 144}{(n + 4)(n + 5)}

The numerator has (n+4)(n + 4) as a factor:

10n2+76n+144=(n+4)(10n+36)10n^{2} + 76n + 144 = (n + 4)(10n + 36)
E(S)=(n+4)(10n+36)(n+4)(n+5)=10n+36n+5.  (shown)E(S) = \frac{(n + 4)(10n + 36)}{(n + 4)(n + 5)} = \frac{10n + 36}{n + 5}.\ \ \left( \text{shown} \right)

For the variance, we first find E(S2)E\left( S^{2} \right):

E(S2)=∑s2 P(S=s)E\left( S^{2} \right) = \sum s^{2}\, P(S = s)
=36(2)+49(12)+64(4n+6)+81(6n)+100 n(n−1)(n+4)(n+5)= \frac{36(2) + 49(12) + 64(4n + 6) + 81(6n) + 100\, n(n - 1)}{(n + 4)(n + 5)}
=100n2+642n+1044(n+4)(n+5)= \frac{100n^{2} + 642n + 1044}{(n + 4)(n + 5)}
Var(S)=E(S2)−[E(S)]2Var(S) = E\left( S^{2} \right) - \left\lbrack E(S) \right\rbrack^{2}
=100n2+642n+1044(n+4)(n+5)−(10n+36n+5)2= \frac{100n^{2} + 642n + 1044}{(n + 4)(n + 5)} - \left( \frac{10n + 36}{n + 5} \right)^{2}

Writing both terms over the common denominator (n+4)(n+5)2(n + 4)(n + 5)^{2},

Var(S)=(100n2+642n+1044)(n+5)−(10n+36)2(n+4)(n+4)(n+5)2Var(S) = \frac{\left( 100n^{2} + 642n + 1044 \right)(n + 5) - (10n + 36)^{2}(n + 4)}{(n + 4)(n + 5)^{2}}

By GC, the numerator expands and simplifies to

(100n2+642n+1044)(n+5)−(10n+36)2(n+4)=22n2+78n+36=2(n+3)(11n+6)\left( 100n^{2} + 642n + 1044 \right)(n + 5) - (10n + 36)^{2}(n + 4) = 22n^{2} + 78n + 36 = 2(n + 3)(11n + 6)
Var(S)=22n2+78n+36(n+5)2(n+4).  (shown)Var(S) = \frac{22n^{2} + 78n + 36}{(n + 5)^{2}(n + 4)}.\ \ \left( \text{shown} \right)
To check your answer: at n=1n = 1 (the case in part (ii)), E(S)=466=233E(S) = \frac{46}{6} = \frac{23}{3} and Var(S)=136180=3445Var(S) = \frac{136}{180} = \frac{34}{45}; computing these directly from the six-ball distribution in (ii) by brute force gives the same values. ✓

∴E(S)=10n+36n+5\therefore E(S) = \frac{10n + 36}{n + 5} and Var(S)=g(n)(n+5)2(n+4)Var(S) = \frac{g(n)}{(n + 5)^{2}(n + 4)}, where g(n)=22n2+78n+36g(n) = 22n^{2} + 78n + 36.

This is how we mark, and how we teach.

Every Ten-Year Series question, worked in full, with the reasoning written out and the traps named.

Find out more