I am trying to solve the following counting problem in Feller's probability book. I checked my answer against that given in the book. My answer to part (a) of the problem is correct (b) but I am difficulty deriving the expression for part (b). Here is my attempt.
Part(a) of the problem was also answered here - Probability/Combinatorics Problem. A closet containing n pairs of shoes.
- A closet has $n$ pairs of shoes. If $2r$ shoes are chosen at random (with $2r
Solution.
The sample space S has ${2n \choose 2r}$ sample points.
(a) No complete pair:
Select one of $2n$ shoes. The second shoe can be one of $2n-2$ shoes. The third shoe can be one of $2n-4$ shoes. The $k$'th shoe can be one of $2n-(2k-2)$ shoes.
The $2r$th shoe can be one of $2n-(4r-2)$ shoes. These $2r$ shoes can be permuted in (2r)! ways. As the order does not matter,
$$n(\text{No complete pair})=2^{2r}\frac{n!}{(n-2r)!(2r)!}=2^{2r}{n \choose 2r}$$
$$P(\text{No complete pair})=\frac{2^{2r}{n \choose 2r}}{{2n \choose 2r}}$$
(b) Exactly one complete pair.
Select one of $2n$ shoes. This shoe must have a pair, so that could be selected in only $1$ way. The third shoe can be one of $(2n-2)$ shoes, $k$th shoe is one of 2n-(2k-4). The $2r$th shoe is one of $2n-(4r-4)$. Also, since order is not important, we are overcounting by a factor of $(2r)!$.
$$\begin{alignedat}{1}n(\text{Exactly one pair}) & =(2n)\cdot(2n-2)\cdot(2n-4)\cdot(2n-(4r-4))/(2r)!\\ & =2^{2r-1}\frac{n!}{(n-2r+1)!(2r)!}\\ & =2^{2r-2}\frac{(n-1)!}{(n-2r+1)!(2r-1)!}\cdot\frac{n}{r} \end{alignedat}$$
The correct solution to part (b) of this problem in the book is:
$$\frac{n{{n-1}\choose{2r-2}}2^{2r-2}}{{2n}\choose{2r}}$$