I have an exercise as follows: There is a collection of cards consisting of 52 cards (13 types and 4 colours each type). We draw 5 cards from the collection. Then what is the probability of having exactly 1 pair (pair means same colour or same type)? Thanks for any indication.
|
|
HINT : As per the pigeonhole principle, if you have $n$ holes and $m$ balls with the condition that $m \gt n$, one hole will receive at least $2$ balls. When you're trying to insert $5$ balls into $4$ holes, you'll have one hole with at least $2$ balls. Think along these lines. Is it not guaranteed that you'll have at least one pair when you pick $5$ cards from the given $52$ card set? If yes, now, how'll you restrict it to exactly one? |
|||
|
|
|
We have $u$ different colors $C=\{c_i, i=1..u: k,l=1..u, k\ne l: c_k\ne c_l\}$
Probability of having exactly 1 pair (pair means same colour or same type) equals to:
$$p(n,u,v,m,k)=\frac{\left(\binom{v}{k}\binom{u-1}{m-k}\frac{(v-k-1)!}{(v-m-1)!}+\binom{u}{k}\binom{v-1}{m-k}\frac{(u-k-1)!}{(u-m-1)!}\right)k!(m-k)!}{\binom{n}{m}}$$
Probability for $u=4$ colors, $v=13$ types, $n=u\cdot v=52$, $k=2$ and $m=5$:
$$p(52,4,13,5,2)=\frac{\left(\binom{13}{2}\binom{3}{3}\frac{10!}{7!}+\binom{4}{2}\binom{12}{3}\frac{1!}{1}\right)2!3!}{\binom{52}{5}}\doteq 27\%$$
|
||||
|
|
|
I assume that three of a kind are forbidden. For the pair there are $13$ different types, and you may select any $2$ out of the $4$ cards. so there are $$13\binom{4}{2} = 13\cdot 6 = 78$$ ways to select the pair. The third card must be of a different type, so $52-4 = 48$ possibilities. Since no second pair is allowed, for the fourth card there are $44$ possibilities, and for the fifth card $40$. The order in which those three single cards are drawn does not matter, so we have to divide by $3!$. We have found that $$ 13\binom{4}{2} \cdot \frac{48\cdot 44\cdot 40}{3!} = 1098240$$ hands out of the $\binom{52}{5} = 2598960$ hands contain exactly $1$ pair. So the probability is $$1098240/2598960 \approx 42.26\%.$$ |
|||||
|

