Mathematics in “The Curious Incident of the Dog at Nighttime”
I recently read the novel “The Curious Incident of the Dog at Nighttime”, a wonderful and deep novel, that also contained some sophisticated Mathematics! I have tried to elaborate on some of that Mathematics below:
Monty Hall Problem
The Monty Hall Problem is a famous problem in Mathematics. Although I have known about the problem for a long time, I could never fully understand it. I recently read about it in the book “The Curious Incident of the Dog in the Nighttime”, and thought I finally had some understanding of it. I will try to write down my thoughts on it.
There are three doors- we shall call them and . There is a car behind one of those doors, and nothing behind the other doors. You are asked to choose a door. Let us suppose you choose . The host will now open one of the remaining doors to show that the car is not behind it. Let us suppose that he opens . Should you now stick to your previous choice of doors, or should you change your choice of doors to ?
The best way to understand this problem is to generalize it; perhaps by increasing the number of “doors”. Let us suppose that there are cups (instead of doors), labeled to . There is a ball in one of those cups, and we have to choose the cup that we think contains the ball. Clearly, the probability of the ball being in cup is , and the probability of the ball not being in cup is . As we can see, the probability of the ball **not** being in cup is substantially higher; in other words, we can be almost certain that the ball is not in cup . Let us now suppose that there is a host, who asks you to choose a cup which you think contains the ball. Let us say you choose . Now out of the remaining cups, he opens cups which do not contain the ball. So there are only two cups remaining. We shall call the remaining cup . Should you switch to ?
Remember that we can be almost sure the ball was never in cup (the probability of it being in cup was ). Hence, it almost certainly had to have been in some other cup. Now all cups except for have been opened. Hence, because the probability of the ball being in cup is almost , and all other cups except for have been opened, the ball is almost certainly in cup . Hence you should switch to !!
The same thing happens in the Monty Hall problem with doors. The probability of the car being behind is , and the probability of the car not being behind (and hence being behind or ) is . Now that the host has opened to show that there is nothing behind it, its probability of gets transferred to . Hence, has a probability of having the car behind it, and you should switch to it!
I shall soon be updating this blog post with other mathematical gems from the book.