GATE / CS ARCHIVE

GATE CSE 2006 / QUESTION 24

Equal minima under a random permutation

Discrete Mathematics · Combinatorics & Counting · Full GATE CSE 2006 paper

GATE 2006, Q24 2 marks · MCQ
Report issue

Combinatorics & Counting

Question 24, GATE 2006: Let N={1,…,n} and A,B⊆N. How many permutations π of N satisfy min(π(A))=min(π(B)), where π(S)={π(s):s∈S}? The minimum requires nonempty A and B, although the reproduction says arbitrary subsets.
Options:
(A) (n−|A∪B|)|A||B|
(B) (|A|²+|B|²)n²
(C) n!·|A∩B|/|A∪B|
(D) |A∩B|²/C(n,|A∪B|)
Tap to enlarge
Your answer
Answer & solution

Answer: C for nonempty A and B (no official key was published)

1. The minima of π(A) and π(B) agree exactly when the smallest image among A∪B belongs to A∩B. By symmetry every member of A∪B is equally likely to have that image, so the fraction is |A∩B|/|A∪B|.

2. Multiply by n! to get C. The statement allows arbitrary subsets, but min of an empty set is undefined; nonempty A,B are required for this calculation.

3. If they are disjoint and nonempty the answer is 0.

4. Teaching check: Only the relative order of images of A∪B matters. If its earliest image comes from an element outside the intersection, one subset has a strictly earlier minimum than the other. Uniform permutations make each union element equally likely to be earliest, giving the intersection-to-union ratio.

Original paper, page 3