Definition · Pascal's triangleThe array of numbers whose row 0 is a single 1, in which every row begins and ends with 1, and in which every other entry is the sum of the two entries immediately above it. Rows are numbered from 0 downwards and positions within a row from 0 from the left.
The name is a historical accident: the array appears in Chinese, Indian and Persian mathematics centuries before Pascal, who wrote a treatise on it in the 1650s.
row 0 1
row 1 1 1
row 2 1 2 1
row 3 1 3 3 1
row 4 1 4 6 4 1
row 5 1 5 10 10 5 1
each 10 in row 5 is the sum of the 4 and the 6 above it
the 1s down each edge have only one entry above them, so
nothing is added to them
Write C(n,k) for the entry in row n at position k. In this lesson that is all the symbol means — a name for a number read off the array — and the building rule is C(n,k) = C(n-1,k-1) + C(n-1,k) for 0 < k < n, with C(n,0) = C(n,n) = 1. “The Binomial Theorem” gives a formula in factorials that produces C(n,k) directly, without the rows above it.
What the entries count
Here is a question with nothing to do with triangles. A group of three people, A, B and C, must send a delegation. How many different delegations are there of each size?
size 0 { } 1 way
size 1 {A} {B} {C} 3 ways
size 2 {A,B} {A,C} {B,C} 3 ways
size 3 {A,B,C} 1 way
total 8 = 2³
1, 3, 3, 1 is row 3 of the triangle
Theorem · The entries are countsThe number of ways to choose k objects from a set of n distinct objects is C(n,k), the entry in row n at position k.
Let N(n,k) be the number of ways to choose k from n. There is one way to choose none and one way to choose all, so N(n,0) = N(n,n) = 1, matching the edges of the triangle.
Now fix one particular object. The selections that include it are completed by choosing k - 1 from the other n - 1, and there are N(n-1,k-1) of those. The selections that exclude it are choices of k from the other n - 1, and there are N(n-1,k). No selection is in both groups and none is outside them, so N(n,k) = N(n-1,k-1) + N(n-1,k).
So N starts as the triangle does and grows by the same rule, which forces the two tables to agree row by row. Stating that last step properly is what mathematical induction is for, and the Discrete Mathematics path does it; the two rules and the two starting rows are what this course checks.
□
There is a second count in the same picture. Start at the apex and walk down, going left or right at each step. The number of routes that reach a given entry is that entry, because every route arrives from one of the two entries above it. A route of n steps that lands at position k went right k times, so the routes are another way of choosing which k of the n steps go right.
Two structural checks
Row n adds up to 2ⁿ. The reason is the delegation table above: sorting all the subsets of an n-element set by size counts each subset exactly once, and a set of n things has 2ⁿ subsets, one for each way of saying yes or no to each thing. Row 6 gives 1 + 6 + 15 + 20 + 15 + 6 + 1 = 64, and 2⁶ = 64.
With alternating signs the same rows give 0, for every n ≥ 1. Row 4 gives 1 - 4 + 6 - 4 + 1 = 0 and row 7 gives 1 - 7 + 21 - 35 + 35 - 21 + 7 - 1 = 0. For odd n the symmetry pairs each entry with an equal one of the opposite sign, which settles that case; for even n the cancellation is real but the clean reason for it is the binomial theorem with a = 1 and b = -1, which is the subject of “The Binomial Theorem”.
The entries grow quickly: C(20,10) = 184756, and reaching it by addition means building twenty rows, one hundred and ninety additions. That is the argument for a formula, and it is what “The Binomial Theorem” supplies.