Probability and Playing Cards: Playing Poker

In the previous lesson, we identified the sample space for a five-card poker game from a deck of 52 cards.

This is the total number of possible five-card combinations.

{"mathml":"<math style=\"font-family:stix;font-size:36px;\" xmlns=\"http://www.w3.org/1998/Math/MathML\"><mstyle mathsize=\"36px\"><mtable columnspacing=\"0px\" columnalign=\"right center left\"><mtr><mtd><mfrac><mrow><mn>52</mn><mo>!</mo></mrow><mrow><mn>47</mn><mo>!</mo><mn>5</mn><mo>!</mo></mrow></mfrac></mtd><mtd><mo>=</mo></mtd><mtd><mn>2</mn><mo>,</mo><mn>598</mn><mo>,</mo><mn>960</mn></mtd></mtr></mtable></mstyle></math>","truncated":false}

This is the sample space for calculating probabilities for specific card combinations.

A Pair

In a game of poker, you get five cards. What is the probability that two of the cards will be the same number or face card? In other words, what is the probability of a pair?

We start by looking at a set of 13 cards from one suit. There are 13 possibilities and using combinations notation we get this calculation.

{"mathml":"<math style=\"font-family:stix;font-size:36px;\" xmlns=\"http://www.w3.org/1998/Math/MathML\"><mstyle mathsize=\"36px\"><mi>C</mi><mfenced><mrow><mn>13</mn><mo>,</mo><mn>1</mn></mrow></mfenced></mstyle></math>","truncated":false}

For any particular card, there are two cards out of the four suits possible.

{"mathml":"<math style=\"font-family:stix;font-size:36px;\" xmlns=\"http://www.w3.org/1998/Math/MathML\"><mstyle mathsize=\"36px\"><mi>C</mi><mfenced><mrow><mn>4</mn><mo>,</mo><mn>2</mn></mrow></mfenced></mstyle></math>","truncated":false}

Now let’s look at the three remaining cards.

There are three cards taken out of the remaining twelve cards, as shown below.

{"mathml":"<math style=\"font-family:stix;font-size:36px;\" xmlns=\"http://www.w3.org/1998/Math/MathML\"><mstyle mathsize=\"36px\"><mi>C</mi><mfenced><mrow><mn>12</mn><mo>,</mo><mn>3</mn></mrow></mfenced></mstyle></math>","truncated":false}

For each of these three remaining cards, they are available in four suits. So we need to account for that, too.

{"mathml":"<math style=\"font-family:stix;font-size:36px;\" xmlns=\"http://www.w3.org/1998/Math/MathML\"><mstyle mathsize=\"36px\"><mi>C</mi><msup><mfenced><mrow><mn>4</mn><mo>,</mo><mn>1</mn></mrow></mfenced><mn>3</mn></msup></mstyle></math>","truncated":false}

Now we can calculate the total possibilities.

Finally, we can calculate the probability of getting a pair of cards:

{"mathml":"<math style=\"font-family:stix;font-size:36px;\" xmlns=\"http://www.w3.org/1998/Math/MathML\"><mstyle mathsize=\"36px\"><mtable columnspacing=\"0px\" columnalign=\"right center left\"><mtr><mtd><mi>P</mi><mfenced><mrow><mi>P</mi><mi>a</mi><mi>i</mi><mi>r</mi></mrow></mfenced></mtd><mtd><mo>=</mo></mtd><mtd><mfrac><mrow><mn>1</mn><mo>,</mo><mn>098</mn><mo>,</mo><mn>240</mn></mrow><mrow><mn>2</mn><mo>,</mo><mn>598</mn><mo>,</mo><mn>960</mn></mrow></mfrac></mtd></mtr><mtr><mtd/><mtd><mo>=</mo></mtd><mtd><mn>0</mn><mo>.</mo><mn>422569027611044</mn></mtd></mtr><mtr><mtd/><mtd><mo>&#x2248;</mo></mtd><mtd><mn>42</mn><mo>%</mo></mtd></mtr></mtable></mstyle></math>","truncated":false}

There is roughly a 42% chance of getting a pair with a poker hand. We can test this out with a deck of playing cards. Or you can use a simulation.

This is a simulation of a deck of cards. It can be used to simulate a full game of poker, but for this lesson, we will just focus on drawing the first five cards.

  1. Click on the “Deal Cards” button. You will then see five cards dealt out.
  2. You can exchange up to four cards by identifying the ones you want to flip. Click on the small green buttons to see the word “Flip.”
  3. Then click on the “Flip Cards” button to exchange the cards you discarded.

For this simulation, you’ll really just be focused on Step 1.

Here is a mobile version of this simulation: click on this link.

 

Activity

Run a simulation of dealing 50 rounds of poker. Keep track of the number of times you got a pair.

Follow these directions: 

  • Click on Deal Cards. 
  • Look at  the five cards drawn. 
  • If there are two identical cards, make a note in the table.
  • If there are not two identical cards, make a note in the table. Note: If you get three of a kind, count them as not a pair.
  • Click on Reset to start a new round.
  • Do a total of fifty trials.

Number of Trials

Number with Pairs

Number without Pairs

50

   

Analysis

Of the 50 rounds of poker, how many had a pair? How does this compare to the theoretical probability? Compare your results to those of a classmate.