Mathematics (JEE)HardGATE CS · ISI
A random permutation of 1, 2, 3, 4, 5 is chosen uniformly. An inversion is a pair of positions i < j with the value at position i larger than the value at position j. What is the expected number of inversions?
- A. 5/2
- B. 5
- C. 10
- D. 25/4
Correct answer: B. 5
There are C(5,2) = 10 pairs of positions. For each pair, the two values are equally likely to be in either order, so each pair is an inversion with probability 1/2. Hence E = 10/2 = 5.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- Three fair six-sided dice are rolled. What is the probability that the largest value shown is exactly 4?
- A fair die is rolled 4 times. What is the probability that no two consecutive rolls show the same value?
- A fair coin is tossed 8 times. What is the probability that the tosses never show three heads in a row?
- A box holds a fair die and a loaded die. The loaded die shows 6 with probability 1/2 and each other face with probability 1/10. One die is…
- Two fair six-sided dice are rolled. What is the expected value of the absolute difference between the two faces?
- Two fair six-sided dice are rolled and their faces added. What is the variance of this total?