Skip to content
Family Table Math
Auto

Probability with Counting

When there are too many outcomes to list, you can still find probabilities: just count them instead. Permutations and combinations let you count both the outcomes you want and all the possible outcomes, and dividing gives the probability. This is how you find the chance of a particular poker hand or a lucky committee draw.

When all outcomes are equally likely (from sample spaces):

P(A)=n(A)n(S)=number of favourable outcomestotal number of outcomesP(A) = \frac{n(A)}{n(S)} = \frac{\text{number of favourable outcomes}}{\text{total number of outcomes}}

Now n(A)n(A) and n(S)n(S) are found with the counting principles, permutations, or combinations, instead of a list.

Decide once whether order matters, and use the same method for the numerator and the denominator. If you count the total with combinations, count the favourable outcomes with combinations too. (Using permutations for both also works, as long as you’re consistent, because the r!r! cancels.)

A standard deck has 5252 cards: 44 suits (hearts and diamonds are red; clubs and spades are black), each with 1313 ranks (A, 2 to 10, J, Q, K). There are 44 cards of each rank and 1212 face cards (J, Q, K). A 55-card hand is a combination, so the number of possible hands is

(525)=2 598 960\binom{52}{5} = 2\,598\,960

The complement of “at least one” is “none”. Since P(A)+P(A′)=1P(A) + P(A') = 1:

P(at least one)=1−P(none)P(\text{at least one}) = 1 - P(\text{none})

“None” is usually a single count, while “at least one” would need many cases.

A committee of 44 is chosen at random from 66 boys and 55 girls. Find the probability that it has exactly 22 girls.

Solution. Order doesn’t matter, so use combinations. Total committees: (114)=330\dbinom{11}{4} = 330.

Favourable committees: 22 of the 55 girls and 22 of the 66 boys:

(52)×(62)=10×15=150\binom{5}{2} \times \binom{6}{2} = 10 \times 15 = 150 P(exactly 2 girls)=150330=511P(\text{exactly 2 girls}) = \frac{150}{330} = \frac{5}{11}

A 55-card hand is dealt from a well-shuffled standard deck. Find the probability that

  • (a) all five cards are hearts
  • (b) the hand has exactly 22 aces

Solution. The total is (525)=2 598 960\dbinom{52}{5} = 2\,598\,960 in both parts.

(a) Choose 55 of the 1313 hearts: (135)=1287\dbinom{13}{5} = 1287.

P(all hearts)=12872 598 960=3366 640≈0.000 495P(\text{all hearts}) = \frac{1287}{2\,598\,960} = \frac{33}{66\,640} \approx 0.000\,495

(b) Choose 22 of the 44 aces and 33 of the 4848 non-aces:

P(exactly 2 aces)=(42)(483)(525)=6×17 2962 598 960=103 7762 598 960≈0.0399P(\text{exactly 2 aces}) = \frac{\binom{4}{2}\binom{48}{3}}{\binom{52}{5}} = \frac{6 \times 17\,296}{2\,598\,960} = \frac{103\,776}{2\,598\,960} \approx 0.0399

The letters of SQUARE are arranged at random. Find the probability that

  • (a) the arrangement begins with a vowel
  • (b) Q and U are next to each other

Solution. SQUARE has 66 different letters, so there are 6!=7206! = 720 equally likely arrangements.

(a) There are 33 vowels (U, A, E) for the first spot, then 5!5! ways to arrange the rest:

P(vowel first)=3×5!6!=360720=12P(\text{vowel first}) = \frac{3 \times 5!}{6!} = \frac{360}{720} = \frac{1}{2}

(b) Treat QU as a block: 5!5! arrangements, times 2!2! orders inside the block:

P(Q and U together)=5!×2!6!=240720=13P(\text{Q and U together}) = \frac{5! \times 2!}{6!} = \frac{240}{720} = \frac{1}{3}

A 55-card hand is dealt. Find the probability that it contains at least one ace.

Solution. Use the complement. “No aces” means all 55 cards come from the 4848 non-aces:

P(no aces)=(485)(525)=1 712 3042 598 960≈0.659P(\text{no aces}) = \frac{\binom{48}{5}}{\binom{52}{5}} = \frac{1\,712\,304}{2\,598\,960} \approx 0.659 P(at least one ace)=1−1 712 3042 598 960≈0.341P(\text{at least one ace}) = 1 - \frac{1\,712\,304}{2\,598\,960} \approx 0.341

Counting the top and bottom in different ways. Using P(n,r)P(n, r) for the total but (nr)\dbinom{n}{r} for the favourable outcomes gives a wrong answer. Pick one approach and stick with it.

Forgetting the “other” items. For “exactly 22 aces in 55 cards”, you also have to choose the other 33 cards from the 4848 non-aces. Choosing them from all 5050 remaining cards would allow more aces.

Doing “at least one” the long way, or the wrong way. Use 1−P(none)1 - P(\text{none}). Don’t multiply “one ace” by “any 44 other cards”: that counts hands with two or more aces several times.

Rounding too early. Keep exact counts or fractions until the last step. Card probabilities are often tiny, so round to at least three significant digits.

A probability greater than 11. If n(A)n(A) is bigger than n(S)n(S), you’ve counted the favourable outcomes in a way that allows repeats or order when the total doesn’t.

1. (Warm-up) Three students from a class of 1010 are chosen at random to win prizes (all the same). Kai is in the class. What is the probability that Kai wins?

Solution

Total: (103)=120\dbinom{10}{3} = 120. With Kai included, choose the other 22 from 99: (92)=36\dbinom{9}{2} = 36.

P(Kai wins)=36120=310P(\text{Kai wins}) = \frac{36}{120} = \frac{3}{10}

(This makes sense: 33 of the 1010 students win.)

2. (Warm-up) Four cards labelled A, B, C, D are shuffled and laid in a row. What is the probability they’re in the order ABCD?

Solution

There are 4!=244! = 24 equally likely orders, and only one is ABCD: P=124P = \dfrac{1}{24}.

3. (Warm-up) Two cards are dealt from a standard deck. Find the probability that both are hearts.

Solution(132)(522)=781326=117\frac{\binom{13}{2}}{\binom{52}{2}} = \frac{78}{1326} = \frac{1}{17}

4. (Core) A 55-card hand is dealt. Find the probability that all five cards are face cards (J, Q, or K).

Solution

There are 1212 face cards:

(125)(525)=7922 598 960≈0.000 305\frac{\binom{12}{5}}{\binom{52}{5}} = \frac{792}{2\,598\,960} \approx 0.000\,305

5. (Core) A committee of 33 is chosen at random from 44 teachers and 66 students. Find the probability that it includes at least one teacher.

Solution

The complement is “no teachers”, meaning 33 students:

P(no teachers)=(63)(103)=20120=16P(\text{no teachers}) = \frac{\binom{6}{3}}{\binom{10}{3}} = \frac{20}{120} = \frac{1}{6}P(at least one teacher)=1−16=56P(\text{at least one teacher}) = 1 - \frac{1}{6} = \frac{5}{6}

6. (Core) Seven people, including Zoe and Ali, line up in a random order. Find the probability that Zoe and Ali are next to each other.

Solution

Total: 7!7!. Together: treat Zoe and Ali as a block, giving 6!×2!6! \times 2!.

P=6!×2!7!=27P = \frac{6! \times 2!}{7!} = \frac{2}{7}

7. (Core) A 44-digit code is made of 44 different digits, chosen at random. Find the probability that all four digits are even.

Solution

Order matters for a code. Total: P(10,4)=5040P(10, 4) = 5040. All even: arrange 44 of the 55 even digits (0,2,4,6,80, 2, 4, 6, 8): P(5,4)=120P(5, 4) = 120.

P=1205040=142P = \frac{120}{5040} = \frac{1}{42}

(Using combinations for both gives the same answer: (54)÷(104)=5210=142\dbinom{5}{4} \div \dbinom{10}{4} = \dfrac{5}{210} = \dfrac{1}{42}.)

8. (Challenge) A full house is a 55-card hand with three cards of one rank and two of another (like three 8s and two kings). Find the probability of being dealt a full house.

Solution

Build the hand in stages and multiply:

  • the rank for the three: 1313 ways; which 33 of its 44 suits: (43)=4\dbinom{4}{3} = 4 ways
  • the rank for the pair (a different rank): 1212 ways; which 22 of its 44 suits: (42)=6\dbinom{4}{2} = 6 ways
13×4×12×6=374413 \times 4 \times 12 \times 6 = 3744P(full house)=37442 598 960=64165≈0.001 44P(\text{full house}) = \frac{3744}{2\,598\,960} = \frac{6}{4165} \approx 0.001\,44

9. (Challenge) Five friends each pick a whole number from 11 to 1010 at random. Find the probability that at least two of them pick the same number.

Solution

Order matters here (it matters who picked which number). Total: 105=100 00010^5 = 100\,000 equally likely ways. The complement is “all different”: P(10,5)=10×9×8×7×6=30 240P(10, 5) = 10 \times 9 \times 8 \times 7 \times 6 = 30\,240.

P(at least two match)=1−30 240100 000=0.6976P(\text{at least two match}) = 1 - \frac{30\,240}{100\,000} = 0.6976

That’s almost 70%70\%, much higher than most people guess!