Question
Consider a permutation sampled uniformly at random from the set of all permutations of for some . Let be the event that occurs before in the permutation, and the event that occurs before . Which one of the following statements is TRUE?
Official answer and solution
- Official answer
- B
- From
- Official GATE 2024 answer key
Solution
Use symmetry of disjoint element pairs in a uniform random permutation to compute and .
By symmetry in a uniformly chosen permutation of :
- and are equally likely to appear in either relative order, so .
- and are equally likely to appear in either relative order, so .
- Since and are disjoint pairs of elements (), all relative orderings of and partition the permutations into 4 equal-sized classes of size . Thus:
Hence events and are independent.
Option (B)
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2024 Computer Science and Information Technology - Set 1 (CS1)
- Question
- 14 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.