๐Ÿ  Home โ€บ ๐Ÿ”บ Pascal's Triangle โ€บ Lesson 7

๐Ÿ› ๏ธ Grid Paths and Vandermonde โ€” the Triangle as a Map

๐Ÿ“– Lesson 7 of 10

๐Ÿ“Œ Key ideas of this section

Shortest paths across an m-by-n grid: C(m + n, n).
Paths THROUGH a marked corner: multiply (paths to it) ร— (paths from it).
Paths AVOIDING a blocked corner: subtract the through-count from the total.
Vandermonde's identity: C(m + n, k) = ฮฃ C(m, i) ยท C(n, k โˆ’ i).

Paths are disguised choices

A city grid, m blocks wide and n blocks tall. You walk only RIGHT (R) or DOWN (D). Every shortest route from start to finish takes exactly m R-steps and n D-steps โ€” m + n steps total. A route is just a WORD: some ordering of m R's and n D's. And a word is determined by WHICH of its m + n positions hold D's:

number of paths = C(m + n, n)   (choose which steps are Down)
Example โ€” 3 wide, 2 tall: C(5, 2) = 10 paths.
(Equivalently C(5, 3) = 10 โ€” choosing which steps are Right. Same answer by symmetry!)

Write the number of paths at every corner of the grid and Pascal's triangle appears! Here's why: paths to a corner = paths from above + paths from the left (you must arrive from one of those two), which is Pascal's rule. Same rule, same start (1s on the edges) โ€” same numbers.

Paths through a marked corner โ€” multiply

How many of those 3-by-2 routes pass through a specific corner, say the one 2 blocks right and 1 block down from the start?

Start โ†’ corner:  2 R-steps and 1 D-step โ†’ C(3, 1) = 3 paths.
Corner โ†’ finish: 1 more R and 1 more D  โ†’ C(2, 1) = 2 paths.
The two stages are independent (any "to" pairs with any "from"), so multiply:
Through-count = 3 ร— 2 = 6 paths.

Paths around a blocked corner โ€” subtract (complementary counting)

Sometimes it's easier to count what you DON'T want. A 4-by-4 grid has C(8, 4) = 70 shortest routes corner to corner. Suppose the very center corner (2 right, 2 down from the start) is closed for construction:

Routes through the center: C(4, 2) ร— C(4, 2) = 6 ร— 6 = 36
(2 R + 2 D to reach it; 2 R + 2 D to leave it)
Open routes: 70 โˆ’ 36 = 34 โœ…

"Total minus bad" is complementary counting โ€” one of the most-used moves in competition math.

Vandermonde's identity โ€” committees with two clubs

A club has 4 girls and 5 boys. Choose a committee of 3. Count it two ways:

Way 1 (ignore gender): C(9, 3) = 84.
Way 2 (split by how many girls are on it):
0 girls:  C(4, 0) ยท C(5, 3) = 1 ร— 10 = 10
1 girl:   C(4, 1) ยท C(5, 2) = 4 ร— 10 = 40
2 girls:  C(4, 2) ยท C(5, 1) = 6 ร— 5  = 30
3 girls:  C(4, 3) ยท C(5, 0) = 4 ร— 1  = 4
Total: 10 + 40 + 30 + 4 = 84 โœ…

Same committee count, computed two ways โ€” so they're equal, and the reasoning never used the specific numbers. In general:

Vandermonde's identity:  C(m + n, k) = ฮฃ C(m, i) ยท C(n, k โˆ’ i)
(sum over all i; the cases are "i members from the first group")

The sum-of-squares jewel

Set m = n = k in Vandermonde: C(2n, n) = ฮฃ C(n, i) ยท C(n, n โˆ’ i). But C(n, n โˆ’ i) = C(n, i) by symmetry (Lesson 2!), so each term is C(n, i)ยฒ:

C(n, 0)ยฒ + C(n, 1)ยฒ + ... + C(n, n)ยฒ = C(2n, n)

The squares of any row add to the middle entry of the row twice as far down! Verify with row 4:

1ยฒ + 4ยฒ + 6ยฒ + 4ยฒ + 1ยฒ = 1 + 16 + 36 + 16 + 1 = 70 = C(8, 4) โœ…

That one identity combines symmetry, Vandermonde, and casework โ€” three of our proof moves in a single line.

โœ๏ธ Your Turn!

  • (a)
    How many shortest paths cross a 3-by-3 grid?
  • (b)
    How many of them pass through the corner 1 right and 1 down from the start?
๐Ÿ‘€ Show the answers

Answer: (a) C(6, 3) = 20 (3 R's and 3 D's, choose where the D's go). (b) To the corner: 1 R + 1 D โ†’ C(2, 1) = 2. From the corner to the finish: 2 R + 2 D โ†’ C(4, 2) = 6. Multiply: 2 ร— 6 = 12 paths through. โœ…

V.3.1