Mathematics (JEE)HardGATE CS · ICPC

A random permutation of 1, 2, 3, 4, 5 is chosen uniformly. Given that the number 1 stays in position 1, what is the expected number of fixed points (numbers in their own positions) in the whole permutation?

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

Correct answer: D. 2

Conditioned on position 1 being fixed, the other 4 positions carry a uniform random permutation of {2,...,5}. By linearity such a permutation has expected fixed-point count 1, so E = 1 (the fixed point at position 1) + 1 = 2.

More Permutations, Combinations and Probability questions

Exams that ask this topic