GATE Computer ScienceHardGATE CS

A permutation of {1, 2, …, 10} is chosen uniformly at random. What is the expected number of cycles in its cycle decomposition (fixed points count as cycles of length 1)?

  1. A. 7381/2520 ≈ 2.93
  2. B. 83711/27720 ≈ 3.02
  3. C. 7129/2520 ≈ 2.83
  4. D. ln 10 ≈ 2.30

Correct answer: A. 7381/2520 ≈ 2.93

The expected number of cycles of length k in a random permutation of n ≥ k elements is 1/k, so by linearity of expectation the expected number of cycles is H₁₀ = 1 + 1/2 + … + 1/10 = 7381/2520 ≈ 2.93. The answers 7129/2520 and 83711/27720 are H₉ and H₁₁.

More Discrete Mathematics questions

Exams that ask this topic