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 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 is equally likely, the probability of an event is
Count both with the same method. If counts unordered selections, must count unordered selections too.
Worked example
The chance of winning a lottery
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.
Step 1: Count the sample space
The order of the draw does not matter, so , using nCr on a calculator.
Step 2: Find the probability of matching all 6
Only one set of 6 matches the player's numbers: .
Step 3: Count the event for exactly 4
The 6 numbers drawn must include 4 of the player's 6 numbers and 2 of the 39 numbers the player did not choose: .
Splitting the 45 numbers into "the player's 6" and "the other 39" turns this into a selection from two groups.
Step 4: Divide
Try it yourself first, then check the working one step at a time.
Answer
(a) (b) (c) about
Method
Count the sample space with the same method you will use for the event.
Split the objects into groups ("chosen" and "not chosen") and choose from each.
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 : 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.
Select the three paths with exactly two reds. Each has probability , so the total is , 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 arrangements is equally likely. Count the arrangements in the event using the techniques from earlier lessons, then divide by .
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
the same answer, because both counts were multiplied by . Using ordered counts on top and unordered counts underneath is the error.
Worked example
How many phones should the inspector test?
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.
Step 1: Use the complement
The batch is rejected if the sample has at least one faulty phone. The complement is that the sample has no faulty phones, so all 4 come from the 17 good phones.
Step 2: Count and divide
Step 3: Find the probability of rejection
Step 4: Set up the condition for k phones
If phones are tested, we need , that is, .
Step 5: Use technology to test values
Make a table of values on a graphics calculator:
9 10 11 0.145 0.105 0.074 is not quite enough, and is the first value that works.
Step 6: Interpret the answer
The inspector must test 11 of the 20 phones, more than half the batch, to be 90% sure of catching a batch with 3 faulty phones. If testing is slow or damages the phones, that is expensive, so the manufacturer might accept a lower chance of detection or work on reducing faults in production instead.
Try it yourself first, then check the working one step at a time.
Answer
(a) (b) 11 phones
Method
"At least one" means use .
Count selections from the good items only for "none".
Write the condition as an inequality and test values with technology.
Interpret the result in the context.
Watch out for
Finding instead of "at least one".
Treating the tests as independent, , which ignores that the sample is drawn without replacement.
Without technology
The numbers are chosen to cancel:
Leave answers as exact fractions in simplest form.
With technology
Use nCr for large counts:
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 is wrong for drawing 3 counters from the bag. Counting selections with 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, , 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. .
Random arrangements: count the arrangements in the event and divide by .
"At least one" is often easiest as .
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.