PDA

View Full Version : Matching Hats Problem


eku_girl83
Mar15-04, 07:23 PM
Suppose that each of N men at a party throws his hat into the center of the room. The hats are first mixed up, and then each man randomly selects a hat. What is the probability that
a)none of the men selects his own hat?
b) exactly k of the men select their own hats?

It's difficult for me to think of this problem in the abstract...I always work better with actual numbers as opposed to variables.

Any help explaining this would be appreciated!
Thanks!!

cookiemonster
Mar15-04, 07:46 PM
If you like numbers better, try it for N = 1, and then N = 2, and then N = 3, etc., until you see a pattern.

cookiemonster

Damned charming :)
Mar15-04, 10:24 PM
suppose there are four men, the probability none would select their own hat would
be
\frac34 * \frac23 *\frac12

this problem will be speed up with factorials where
4!= 4*3*2*1
3!= 3*2*1
etc

matt grime
Mar16-04, 04:45 AM
Have you done the inclusion exclusion principle? If so then P(no hats correct) = 1-P(at least one hat correct) and the second of those is easy to work out if you know Inc-exc