๐ Key ideas of this section
C(n, 0) + C(n, 1) + ... + C(n, n) = 2โฟ. Two proofs! C(n, 0) โ C(n, 1) + C(n, 2) โ ... ยฑ C(n, n) = 0 (for n โฅ 1) Consequence: even-position entries and odd-position entries each add up to exactly 2โฟโปยน โ every row splits in half.
The doubling pattern
Add up the rows: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048 โ row n sums to 2โฟ. Every row doubles the one before it, and it keeps working for every row you check. Now let's prove it MUST work. Two proofs, because they're so different.
Proof A โ the doubling mechanism (look at how rows are built)
Every entry of row n โ 1 is a parent to exactly TWO entries of row n: its below-left child and its below-right child. So when row n โ 1 pours itself into row n, every entry gets counted exactly twice:
sum of row n = 2 ร (sum of row n โ 1)
Row 0 sums to 1 = 2โฐ, and doubling from there gives 2ยน, 2ยฒ, 2ยณ, ... So row n sums to 2โฟ. โ
Proof B โ count the subsets (look at what the sum MEANS)
Take a set with n elements โ say 7 friends. Every subset (group of friends) has some size k, and C(n, k) counts exactly the size-k subsets. Adding C(n, 0) + C(n, 1) + ... + C(n, n) therefore counts ALL subsets of every size.
Now count all subsets a completely different way: build a subset by walking down the line of friends and deciding, for each one, "in or out?" That's 2 choices per friend, n friends, and choices multiply:
total subsets = 2 ร 2 ร ... ร 2 (n times) = 2โฟ
Two ways to count the same collection must give the same number, so the row sum is 2โฟ. โ
Compare the proofs (this is worth a moment): Proof A is mechanical โ it watches the machine run. Proof B is meaningful โ it says the row sum IS the count of all subsets. Competition problems often need the second viewpoint: "how many subsets does a 7-element set have?" is instantly 2โท = 128 if you think like Proof B.
The alternating sum โ every row's secret split
Now subtract instead of adding, with signs alternating + โ + โ ...:
Row 4: 1 โ 4 + 6 โ 4 + 1 = 0 Row 5: 1 โ 5 + 10 โ 10 + 5 โ 1 = 0
Zero, both times! Claim: for every n โฅ 1,
C(n, 0) โ C(n, 1) + C(n, 2) โ ... ยฑ C(n, n) = 0
The proof is one line long, but it needs the Binomial Theorem, so it's coming in Lesson 6 (spoiler: 0 = 0โฟ = (1 + (โ1))โฟ). For now we've verified it, and here's the payoff: move the negative terms to the other side and the equation says
(even-position entries) = (odd-position entries)
Together they total 2โฟ (the row sum), so EACH side sums to 2โฟโปยน. Every row splits exactly in half between its even and odd positions!
Verify on row 9 (1 9 36 84 126 126 84 36 9 1):
Even positions (entries 0, 2, 4, 6, 8): 1 + 36 + 126 + 84 + 9 = 256 Odd positions (entries 1, 3, 5, 7, 9): 9 + 84 + 126 + 36 + 1 = 256 And 256 = 2โธ = 2โนโปยน โ
Application: a set with n elements has exactly 2โฟโปยน even-sized subsets and 2โฟโปยน odd-sized ones. (Even positions count even-sized subsets โ same numbers!) A 7-element set: 64 even-sized subsets, 64 odd-sized ones, 128 total.
โ๏ธ Your Turn!
Verify the even/odd split on row 8 (1 8 28 56 70 56 28 8 1) by adding each half.
๐ Show the answers
Answer: even positions (0, 2, 4, 6, 8): 1 + 28 + 70 + 28 + 1 = 128. Odd positions (1, 3, 5, 7): 8 + 56 + 56 + 8 = 128. Both equal 128 = 2โท โ