The rules are simple. Read the puzzle. Decide on an answer and commit to it, preferably on paper. Then read the solution.

No trick wording is involved. Each puzzle means what it says. The difficulty lies entirely in what human minds do with uncertainty.

1. The three doors

A game show host shows you three closed doors. Behind one is a car and behind the other two are goats. You pick a door, say door 1. The host, who knows where the car is, opens one of the other two doors, say door 3, to reveal a goat. He always does this. He then asks whether you want to stay with door 1 or switch to door 2. Should you switch?

Most people say: it makes no difference. Two doors are left, so the chance is fifty-fifty.

The answer: switch. Switching wins two times in three.

Your first pick has a one in three chance of being the car. Nothing the host does changes that, because he can always open a goat door whatever you chose. So the chance that the car is behind one of the other two doors is two in three, and the host has kindly shown you which of those two it is not.

If that fails to convince, imagine a hundred doors. You pick one. The host opens ninety-eight others, all goats, leaving one closed. Would you stay with your original door?

Or list the cases. Suppose you always pick door 1 and always switch.

Car is behind Host opens You switch to Result
Door 1 2 or 3 the other Lose
Door 2 3 Door 2 Win
Door 3 2 Door 3 Win

The puzzle is named after Monty Hall, host of an American game show. When a magazine columnist published the correct answer in 1990, she received about ten thousand letters telling her she was wrong, nearly a thousand of them from people with doctorates. The mathematician Paul Erdős, one of the most prolific of the twentieth century, is reported to have refused to accept it until he was shown a computer simulation.

2. The shared birthday

How many people must be in a room before it is more likely than not that two of them share a birthday? Ignore leap years and assume all days are equally likely.

Most people say: about 183, half of 365.

The answer: 23.

The mistake is to think about the chance that someone shares your birthday. The question is about any two people. With 23 people there are 253 different pairs, and each pair is a chance for a match.

It is easier to calculate the chance of no match. The second person must avoid one day: 364 in 365. The third must avoid two: 363 in 365. Multiply on down to the twenty-third person. The product falls to 0.493, so the chance of at least one shared birthday is 50.7 per cent.

With 50 people it is 97 per cent. With 70 it is 99.9 per cent.

This has practical consequences. It is the reason coincidences in large groups are unremarkable, and it underlies a method of attacking cryptographic systems that is named after it.

3. The two children

A family has two children. You learn that at least one of them is a boy. What is the chance that both are boys? Assume boys and girls are equally likely.

Most people say: one half. The other child is either a boy or a girl.

The answer: one third.

List the equally likely families, by order of birth: boy-boy, boy-girl, girl-boy, girl-girl. The information "at least one is a boy" removes only the last. Three remain, equally likely, and in one of them both are boys.

Now change the question slightly. You learn that the elder child is a boy. That leaves boy-boy and boy-girl, and the answer is one half.

The difference is subtle and real. "At least one" does not point to a particular child. "The elder" does. This puzzle also shows how much the answer can depend on how the information was obtained. If you met the family in the street with one son beside them, the reasoning changes again. Statisticians have argued over the wording for decades.

4. The reliable test

A disease affects 1 person in 1,000. A test for it is 99 per cent accurate: it correctly identifies 99 per cent of those who have the disease, and correctly clears 99 per cent of those who do not. You are tested at random and the result is positive. What is the chance that you have the disease?

Most people say: 99 per cent.

The answer: about 9 per cent.

Imagine 100,000 people tested.

  • 100 have the disease. The test catches 99 of them.
  • 99,900 do not. The test wrongly flags 1 per cent of them, which is 999.

So there are 1,098 positive results, of which 99 are real. That is 9 per cent.

The test is as accurate as stated. But healthy people outnumber sick people by a thousand to one, so even a small error rate among the healthy swamps the true positives.

This one matters outside the puzzle page. Studies have repeatedly found that many doctors, given a version of this problem, give answers close to the test's accuracy. It is the reason screening tests for rare conditions are followed by a second, different test before anything is concluded.

5. The better hospital

Two hospitals perform the same operation. Hospital A has a survival rate of 90 per cent for patients in good condition and 30 per cent for patients in poor condition. Hospital B has 85 per cent and 25 per cent. Hospital A is better in both groups. Can Hospital B nonetheless have the higher overall survival rate?

Most people say: no. If A is better for every kind of patient, it must be better overall.

The answer: yes, easily.

Suppose Hospital A is a specialist centre that takes the hard cases, and Hospital B mostly takes the easy ones.

Good condition Poor condition Overall
Hospital A 90 of 100 survive 270 of 900 survive 360 of 1,000 (36%)
Hospital B 765 of 900 survive 25 of 100 survive 790 of 1,000 (79%)

A is better for each kind of patient and far worse overall, because nine tenths of its patients are in poor condition.

This reversal is called Simpson's paradox. It has turned up in real data many times. In a well-known case from 1973, a university's graduate admissions appeared to favour men strongly. Department by department, the bias mostly disappeared or ran slightly the other way. Women had applied in greater numbers to the departments that rejected most applicants of either sex.

The lesson is that a comparison of totals can mean the opposite of what it seems when the groups being compared are made up differently. Any league table of hospitals, schools or surgeons has to deal with this.

What the five have in common

Each puzzle catches a different habit of mind.

  • The doors: ignoring how the information was produced. The host's choice was not random.
  • The birthday: counting the wrong thing. Pairs multiply much faster than people.
  • The children: failing to list the cases, and missing what a statement does and does not specify.
  • The test: neglecting the base rate, meaning how common the thing is to begin with.
  • The hospitals: trusting an aggregate without asking what it is made of.

The remedy for all five is the same and rather dull. Stop reasoning in words and start counting. Imagine a definite number of cases, list the outcomes and add them up.

One to take away

You are shown three cards in a hat. One is red on both sides, one is white on both sides, and one is red on one side and white on the other. You draw a card without looking and lay it on the table. The side facing up is red. What is the chance that the other side is also red?

It is not one half. Count the red sides before you answer.