Counting the Same Thing Twice
Almost every binomial identity a contest asks for is proved the same way: find a set of objects, count it one way, count it another way, and set the two answers equal. Nothing is manipulated; both sides are the size of the SAME collection, so they cannot disagree.
This is worth internalising before any particular identity, because it is what lets you rebuild a formula you have half-forgotten. If you can describe a set that both sides count, you have the proof.
Count the ways to choose a committee of people from .
First count. Choose the who are IN: ways.
Second count. Choose the who are OUT — that determines the committee just as completely: ways.
Same set, two counts, so . With , : and ✓.
No algebra was used. That is the template.
Claim. for .
Proof. Count the -subsets of , split by whether they contain the element .
If a subset CONTAINS , its remaining elements come from the other : such subsets.
If it does NOT contain , all elements come from the other : such subsets.
Every -subset falls into exactly one case, so the two counts add to the whole.
Check. and ✓.
You could prove Pascal's Rule by expanding factorials, and it works. But the factorial proof tells you nothing about WHY, so it is the one you forget. "Split on whether the last element is in" is a sentence you can reconstruct in an exam.
The Hockey Stick Identity
Claim. For integers ,
.
In Pascal's triangle this is a run of entries straight down a diagonal, and the answer sits one step down and one step across — the handle of the stick and its blade. That picture is where the name comes from, and it is also how you check you have written the identity the right way round.
With and : ✓.
Count the -element subsets of . There are of them. That is the right-hand side.
Now count them by their LARGEST element. Every such subset has a largest element , and must be at least (you need more elements below it) and at most .
For a fixed largest element , the remaining elements are chosen freely from , which can be done in ways.
Sum over the possible largest elements:
,
substituting . Each subset is counted exactly once, because it has exactly one largest element.
Rearrange Pascal's Rule into
.
Sum from to . Every term on the right cancels against the next one:
.
What survives is the last positive term minus the first negative one: , and because you cannot choose things from .
Two proofs, two uses. The counting proof tells you what the identity MEANS; the telescoping proof is the one that generalises to other sums you can force into the form "next minus this".
Compute using the hockey stick.
Step 1 — rewrite the terms as binomial coefficients. , so the sum is .
Step 2 — apply the identity with , : the sum is .
Step 3 — evaluate. .
Check. ✓ — the familiar triangular-number formula IS the hockey stick with .
Compute , the triangular numbers up to .
Step 1 — recognise the terms. , so the sum is .
Step 2 — hockey stick with , : the sum is .
Step 3 — evaluate. .
Check by adding directly: ✓.
The top index moves up by one AND the bottom index moves up by one: . Writing or is the usual slip. The case is the safety check — it has to reproduce .
Sums of Squares and Cubes, from Binomial Coefficients
The hockey stick adds binomial coefficients. A sum like is not obviously made of them — but it can be, and rewriting it that way is one of the most reusable tricks in counting. It replaces "memorise " with "convert, then telescope", which also handles cubes, fourth powers, and sums nobody gave you a formula for.
Claim. for every integer .
Proof. .
What it means. Count the ordered pairs with — there are . Split them: the pairs with , and the pairs with , which come from a 2-element subset in orders, giving . Same set, two counts.
Check at : ✓.
Start from the conversion and sum from to :
.
Apply the hockey stick to each piece. The first is ; the second is . So
.
That is already a usable answer, and it is the form worth remembering. Expanding it recovers the familiar one:
.
Check at : , and ✓.
Step 1 — convert. . (Check at : ✓.)
Step 2 — sum and hockey-stick each piece.
.
Step 3 — check at . , and ✓ — which is also , the "sum of cubes is a square" fact.
Why this scales. The coefficients in the conversion are the Stirling numbers; you never need them by name, because you can always find them by matching a few values of .
Convert to binomial coefficients by matching values at , then hockey-stick. It is slower than recalling and it never fails you, which is the trade you want in a timed contest.
Vandermonde's Identity
Claim. .
Proof. A club has women and men. Count the committees of size .
First count. Ignore the split: .
Second count. Split by how many women are on it. If exactly women, choose them in ways and the remaining men in ways. Sum over .
Every committee has one definite number of women, so it is counted once in the second count.
Check with , , : ✓.
Put and in Vandermonde:
.
Now use the symmetry , and the left side becomes .
Read it directly: choosing people from two groups of means taking from one and from the other, and the symmetry says " from the second group" is the same count as " from it".
Check at : ✓.
Compute .
Step 1 — make the lower indices add to something fixed. They do not yet: both are . Use symmetry on one factor: .
Step 2 — now the indices add to . The sum is , which is Vandermonde with , , .
Step 3 — read off the answer. .
Check by direct addition: ✓.
The technique is the whole point: Vandermonde only fires when the two bottom indices SUM to a constant, and symmetry is how you arrange that.
The Committee–Chair Identity
Claim. .
Proof. Count the pairs (committee of size , chair chosen from that committee), out of people.
First count. Pick the committee ( ways), then pick its chair from the members ( ways): .
Second count. Pick the chair first, from all people ( ways), then fill the remaining seats from the other people ( ways): .
Both count the same pairs.
Check at , : and ✓.
Apply the identity term by term:
,
using and the fact that a full row of Pascal's triangle sums to a power of two.
In words: add up the sizes of all subsets of an -set. Each element lies in exactly half of them, so it contributes , and there are elements.
Check at : ✓.
The same trick with gives — apply absorption twice, or use the square conversion from the previous section.
Any time a sum has a multiplying a , absorption is the first thing to try: it turns the into an and drops both indices by one, which is almost always progress.
Stars and Bars, Proved
Claim. The number of solutions of in NON-NEGATIVE integers is .
Proof. Write stars in a row and insert bars among them; the bars cut the stars into (possibly empty) groups, and the group sizes are a solution.
The row has symbols in total, and the arrangement is determined entirely by WHICH of those positions hold bars — so there are arrangements.
The map from arrangements to solutions is a bijection: every arrangement gives one solution, and every solution is produced by exactly one arrangement (put stars, a bar, stars, a bar, …).
Check: has non-negative solutions, and listing them gives ✓.
Positive solutions. Require . Substitute ; the equation becomes , so the count is .
Check: in positive integers gives ✓.
With an upper bound — say every — stars and bars alone over-counts, and inclusion–exclusion repairs it:
,
where the -th term removes (and then restores) the cases where chosen variables have been pushed over the cap by .
Worked check. with each : . Listing the solutions — the permutations of and — also gives ✓.
Stars and bars counts solutions where the variables are DISTINGUISHABLE — is different from . If the problem is about identical piles with no labels, this is the wrong tool and the answer is a partition count, which has no closed form.
Inclusion–Exclusion, and Why the Signs Alternate
Claim.
Proof. Take any element in the union, and suppose it lies in exactly of the sets. Count how much it contributes to the right-hand side.
It is counted times among the single sets, times among the pairwise intersections, times among the triples, and so on. Its total contribution is
,
by the binomial theorem. So every element of the union contributes exactly , and elements outside contribute .
That is where the alternating signs come from: they are exactly what makes collapse to zero.
How many permutations of leave NO element in its own place?
Step 1 — name the bad sets. Let be the permutations fixing . We want .
Step 2 — size the intersections. Fixing a particular set of elements leaves the other free: permutations. There are such sets.
Step 3 — inclusion–exclusion.
.
Step 4 — sanity check. , and ✓. Brute-force enumeration of all permutations also gives ✓.
Linearity of Expectation
Claim. For any random variables on the same sample space, .
Proof. Expectation is a weighted sum over outcomes:
,
the middle step being nothing but swapping the order of a finite double sum.
Notice what is missing: independence. It is never used. This is why linearity is so powerful — it applies to variables that are tangled together in ways you could not possibly analyse directly.
A permutation of is chosen at random. How many elements are expected to stay in place?
Step 1 — indicator variables. Let if is fixed and otherwise. The number of fixed points is .
Step 2 — one expectation each. , because is equally likely to land anywhere.
Step 3 — add them. , for every .
Check at : the six permutations have fixed points, averaging ✓.
Why this is remarkable. The are NOT independent — knowing of them tells you the last. Linearity does not care.
people each pick a day from at random. How many days are expected to be chosen by at least one person?
Step 1 — indicator per DAY, not per person. Let if day is picked by somebody. The number of distinct days is .
Step 2 — complementary counting inside the expectation. .
Step 3 — add. .
The move worth stealing: choosing what to index the indicators BY. Indexing by person gives nothing; indexing by day gives the answer in one line.
Symmetry and the Even–Odd Split
Claim. For , the even-index entries of row of Pascal's triangle sum to , and so do the odd-index ones.
Proof. The binomial theorem gives two equations:
and .
Add them. The odd terms cancel and the even ones double: , so the even sum is . Subtracting instead gives the same value for the odd sum.
Check at : evens , odds , and ✓.
The technique in general is called a roots-of-unity filter: evaluating at and selects residues mod ; evaluating at the cube roots of unity selects residues mod , and so on.
How many subsets of have an even number of elements?
Step 1 — the identity answers it immediately: .
Step 2 — or see it by a bijection, which is worth knowing because it needs no algebra. Pair each subset with — add the element if it is absent, remove it if it is present. This pairing swaps even size with odd size and is its own inverse, so it matches the even subsets one-to-one with the odd ones. Exactly half of the subsets are even.
Check by adding the row: ✓.
The involution proof survives changes the algebra does not: it still works if you ask for subsets of even size avoiding some element, because you just pick a different element to toggle. Reach for a pairing whenever a problem says "show exactly half".