Question: I put 32 chess pieces in a hat. I then proceeded to pull them out 2 at a time. If they are both black I put them in one pile. If they are both white, I put them in a second pile. If there is one of each color, I put them in a third pile. What is the probability that the number of pieces in the all black pile and the all white pile are equal?
Solution: Denote the number of white pieces in the hat at the beginning as w. Then the number of black pieces is .
Let be a number of chess pieces in all white pile, – in all black pile and – in the third pile. First pile contains white pieces, second – black pieces and third – black and white pieces.
Therefore, the total number of white pieces in all piles is , which is equal to (the number of white pieces in the hat at the beginning). . Similarly, we obtain, that .
Subtracting the second equality from the third, we obtain that: , and . So, the number of pieces in the all black pile and the all white pile are equal if and only if . Therefore, the sought probability is 1, when , and 0, if .
Answer: 1, if the number of white pieces and the number of black pieces in the hat at the beginning are equal, and 0, if not.
Comments