Tuesday, August 31, 2010

Probability that mangles the mind

Generally speaking I'm a bit so-so about recreational mathematics. I can't get very excited about polyominoes or tiling, for instance. But when the field strays into probability I get fascinated - and the mind gets boggled. Take the little probability problem mentioned in the New Scientist article I've linked to there. It gets rather lost in the article, and they don't describe it particularly well. Let's take a look.

The problem statement is simple. I have two children. One is a boy born on a Tuesday. What is the probability I have two boys? But to get a grip on this problem we need first to take a step back and look at a more basic problem. I have two children. One is a boy. What is the probability I have two boys?

A knee-jerk reaction to this is to think 'One's a boy - the other can either be a boy or a girl. So there's a 50:50 chance that the other is a boy. The probability that there are two boys is 50%.' Unfortunately that's wrong.

You can see why with this handy diagram. The first blobs are the older child. It's a boy or a girl, 50:50. Then in each case we've a 50:50 chance of a boy or girl for the second child. So each of the combinations has a 1 in 4 (or 25%) chance of occuring.

All the combinations except Girl-Girl fit our statement 'I have two children. One is a boy.' So we've got three equally like possibilities, of which only one has two boys. So there's a 1 in 3 chance that there are two boys.

If this sounds surprising, it's because the statement 'One is a boy' doesn't tell us which of the two children it's referring to. If we say 'The eldest one is a boy', then our 'common sense' assessment of probability applies. If the eldest is a boy, there are only two options with equal probability - second child is a boy or second child is a girl. So it's 50:50.

Now we're equipped to move on to the full version of the problem. I have two children. One is a boy born on a Tuesday. What is the probability I have two boys?

Again, gut feel says 'The extra information provided can't make any difference. It must still be 1 in 3.' But startlingly, the probability is now 13 in 27 - pretty close to 50:50.

To explain this I should draw another diagram, but I can't be bothered, you'll have to imagine it. In this diagram there are 14 children in the first column. First boy born on a Sunday, First boy born on a Monday, First boy born on Tuesday... First girl born on a Sunday... through to First girl born on a Saturday.

Each of these fourteen first children has fourteen second children options. Second boy born on a Sunday... etc.

That's 196 combinations, but luckily we can eliminate most of them. Either the first or second boy must be born on a Tuesday. So the combinations were interested in are the fourteen that spread out from 'First boy born on a Tuesday' plus the thirteen that start from one of the other first children and are linked to 'Second boy born on a Tuesday.' So there are 27 combinations in all. How many of these involve two boys? Half of the first fourteen do - one for a second boy born on each day of the week. And for those thirteen with links on the right to 'second boy born on a Tuesday' six of them will have a boy as the first child (because we don't include 'First boy born on a Tuesday.') So thats 7+6 i.e. 13 combinations that provide us with two boys. So the chances of having two boys is 13 in 27.

Common sense really revolts at this. By simply saying what day of the week a boy was born on, we increase the probability of the other child being a boy. But we could have said any day of the week, so how can this possibly work? The only way I can think to describe what's happening is to say that by limiting the boy we know about to a certain birth day, we cut out a lot of the options. We are, in effect, bringing it closer to the sort of effect we get by saying 'the oldest child is a boy'. We are adding information to the picture.

The probabilites work. You can model this in a computer if you like and it's correct. But what's going on mangles the mind. Don't you just love probability?

(I ought to say, by the way, that this isn't quite a match to reality. It assumes there is an equal chance that either child is a boy or a girl, and that there is an equal chances of being born on each day of the week. In reality neither of these is quite true, but that doesn't matter for the purposes of the exercise.)

probability coins

No comments:

Post a Comment