Unofficial archive — problems, solutions & results © IMC, reproduced with permission.

IMC / 2021 / Problems / Day 1, P2

IMC 2021 · Day 1 · P2

medium

Let nn and kk be fixed positive integers, and let aa be an arbitrary non-negative integer. Choose a random kk-element subset XX of {1,2,,k+a}\{1, 2, \dots, k+a\} uniformly (i.e., all kk-element subsets are chosen with the same probability) and, independently of XX, choose a random nn-element subset YY of {1,,k+n+a}\{1, \dots, k+n+a\} uniformly.

Prove that the probability P(min(Y)>max(X))\mathsf{P} \bigl( \min(Y) > \max(X) \bigr) does not depend on aa.

(proposed by Fedor Petrov, St. Petersburg State University)

Solution 1 of 2 (official)

Hint: The sets XX and YY with min(Y)>max(X)\min(Y) > \max(X) are uniquely determined by XYX \cup Y.

The number of choices for (X,Y)(X, Y) is (k+ak)(n+k+an)\binom{k+a}{k} \cdot \binom{n+k+a}{n}.

The number of such choices with min(Y)>max(X)\min(Y) > \max(X) is equal to (n+k+an+k)\binom{n+k+a}{n+k} since this is the number of choices for the (n+k)(n+k)-element set XYX \cup Y and this union together with the condition min(Y)>max(X)\min(Y) > \max(X) determines XX and YY uniquely (note in particular that no elements of XX will be larger than k+ak + a).

Hence the probability is (n+k+an+k)(k+ak)(n+k+an)=1(n+kk)\frac{\binom{n+k+a}{n+k}} {\binom{k+a}{k} \cdot \binom{n+k+a}{n}} = \frac{1}{\binom{n+k}{k}} where the identity can be seen by expanding the binomial coefficients on both sides into factorials and canceling.

Since the right hand side is independent of aa, the claim follows.

Solution 2 of 2 (official)

Let ff be the increasing bijection from {1,2,,k+a}\{1, 2, \dots, k+a\} to {1,,k+a+n}Y\{1, \dots, k+a+n\} \setminus Y. Note that min(Y)>max(X)\min(Y) > \max(X) if and only if min(Y)>max(f(X))\min(Y) > \max(f(X)).

Note that {Zn:=Y, Zk:=f(X), Za:=f({1,2,,k+a}X)}\{ Z_n := Y, \ Z_k := f(X), \ Z_a := f(\{1, 2, \dots, k+a\} \setminus X) \} is a random partition of {1,,n+k+a}=ZnZkZa\{1, \dots, n+k+a\} = Z_n \sqcup Z_k \sqcup Z_a into an nn-subset, kk-subset, and aa-subset.

If an aa-subset ZaZ_a is fixed, the conditional probability that min(Zk)>max(Zn)\min(Z_k) > \max(Z_n)

always equals 1/(n+kk)1 / \binom{n+k}{k}. Therefore the total probability also equals 1/(n+kk)1 / \binom{n+k}{k}.

How the field did

contestants scored
514
average (of 10)
5.41
solved (≥ 80%)
39.1%
near-0 (≤ 10%)
19.1%
discrimination
0.46

Score distribution (field cohort)

Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.

Similar problems

IMC 1999 · Day 2 · P8mediumavg 5.6/10 · solved 49% · near-0 32% · disc 0.58
IMC 2017 · Day 1 · P4very hardavg 1.4/10 · solved 11% · near-0 81% · disc 0.52
IMC 2025 · Day 2 · P7mediumavg 5.5/10 · solved 39% · near-0 19% · disc 0.62
IMC 2024 · Day 1 · P3mediumavg 5.3/10 · solved 40% · near-0 30% · disc 0.55