Pascal’s triangle

An extension of the combinatorics and binomial-coefficient topic. Each term of Pascal’s triangle is the sum of the two terms above it; row n contains the coefficients of the binomial (a+b)ⁿ — the binomial coefficients C(n,k). The sum of row n is always 2ⁿ. The triangle was known earlier in China, Persia and India, but it was Blaise Pascal who systematised its properties in a treatise written in 1654.

Pascal’s triangle
Mathematics · Combinatorics · Pascal’s triangle (1654)
Row number nn5
The numbers in the nth row of Pascal’s triangle are…
row n
5
row sum
32
2ⁿ
32
middle term
10
🎯 Challenge: hit the row sum
streak: 0

I’ll give you a target row sum — set the slider n so that you reach it. Remember: the sum of row n is 2ⁿ.

What just happened?

Every number in the triangle is the sum of the two numbers directly above it (the outermost numbers in each row are always 1). This simple addition rule generates, row by row, exactly the same numbers you get from the binomial-coefficient formula — this is no coincidence, they are two sides of the same coin.

A little history

This triangle was known to mathematicians in China (Yang Hui, around 1261), in Persia and in India long before Europe. But it was the French mathematician and philosopher Blaise Pascal who, in his treatise “Traité du triangle arithmétique” — written in 1654 and published posthumously in 1665 — systematised its properties and connected them with probability and combinatorics. Earlier, corresponding with Pierre de Fermat on problems of games of chance, Pascal laid the foundations of probability theory.

Binomial coefficient:

(nk)=n!k!(n−k)!\binom{n}{k}=\dfrac{n!}{k!(n-k)!}

— the number of ways to choose k elements from an n-element set (without repetition, order irrelevant). Row n of the triangle is, in order: C(n,0),C(n,1),…,C(n,n)C(n,0), C(n,1), \dots, C(n,n).

The binomial theorem:

(a+b)n=∑k=0n(nk)an−kbk(a+b)^n=\sum_{k=0}^{n}\binom{n}{k}a^{n-k}b^k

That is why row n of the triangle is exactly the set of coefficients in the expansion of (a+b)n(a+b)^n — e.g. for n = 4: a4+4a3b+6a2b2+4ab3+b4a^4+4a^3b+6a^2b^2+4ab^3+b^4, and the numbers 1, 4, 6, 4, 1 are precisely row 4.

Hidden patterns in the diagonals

The outermost diagonal is all ones, the next one the natural numbers (1, 2, 3, 4…), and the third (highlighted in yellow) the triangular numbers: 1, 3, 6, 10, 15… The sum of all the numbers in row n is always exactly 2n2^n — this is the invariant of this model.

Why this matters for your exams:

Problems about choosing k elements from n (combinations), the binomial theorem and sums of coefficients are all solved by the same triangle. The trick: don’t compute factorials by hand for small n — read the value straight off the triangle.

Remember: every term is the sum of the two above it, row n holds the coefficients of (a+b)n(a+b)^n, and the sum of row n is always 2n2^n.

Illustrative model · NexTutor Virtual Laboratory

Enjoyed the experiment? Share it.

It's free — send it to friends from school.

Theory & formulas

Construction

Each term is the sum of the two terms above it; the edges are 11. Row nn (numbered from 00) contains the binomial coefficients.

The binomial coefficient

(nk)=n!k! (n−k)!\binom{n}{k}=\frac{n!}{k!\,(n-k)!}

The binomial theorem and the row sum

(a+b)n=∑k=0n(nk)a n−kb k,∑k=0n(nk)=2n(a+b)^n=\sum_{k=0}^{n}\binom{n}{k}a^{\,n-k}b^{\,k},\qquad \sum_{k=0}^{n}\binom{n}{k}=2^n

Notation: nn the row number, kk the position, (nk)\binom{n}{k} the binomial coefficient.

Frequently asked questions

›

How is Pascal’s triangle built?

Each number is the sum of the two numbers directly above it, and the edge numbers are always 1.

›

What do the numbers in row n represent?

The binomial coefficients C(n,k) — the number of ways to choose k elements from an n-element set.

›

What is the sum of the numbers in row n?

Always exactly 2ⁿ.

Teaching? Embed this experiment on your site.

Free widget — paste it on your school site, blog or notes. It links to the full version.

Teaching a class or tutoring? Guide students in NexTutor →