Mathematics (JEE)HardGATE CS

Four people put their hats in a box and each takes one hat at random. What is the expected number of people who take their own hat?

  1. A. 2
  2. B. 1/2
  3. C. 1
  4. D. 4

Correct answer: C. 1

By linearity of expectation, each person gets his own hat with probability 1/4, so the expectation is 4 × 1/4 = 1. Option 2 double-counts the matches.

More Permutations, Combinations and Probability questions

Exams that ask this topic