Words to know
Pascal's triangle
A triangular array of numbers with 1s along the edges, where each inside number is the sum of the two numbers just above it.
row n
In this unit the top row (just a 1) is row 0, the next is row 1, and so on. Row n has n + 1 entries.
tₙ,ᵣ
The entry in row n, position r, where positions also start at 0. For example, t₄,₂ = 6.
diagonal
A line of entries running parallel to an edge of the triangle, such as 1, 2, 3, 4, … or 1, 3, 6, 10, …
A triangle that builds itself
Start with a 1 at the top. Put 1s down both edges. Then fill in every inside spot with the sum of the two numbers directly above it. That is all. Yet the triangle you get hides the natural numbers, the triangular numbers, powers of 2, the Fibonacci numbers, and (in the next lesson) the shortcut for expanding expressions like (x + 2)⁵.
It is called Pascal's triangle after the French mathematician Blaise Pascal, who wrote about it in the 1600s. Mathematicians in Persia, India and China knew it centuries earlier; in China it is called Yang Hui's triangle, after a mathematician of the 1200s.
The recursion formula
We number the rows from 0 at the top, and the positions in each row from 0 on the left. Then tₙ,ᵣ is the entry in row n, position r. For example, row 4 is 1, 4, 6, 4, 1, so t₄,₀ = 1, t₄,₁ = 4 and t₄,₂ = 6.
The two numbers above tₙ,ᵣ are tₙ₋₁,ᵣ₋₁ (up and to the left) and tₙ₋₁,ᵣ (up and to the right). So Pascal's triangle follows the recursion formula
tₙ,ᵣ = tₙ₋₁,ᵣ₋₁ + tₙ₋₁,ᵣ, with tₙ,₀ = tₙ,ₙ = 1.
Like every recursion, it needs a starting point (the 1s on the edges) and a rule (add the two above).
Counting routes
Pascal's triangle also counts paths. Suppose you walk from home to school on a grid of streets and only ever go east or south (so every route is as short as possible). The number of routes to a corner is the number of routes to the corner just north of it plus the number to the corner just west of it, because you must arrive from one of those two. That is the same "add the two before" rule, so the counts are the entries of Pascal's triangle, tilted on its side.
Hands-on activityColour the odd numbers
You need: a sheet of paper (grid paper helps), a pencil and two coloured pencils or markers.
- Write rows 0 to 15 of Pascal's triangle. Use the recursive rule: add the two numbers above. (The numbers get big; row 15 has 6435 in the middle. You only need to know whether each number is odd or even, so you can use odd + odd = even, odd + even = odd, even + even = even instead of adding.)
- Shade every odd entry in one colour and every even entry in the other.
- Describe the picture.
- Check one pattern from the lesson on your rows: is row 15's sum 2¹⁵ = 32 768? (You can add with a calculator if you wrote the full numbers.)
What to look for: the odd entries form triangles inside triangles, a shape known as the Sierpinski triangle. Rows 1, 3, 7 and 15 are all odd. Row 15 is 1, 15, 105, 455, 1365, 3003, 5005, 6435, 6435, 5005, 3003, 1365, 455, 105, 15, 1, which does sum to 32 768.
Check your understandingQuiz
1. Which is row 5 of Pascal's triangle?
2. What is the sum of the entries in row 9?
3. Which recursion formula describes Pascal's triangle?
4. The third diagonal (1, 3, 6, 10, …) contains which numbers?
5. Adding along the shallow diagonals of Pascal's triangle gives:
6. How many shortest routes go 2 blocks east and 2 blocks south?