Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matching Hats Problem

  1. Mar 15, 2004 #1
    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!
  2. jcsd
  3. Mar 15, 2004 #2
    If you like numbers better, try it for N = 1, and then N = 2, and then N = 3, etc., until you see a pattern.

  4. Mar 15, 2004 #3
    suppose there are four men, the probability none would select their own hat would
    [tex] \frac34 * \frac23 *\frac12 [/tex]

    this problem will be speed up with factorials where
    4!= 4*3*2*1
    3!= 3*2*1
  5. Mar 16, 2004 #4

    matt grime

    User Avatar
    Science Advisor
    Homework Helper

    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
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Matching Hats Problem
  1. Hat puzzle (Replies: 4)