Exercise 1
A teacher mixes a large bag of sweets of different colours and randomly selects a sample of sweets. She counts the number of sweets of each colour: red sweets | green sweets | yellow sweets | blue sweets
(i)
Calculate the probability that a randomly picked sweet from the sample is green.
(ii)
If there are sweets in total in the large bag, estimate how many are likely to be yellow, based on the sample results.
Not cross-checked
This solution has not been cross-checked against the answer printed in NCERT.
Relative frequency from a sample. Nobody can count a whole bag of sweets one by one, so instead we count a sample and read off the fraction of each colour in it. That fraction - the relative frequency - is our estimate of the probability for the whole bag.First check that the sample really is $\displaystyle 30$ sweets:
\[10+8+7+5=30 \quad\checkmark \](i) Probability of green. In the sample, $\displaystyle 8$ of the $\displaystyle 30$ sweets are green, and each of the $\displaystyle 30$ is equally likely to be the one picked:
\[P(\text{green})=\frac{\text{number of green sweets}}{\text{total number of sweets}}=\frac{8}{30}=\frac{4}{15}\approx 0.27 \](ii) Estimating the yellow sweets in the whole bag. The yellow relative frequency in the sample is
\[\frac{7}{30} \]
If the bag as a whole has roughly the same mix as the sample, then about \(\displaystyle \tfrac{7}{30}\) of the $\displaystyle 600$ sweets are yellow:
\[\frac{7}{30}\times 600 = 7\times 20 = 140 \]A second way to see the same thing: \(\displaystyle 600\div 30=20\), so the bag is $\displaystyle 20$ "sample-loads" big, and each yellow sweet counted in the sample stands for $\displaystyle 20$ yellow sweets in the bag - \(\displaystyle 7\times 20=140\). Both routes agree.This is an estimate, not an exact count. If the teacher scooped out a different $\displaystyle 30$ sweets she would probably find $\displaystyle 6$ or $\displaystyle 8$ yellow ones instead of $\displaystyle 7$, and the estimate would change. A larger sample would make it more trustworthy.Answers: (i) \(\displaystyle P(\text{green})=\dfrac{4}{15}\approx 0.27\); (ii) about \(\displaystyle 140\) yellow sweets.