Banach's matchbox problem
From Wikipedia, the free encyclopedia
Banach's match problem is a classic problem in probability attributed to Stefan Banach.
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 that the box picked is empty. If it is assumed that each of the matchboxes originally contained N matches, what is the probability that there are exactly k matches in the other box?
[edit] Solution
Let E denote the event that the man discovers the matchbox in his right pocket is empty and there are k matches in the matchbox in his left pocket. This event occurs only if the (N + 1)th choice of the matchbox in his right pocket is made at the N + 1 + N − k trial.
Hence E is a random variable with the negative binomial distribution, with parameters
and so
Since it is equally likely that the matchbox found to be empty is in the left pocket, the desired probability is
[edit] References
- Ross, Sheldon (2006). A First Course in Probability, Seventh edition, pp. 176—177. ISBN 0131856626.