IB Maths AA HL Topic 1 — Number & Algebra Paper 1 & 2 ~9 min read

Binomial Coefficients & Pascal’s Triangle

Right, let’s slow down for a minute. In the previous note, you saw the symbol nCr appear in every binomial expansion. We didn’t pause to ask where it comes from or what it really means — we just used it. This note fixes that. We’ll look at the formula, the four little properties that save you time in exams, and then meet a beautiful pattern called Pascal’s triangle that lets you read off binomial coefficients without any factorials at all. Once you see how Pascal’s triangle and nCr are the same idea wearing different clothes, you’ll start spotting little shortcuts everywhere.

📘 What you need to know

What is a binomial coefficient?

You’ve seen nCr — sometimes written as a vertical pair of numbers in brackets — pop up in every binomial expansion. It’s just a number. A specific kind of number, calculated in a specific way. Here’s the formula:

Binomial coefficient nCr = n!r!(nr)! ✓ in the formula booklet

And remember what the factorial sign means: n! is just n multiplied by every smaller positive integer down to 1. So 5! = 5 × 4 × 3 × 2 × 1 = 120, and 7! = 7 × 6 × 5 × 4 × 3 × 2 × 1 = 5040. There’s also one weird convention you need: 0! = 1. Don’t fight it; it just works out that way.

Let’s calculate one together. Say we want 6C2. Drop n = 6 and r = 2 into the formula:

6C2 = 6!2!(6 − 2)! = 6!2! · 4! = 6 · 5 · 4 · 3 · 2 · 1(2 · 1)(4 · 3 · 2 · 1) = 7202 · 24 = 15
Notice the trick: the bottom factorial — here 4! — cancels almost the whole top. So you really only multiply 6 × 5 = 30, then divide by 2! = 2, giving 15. That cancellation always happens. Use it. Don’t multiply out 6! to get 720 if you’re going to immediately divide most of it back out.

Four properties that save you time

Before we move on to Pascal’s triangle, there are four little facts about nCr that turn up over and over in exams. Knowing these means you skip pointless arithmetic.

nC0 = 1
There’s always exactly one way to choose nothing — by doing nothing. So the first number in every row is 1.
nCn = 1
There’s exactly one way to choose all of them — take everything. So the last number in every row is 1.
nC1 = n
Choosing one thing out of n? Easy — there are n options. So the second number in row n is just n.
nCr = nCnr
Symmetry. Choosing r things to take is the same as choosing nr things to leave behind.
Why symmetry matters:   20C17 looks scary, but it equals 20C3, which is just (20 · 19 · 18) ÷ (3 · 2 · 1) = 1140. Always check whether the easier “mirror” calculation is available before you start.

Meet Pascal’s triangle

Now for the fun part. There’s an absurdly elegant way to find binomial coefficients without using the formula at all. You build a triangle of numbers — called Pascal’s triangle — by following two rules:

🧭 How to build Pascal’s triangle

  1. Every row starts with a 1 and ends with a 1. No exceptions.
  2. Every number in between is the sum of the two numbers directly above it. That’s the entire rule.

That’s it. Two rules, infinite triangle. Let me show you what the first few rows look like, with the addition rule made visible:

Pascal’s triangle — each row is the sum of the two above
n = 0 n = 1 n = 2 n = 3 n = 4 n = 5 n = 6 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 1 6 15 20 15 6 1 1 + 2 = 3 4 + 6 = 10 6 + 15 = 20 edge values (always 1) interior (sum of two above) addition arrow

See it? The 6 in the middle of row 4 is just 3 + 3 from the row above. The 20 in row 6 is 10 + 10 from row 5. Once you’ve drawn one row, the next one practically writes itself.

A small naming detail. The very top row, with just a single “1”, is called row 0 — it matches n = 0. The next row down (1, 1) is row 1, and so on. So if a question asks for the row corresponding to (a + b)7, you want the row that starts with 1, 7, … — that’s row 7, the eighth one down.

The bridge — Pascal’s triangle = binomial coefficients

Here’s the punchline that ties this whole note together. The numbers in row n of Pascal’s triangle are exactly the binomial coefficients nC0, nC1, nC2, … , nCn. Let me show you with row 4:

Row 4:   1   4   6   4   1
matches:   4C0 = 1,   4C1 = 4,   4C2 = 6,   4C3 = 4,   4C4 = 1

So if you want to expand (a + b)4, you don’t need a calculator. Read the row off Pascal’s triangle and stick the powers in:

(a + b)4 = 1·a4 + 4·a3b + 6·a2b2 + 4·ab3 + 1·b4

🤔 Why are Pascal’s triangle and nCr the same?

Because the addition rule of Pascal’s triangle — every entry is the sum of two above — is exactly the same rule that nCr obeys: nCr = n−1Cr−1 + n−1Cr. Both start with the same 1 at the top and follow the same growth rule, so they must produce the same numbers. Pascal’s triangle is just a visual diagram of the formula.

What nCr really counts

One last interpretation that often shows up. The number nCr isn’t only “the coefficient in a binomial expansion” — it’s also the number of ways to choose r objects out of n. So if I have 8 different books on a shelf and I want to grab 3 of them, the number of different combinations I can pick is:

8C3 = 8!3! · 5! = 8 · 7 · 63 · 2 · 1 = 56 ways

🌍 The two faces of nCr

