Module 2.4 · Counting and Probability
Combinations
A combination is a selection where order doesn't matter: a committee, a hand of cards, a set of pizza toppings. Combinations count handshakes, diagonals, triangles, grid paths and ways to share identical objects. They are the most-used formula on the counting problems of the AMC 8.
From permutations to combinations
How many ways can you choose toppings from ? If order mattered, there would be ordered choices. But each set of toppings (say mushroom, onion, pepper) appears times in that list, once for each order. So there are sets.
Combinations
The number of ways to choose objects from different objects, when order doesn't matter, is
Read as " choose ."
Two facts save time:
- Symmetry: . Choosing people to go is the same as choosing to stay. So .
- Pairs: . This counts handshakes, games in a round robin, and segments between points.
Ask: does order matter?
Choosing a president, vice president and treasurer is a permutation (the jobs are different). Choosing a -person committee is a combination (the members are equal). If swapping two chosen items gives a different result, use permutations; if it gives the same result, use combinations.
Worked example: A committee with two groups
A club has boys and girls. How many -person committees have exactly boys and girls?
Choose the boys and the girls separately, then multiply: .
Grid paths
To walk from the bottom-left corner to the top-right corner of a grid, moving only right or up, you make right moves and up moves, moves in all.
A path is decided by which of the moves are "up." So there are paths.
Worked example: Paths through a point
On the grid above, how many shortest paths pass through the point ?
Split the walk at . From to : rights and up, paths. From to : rights and ups, paths. Total: .
Sharing identical objects (stars and bars)
Worked example: Stars and bars
In how many ways can identical candies be given to children (a child may get none)?
Line up the candies as stars and insert bars to split them into groups: means , , . Every arrangement of stars and bars gives one sharing, and every sharing gives one arrangement. So count the ways to choose the bar positions among spots: .
If each child must get at least one, first hand one candy to each child, then share the remaining freely: .
Common mistake
Stars and bars only works when the objects are identical. Giving different prizes to children is a multiplication problem: , since each prize independently picks a child.
Practice
Seven people are at a party, and each person shakes hands with every other person exactly once. How many handshakes take place?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
How many diagonals does a convex octagon have?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Ten points are marked on a circle. How many triangles have all three vertices among these points?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A team of is chosen from girls and boys. How many teams have exactly girls?
A robot walks from to , one unit at a time, moving only right or up. How many different paths can it take?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Six points are marked on a line , and four points are marked on a different line parallel to . How many triangles have all three vertices among these points?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A committee of is chosen from people. Two of the people, Rosa and Sam, refuse to serve together. How many committees are possible?
In how many ways can identical pencils be given to students so that each student gets at least one pencil?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Real contest practice
- 2012 AMC 8, Problem 14: every pair of teams plays once; work backward from the number of games.
- 2019 AMC 8, Problem 25: share identical apples among three people, a classic stars and bars setup.