Worked solution from the Probability Paper 2 Calculator booklet, Part 3 of 3.
Add up the bags we already know about.
15 + 26 + 38 + 9 = 88 bags
88 is already more than 87, so p would have to be negative (p = −1), which is impossible. The total is at least 88. [1]
Mean = total number of sweets ÷ total number of bags.
Sweets: 11 × 15 + 12 × 26 + 13 × 38 + 14p + 15 × 9 = 1106 + 14p
Bags: 88 + p
1106 + 14p88 + p = 12.8 [1]
1106 + 14p = 12.8 × (88 + p) = 1126.4 + 12.8p [1]
14p − 12.8p = 1126.4 − 1106, so 1.2p = 20.4
p = 17 [1]
The box has 12 + 28 + 39 + 9 + r = 88 + r bags, and 9 of them have 15 sweets. The first bag is not put back.
P(both 15) = 988 + r × 887 + r = 4539 [1]
Cross-multiply: 72 × 539 = 4(88 + r)(87 + r), so 38808 = 4(88 + r)(87 + r) [1]
Divide by 4: 9702 = (88 + r)(87 + r) = r2 + 175r + 7656
So r2 + 175r + 7656 − 9702 = 0, which gives r2 + 175r − 2046 = 0 [1]
Look for two numbers that multiply to −2046 and add to 175. They are 186 and −11.
r2 + 175r − 2046 = (r − 11)(r + 186) [2]
So r = 11 or r = −186. A frequency cannot be negative, so r = 11 [1]
(The quadratic formula, giving r = −175 ± √1752 + 81842, also earns the method marks.)
▶ Starts at Q10 (1:05:43)
Starts at Q10 (1:05:43) · by O/A-Level Mathematics. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.