1
$\begingroup$

A two pair is a five card hand with two of one value, two of another value,and one of a third value. Ex: AABBC. Looking online shows that the correct formulation is [(13c2)(4c2)(4c2)(11)(4)]/(52c5). I do not understand why you multiple (4c2) twice though.

The reasoning I tried to apply (incorrectly) was as follows: There are 13 ranks, 4 cards in each rank. Then there are 4c2 ways to get 2 cards of the same rank, for each of the 13 ranks. So for the first pair, we have 13*(4c2) ways to get the desired pair. Once we have that pair one of the ranks is now off limits, so there are only 12*(4c2) ways to get the second pair. And once we have that only 11 ranks remain for the fifth card, each with 4 possibilities, giving us 11*4 options for it. Thus, the total number of ways to get a two pair is 13*12*(4c2)(4c2)(4*11)/(52c5). This is a different value from the one above though. Also, while my method multiplies (4c2) twice as well, the reasoning for it seems to be different than in the method above.

Can someone please explain why the correct method works, and where my thinking has gone wrong?

EDIT: Corrected my final formula.

$\endgroup$
7
  • $\begingroup$ What are $13$c$2$ and the like? $\endgroup$
    – Bernard
    Aug 28, 2016 at 15:32
  • $\begingroup$ 13c2 is another way of writing $\binom{13}{2}$ $\endgroup$ Aug 28, 2016 at 15:32
  • $\begingroup$ @Bernard: $13c2$ means $13$ choose $2$. $\endgroup$
    – T. Eskin
    Aug 28, 2016 at 15:33
  • $\begingroup$ In your reasoning, you mention 4*11, but you didn't include them in your formula. $\endgroup$
    – Braindead
    Aug 28, 2016 at 15:36
  • 1
    $\begingroup$ Also, internet have 52C5 in the denominator, not 52C2. See en.wikipedia.org/wiki/… $\endgroup$
    – Braindead
    Aug 28, 2016 at 15:37

2 Answers 2

2
$\begingroup$

I think of it this way:

We wish to construct a 2-pair hand. First, choose which two ranks are to be pairs; there are $\binom{13}{2}$ ways to do this. Next, choose which two of the first rank we have in our hand - $\binom42$ - and then choose which two of the second rank we have as our second pair - $\binom42$ again. Finally, choose the last card from among the remaining $11$ ranks, so there are $11\cdot 4$ cards to choose from.

$\endgroup$
2
  • $\begingroup$ I understand things in terms of multiplication trees. It makes sense for me to say something like "we have 13c2 options for the set of two ranks, and each of those has 4c2 ways of choosing the suits within the rank." But that only gives me (13c2)(4c2). I don't understand why it makes sense to multiply the second (4c2) within the line of reasoning I gave in the quote. $\endgroup$ Aug 28, 2016 at 16:23
  • $\begingroup$ The first 4c2 only chooses the first pair. You have to do it twice. It's like choosing accessories when you want to wear two necklaces and two rings, and you have four of each. That's 4c2 twice. $\endgroup$ Aug 28, 2016 at 16:45
1
$\begingroup$

Your answer is twice as large as it should be, because you are counting each two-pair hand twice.

For example, if you first choose 2 kings, then choose 2 jacks, and then choose a 5th card, you will end up with the same hand if you first choose the 2 jacks, then choose the 2 kings, and then the same 5th card.

By choosing the two ranks for the pairs at the same time, which can be done in $\binom{13}{2}$ ways, you avoid this problem; but you can also just divide your answer by 2 to get the right answer.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .