Banach's matchbox problem

From HandWiki

Banach's match problem is a classic problem in probability attributed to Stefan Banach. Feller [1] says that the problem was inspired by a humorous reference to Banach's smoking habit in a speech honouring him by Hugo Steinhaus, but that it was not Banach who set the problem or provided an answer. Suppose a mathematician carries two matchboxes at all times: one in his left pocket and one in his right. Each time he needs a match, he is equally likely to take it from either pocket. Suppose he reaches into his pocket and discovers for the first time that the box picked is empty. If it is assumed that each of the matchboxes originally contained [math]\displaystyle{ N }[/math] matches, what is the probability that there are exactly [math]\displaystyle{ k }[/math] matches in the other box?

Solution

Without loss of generality consider the case where the matchbox in his right pocket has an unlimited number of matches and let [math]\displaystyle{ M }[/math] be the number of matches removed from this one before the left one is found to be empty. When the left pocket is found to be empty, the man has chosen that pocket [math]\displaystyle{ (N+1) }[/math] times. Then [math]\displaystyle{ M }[/math] is the number of successes before [math]\displaystyle{ (N+1) }[/math] failures in Bernoulli trials with [math]\displaystyle{ p=1/2 }[/math], which has the negative binomial distribution and thus

Distribution of probability of having k matches remaining in the other pocket.
[math]\displaystyle{ P[M=m] = \binom{N+m}{m}\left(\frac{1}{2}\right)^{N+1+m} }[/math].

Returning to the original problem, we see that the probability that the left pocket is found to be empty first is [math]\displaystyle{ P[M\lt N+1] }[/math] which equals [math]\displaystyle{ 1/2 }[/math] because both are equally likely. We see that the number [math]\displaystyle{ K }[/math] of matches remaining in the other pocket is

[math]\displaystyle{ P[K=k] = P[M=N-k|M\lt N+1] = 2P[M=N-k] = \binom{2N-k}{N-k}\left(\frac{1}{2}\right)^{2N-k} }[/math].

The expectation of the distribution is approximately [math]\displaystyle{ 2\sqrt{N/\pi}-1 }[/math]. (This is shown using Stirling's approximation.[2]) So starting with boxes with [math]\displaystyle{ N=40 }[/math] matches, the expected number of matches in the second box is [math]\displaystyle{ 6 }[/math].

See also

  • List of things named after Stefan Banach

References

  1. Feller, William, An Introduction to Probability Theory And Its Applications, Third Edition, Wiley, 1968, Chapter VI, section 8
  2. Feller, page 238.

External links