C. Content · Foundations of Mathematics 12 ContentCombinatorics: Combinations, Pascal's Triangle and Pathways
BC FOM 12: combinations BC FOM 12: Pascal's Triangle BC FOM 12: pathwaysAbout 70 minutes
Learning goals- I can tell when order does not matter and count combinations with nCr.
- I can solve combination problems with conditions, including "at least" problems.
- I can build Pascal's triangle, connect it to nCr, and use it to count pathways on a grid.
Words to know
combination
A selection of objects in which order does not matter.
nCr
The number of combinations of r objects from n: n! ÷ (r!(n - r)!).
Pascal's triangle
A triangle of numbers in which each number is the sum of the two above it; the entries are nCr.
pathway
A route through a grid or network, often moving only in certain directions.
When order does not matter
Choosing 3 pizza toppings from 8 is a combination: mushrooms, peppers, onions is the same pizza in any order. Each group of 3 can be arranged 3! = 6 ways, so we divide the permutations by 3!:
nCr = nPr ÷ r! = n! ÷ (r!(n - r)!)
8C3 = (8 × 7 × 6) ÷ (3 × 2 × 1) = 336 ÷ 6 = 56.
Two useful facts: nCr = nC(n - r) (choosing 3 to take is the same as choosing 5 to leave), and "at least one" = total - none.
Worked exampleExample 1: A committee with conditions
A school committee of 5 is chosen from 6 Grade 11 students and 7 Grade 12 students. How many committees have (a) exactly 2 Grade 11 students, (b) at least one Grade 11 student?
- (a) Choose 2 of the 6 Grade 11s and 3 of the 7 Grade 12s: 6C2 × 7C3 = 15 × 35 = 525.
- (b) Total committees: 13C5 = 1287.
- Committees with no Grade 11s (all Grade 12): 7C5 = 21.
- At least one Grade 11: 1287 - 21 = 1266.
Pascal's triangle
Start with 1 at the top. Each row begins and ends with 1, and each inside number is the sum of the two numbers above it. Row n (starting at row 0) lists nC0, nC1, ..., nCn. For example, row 4 is 1, 4, 6, 4, 1, so 4C2 = 6.
Patterns: each row is symmetric (nCr = nC(n - r)); the sum of row n is 2^n; and the rows give the coefficients of (a + b)^n, for example (a + b)⁴ = a⁴ + 4a³b + 6a²b² + 4ab³ + b⁴.
Rows 0 to 6 of Pascal's triangle. Row 6 shows 6C0 to 6C6: 1, 6, 15, 20, 15, 6, 1.Pathways
How many shortest routes are there from A to B on a street grid, moving only east or south? Each route is a list of moves, such as E E S E S S E. With 4 east moves and 3 south moves, a route is just a choice of which 3 of the 7 moves are south: 7C3 = 35.
You can also count by writing at each corner the number of ways to reach it: add the number from the corner above and the corner to the left. The numbers that appear are Pascal's triangle, turned on its side. This method also works when some streets are blocked: a blocked corner gets 0.
Counting routes on a 4 by 3 grid. Each number is the sum of the numbers above and to the left. There are 35 shortest routes from A to B.Worked exampleExample 2: A route through a checkpoint
On the same grid (4 blocks east, 3 blocks south), how many shortest routes from A to B pass through the corner 2 blocks east and 1 block south of A?
- A to the checkpoint: 2 east and 1 south, so 3C1 = 3 routes.
- Checkpoint to B: 2 more east and 2 more south, so 4C2 = 6 routes.
- By the counting principle: 3 × 6 = 18.
Worked exampleExample 3: Lottery odds
In a lottery where you choose 6 numbers from 1 to 49 (order does not matter), how many different tickets are possible?
- 49C6 = 49! ÷ (6! × 43!).
- = (49 × 48 × 47 × 46 × 45 × 44) ÷ 720 = 10 068 347 520 ÷ 720 = 13 983 816.
13 983 816 combinations, so one ticket has a 1 in 13 983 816 chance of matching all six.
Does order matter?
Ask: if I swap two of the chosen items, is it a different outcome? Different positions, ranks or roles mean order matters (permutation). A group, team, hand of cards or set of toppings means order does not matter (combination).
Hands-on activityExplore Pascal's triangle
Write out rows 0 to 10 of Pascal's triangle. Find (a) the row sums and their pattern, (b) the counting numbers and the triangular numbers (1, 3, 6, 10, ...) along the diagonals, (c) the Sierpinski pattern you get by shading the odd numbers. Then draw a 5 by 5 street grid, block two corners, and count the shortest routes from one corner to the opposite one.
Just for funPascal's triangle is named after Blaise Pascal, who wrote about it in the 1650s, but it was known much earlier. It appears in a Chinese book by Zhu Shijie from 1303 and was studied by mathematicians in Persia and India centuries before Pascal.
Your turn
2Seven people at a party each shake hands once with everyone else. How many handshakes?
3How many 5-card hands can be dealt from a 52-card deck?
4Write row 5 of Pascal's triangle.
5How many shortest routes are there on a grid 5 blocks east and 5 blocks north?
n(n - 1) ÷ 2 = 45, so n(n - 1) = 90 and n = 10.
More practice
1Is choosing a starting lineup of 5 from 12 basketball players (no positions) a permutation or a combination? How many?
A combination: 12C5 = 792.
2A pizza place has 10 toppings. How many pizzas have at least 1 and at most 2 toppings?
10C1 + 10C2 = 10 + 45 = 55
3Use Pascal's triangle to expand (x + 1)³.
4What is the sum of the numbers in row 8 of Pascal's triangle?
5From 5 boys and 4 girls, how many groups of 3 include at least one girl?
Check your understandingQuiz
1. How many ways can 3 toppings be chosen from 8?
3. How many shortest routes go 3 blocks east and 2 blocks south?
4. Which is the same as 20C17?
For parents and teachersHow to help: Ask "does order matter?" in everyday choices: picking a team, a set of songs for a playlist, the top three in a race. Pascal's triangle is fun to build together and has many patterns to hunt for.
Common mistakes:
- Using nPr when order does not matter, which overcounts by r!.
- Adding the cases in a condition problem instead of multiplying the steps (and the reverse).
- Starting Pascal's triangle at row 1 instead of row 0.
- For "at least" problems, adding many cases and missing one, instead of using total - none.