Mathematics (JEE)Moderate
A permutation of the numbers 1, 2, 3, 4 is chosen uniformly at random and viewed as a function on {1, 2, 3, 4}. What is the expected number of cycles (including fixed points) in its cycle decomposition?
- A. 25/12
- B. 5/2
- C. 2
- D. 3
Correct answer: A. 25/12
The expected number of cycles of a random permutation of n is 1 + 1/2 + … + 1/n. For n = 4 this is 25/12, which enumerating the 24 permutations confirms. The value 5/2 ignores the harmonic weights.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A permutation of 1, 2, 3, 4, 5 is chosen uniformly at random. An inversion is a pair of positions i < j with pi > pj. What is the expected…
- A permutation of 1, 2, 3, 4, 5 is chosen uniformly at random. A left-to-right maximum is an entry larger than every entry before it (the…
- A permutation of 1, 2, 3, 4, 5 is chosen uniformly at random. How many pairs of consecutive values (i, i+1), for i = 1 to 4, end up next…
- A permutation of 1, 2, 3, 4 is chosen uniformly at random. A descent is a position i with pi > p(i+1). What is the expected number of…
- A fair coin is tossed four times. A run is a maximal block of identical consecutive outcomes. What is the expected number of runs?
- A fair coin is tossed five times. What is the expected number of positions i (1 ≤ i ≤ 4) at which both the i-th and (i+1)-th tosses are…