Binomial identities, and proving them by counting twice
COMB · Chapter 212 min readAsked at Jane Street, Optiver, SIG, Five Rings
Assumes Counting: the four cases, and how to tell them apart.
After this lesson you should be able to
- Prove an identity by counting one set two ways.
- Recall Pascal, the hockey stick, Vandermonde and the row sums.
- Estimate a central binomial coefficient without computing it.
Every binomial identity worth knowing has a one-sentence combinatorial proof: find a set that both sides count, and describe the two ways of counting it. That technique is faster than algebra, harder to get wrong, and it is what an interviewer is hoping to hear.
Proposition 2.1
Count one thing two ways
To prove , find a collection of objects and show that counts it and so does . Nothing else is required — no induction, no manipulation of factorials. The whole skill is choosing the collection, and the right choice is usually suggested by whichever side has the more elaborate structure.
Holds when
- The proof is complete once both counts are described. Resist the urge to verify it algebraically as well.
- If you cannot find the set, the algebraic route still works; it is just longer and easier to slip on.
| Identity | The set both sides count |
|---|---|
| Subsets of size — choose who is in, or who is out | |
| Subsets of size , split on whether item is in | |
| Committees of size with a chair | |
| All subsets — by size, or by including each item or not | |
| Even and odd subsets, which are equinumerous for | |
| Size- subsets of two groups, split by how many come from the first | |
| Size- subsets of , split on the largest element |
Derivation 2.3
The committee and its chair
The cleanest example of the technique. Count committees of people drawn from , each with a designated chair.
Choose the committee, then choose its chair from within it.
Choose the chair from everyone, then fill the remaining seats.
Pascal’s triangle is the recursion. Every entry is the sum of the two above it, which is just the statement that a subset either contains the last item or does not. Knowing the first several rows by sight is worth more than it sounds: turns up constantly, the row sums are powers of two, and the alternating sums vanish. If you can picture the triangle you can reconstruct most of the table above.
The rest of this lesson is in Premium
You have read the opening. 14 more sections follow, including 6 worked examples and 3 quick checks.
Nothing is charged for 7 days, and you can cancel before then. Or read Arithmetic that survives a clock in full, free.