Skip to content
Official PYQ · 2024

GATE CS 2024 Set 1 Q4 — Probability: Random Variables and Distributions

Explain with AI

Consider a permutation sampled uniformly at random from the set of all permutations of {1,2,3,⋯ ,n}\{1,2,3, \cdots, n\} for some n≥4n \geq 4. Let XX be the event that 11 occurs before 22 in the permutation, and YY the event that 33 occurs before 44. Which one of the following statements is TRUE?

Choose one option
View worked solution

Answer: B

To determine the relationship between events XX and YY, we can analyze the relative order of the elements in a randomly chosen permutation of {1,2,3,…,n}\{1, 2, 3, \dots, n\} for n≥4n \geq 4:

  • Probability of XX: In any permutation, the element 11 must appear either before or after 22. By symmetry, both cases are equally likely. Thus, P(X)=12P(X) = \frac{1}{2}.
  • Probability of YY: Similarly, the element 33 must appear either before or after 44. By symmetry, P(Y)=12P(Y) = \frac{1}{2}.
  • Joint Probability P(X∩Y)P(X \cap Y): Consider the subset of elements {1,2,3,4}\{1, 2, 3, 4\}. There are 4!=244! = 24 equally likely relative orderings of these four elements. For X∩YX \cap Y to occur, 11 must be before 22, and 33 must be before 44.
    • We can choose 22 positions out of 44 for {1,2}\{1, 2\} in (42)=6\binom{4}{2} = 6 ways, placing 11 in the earlier position and 22 in the later.
    • The remaining 22 positions are filled with 33 and 44 such that 33 is in the earlier position and 44 is in the later (11 way).
    Thus, there are exactly 66 favorable orderings out of 2424, giving P(X∩Y)=624=14P(X \cap Y) = \frac{6}{24} = \frac{1}{4}.

Since P(X∩Y)=P(X)⋅P(Y)=12⋅12=14P(X \cap Y) = P(X) \cdot P(Y) = \frac{1}{2} \cdot \frac{1}{2} = \frac{1}{4}, the events XX and YY are independent.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Probability: Random Variables and Distributions questions