Module 2.7 · Counting and Probability
Combinatorial identities
Sums of binomial coefficients show up all over the AIME, sometimes in plain sight and sometimes hidden inside a counting or probability problem. The strongest way to handle them is to prove identities by counting one set in two ways: if two expressions count the same thing, they're equal, and you never have to push algebra around.
Double counting
To prove , find a set of objects and a question about it so that one way of answering gives the left side and another way gives the right side.
For example, : both sides count the subsets of an -element set. The right side decides "in or out" for each element; the left side sorts subsets by their size .
The identities to know
- Pascal: (is element chosen?).
- Hockey stick: (sort by the largest element chosen).
- Vandermonde: (choose people from boys and girls).
- Committee with a chair: , so .
- Subset of a subset: , so .
Why the hockey stick works
Count the -element subsets of . There are of them. Now sort them by their largest element. If the largest element is , the other elements come from , in ways. Adding over gives the left side.
Why Vandermonde works
Count the ways to choose people from a group of boys and girls: . Sorting by the number of boys gives for each . A common special case uses :
Common mistake
Vandermonde needs the lower indices to add to a constant. In , first rewrite . Now the lower indices add to , and the sum is .
Turning powers of into binomials
Sums like or become easy once the polynomial in is written with binomial coefficients:
- and .
- , which is ready for the hockey stick.
- .
Worked example: Hockey stick
Find .
By the hockey stick identity, the sum is .
Worked example: Vandermonde
Find .
Rewrite . Now the lower indices add to , so the sum is . (Choose of people, sorting by how many of the first are chosen.)
Worked example: Counting committees with a chair
Find .
Count pairs (committee, chair) from people. Choosing the committee first gives the sum. Choosing the chair first ( ways) and then any subset of the other people gives .
Worked example: Subsets of subsets
Find .
Count pairs with and . Choosing first gives the sum. Choosing first ( ways), each of the other elements is in or not: . The sum is .
Tip
Check any identity on a tiny case. For with : . A thirty-second check catches most index errors.
Practice
Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the remainder when is divided by .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The sum equals in lowest terms. Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the remainder when is divided by .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the remainder when is divided by .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Real contest practice
- 1986 AIME, Problem 11: rewriting a polynomial in powers of leads straight to a hockey stick sum.
- 2022 AIME I, Problem 12: a sum over pairs of equal-size subsets that collapses with Vandermonde's identity.