Whenever you see nCr, think of it as wearing two hats: it’s the coefficient in a binomial expansion and it’s a counting answer (“how many ways to choose r from n“). They’re literally the same number — that’s why it’s called a “binomial coefficient” and it’s the same idea you’ll meet again in Permutations & Combinations.

Worked examples

WE 1

Calculate 9C4 by hand

Without using a calculator, find the value of 9C4.

Step 1: Drop n = 9 and r = 4 into the formula 9C4 = 9! / [4! · (9 − 4)!] = 9! / (4! · 5!) Step 2: Spot the cancellation — the 5! cancels most of 9! 9! = 9 · 8 · 7 · 6 · 5!  (write it like this and the 5! divides out) = (9 · 8 · 7 · 6 · 5!) / (4! · 5!) = (9 · 8 · 7 · 6) / 4! Step 3: Multiply top, divide by 4! = 24 top: 9 · 8 = 72,   72 · 7 = 504,   504 · 6 = 3024 3024 ÷ 24 = 126 9C4 = 126 never multiply 9! out fully — it’s 362880 and pointless. Cancel the bigger factorial first.
WE 2

Use Pascal’s triangle to expand (a + b)7

Find the row of Pascal’s triangle for n = 7 and use it to write the full expansion of (a + b)7.

Step 1: Build down from row 5 — already known: 1, 5, 10, 10, 5, 1 row 6:  1, 6, 15, 20, 15, 6, 1  (each entry = sum of two above) row 7:  1, 7, 21, 35, 35, 21, 7, 1 Step 2: Stick the powers of a and b on, with a’s dropping and b’s rising (a + b)7 = 1·a7 + 7·a6b + 21·a5b2 + 35·a4b3 + 35·a3b4 + 21·a2b5 + 7·ab6 + b7 (a + b)7 = a7 + 7a6b + 21a5b2 + 35a4b3 + 35a3b4 + 21a2b5 + 7ab6 + b7 notice the row is symmetric — once you’ve found the first half (1, 7, 21, 35) the rest is mirrored
WE 3

Coefficient of x4 in (1 + x)10

Use Pascal’s triangle to find the coefficient of x4 in the expansion of (1 + x)10.

Step 1: We need 10C4, which is the (4+1)th = 5th entry in row 10 build row 8: 1, 8, 28, 56, 70, 56, 28, 8, 1  (from row 7 and the addition rule) row 9: 1, 9, 36, 84, 126, 126, 84, 36, 9, 1 row 10: 1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1 Step 2: 5th entry of row 10 is 210 → that’s 10C4 in (1+x)10, the term in x4 is 10C4 · 16 · x4 = 210x4 coefficient of x4 = 210 first entry is r = 0, so 10C4 is the 5th entry, not the 4th. Off-by-one is the easy slip here.
WE 4

Use symmetry to evaluate 15C12

Without using a calculator, find 15C12.

Step 1: Spot the symmetry — nCr = nCn−r 15C12 = 15C15 − 12 = 15C3 much easier: choosing 3 to take is the same as choosing 12 to leave Step 2: Calculate 15C3 directly 15C3 = (15 · 14 · 13) / (3 · 2 · 1) top: 15 · 14 = 210,   210 · 13 = 2730 2730 ÷ 6 = 455 15C12 = 455 computing 15C12 directly would mean 15! / (12! · 3!) — same answer, but a lot more digits to handle
WE 5

Choosing a committee

A school club has 9 members. In how many different ways can a committee of 4 be chosen from the club?

Step 1: This is “choose r out of n” — straight to nCr n = 9 (total people),   r = 4 (committee size) number of ways = 9C4 Step 2: Compute (already done in WE 1) 9C4 = (9 · 8 · 7 · 6) / 4! = 3024 / 24 = 126 there are 126 different committees order doesn’t matter — picking Alice then Bob is the same committee as picking Bob then Alice. That’s why it’s nCr not nPr.
WE 6

Pascal’s triangle to expand (2 + x)5

Use Pascal’s triangle to find the full expansion of (2 + x)5.

Step 1: Read off row 5 from Pascal’s triangle row 5: 1, 5, 10, 10, 5, 1  ← these are the coefficients Step 2: Powers of 2 drop, powers of x rise — and they sum to 5 (2+x)5 = 1·25 + 5·24·x + 10·23·x2 + 10·22·x3 + 5·2·x4 + x5 Step 3: Compute each constant = 1·32 + 5·16·x + 10·8·x2 + 10·4·x3 + 5·2·x4 + x5 = 32 + 80x + 80x2 + 40x3 + 10x4 + x5 (2 + x)5 = 32 + 80x + 80x2 + 40x3 + 10x4 + x5 the row 1, 5, 10, 10, 5, 1 is symmetric — but the final answer isn’t, because the powers of 2 break the symmetry

💡 Top tips

⚠ Common mistakes

If this is your first time really seeing Pascal’s triangle, take a few minutes to draw rows 0 through 8 by hand. There’s something about doing it yourself — watching the 1s appear at the edges and the additions falling into place — that locks in the pattern far better than reading about it. From there, every binomial expansion you ever do becomes a quick lookup instead of a calculation. Onwards to the Extension of the Binomial Theorem next, where we’ll see what happens when n is allowed to be a fraction or a negative — and that’s HL-only territory.

Need help with Binomial Coefficients & Pascal’s Triangle?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session →