4F

Using counting in probability

Find probabilities by counting the sample space and the event space with permutations and combinations, using the complement and a mix of methods.

When all outcomes are equally likely, probability is just counting: favourable outcomes over total outcomes. Tree diagrams get unmanageable when you draw five cards or arrange eight people. The counting tools of this chapter handle those easily.

The method

Unordered selections: hands and handfuls

Example 1●●

A bag has $5$ red, $4$ blue and $3$ green marbles. Three are drawn at random without replacement. Find the probability that (a) all three are red, (b) there is one of each colour, (c) at least one is green.

Sample space: ${}^{12}C_3 = 220$
The order of drawing doesn't matter, so count unordered handfuls of 3 from 12.
(a) $\dfrac{{}^5C_3}{220} = \dfrac{10}{220} = \dfrac{1}{22}$
Choose 3 of the 5 reds.
(b) $\dfrac{5 \times 4 \times 3}{220} = \dfrac{60}{220} = \dfrac{3}{11}$
One red from 5, one blue from 4, one green from 3.
(c) $1 - \dfrac{{}^9C_3}{220} = 1 - \dfrac{84}{220} = \dfrac{34}{55}$
Complement: no green means all 3 come from the 9 non-green marbles.

Ordered or unordered?

If the question cares about order ("red, then blue, then green"), count ordered selections on top and bottom. For the bag above, $P(\text{red, blue, green in that order}) = \dfrac{5 \times 4 \times 3}{12 \times 11 \times 10} = \dfrac{1}{22}$. That is one sixth of the answer to (b), because the three colours can come out in $3! = 6$ orders.

Random arrangements

Example 2●●

Six people, including Alex and Bo, sit in a row in random order. Find the probability that Alex and Bo sit together.

Sample space: $6! = 720$
All orders of 6 people.
Favourable: $5! \times 2 = 240$
Tie Alex and Bo as one block: 5 units, and 2 orders inside the block.
$P = \dfrac{240}{720} = \dfrac13$

A quicker way to see this: count only the two seats Alex and Bo end up in. Of the ${}^6C_2 = 15$ pairs of seats Alex and Bo could take, $5$ are next to each other, so $P = \tfrac{5}{15} = \tfrac13$.

Random numbers

Example 3●●●

A 4-digit number (from $1000$ to $9999$) is chosen at random. Find the probability that (a) its digits are all different, (b) its digits are in strictly increasing order.

Sample space: $9000$
There are 9000 four-digit numbers.
(a) $\dfrac{9 \times 9 \times 8 \times 7}{9000} = \dfrac{4536}{9000} = 0.504$
Boxes: first digit 9 ways (not 0), then 9, 8, 7.
(b) $\dfrac{{}^9C_4}{9000} = \dfrac{126}{9000} = 0.014$
Any 4 different non-zero digits can be put in increasing order in exactly one way. 0 can't be used, because it would have to come first.

Your turn

Five cards are dealt from a standard pack. Find the probability of exactly two aces, as a decimal to 3 significant figures.

Show the working

Sample space ${}^{52}C_5 = 2\,598\,960$. Choose $2$ of the $4$ aces and $3$ of the $48$ other cards: ${}^4C_2 \times {}^{48}C_3 = 6 \times 17\,296 = 103\,776$. So $P = \dfrac{103\,776}{2\,598\,960} \approx 0.0399$.

Flashcards
Probability by counting
$\dfrac{\text{favourable outcomes}}{\text{total outcomes}}$, both counted the same way.
$P( ext{at least one})$
$1 - P(\text{none})$
Practice
  1. Three marbles are drawn from a bag of $12$. How many unordered selections are possible?

  2. A bag has $5$ red, $4$ blue and $3$ green marbles. Three are drawn. $P(\text{all red}) =$

  3. Same bag. Find $P(\text{one of each colour})$, to 2 decimal places.

  4. Same bag. Find $P(\text{at least one green})$, to 2 decimal places.

  5. Six people sit in a row at random. $P(\text{Alex and Bo together}) =$

  6. The digits $1, 2, 3, 4, 5$ are arranged at random. Find the probability that $1$ and $2$ are not next to each other.

  7. A 4-digit number is chosen at random. Find the probability that its digits are all different.

  8. A 4-digit number is chosen at random. Find the probability that its digits are strictly increasing from left to right.

  9. Exam style: a committee of $4$ is chosen at random from $5$ teachers and $7$ students. Find the probability it has exactly $2$ teachers, to 2 decimal places.

  10. Exam style: five cards are dealt from a standard pack. Find the probability of exactly two aces, to 4 decimal places.

Formula sheet