DR.WANG Mathematics中文

2023 STEP · Paper 3 · Question 12

Probability · probability

Problem outline

There are nn pairs of socks, each pair a different colour and the two socks of a pair alike. Draw 2k2k socks uniformly without replacement from the 2n2n individual socks, where kk is an integer and 0≤2k≤n0\le2k\le n. (i) Find the probability that no colour occurs twice. (ii) Write Xn,kX_{n,k} for the number of complete pairs selected. For 0≤r≤k0\le r\le k, prove P(Xn,k=r)=(nr)(n−r2(k−r))22(k−r)/(2n2k)P(X_{n,k}=r)=\binom nr\binom{n-r}{2(k-r)}2^{2(k-r)}/\binom{2n}{2k}. (iii) For 1≤r≤k1\le r\le k, prove rP(Xn,k=r)=[k(2k−1)/(2n−1)]P(Xn−1,k−1=r−1)rP(X_{n,k}=r)=[k(2k-1)/(2n-1)]P(X_{n-1,k-1}=r-1), and deduce E(Xn,k)E(X_{n,k}).

Show final result

(i) The probability is 22k(n2k)/(2n2k)2^{2k}\binom n{2k}/\binom{2n}{2k}. (ii) Choose rr complete colours, then 2(k−r)2(k-r) single colours and one of two socks of each. (iii) Marking one of the rr complete pairs gives the stated recurrence. Summing over rr yields E(Xn,k)=k(2k−1)/(2n−1)E(X_{n,k})=k(2k-1)/(2n-1).

Source and attribution

The outline was prepared for DR.WANG Mathematics. The published solutions are credited above.

Original question (external)