Lesson 8 of 8 · 20 min

Counting and probability

Calculate probabilities of equally likely outcomes by counting with permutations and combinations, with and without technology.

What you will be able to do

  • Use P(E)=∣E∣∣S∣P(E) = \frac{|E|}{|S|} with permutations or combinations when outcomes are equally likely.
  • Count the event and the sample space in the same way, both ordered or both unordered.
  • Solve probability problems about random selections (cards, lotteries, samples) and random arrangements.
  • Model a real situation by counting, use technology when the numbers are large, and judge whether the answer is reasonable.

A lottery draws 6 numbers from 1 to 45, and you choose 6 numbers. What is the chance that all 6 of yours are drawn? Every set of 6 numbers is equally likely to come up, so the answer is 1 divided by the number of possible sets. A probability question has become a counting question.

Key idea

Probability by counting

If every outcome in the sample space SS is equally likely, the probability of an event EE is

P(E)=∣E∣∣S∣=number of outcomes in Etotal number of outcomesP(E) = \frac{|E|}{|S|} = \frac{\text{number of outcomes in } E}{\text{total number of outcomes}}

Count both with the same method. If ∣S∣|S| counts unordered selections, ∣E∣|E| must count unordered selections too.

Worked example

The chance of winning a lottery

  • Complex familiar
  • Technology active

In a lottery, 6 numbers are drawn at random from the numbers 1 to 45. A player chooses 6 numbers.

(a) How many different sets of 6 numbers can be drawn?

(b) Find the probability that the player's 6 numbers are exactly the 6 drawn.

(c) Find the probability that exactly 4 of the player's numbers are drawn, correct to three significant figures.

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Count the sample space with the same method you will use for the event.

  2. Split the objects into groups ("chosen" and "not chosen") and choose from each.

  3. Divide, and round only at the end.

Watch out for

  • Using permutations for the sample space but combinations for the event, or the other way round.

  • Forgetting the factor (392)\binom{39}{2}: the other 2 numbers drawn must come from the numbers the player did not choose.

Selections with two types. A bag holds 6 red and 4 blue counters, and 3 are drawn at random without replacement. To find the probability of exactly 2 red, count the selections with 2 of the 6 red and 1 of the 4 blue, then divide by all selections of 3 counters.

Choose from each colour, then divide by every possible selection of 3.
P(exactly 2 red)=(62)(41)(103)=15×4120=12P(\text{exactly 2 red}) = \frac{\binom{6}{2}\binom{4}{1}}{\binom{10}{3}} = \frac{15 \times 4}{120} = \frac{1}{2}
Interactive

Check with a tree diagram

Select the three paths with exactly two reds. Each has probability 120720=16\frac{120}{720} = \frac{1}{6}, so the total is 12\frac{1}{2}, the same as counting with combinations, and with far less drawing.

From the same bag of 6 red and 4 blue counters, 3 counters are drawn at random without replacement. Find the probability that all 3 are red. Give your answer as a fraction.

Random arrangements. When people or objects are put in a random order, each of the n!n! arrangements is equally likely. Count the arrangements in the event using the techniques from earlier lessons, then divide by n!n!.

Five students, including Kai and Lia, line up in a random order. Find the probability that Kai and Lia stand next to each other. Give your answer as a fraction.

Tip

Ordered or unordered, but be consistent

Many problems can be done either way. For all 3 counters red, ordered counting gives

6P310P3=120720=16,\frac{{}^6P_3}{{}^{10}P_3} = \frac{120}{720} = \frac{1}{6},

the same answer, because both counts were multiplied by 3!3!. Using ordered counts on top and unordered counts underneath is the error.

Worked example

How many phones should the inspector test?

  • Complex unfamiliar
  • Technology active

A batch of 20 phones contains 3 that are faulty. An inspector tests a random sample of phones from the batch, and the batch is rejected if any tested phone is faulty.

(a) If 4 phones are tested, find the probability that the batch is rejected.

(b) The manufacturer wants at least a 90% chance of rejecting a batch like this. What is the smallest number of phones the inspector should test? Comment on your answer.

6 steps

Try it yourself first, then check the working one step at a time.

Method

  1. "At least one" means use 1−P(none)1 - P(\text{none}).

  2. Count selections from the good items only for "none".

  3. Write the condition as an inequality and test values with technology.

  4. Interpret the result in the context.

Watch out for

  • Finding P(exactly one faulty)P(\text{exactly one faulty}) instead of "at least one".

  • Treating the tests as independent, 1−0.854≈0.4781 - 0.85^4 \approx 0.478, which ignores that the sample is drawn without replacement.

Without technology

The numbers are chosen to cancel:

(63)(103)=20120=16\frac{\binom{6}{3}}{\binom{10}{3}} = \frac{20}{120} = \frac{1}{6}

Leave answers as exact fractions in simplest form.

With technology

Use nCr for large counts:

(132)(393)(525)≈0.2743\frac{\binom{13}{2}\binom{39}{3}}{\binom{52}{5}} \approx 0.2743

Write the expression first, then round as the question asks.

Common mistake

With and without replacement

Drawing without replacement changes the probabilities at each draw, so (610)3\left(\frac{6}{10}\right)^3 is wrong for drawing 3 counters from the bag. Counting selections with (nr)\binom{n}{r} handles "without replacement" automatically.

Exam tip

Is the answer reasonable?

A probability must lie between 0 and 1, and an event that should be rare should get a small answer. With technology, still write the counting expression: the method marks are for the expression, not the calculator display.

Summary

  • For equally likely outcomes, P(E)=∣E∣∣S∣P(E) = \frac{|E|}{|S|}, which turns probability into counting.

  • Count the event and the sample space the same way, both ordered or both unordered.

  • Selections with types: multiply combinations for each type, e.g. (62)(41)(103)\frac{\binom{6}{2}\binom{4}{1}}{\binom{10}{3}}.

  • Random arrangements: count the arrangements in the event and divide by n!n!.

  • "At least one" is often easiest as 1−P(none)1 - P(\text{none}).

  • Use technology for large counts, and check that the answer is sensible in context.

Finished the lesson?

Try the 2 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 8 of 80% read

Save your progress with a free account