Combinatorics Sale Pitch
Theorem 1.6.
P
n
k=0
n
k
= 2
n
.
Proof. The right-hand side counts the number of subsets of [n]. The left-hand side counts the
number of k-element subsets separately and sums over all k, but these are all the subsets of [n].
Theorem 1.7.
P
n
k=0
(−1)
k
n
k
= 0.
Proof. It suffices to show the number of even-size subsets of [n] equals the number of odd-size
subsets of [n]. Pick an element x ∈ [n]. The complement of an odd subset containing x is an even
subset not containing x. On the other hand, the complement of an odd subset not containing x is an
even set containing x. Summing the number of odd subsets thus yields the sum of even subsets.
We could also prove the above statement by invoking the binomial theorem, but that gives no
intuition! Let us now move on to an example that we will use for the rest of this section.
Example 1.8. Suppose we are on a grid of integers, and we can move either north or east. How
many paths
2
exist from, say, the origin (0, 0) to the point (2, 5)? Drawing out such a path, we see
that we must take exactly 2 steps east and 5 steps north for a total of 7 steps. But the positions
of the east paths determine when we go north! For instance, E = {1, 3} tells us to go east for the
first and third steps, and north for the remaining steps. So the paths are really 2-element subsets
of [7], and we know there are
7
2
= 21 of those!
Lemma 1.9. There are exactly
n
k
paths from (0, 0) to (k, n − k).
Theorem 1.10. (Symmetry Identity)
n
k
=
n
n−k
.
Proof. The left-hand side counts the number of paths from (0, 0) to (k, n − k), whereas the right-
hand side counts the number of paths from (0, 0) to (n − k, k). Let O = (0, 0), P = (k, n − k), and
Q = (n − k, k). Then OP paths reflected along the line y = x yield OQ paths, and vice versa.
We could also prove the symmetry identity by talking about k-element subsets of [n], but the
above “geometric” proof is nicer. In fact, let us prove Pascal’s identity using paths.
Proof of Theorem 1.2. Suppose we want to form a path from (0, 0) to (k, n − k). We can approach
the last point in two directions: eastward from (k −1, n −k) or northward from (k, n−k − 1). These
sets of paths are inherently disjoint, so there are
n−1
k−1
+
n−1
k
paths from (0, 0) to (k, n − k).
Let us add an interesting constraint to our paths. Let C
n
enumerate paths from (0, 0) to (n, n)
that do not go above the main diagonal. The subtraction principle tells us C
n
is equal to the number
A
n
of paths from (0, 0) to (n, n) minus the number B
n
of paths that go above the diagonal at some
point. Clearly A
n
=
2n
n
, but how do we count B
n
?
Lemma 1.11. There is a bijection between paths counted by B
n
and paths from (−1, 1) to (n, n).
Proof. Let O = (−1, 1) and P be a path counted by B
n
. Then P intersects with line y = x + 1 at
some point (why?). Let Q denote this point of intersection. Reflect the segment OQ along the line
y = x + 1. This yields a path starting at O
0
= (0, 0) where north and east steps are swapped until
we reach the point Q. Since Q is fixed, we may recover P by reflecting O
0
Q along y = x + 1.
Therefore
C
n
=
2n
n
−
2n
n + 1
=
2n
n
−
(2n)!
(n + 1)!(n − 1)!
·
n
n
=
2n
n
−
n
n + 1
(2n)!
n!
2
=
1
n + 1
2n
n
.
These numbers count so many things
3
that we give them a special name: the Catalan numbers.
2
Technically, these “paths” are north-east lattice paths, but for sake of brevity, we will just say “path.”
3
Enough that there are entire books written on what they can count!