Counting for
Probability
Learn how permutations and combinations let you count outcomes systematically and compute probabilities with confidence.
Why Counting Matters
Probability is fundamentally about comparing favorable outcomes to total outcomes. To compute \( P(E) = \frac{|E|}{|S|} \), you need reliable ways to count both the event set \( E \) and the sample space \( S \).
The Fundamental Counting Principle
If a task consists of sequential stages, and stage 1 can be done in \( n_1 \) ways, stage 2 in \( n_2 \) ways, and so on, then the total number of ways to complete the task is:
The Factorial Function
The factorial of a non-negative integer \( n \), written \( n! \), is the product of all positive integers from 1 to \( n \). It counts how many ways you can arrange \( n \) distinct objects in a line.
What Are Permutations?
A permutation is an arrangement of objects where order matters. Choosing a president, then a vice president from 5 candidates is different from choosing a vice president, then a president.
Think of it as filling \( r \) ordered slots. The first slot has \( n \) choices, the second has \( n-1 \), and so on, giving \( n \times (n-1) \times \cdots \times (n-r+1) \).
Permutations: Slots Filling
Choose 3 officers (President, VP, Secretary) from 5 people. Each slot reduces the available pool by one:
What Are Combinations?
A combination is a selection of objects where order does not matter. Choosing 3 committee members from 5 people gives the same committee regardless of the order you pick them.
We divide by \( r! \) because every group of \( r \) items was counted \( r! \) times in the permutation formula (once for each internal rearrangement).
Permutations vs Combinations
| Permutations \( P(n,r) \) | Combinations \( C(n,r) \) | |
|---|---|---|
| Order | Matters | Does not matter |
| Formula | \( \frac{n!}{(n-r)!} \) | \( \frac{n!}{r!(n-r)!} \) |
| Keyword clues | arrange, rank, order | choose, select, group |
| Example | 1st, 2nd, 3rd place | Pick a team of 3 |
| Relationship | \( P(n,r) = C(n,r) \times r! \) | |
Counting Meets Probability
When all outcomes in a sample space are equally likely, counting lets you compute probability directly:
Step-by-Step Strategy
Example 1: Committee Selection
A club has 10 members. A committee of 4 is chosen at random. What is the probability that two specific members, Alice and Bob, are both on the committee?
Example 2: Arranging Letters
The letters of the word MATH are arranged at random. What is the probability the arrangement starts with M?
Example 3: Poker Hands
A 5-card hand is dealt from a standard 52-card deck. What is the probability of getting exactly 2 kings?
Multi-Part Events: Multiply the Counts
When a favorable outcome has independent parts, count each part separately and multiply. The poker example used this: choosing kings AND choosing non-kings are separate tasks.
Common Mistakes
Quick Reference Summary
| Concept | Formula | When to Use |
|---|---|---|
| Factorial | \( n! \) | Arranging all \( n \) items |
| Permutation | \( \frac{n!}{(n-r)!} \) | Ordered selection of \( r \) from \( n \) |
| Combination | \( \frac{n!}{r!(n-r)!} \) | Unordered selection of \( r \) from \( n \) |
| Probability | \( \frac{|E|}{|S|} \) | Equally likely outcomes |
| Multi-part count | \( |A| \times |B| \times \cdots \) | Independent constraints |
Question 1 of 5
A lock has a 4-digit code where each digit is from 0 to 9 and digits may repeat. How many possible codes are there?
Question 2 of 5
How many ways can you choose a president, vice president, and treasurer from a group of 8 people?
Question 3 of 5
A bag contains 6 red and 4 blue marbles. You draw 3 marbles at random. What is the probability that all 3 are red?
Question 4 of 5
What is the value of \( \dfrac{P(n,r)}{C(n,r)} \)?
Question 5 of 5
A pizza shop offers 12 toppings. You can choose exactly 3. How many different pizzas can you make?