A while ago I set some probability puzzles. If you’ve not yet pondered them, give them a whirl now. It’s OK, I’ll wait… All done? Final answer?
1 Girls, boys and doughnuts
We know that Laura has two children. There are four possibilities: two girls (), a boy and a girl (), a girl and a boy () and two boys (). The probability of having a boy is almost identical to having a girl, so let’s keep things simple and assume that all four options have equal probability.
In this case, (i) the probability of having two girls is ; (ii) the probability of having a boy and a girl is , and (iii) the probability of having two boys is .
After meeting Laura’s daughter Lucy, we know she doesn’t have two boys. What are the probabilities now? There are three options left (, and ), but they are not all equally likely. We’ve discussed a similar problem before (it involved water balloons). You can work out the probabilities using Bayes’ Theorem, but let’s see if we can get away without using any maths more complicated than addition. Lucy could either be the elder or the younger child, each is equally likely. There must be four possible outcomes: Lucy and then another girl (), another girl and then Lucy (), Lucy and then a boy () or a boy and then Lucy (). Since the sex of children are not linked (if we ignore the possibility of identical twins), each of these are equally probable. Therefore, (i) ; (ii) , and (iii) . We have ruled out one possibility, and changed the probability having two girls.
If we learn that Lucy is the eldest, then we are left with two options, and . This means (i) ; (ii) , and (iii) . The probabilities haven’t changed! This is because the order of birth doesn’t influence the probability of being a boy or a girl.
Hopefully that all makes sense so far. Now let’s move on to Laura’s secret society for people who have two children of which at least one is a girl. There are three possibilities for the children: , or . This time, all three are equally likely as we are just selecting them equally from the total population. Families with two children are equally likely to have each of the four combinations, but those with are turned away at the door, leaving an equal mix of the other three. Hence, (i) ; (ii) , and (iii) .
The probabilities are different in this final case than for Laura’s family! This is because of the difference in the way we picked are sample. With Laura, we knew she had two children, the probability that she would have a daughter with her depends upon how many daughters she has. It’s more likely that she’d have a daughter with her if she has two, than one (or zero). If we’re picking families with at least one girl at random, things are different. This has confused enough people to be known as the boy or girl paradox. However, if you’re careful in writing things down, it’s not too tricky to work things out.
2 Do or do-nut
You’re eating doughnuts, and trying to avoid the one flavour you don’t like. After eating six of twenty-four you’ve not encountered it. The other guests have eaten twelve, but that doesn’t tell you if they’ve eaten it. All you know is that it’s not in the six you’ve eaten, hence it must be one of the other eighteen. The probability that one of the twelve that the others have eaten is the nemesis doughnut is . Hence, the probability it is left is . Since there are six doughnuts left, the probability you’ll pick the nemesis doughnut next is . Equally, you could have figured that out by realising that it’s equally probable that the nemesis doughnut is any of the eighteen that you’ve not eaten.
When twelve have been eaten, Lucy takes one doughnut to feed the birds. You all continue eating until there are four left. At this point, no-one has eaten that one doughnut. There are two possible options: either it’s still lurking or it’s been fed to the birds. Because we didn’t get to use it in the first part, I’ll use Bayes’ Theorem to work out the probabilities for both options.
The probability that Lucy luckily picked that one doughnut to feed to the birds is , the probability that she unluckily picked a different flavour is . If we were lucky, the probability that we managed to get down to there being four left is , we were guaranteed not to eat it! If we were unlucky, that the bad one is amongst the remaining eleven, the probability of getting down to four is . The total probability of getting down to four is
Substituting in gives
The probability that the doughnut is not left is when there are four left is
putting in the numbers gives
The probability that it’s left must be
We could’ve worked this out more quickly by realised that there are five doughnuts that could potential be the one: the four left and the one fed to the birds. Each one is equally probable, so that gives and .
If you take one doughnut each, one after another, does it matter when you pick? You have an equal probability of each being the one. The probability that it’s the first is
the probability that it’s the second is
the probability that it’s the third is
and the probability that it’s the fourth (last) is
That doesn’t necessarily mean it doesn’t matter when you pick though! That really depends how you feel when taking an uncertain bite, how much you value the knowledge that you can safely eat your doughnut, and how you’d feel about skipping your doughnut rather than eating one you hate.