The numbers turn up in counts of committees, lattice paths and bit strings, and they satisfy a crowd of identities that look, when proved by pushing factorials around, like accidents of algebra.
They are not accidents. This lesson proves them with a method that runs through the rest of the course: find one set, count it in two different ways, and set the two answers equal. Each identity then says something you can see, rather than something you have to trust. The same idea explains why these numbers appear as the coefficients when is multiplied out, which is where their name comes from. The lesson assumes the previous one, which defined as the number of element subsets of an element set, and it recalls whatever else it needs.
Pascal's rule
Recall the formula. Choosing things in order from can be done in ways by the product rule, and each unordered choice has been counted once for each of its orders, so
for . For outside that range there are no such subsets, and , a convention that saves a great many special cases below. So ten people can form committees of three.
The formula is symmetric in and , so . The explanation is a bijection, a function pairing two sets perfectly with nothing left over: send each element subset to its complement, the elements left behind. Different subsets have different complements, and every element subset is the complement of exactly one element subset, so the two collections have the same size. Choosing three people for a committee is the same act as choosing seven to stay at home.
The rule that generates everything else is Pascal's rule: for ,
Here is a proof that uses no factorials. Count the person committees drawn from people, one of whom is called Ada. Every committee either includes Ada or does not, and those two kinds do not overlap, so by the sum rule their counts add. A committee that includes Ada is fixed by choosing its other members from the remaining people, in ways. A committee that leaves her out takes all members from the other , in ways. The total is by definition, and the rule is proved.
The algebraic proof, putting both fractions over , is correct but gives no reason for the answer to be so simple. The committee proof gives the reason: Ada is either in or out.
Laid out in rows, with row holding to , Pascal's rule says each entry is the sum of the two above it. Rows to read ; ; ; ; ; ; and . Blaise Pascal wrote the triangle up systematically in his Traité du triangle arithmétique of 1654, but it is far older: Yang Hui printed it in 1261, crediting Jia Xian two centuries earlier, and in China it still carries Yang Hui's name.
Counting in two ways
Pascal's rule was proved by a pattern worth naming. Pick a set, here the committees. Count it one way, getting the left side, and another way, getting the right. Both answers count the same set, so they are equal. This is double counting, and its one real difficulty is choosing the set.
A good first test is the identity
To see it, count the committees of people from in which one member is marked as chair. First choose the committee, in ways, and then its chair from among its members, giving . Alternatively, choose the chair first from all people, then fill the other seats from the left, giving . Same set, two counts, and the identity follows.
Example. Check the chair identity with and , and say what the common number counts.
The left side is . The right side is . Both count the ways a club of twelve can form a five person committee with one member as chair: committees, each with five possible chairs, or twelve possible chairs, each with ways to fill the remaining four seats.
Now you. Prove that for by counting one set in two ways, and check it with , , .
Answer
Count the ways to choose a committee of from people together with a subcommittee of inside it. Choosing the committee first and then the subcommittee from its members gives . Choosing the subcommittee first from everyone, then the other committee members from the people outside it, gives . With the numbers, and .
The binomial theorem
Multiply out and the coefficients are , row of the triangle. Multiply out and they are . The pattern is the binomial theorem:
Write as brackets multiplied together. Expanding the product means choosing one term, or , from each bracket, multiplying the choices, and adding up the results over every possible set of choices, of them in all. A set of choices gives exactly when was taken from of the brackets and from the rest. So the coefficient of is the number of ways to choose which of the brackets supply the , and that is .
This is why the numbers are called binomial coefficients. It also explains Pascal's rule again: in , the first bracket supplies either the or the of a term , giving . That bracket plays the part of Ada.
Example. Find the coefficient of in .
Treat and as the two terms of the binomial. The general term is , and it contains when , that is . The coefficient is . Writing the general term out in full first guards against the two usual slips: leaving the unpowered and losing the sign.
Now you. Find the coefficient of in .
Answer
The general term is , and gives . The coefficient is .
The sum of a row
Add up the entries of any row of the triangle: , and . The general statement is
and it has two proofs, one from each side of this lesson. The algebraic one sets in the binomial theorem, so the left side is and the right is the sum of the row. The counting one needs no theorem at all. An element set has subsets, since each element is independently in or out, and each subset has some size between and . Sorting the subsets by size, there are of size , and the sizes do not overlap, so the sum rule adds them up to . The row sum is the total number of subsets, counted by size.
Setting and instead gives an alternating sum:
for , since the left side of the theorem is . In counting terms, a nonempty set has exactly as many subsets of even size as of odd size, and a bijection shows it directly. Fix one element, say . Pair each subset with the subset obtained by toggling : adding it if absent, removing it if present. Toggling changes the size by one, swapping even with odd, and undoes itself, so the pairing is perfect. For that is even subsets and odd ones.
The chair identity combines with the row sum to give one more. Summing over all counts every committee of every size with a chair; choosing the chair first, in ways, and then any subset of the other people to join, gives . For both sides are .
Vandermonde's identity
A department has mathematicians and physicists, and needs a committee of . Counted directly, there are committees. Counted by how many mathematicians sit on it, a committee with exactly mathematicians is a choice of from and from , in ways, and different values of do not overlap. So
which is Vandermonde's identity, named after Alexandre-Théophile Vandermonde, who published it in 1772. Zhu Shijie had stated it in China in 1303. The convention that outside quietly handles the cases where exceeds or exceeds .
The binomial theorem gives a second proof, which is worth seeing because it is the model for a technique of a later lesson. Since , the coefficients of on the two sides must agree. On the right it is . On the left, an arises by taking from the first factor, with coefficient , and from the second, with coefficient , summed over . The two proofs are the same argument: the first factor is the mathematicians.
Example. A panel of four is chosen from five chemists and six biologists. Count the panels by the number of chemists on them, and check the total against Vandermonde.
With chemists the count is . For to that gives , then , then , then , then . The sum is , and , the number of ways to pick four from all eleven.
Now you. Use Vandermonde's identity to show that , and check it for .
Answer
Take and , so the identity reads , and symmetry replaces by . For the squares of the row are , which sum to , and .
The identity has a picture in lattice paths, routes of unit steps right and up: an by grid has corner to corner paths, and sorting them by where they cross the diagonal from top left to bottom right gives groups of sizes .
The hockey stick
Run down a diagonal of the triangle and add: , and sits in the next row, just below and to one side of the last entry, so that the numbers summed and the answer trace the shape of a hockey stick. In symbols, for ,
and the example is , , with .
To prove it, count the element subsets of , which number directly. Sort them instead by their largest element. If the largest element is , the other elements are chosen freely from , in ways, and the largest element can be anything from up to . Summing over it gives the left side. A second proof applies Pascal's rule to , splits off , applies it again to what remains, and keeps going; the chain unrolls into the diagonal.
With the identity is the familiar . With it adds up the triangular numbers, and it answers a question every December. In the song The Twelve Days of Christmas, the gifts on day number , so the whole song delivers gifts, one for nearly every day of the year. The same sum says that a triangular pyramid of cannonballs ten layers high holds balls.
Where the method stops
Look back at what every proof here did. Pascal's rule split committees into those with Ada and those without. The row sum split subsets by size, Vandermonde split committees by the number of mathematicians, and the hockey stick split subsets by their largest element. Each time the set was cut into pieces that did not overlap, and the sum rule added the pieces.
Many natural questions refuse to split cleanly. How many integers from to are divisible by or by ? There are multiples of and of , but adding them counts every multiple of twice, and the honest answer is . With three or four overlapping conditions the corrections pile up, and guessing them stops being safe. The next lesson turns that correction into an exact formula, inclusion and exclusion, and proves it by the method of this one: counting how many times each element is included.