• Practice
  • About 18 min
  • 5 practice questions

Pascal's triangle and the binomial theorem

Build Pascal's triangle, state and understand the binomial theorem for a positive integer index, expand (a + b)ⁿ and (a − b)ⁿ, and use the sums of binomial coefficients.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Write down any row of Pascal's triangle by addition alone.
  • State the binomial theorem for a positive integer n and see why ⁿCᵣ is the coefficient of aⁿ⁻ʳbʳ.
  • Expand (a + b)ⁿ, (a − b)ⁿ and (1 + x)ⁿ quickly and correctly.
  • Use the facts about the number of terms, symmetry and the greatest coefficient.
  • Use ⁿC₀ + ⁿC₁ + ... + ⁿCₙ = 2ⁿ and the even and odd sums 2ⁿ⁻¹.

A binomial is an expression with two terms, such as x + y, 1 + x or 2a − 3b. Multiplying (a + b) by itself many times by hand is slow, but the result follows a neat pattern. The binomial theorem gives that pattern, and its coefficients are exactly the numbers ⁿCᵣ from the chapter on combinatorics, which is why they are called binomial coefficients.

Pascal's triangle

Look at the coefficients in (a + b)⁰ = 1, (a + b)¹ = a + b, (a + b)² = a² + 2ab + b² and (a + b)³ = a³ + 3a²b + 3ab² + b³. Writing them in rows gives a triangle. Each row starts and ends with 1, and every other entry is the sum of the two entries just above it, which is Pascal's rule ⁿCᵣ + ⁿCᵣ₋₁ = ⁽ⁿ⁺¹⁾Cᵣ. The arrangement is named after the seventeenth-century French mathematician Blaise Pascal.

Pascal's triangle: row n gives the coefficients of (a + b)ⁿ
nCoefficients ⁿC₀, ⁿC₁, ..., ⁿCₙ
01
11 1
21 2 1
31 3 3 1
41 4 6 4 1
51 5 10 10 5 1
61 6 15 20 15 6 1

For example, the 20 in row 6 is 10 + 10 from row 5, and the 15 is 5 + 10. With only addition you can write the next row: 1, 7, 21, 35, 35, 21, 7, 1.

The binomial theorem

For any positive integer n: (a + b)ⁿ = ⁿC₀ aⁿ + ⁿC₁ aⁿ⁻¹b + ⁿC₂ aⁿ⁻²b² + ... + ⁿCᵣ aⁿ⁻ʳbʳ + ... + ⁿCₙ bⁿ.

— Binomial theorem for a positive integral index

Why ⁿCᵣ? (a + b)ⁿ is the product of n brackets (a + b)(a + b)...(a + b). Each term of the product takes a or b from every bracket. To get aⁿ⁻ʳbʳ we must take b from exactly r of the n brackets, and that can be done in ⁿCᵣ ways. So aⁿ⁻ʳbʳ appears ⁿCᵣ times.

The textbook's proof is by mathematical induction. P(1) is a + b = ¹C₀a + ¹C₁b. Assuming the result for k, multiply both sides by (a + b): the term aᵏ⁺¹⁻ʳbʳ collects ᵏCᵣ from a × (term with bʳ) and ᵏCᵣ₋₁ from b × (term with bʳ⁻¹). By Pascal's rule ᵏCᵣ + ᵏCᵣ₋₁ = ⁽ᵏ⁺¹⁾Cᵣ, which is exactly the coefficient P(k + 1) requires.

Facts about the expansion

  • There are n + 1 terms.
  • The power of a falls by 1 and the power of b rises by 1 from term to term; in every term the powers add up to n.
  • The (r + 1)-th term is Tᵣ₊₁ = ⁿCᵣ aⁿ⁻ʳbʳ, for r = 0, 1, ..., n.
  • Coefficients equally far from the two ends are equal, because ⁿCᵣ = ⁿCₙ₋ᵣ.
  • The greatest coefficient is ⁿCₙ/₂ when n is even, and ⁿC₍ₙ₋₁₎/₂ = ⁿC₍ₙ₊₁₎/₂ when n is odd.
  • If n is even there is one middle term, Tₙ/₂₊₁; if n is odd there are two, T₍ₙ₊₁₎/₂ and T₍ₙ₊₃₎/₂.

Special cases

(i) Putting −b for b: (a − b)ⁿ = ⁿC₀aⁿ − ⁿC₁aⁿ⁻¹b + ⁿC₂aⁿ⁻²b² − ... + (−1)ⁿ ⁿCₙ bⁿ; the signs alternate. (ii) Putting a = 1, b = x: (1 + x)ⁿ = ⁿC₀ + ⁿC₁x + ⁿC₂x² + ... + ⁿCₙxⁿ. (iii) Putting x = 1 in (ii): ⁿC₀ + ⁿC₁ + ... + ⁿCₙ = 2ⁿ, the number of subsets of a set with n elements. (iv) Putting x = 1 in (1 − x)ⁿ: ⁿC₀ − ⁿC₁ + ⁿC₂ − ... = 0, so the even-position and odd-position sums are equal, and each is half of 2ⁿ: ⁿC₀ + ⁿC₂ + ⁿC₄ + ... = ⁿC₁ + ⁿC₃ + ... = 2ⁿ⁻¹.

