Educerie
Level

Educerie · IB Diploma · Mathematics: analysis and approaches

Topic 1 Number and algebra · 1.9 The binomial theorem

Level
SL and HL. Nothing here is HL only, so every section is examinable for both. HL students extend it in 1.10 to fractional and negative powers.
Themes (key concepts)
patterns, generalization, representation. The coefficients of (a + b)ⁿ form a pattern (Pascal's triangle) that the binomial theorem turns into a generalization for every n, represented either as a triangle of numbers or as the counting formula ⁿCᵣ.
The question this unit answers
how do you multiply out (a + b)ⁿ, or find just one of its terms, without writing out n brackets?
Where it is examined
Paper 1 (no calculator), almost every session: expand a bracket to a small power, or find one coefficient, a constant term, or an unknown in the bracket (4 to 6 marks). Paper 2 for ⁿCᵣ found with technology, and inside longer questions where a binomial expansion is one step. It returns in Topic 4 as the binomial distribution.

What you must be able to do

You must be able toLevelWhat it looks like in the exam
Build Pascal's triangle and read off the coefficients of (a + b)ⁿSL, HL"Expand (x − 2)⁵" (4 marks, Paper 1)
Evaluate ⁿCᵣ from the formula n! ÷ (r!(n − r)!) by handSL, HL⁷C₃ = 35 as one step in a coefficient question
Find ⁿCᵣ with technology, and find r or n from a given valueSL, HLPaper 2: "Find r when ⁸Cᵣ = 56", read from a GDC table (2 marks)
Explain where the coefficients come from, by counting choicesSL, HLUnderstanding why ⁿCᵣ is the coefficient; not usually a stand-alone question
Expand (a + b)ⁿ fully for a numerical n, with coefficients on a and bSL, HL"Expand (2x − 3)⁴, simplifying each term" (4 marks)
Find one term: a given power of x, the constant term, or an unknown constantSL, HL"Find the coefficient of x³ in (3 + 2x)⁷" or "the term independent of x" (4 to 6 marks)
Find a coefficient in a product such as (1 + 3x)(1 − 2x)⁵SL, HL"Find the coefficient of x² in the expansion of …" (5 marks)

Before you start

You need to expand a pair of brackets, and to use the laws of indices from 1.5 and 1.7, especially (2x)³ = 8x³, (−3)⁴ = 81 and x² × x⁻¹ = x. The whole subtopic depends on raising a number and its sign and its x to a power correctly, so be sure of that before you start.


1The idea in one paragraph

A binomial is a bracket with two terms, such as (a + b) or (2x − 3). Raising it to a power by multiplying out bracket after bracket works but is slow, and it gets slower fast. The binomial theorem does it in one line. Every term of (a + b)ⁿ has the shape ⁿCᵣ aⁿ⁻ʳ bʳ: the powers of a fall from n to 0, the powers of b rise from 0 to n, and the number in front, the binomial coefficient ⁿCᵣ, counts how many ways the term can be made. Those coefficients are the rows of Pascal's triangle, and they are given by a formula that is in the formula booklet. With that one shape you can expand a whole bracket, or pick out just the term you need.

2The pattern, found by hand

Start small and look.

(a + b)1 = a + b
(a + b)2 = a2 + 2ab + b2
(a + b)3 = a3 + 3a2 b + 3ab2 + b3
(a + b)4 = a4 + 4a3 b + 6a2 b2 + 4ab3 + b4

Figure 1 shows (a + b)² as an area: a square of side a + b cut into a², two rectangles ab, and b². The two identical rectangles are where the 2 in 2ab comes from.

Figure 1 · (a + b)² drawn as an area Figure 1 · (a + b)² drawn as an area a2 ab ab b2 a b a b The square of side a + b splits into a², two rectangles ab, and b²: so (a + b)² = a² + 2ab + b².
Figure 1 · (a + b)² drawn as an area

Three things hold in every row, and they are the whole structure of the theorem.

  • There are n + 1 terms. (a + b)⁴ has five.
  • The powers of a go down, the powers of b go up, one step at a time: a⁴, a³b, a²b², ab³, b⁴.
  • In every term the two powers add up to n. In 6a²b², 2 + 2 = 4.

What changes from row to row are the numbers in front: 1 1, then 1 2 1, then 1 3 3 1, then 1 4 6 4 1. Section 3 finds them without multiplying.

3Pascal's triangle

Write the coefficients in rows and a pattern appears. Figure 2 shows rows 0 to 7.

Figure 2 · Pascal's triangle, rows 0 to 7 Figure 2 · Pascal's triangle, rows 0 to 7 row 0 1 row 1 1 1 row 2 1 2 1 row 3 1 3 3 1 row 4 1 4 6 4 1 row 5 1 5 10 10 5 1 row 6 1 6 15 20 15 6 1 row 7 1 7 21 35 35 21 7 1 10 + 10 = 20 (a + b)⁴ Each entry is the sum of the two above it. Row n gives the coefficients of (a + b)ⁿ: row 4 is 1, 4, 6, 4, 1.
Figure 2 · Pascal's triangle, rows 0 to 7

Each row starts and ends with 1, and every other entry is the sum of the two entries above it. Row 5 is 1 5 10 10 5 1, so row 6 is 1, 1 + 5, 5 + 10, 10 + 10, 10 + 5, 5 + 1, 1, which is 1 6 15 20 15 6 1. Row n gives the coefficients of (a + b)ⁿ, counting the top row as row 0.

Why the adding rule works: to get (a + b)⁶, multiply (a + b)⁵ by (a + b). The a²b⁴ term of (a + b)⁶ can then arise in two ways, from a × (the ab⁴ term) or from b × (the a²b³ term), so its coefficient is the sum of those two coefficients in row 5.

The triangle is the quickest method for a small n on Paper 1, and it is worth being able to write down the first seven or eight rows in under a minute.

Whose triangle? It carries Pascal's name because he wrote a treatise on it in the seventeenth century. It was not his discovery. The Chinese mathematician Yang Hui set it out in the thirteenth century, and it was known in India and Persia before that. Naming a result after the person who made it famous in Europe, rather than the people who found it, is a pattern in the history of mathematics, and a fair question for TOK: how much of what we call "Pascal's triangle" reflects mathematics, and how much reflects who wrote the history?

4Where the numbers come from: choosing

Pascal's triangle gives the coefficients. Counting explains them, and gives a formula that works for any row without building the rows above it.

Write (a + b)³ as (a + b)(a + b)(a + b). Multiplying it out means choosing either a or b from each of the three brackets and multiplying the choices together. There are 2 × 2 × 2 = 8 ways to choose, and Figure 3 lists all eight, grouped by how many times b was chosen.

Figure 3 · Where the coefficients of (a + b)³ come from Figure 3 · Where the coefficients of (a + b)³ come from b chosen 0 times aaa a3 3C0 = 1 b chosen once baa aba aab 3a2b 3C1 = 3 b chosen twice bba bab abb 3ab2 3C2 = 3 b chosen 3 times bbb b3 3C3 = 1 Multiplying out (a + b)(a + b)(a + b) takes a or b from each bracket: 2 × 2 × 2 = 8 choices. Grouped by how many b's were chosen, the counts are 1, 3, 3, 1, which are ³C₀, ³C₁, ³C₂ and ³C₃.
Figure 3 · Where the coefficients of (a + b)³ come from

Exactly one choice gives a³ (a every time). Three choices give a²b, because b can come from the first, the second or the third bracket. Three give ab² and one gives b³. So the coefficient of a²b is 3 because there are 3 ways to choose which one bracket supplies the b.

The same argument works for any n. The term in aⁿ⁻ʳbʳ comes from choosing b from r of the n brackets (and a from the rest), so its coefficient is the number of ways of choosing r things from n. That number is written ⁿCᵣ (also written as n over r in a tall bracket) and read "n choose r".

To calculate it you need factorial notation: n! (n factorial) means n × (n − 1) × … × 2 × 1, so 4! = 24, and by definition 0! = 1. Then, from the formula booklet:

ⁿCᵣ = n! ÷ (r!(n − r)!)

Worked example 1. Paper 1. Find ⁷C₃ without a calculator.

7C3 = 7! / (3! × 4!)
= (7 × 6 × 5 × 4!) / (3! × 4!)the 4! cancels
= (7 × 6 × 5) / (3 × 2 × 1)
= 210 / 6 = 35

The cancelling in the second line is the practical trick: ⁿCᵣ is always r numbers counting down from n, divided by r!. So ¹⁰C₂ = (10 × 9) ÷ 2 = 45 without writing any factorials at all.

Two facts save work.

  • ⁿC₀ = ⁿCₙ = 1 and ⁿC₁ = ⁿCₙ₋₁ = n, the ends of every row.
  • ⁿCᵣ = ⁿCₙ₋ᵣ. Choosing which r brackets give b is the same as choosing which n − r brackets give a. This is why every row of Pascal's triangle is symmetrical.

With technology. On Paper 2 the GDC has an nCr function, and the guide expects you to use it. It also expects you to work backwards from a value using a table.

Worked example 2. Paper 2. Find the values of r for which ⁸Cᵣ = 56.

Enter y = 8 nCr x in the GDC's function table and read the values for x = 0, 1, 2, …, 8. Figure 4 shows them. ⁸Cᵣ = 56 at r = 3 and r = 5.

Figure 4 · Values of ⁸Cᵣ, as a GDC table gives them Figure 4 · Values of ⁸Cᵣ, as a GDC table gives them r ⁸Cᵣ 0 1 2 3 4 5 6 7 8 20 40 56 70 1 8 28 56 70 56 28 8 1 ⁸Cᵣ = 56 happens twice, at r = 3 and r = 5, because ⁸C₃ and ⁸C₅ count the same choices.
Figure 4 · Values of ⁸Cᵣ, as a GDC table gives them

There are two answers, by symmetry: ⁸C₃ = ⁸C₅. A question that says "find the values" expects both.

When n is the unknown, write out the formula instead. If ⁿC₂ = 105, then n(n − 1) ÷ 2 = 105, so n² − n − 210 = 0, (n − 15)(n + 14) = 0, and n = 15 (n must be a positive whole number, so −14 is rejected).

5The binomial theorem

Put the pieces together. From the formula booklet, for n ∈ ℕ:

(a + b)n = an + nC1 an−1 b + nC2 an−2 b2 + … + nCr an−r br + … + bn

The term containing bʳ is the general term:

General term: ⁿCᵣ aⁿ⁻ʳ bʳ. It is term number r + 1, because the first term has r = 0.

Figure 5 labels each piece.

Figure 5 · The general term of (a + b)ⁿ, piece by piece Figure 5 · The general term of (a + b)ⁿ, piece by piece nCr an − r br how many ways to choose r brackets for b a from the other n − r brackets b from the r chosen brackets the term in br, which is term number r + 1 powers of a and b always add up to n Every term of the expansion has this shape. Write it down first, then choose r.
Figure 5 · The general term of (a + b)ⁿ, piece by piece

The theorem is stated for a + b, but a and b can be anything: numbers, 2x, −3, x², 1/x. The one rule is that a and b are the whole of each term, sign and coefficient included. In (2x − 3)⁴, a = 2x and b = −3. Put brackets round each when you substitute, so that the sign and the coefficient are raised to the power too.

Worked example 3. Paper 1. Expand (2x − 3)⁴, simplifying each term.

Row 4 of Pascal's triangle is 1 4 6 4 1. Here a = 2x and b = −3.

(2x − 3)4
= 1(2x)4 + 4(2x)3(−3) + 6(2x)2(−3)2 + 4(2x)(−3)3 + 1(−3)4
= 16x4 + 4(8x3)(−3) + 6(4x2)(9) + 4(2x)(−27) + 81
= 16x4 − 96x3 + 216x2 − 216x + 81

Check: the signs alternate, as they must when b is negative, because odd powers of −3 are negative. And putting x = 1 into both sides gives (−1)⁴ = 1 and 16 − 96 + 216 − 216 + 81 = 1.

6Finding one term

Most exam questions do not want the whole expansion. They want one term, and writing out all of them wastes time and invites slips. The method is the same every time: write the general term, simplify the powers of x, choose r.

Worked example 4. Paper 1. Find the coefficient of x³ in the expansion of (3 + 2x)⁷.

General term: 7Cr (3)7−r (2x)r = 7Cr 37−r 2r xr
x3 needs r = 3
7C3 × 34 × 23 = 35 × 81 × 8 = 22 680

The coefficient is 22 680. The common error is to forget the 2³ and answer 35 × 81 = 2835: the coefficient inside the bracket is raised to the power too.

Worked example 5. Paper 1. Find the term independent of x in the expansion of (x² − 2/x)⁶.

"Independent of x" means the constant term, the one with x⁰.

General term: 6Cr (x2)6−r (−2/x)r
= 6Cr (−2)r x12−2r x−r(−2/x) to the power r is (−2) to the power r times x to the power −r
= 6Cr (−2)r x12−3r
Constant term: 12 − 3r = 0, so r = 4
6C4 (−2)4 = 15 × 16 = 240

Figure 6 shows the power of x in each of the seven terms, dropping by 3 each time, and reaching 0 at r = 4. If 12 − 3r = 0 had no whole-number solution, the expansion would have no constant term, and "there is no term independent of x" would be the answer.

Figure 6 · The power of x in each term of (x² − 2/x)⁶ Figure 6 · The power of x in each term of (x² − 2/x)⁶ r = 0 x12 → r = 1 x9 → r = 2 x6 → r = 3 x3 → r = 4 x0 → r = 5 x−3 → r = 6 x−6 constant term 12 − 3r = 0 Each step up in r takes away x³ (two from x² lost, one from 1/x gained). The power reaches 0 at r = 4.
Figure 6 · The power of x in each term of (x² − 2/x)⁶

Worked example 6. Paper 1. The coefficient of x² in the expansion of (1 + kx)⁶ is 60. Find the possible values of k.

x2 term: 6C2 (1)4 (kx)2 = 15k2 x2
15k2 = 60
k2 = 4
k = 2 or k = −2

Both values are valid, because k² hides the sign. If the question had given the coefficient of x³ instead, 20k³ has only one real cube root for each value, and there would be one answer.

Worked example 7. Paper 1. Find the coefficient of x² in the expansion of (1 + 3x)(1 − 2x)⁵.

You only need the first few terms of (1 − 2x)⁵, because the (1 + 3x) can raise the power of x by at most one.

(1 − 2x)5 = 1 + 5(−2x) + 10(−2x)2 + … = 1 − 10x + 40x2 + …
(1 + 3x)(1 − 10x + 40x2 + …)
x2 terms: 1 × 40x2 and 3x × (−10x)
40 − 30 = 10

The coefficient is 10. Both pairings must be found: every way of making x² from one term of each bracket.

A use for the first few terms. Because (1 + x)ⁿ = 1 + nx + ⁿC₂x² + … and the later terms are tiny when x is small, the first three terms give a quick estimate. 1.02⁶ = (1 + 0.02)⁶ ≈ 1 + 6(0.02) + 15(0.02)² = 1 + 0.12 + 0.006 = 1.126. The true value is 1.12616…, so three terms are already correct to four significant figures.

At HL, 1.10 extends the theorem to powers that are fractions or negative, where the expansion never ends and this kind of approximation is the main use.

7Where marks are lost

Not bracketing the whole term. (2x)³ is 8x³, not 2x³. (−3)² is 9, and (−3)³ is −27. Put brackets round a and b every time you substitute.

Forgetting the coefficient inside the bracket. In (3 + 2x)⁷ the coefficient of x³ includes 2³. Answering ⁷C₃ × 3⁴ leaves it out.

Using r for the term number. The general term with bʳ is term r + 1. The 4th term of an expansion has r = 3.

Giving the term when the coefficient is asked for. "The coefficient of x³" is 22 680. "The term in x³" is 22 680x³. Read which one.

Losing the minus sign in a negative b. In (x² − 2/x)⁶, b is −2/x, so (−2)ʳ carries a sign. For odd r the term is negative.

Missing one of the pairings in a product. In (1 + 3x)(1 − 2x)⁵, the x² coefficient comes from 1 × (x² term) and 3x × (x term). Leaving out either loses the answer.

Giving one value of r when there are two. ⁸Cᵣ = 56 has r = 3 and r = 5, by symmetry.

Wrong index laws when x is in both terms. (x²)⁶⁻ʳ is x¹²⁻²ʳ, and (1/x)ʳ is x⁻ʳ. Write the powers out and add them before choosing r.

8Work it right

  1. Name a and b, including signs and coefficients: in (2x − 3)⁴, a = 2x and b = −3.
  2. For a full expansion with small n, write the Pascal row first, then one term per coefficient, each with (a) and (b) in brackets.
  3. For one term, write the general term ⁿCᵣ aⁿ⁻ʳ bʳ before anything else. This line earns the method mark.
  4. Collect all the powers of x in the general term into a single x to a power, and set that power equal to what you want.
  5. Solve for r. It must be a whole number from 0 to n; if it is not, the term does not exist.
  6. Evaluate ⁿCᵣ by hand on Paper 1 (count down r numbers from n, divide by r!) or with nCr on Paper 2.
  7. For a product of brackets, list every pairing that makes the power you want, then add.
  8. Check a full expansion by putting x = 1 into both sides.

9Try it

Marks in brackets. Q1 to Q3, Q5 and Q6 are Paper 1 style (no calculator). Q4 is Paper 2 style.

Q1. Expand (x − 2)⁵, simplifying each term. 4 marks

Q2. Find the coefficient of x⁴ in the expansion of (2x + 5)⁶. 4 marks

Q3. Find the term independent of x in the expansion of (2x + 1/x²)⁹. 5 marks

Q4. Paper 2.

(a) Given that ⁿC₂ = 105, find n. 3 marks

(b) Use technology to find the values of r for which ¹⁰Cᵣ = 210. 2 marks

Q5. The coefficient of x³ in the expansion of (1 + ax)⁵ is −80. Find a. 4 marks

Q6. Find the coefficient of x² in the expansion of (2 − x)(1 + x/2)⁸. 5 marks

10In one breath

(a + b)ⁿ has n + 1 terms; the powers of a fall from n to 0 while the powers of b rise from 0 to n, always adding to n, and the numbers in front are the binomial coefficients ⁿCᵣ. They are row n of Pascal's triangle, where each entry is the sum of the two above (known to Yang Hui four centuries before Pascal), and they count the ways of choosing which r of the n brackets supply b, so ⁿCᵣ = n! ÷ (r!(n − r)!), with ⁿCᵣ = ⁿCₙ₋ᵣ; on Paper 2, use nCr and a GDC table, and remember that an equation like ⁸Cᵣ = 56 has two answers. The general term is ⁿCᵣ aⁿ⁻ʳ bʳ, which is term r + 1. To find one term, write the general term with a and b in brackets, including signs and coefficients, collect the powers of x, and choose r; for a constant term, set the power of x to zero; for a product of brackets, add every pairing. Check a full expansion by putting x = 1.


Answers

Q1. Row 5: 1 5 10 10 5 1, with a = x and b = −2. (x − 2)⁵ = x⁵ + 5x⁴(−2) + 10x³(−2)² + 10x²(−2)³ + 5x(−2)⁴ + (−2)⁵ = x⁵ − 10x⁴ + 40x³ − 80x² + 80x − 32. M1 for the coefficients 1, 5, 10, 10, 5, 1 from Pascal's triangle or ⁵Cᵣ, M1 for correct powers of x and −2 in each term, A2 for all six terms correct (A1 for four or five correct). Check: x = 1 gives (−1)⁵ = −1 and 1 − 10 + 40 − 80 + 80 − 32 = −1.

Q2. General term ⁶Cᵣ(2x)⁶⁻ʳ(5)ʳ. For x⁴ need 6 − r = 4, so r = 2. Coefficient = ⁶C₂ × 2⁴ × 5² = 15 × 16 × 25 = 6000. M1 for the general term or the correct term identified, A1 for r = 2 (or ⁶C₂ or ⁶C₄ used), M1 for 15 × 16 × 25 with both powers applied, A1 for 6000. Answering 6000x⁴ is accepted unless the question insists on the coefficient alone; 15 × 2 × 25 = 750 (the 2 not raised to the fourth power) scores M1 A1 M0 A0.

Q3. General term ⁹Cᵣ(2x)⁹⁻ʳ(x⁻²)ʳ = ⁹Cᵣ 2⁹⁻ʳ x⁹⁻ʳ⁻²ʳ = ⁹Cᵣ 2⁹⁻ʳ x⁹⁻³ʳ. Constant term: 9 − 3r = 0, so r = 3. Term = ⁹C₃ × 2⁶ = 84 × 64 = 5376. M1 for the general term with both parts raised to their powers, M1 for collecting the powers of x into x⁹⁻³ʳ, A1 for r = 3, M1 for ⁹C₃ × 2⁶ (⁹C₃ = 84 by hand: 9 × 8 × 7 ÷ 6), A1 for 5376.

Q4. (a) n(n − 1) ÷ 2 = 105, so n² − n − 210 = 0, so (n − 15)(n + 14) = 0. n must be a positive integer, so n = 15. (b) A table of 10 nCr x gives 210 at x = 4 and x = 6, so r = 4 or r = 6. (a) M1 for n(n − 1)/2 = 105, A1 for the quadratic or its roots, A1 for n = 15 only, with −14 rejected. (b) A1 for each value. Finding one value by trial and missing the second loses A1.

Q5. The x³ term is ⁵C₃(1)²(ax)³ = 10a³x³. So 10a³ = −80, a³ = −8, a = −2. M1 for the x³ term identified with ⁵C₃ or ⁵C₂, A1 for 10a³, M1 for setting 10a³ = −80, A1 for a = −2. There is only one real cube root, so a = ±2 loses the final A1.

Q6. (1 + x/2)⁸ = 1 + 8(x/2) + ⁸C₂(x/2)² + … = 1 + 4x + 28 × (x²/4) + … = 1 + 4x + 7x² + …. Then in (2 − x)(1 + 4x + 7x² + …), the x² terms are 2 × 7x² and (−x) × 4x. Coefficient = 14 − 4 = 10. M1 for the first three terms of (1 + x/2)⁸ with (x/2) raised to the powers, A1 for 1 + 4x + 7x², M1 for identifying both pairings that give x², A1 for 14 and −4, A1 for 10. An answer of 14 (only the 2 × 7x² pairing) scores M1 A1 M0 A0 A0.


Educerie · written from the published IB Diploma Programme Mathematics: analysis and approaches guide, first assessment 2021, section 1.9 The binomial theorem. Original text, examples and questions. Diagrams drawn by Educerie. Last reviewed 25 September 2026.

Mocks: in the future, hold tight!