At a recent MathsJam, there was a puzzle. This is nothing out of the ordinary. It went something like:

If an absent-minded professor takes his umbrella into a classroom, there’s a probability of 14 that he’ll absent-mindedly leave it there. One day, he sets off with his umbrella, teaches in three classrooms, and comes back to his office… without his umbrella. What’s the probability he left it in the first classroom?

A fragile consensus immediately formed around 14 - trick question! - until we realised we had more information: he’d left his umbrella somewhere, so we’d need something more complicated. As usual with this kind of question 1 , there’s a brutal slog way to do it; once you’ve done that, you can then see a more elegant way to do it.

If we don’t know about him losing his umbrella somewhere, we can use a probability tree sort of method to say:

  • there’s a 14 probability of him leaving it in the first classroom;
  • there’s a 34×14=316 probability of leaving it in classroom 2;
  • there’s a 34×34×14=964 probability of leaving it in classroom 3;
  • there’s a (34)3=2764 probability of keeping hold of it.

Which is to say, over any 64 days, he’d expect to leave it in the first classroom 16 times, in the second 12 times, and in the third 9 times. That means the probability of it being in the first classroom, given that he left it somewhere, is 1616+12+9=1637, about 43%.

A more simple way is to use Bayes’ rule and say it’s the probability of him leaving it somewhere and leaving it in classroom 1 (14) out of the probability of him leaving it somewhere (12764), giving 14÷3764=1637.

Footnotes:

1. where ‘this kind of question’ means ‘one you have to think about’