Expanding (a + b)ⁿ step by step

  1. Read off a, b and n Keep the sign with b: in (2x − 3)⁴, b = −3.
  2. Write the coefficients Row n of Pascal's triangle, or ⁿC₀, ⁿC₁, ...
  3. Write the powers aⁿ, aⁿ⁻¹b, ..., bⁿ; powers always add to n.
  4. Multiply and simplify each term Raise numbers and signs carefully.
  5. Check Put x = 1 in both sides; the totals must agree.

Worked example 1: two expansions

(i) (x + 2)⁴: the coefficients are 1, 4, 6, 4, 1, so (x + 2)⁴ = x⁴ + 4x³(2) + 6x²(4) + 4x(8) + 16 = x⁴ + 8x³ + 24x² + 32x + 16. (ii) (2x − 3)⁴ with a = 2x, b = −3: (2x)⁴ − 4(2x)³(3) + 6(2x)²(9) − 4(2x)(27) + 81 = 16x⁴ − 96x³ + 216x² − 216x + 81. Check with x = 1: the left side is (−1)⁴ = 1 and the right side is 16 − 96 + 216 − 216 + 81 = 1.

Worked example 2: terms with 1/x, and a sum that clears surds

(i) (x + 1/x)⁴ = x⁴ + 4x³(1/x) + 6x²(1/x²) + 4x(1/x³) + 1/x⁴ = x⁴ + 4x² + 6 + 4/x² + 1/x⁴. (ii) Find (√3 + 1)⁴ + (√3 − 1)⁴. In the two expansions the terms with odd powers of 1 have opposite signs and cancel, so the sum is 2[(√3)⁴ + 6(√3)²(1)² + 1⁴] = 2[9 + 18 + 1] = 56. Check: (√3 + 1)² = 4 + 2√3, and (4 + 2√3)² = 16 + 16√3 + 12 = 28 + 16√3; likewise (√3 − 1)⁴ = 28 − 16√3; the sum is 56.

Worked example 3: coefficient sums and the greatest coefficient

For n = 7: ⁷C₀ + ⁷C₁ + ... + ⁷C₇ = 2⁷ = 128, and ⁷C₀ + ⁷C₂ + ⁷C₄ + ⁷C₆ = 1 + 21 + 35 + 7 = 64 = 2⁶. The greatest coefficient of (1 + x)⁸ is ⁸C₄ = 70 (n even), while (1 + x)⁷ has two equal greatest coefficients, ⁷C₃ = ⁷C₄ = 35 (n odd).

Key takeaways: row n of Pascal's triangle gives the coefficients of (a + b)ⁿ; the expansion has n + 1 terms with powers adding to n; Tᵣ₊₁ = ⁿCᵣaⁿ⁻ʳbʳ; signs alternate for (a − b)ⁿ; the coefficients add up to 2ⁿ, and the even-place and odd-place coefficients each add up to 2ⁿ⁻¹.

Check your understanding

  1. 1. How many terms are there in the expansion of (a + b)⁹?

    1. 9
    2. 10
    3. 11
    4. 18
    Show answer

    Answer: B. The expansion of (a + b)ⁿ has n + 1 terms, from ⁿC₀aⁿ to ⁿCₙbⁿ. For n = 9 there are 10 terms.

  2. 2. Which row of Pascal's triangle gives the coefficients of (a + b)⁵?

    1. 1 4 6 4 1
    2. 1 5 10 5 1
    3. 1 5 10 10 5 1
    4. 1 6 15 20 15 6 1
    Show answer

    Answer: C. Row 5 has 6 entries, ⁵C₀ to ⁵C₅: 1, 5, 10, 10, 5, 1. It comes from row 4 (1 4 6 4 1) by adding neighbours: 1 + 4 = 5 and 4 + 6 = 10.

  3. 3. What is ⁶C₀ + ⁶C₁ + ⁶C₂ + ... + ⁶C₆?

    1. 64
    2. 32
    3. 36
    4. 720
    Show answer

    Answer: A. Putting x = 1 in (1 + x)⁶ gives the sum of all the coefficients: 2⁶ = 64. Check: 1 + 6 + 15 + 20 + 15 + 6 + 1 = 64.

  4. 4. What is the greatest binomial coefficient in the expansion of (1 + x)¹⁰?

    1. ¹⁰C₄ = 210
    2. ¹⁰C₆ = 210
    3. ¹⁰C₁₀ = 1
    4. ¹⁰C₅ = 252
    Show answer

    Answer: D. When n is even the greatest coefficient is the middle one, ⁿCₙ/₂. Here it is ¹⁰C₅ = (10 × 9 × 8 × 7 × 6)/120 = 252, which is larger than ¹⁰C₄ = ¹⁰C₆ = 210.

  5. 5. What is the coefficient of x³ in the expansion of (1 − x)⁵?

    1. 10
    2. −10
    3. −5
    4. 5
    Show answer

    Answer: B. The term with x³ is ⁵C₃(−x)³ = 10 × (−1) × x³ = −10x³. The sign is negative because an odd power of −x is negative.

Privacy · Terms · Refunds · Delivery