Binomial Theorem Notes

Published on: October 31, 2026

This Binomial Theorem Calculator expands a two-term expression raised to a whole-number power, and shows the working at every step. Instead of multiplying the brackets out again and again, the binomial theorem builds every term directly from a binomial coefficient, a power of the first term that counts down and a power of the second term that counts up. Each term is then simplified and the terms are written in order. Following the same pattern every time makes long expansions quick to write and easy to check.

Step-by-step method

  1. Set up the problem.
  2. Write the binomial theorem.
  3. Put the terms and the power into the formula.
  4. Work out each binomial coefficient.
  5. Work out every term.
  6. Add the terms.

Formula: Binomial Theorem

This formula expands a bracket like (a + b) raised to a whole-number power n. Each term is a number from nCr, times a power of a that counts down and a power of b that counts up.

\(\left(a + b\right)^{n} = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^{k}\)

Formula: Combinations Formula (nCr)

This formula gives the number in front of each term. Put in n and k, then work out the factorials.

\(\binom{n}{k} = {}^{n}C_{k} = \frac{n!}{k! \times (n-k)!}\)
See Example 1 Hide Example 1

Problem

\(\left(x + 2\right)^{4}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the binomial theorem.
  3. Put the terms and the power into the formula.
  4. Work out each binomial coefficient.
  5. Work out every term.
  6. Add the terms.

Formula

Formula: Binomial Theorem

This formula expands a bracket like (a + b) raised to a whole-number power n. Each term is a number from nCr, times a power of a that counts down and a power of b that counts up.

\(\left(a + b\right)^{n} = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^{k}\)

Formula: Combinations Formula (nCr)

This formula gives the number in front of each term. Put in n and k, then work out the factorials.

\(\binom{n}{k} = {}^{n}C_{k} = \frac{n!}{k! \times (n-k)!}\)

Step 1

Step 1 - Set up the problem.

In this problem: The binomial is \(\left(x + 2\right)^{4}\). In the formula, \(a\) is the first term, \(x\), \(b\) is the second term, \(2\), and the power is \(n = 4\).

\(\left(x + 2\right)^{4}\)

Step 2

Step 2 - Write the binomial theorem.

In this problem: Each term of the answer is a number from the formula, times a power of \(a\) and a power of \(b\). The power of \(a\) starts at \(n\) and goes down by \(1\) each term, and the power of \(b\) starts at \(0\) and goes up by \(1\).

\(\left(a + b\right)^{n} = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^{k}\)

Step 3

Step 3 - Put the terms and the power into the formula.

In this problem: Put \(a = x\), \(b = 2\) and \(n = 4\) into the formula.

\(\left(x + 2\right)^{4} = \binom{4}{0} x^{4} 2^{0} + \binom{4}{1} x^{3} 2^{1} + \binom{4}{2} x^{2} 2^{2} + \binom{4}{3} x^{1} 2^{3} + \binom{4}{4} x^{0} 2^{4}\)

Step 4

Step 4 - Work out each binomial coefficient.

In this problem: There are \(5\) terms, so there are \(5\) numbers to work out with this rule. \(\binom{n}{k}\) is the same as \({}^{n}C_{k}\), so each one uses the Combinations Calculator steps. \(n!\) means multiplying every whole number from \(n\) down to \(1\), for example \(4! = 4 \times 3 \times 2 \times 1 = 24\), and \(0! = 1\).

\(\binom{n}{k} = {}^{n}C_{k} = \frac{n!}{k! \times (n-k)!}\)

Step 4a

Step 4a - Work out \(\binom{4}{0}\).

In this problem: Here \(k = 0\), so \(n - k = 4 - 0 = 4\). Work out the factorials: \(4! = 4 \times 3 \times 2 \times 1 = 24\), \(0! = 1\).

\(\binom{4}{0} = \frac{4!}{0! \times 4!} = \frac{24}{1 \times 24} = 1\)

Step 4b

Step 4b - Work out \(\binom{4}{1}\).

In this problem: Here \(k = 1\), so \(n - k = 4 - 1 = 3\). Work out the factorials: \(4! = 4 \times 3 \times 2 \times 1 = 24\), \(3! = 3 \times 2 \times 1 = 6\), \(1! = 1\).

\(\binom{4}{1} = \frac{4!}{1! \times 3!} = \frac{24}{1 \times 6} = 4\)

Step 4c

Step 4c - Work out \(\binom{4}{2}\).

In this problem: Here \(k = 2\), so \(n - k = 4 - 2 = 2\). Work out the factorials: \(4! = 4 \times 3 \times 2 \times 1 = 24\), \(2! = 2 \times 1 = 2\).

\(\binom{4}{2} = \frac{4!}{2! \times 2!} = \frac{24}{2 \times 2} = 6\)

Step 4d

Step 4d - Work out \(\binom{4}{3}\).

In this problem: Here \(k = 3\), so \(n - k = 4 - 3 = 1\). Work out the factorials: \(4! = 4 \times 3 \times 2 \times 1 = 24\), \(3! = 3 \times 2 \times 1 = 6\), \(1! = 1\).

\(\binom{4}{3} = \frac{4!}{3! \times 1!} = \frac{24}{6 \times 1} = 4\)

Step 4e

Step 4e - Work out \(\binom{4}{4}\).

In this problem: Here \(k = 4\), so \(n - k = 4 - 4 = 0\). Work out the factorials: \(4! = 4 \times 3 \times 2 \times 1 = 24\), \(0! = 1\).

\(\binom{4}{4} = \frac{4!}{4! \times 0!} = \frac{24}{24 \times 1} = 1\)

Step 4f

Step 4f - Put the numbers into the expansion.

In this problem: Swap each \(\binom{4}{k}\) from step 3 for the number just worked out.

\(\left(x + 2\right)^{4} = \left(1 \times x^{4} \times 2^{0}\right) + \left(4 \times x^{3} \times 2^{1}\right) + \left(6 \times x^{2} \times 2^{2}\right) + \left(4 \times x^{1} \times 2^{3}\right) + \left(1 \times x^{0} \times 2^{4}\right)\)

Step 5

Step 5 - Work out every term.

In this problem: Work out each term of the expansion from step 4 one at a time.

\(\left(1 \times x^{4} \times 2^{0}\right) + \left(4 \times x^{3} \times 2^{1}\right) + \left(6 \times x^{2} \times 2^{2}\right) + \left(4 \times x^{1} \times 2^{3}\right) + \left(1 \times x^{0} \times 2^{4}\right)\)

Step 5a

Step 5a - Work out the first term.

In this problem: Work out the powers: \(2^{0} = 1\), because anything to the power \(0\) is \(1\). Then multiply: \(1 \times x^{4} \times 1 = x^{4}\).

\(1 \times x^{4} \times 2^{0} = 1 \times x^{4} \times 1 = x^{4}\)

Step 5b

Step 5b - Work out the second term.

In this problem: Work out the powers: \(2^{1} = 2\). Then multiply: \(4 \times x^{3} \times 2 = 8x^{3}\).

\(4 \times x^{3} \times 2^{1} = 4 \times x^{3} \times 2 = 8x^{3}\)

Step 5c

Step 5c - Work out the third term.

In this problem: Work out the powers: \(2^{2} = 2 \times 2 = 4\). Then multiply: \(6 \times x^{2} \times 4 = 24x^{2}\).

\(6 \times x^{2} \times 2^{2} = 6 \times x^{2} \times 4 = 24x^{2}\)

Step 5d

Step 5d - Work out the fourth term.

In this problem: Work out the powers: \(x^{1} = x\); \(2^{3} = 2 \times 2 \times 2 = 8\). Then multiply: \(4 \times x \times 8 = 32x\).

\(4 \times x^{1} \times 2^{3} = 4 \times x \times 8 = 32x\)

Step 5e

Step 5e - Work out the fifth term.

In this problem: Work out the powers: \(x^{0} = 1\), because anything to the power \(0\) is \(1\); \(2^{4} = 2 \times 2 \times 2 \times 2 = 16\). Then multiply: \(1 \times 1 \times 16 = 16\).

\(1 \times x^{0} \times 2^{4} = 1 \times 1 \times 16 = 16\)

Step 6

Step 6 - Add the terms.

In this problem: Put the worked-out terms together in order, keeping each one's sign.

\(x^{4} + 8x^{3} + 24x^{2} + 32x + 16\)

Final Answer

\(\left(x + 2\right)^{4} = x^{4} + 8x^{3} + 24x^{2} + 32x + 16\)
See Example 2 Hide Example 2

Problem

\(\left(2x - 3\right)^{5}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the binomial theorem.
  3. Put the terms and the power into the formula.
  4. Work out each binomial coefficient.
  5. Work out every term.
  6. Add the terms.

Formula

Formula: Binomial Theorem

This formula expands a bracket like (a + b) raised to a whole-number power n. Each term is a number from nCr, times a power of a that counts down and a power of b that counts up.

\(\left(a + b\right)^{n} = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^{k}\)

Formula: Combinations Formula (nCr)

This formula gives the number in front of each term. Put in n and k, then work out the factorials.

\(\binom{n}{k} = {}^{n}C_{k} = \frac{n!}{k! \times (n-k)!}\)

Step 1

Step 1 - Set up the problem.

In this problem: The binomial is \(\left(2x - 3\right)^{5}\). In the formula, \(a\) is the first term, \(2x\), \(b\) is the second term, \(-3\), and the power is \(n = 5\).

\(\left(2x - 3\right)^{5}\)

Step 2

Step 2 - Write the binomial theorem.

In this problem: Each term of the answer is a number from the formula, times a power of \(a\) and a power of \(b\). The power of \(a\) starts at \(n\) and goes down by \(1\) each term, and the power of \(b\) starts at \(0\) and goes up by \(1\).

\(\left(a + b\right)^{n} = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^{k}\)

Step 3

Step 3 - Put the terms and the power into the formula.

In this problem: Put \(a = 2x\), \(b = -3\) and \(n = 5\) into the formula.

\(\begin{aligned} &\left(2x - 3\right)^{5} = \binom{5}{0} \left(2x\right)^{5} \left(-3\right)^{0} + \binom{5}{1} \left(2x\right)^{4} \left(-3\right)^{1} + \binom{5}{2} \left(2x\right)^{3} \left(-3\right)^{2} + \binom{5}{3} \left(2x\right)^{2} \left(-3\right)^{3} \\ &+ \binom{5}{4} \left(2x\right)^{1} \left(-3\right)^{4} + \binom{5}{5} \left(2x\right)^{0} \left(-3\right)^{5} \end{aligned}\)

Step 4

Step 4 - Work out each binomial coefficient.

In this problem: There are \(6\) terms, so there are \(6\) numbers to work out with this rule. \(\binom{n}{k}\) is the same as \({}^{n}C_{k}\), so each one uses the Combinations Calculator steps. \(n!\) means multiplying every whole number from \(n\) down to \(1\), for example \(5! = 5 \times 4 \times 3 \times 2 \times 1 = 120\), and \(0! = 1\).

\(\binom{n}{k} = {}^{n}C_{k} = \frac{n!}{k! \times (n-k)!}\)

Step 4a

Step 4a - Work out \(\binom{5}{0}\).

In this problem: Here \(k = 0\), so \(n - k = 5 - 0 = 5\). Work out the factorials: \(5! = 5 \times 4 \times 3 \times 2 \times 1 = 120\), \(0! = 1\).

\(\binom{5}{0} = \frac{5!}{0! \times 5!} = \frac{120}{1 \times 120} = 1\)

Step 4b

Step 4b - Work out \(\binom{5}{1}\).

In this problem: Here \(k = 1\), so \(n - k = 5 - 1 = 4\). Work out the factorials: \(5! = 5 \times 4 \times 3 \times 2 \times 1 = 120\), \(4! = 4 \times 3 \times 2 \times 1 = 24\), \(1! = 1\).

\(\binom{5}{1} = \frac{5!}{1! \times 4!} = \frac{120}{1 \times 24} = 5\)

Step 4c

Step 4c - Work out \(\binom{5}{2}\).

In this problem: Here \(k = 2\), so \(n - k = 5 - 2 = 3\). Work out the factorials: \(5! = 5 \times 4 \times 3 \times 2 \times 1 = 120\), \(3! = 3 \times 2 \times 1 = 6\), \(2! = 2 \times 1 = 2\).

\(\binom{5}{2} = \frac{5!}{2! \times 3!} = \frac{120}{2 \times 6} = 10\)

Step 4d

Step 4d - Work out \(\binom{5}{3}\).

In this problem: Here \(k = 3\), so \(n - k = 5 - 3 = 2\). Work out the factorials: \(5! = 5 \times 4 \times 3 \times 2 \times 1 = 120\), \(3! = 3 \times 2 \times 1 = 6\), \(2! = 2 \times 1 = 2\).

\(\binom{5}{3} = \frac{5!}{3! \times 2!} = \frac{120}{6 \times 2} = 10\)

Step 4e

Step 4e - Work out \(\binom{5}{4}\).

In this problem: Here \(k = 4\), so \(n - k = 5 - 4 = 1\). Work out the factorials: \(5! = 5 \times 4 \times 3 \times 2 \times 1 = 120\), \(4! = 4 \times 3 \times 2 \times 1 = 24\), \(1! = 1\).

\(\binom{5}{4} = \frac{5!}{4! \times 1!} = \frac{120}{24 \times 1} = 5\)

Step 4f

Step 4f - Work out \(\binom{5}{5}\).

In this problem: Here \(k = 5\), so \(n - k = 5 - 5 = 0\). Work out the factorials: \(5! = 5 \times 4 \times 3 \times 2 \times 1 = 120\), \(0! = 1\).

\(\binom{5}{5} = \frac{5!}{5! \times 0!} = \frac{120}{120 \times 1} = 1\)

Step 4g

Step 4g - Put the numbers into the expansion.

In this problem: Swap each \(\binom{5}{k}\) from step 3 for the number just worked out.

\(\begin{aligned} &\left(2x - 3\right)^{5} = \left(1 \times \left(2x\right)^{5} \times \left(-3\right)^{0}\right) + \left(5 \times \left(2x\right)^{4} \times \left(-3\right)^{1}\right) + \left(10 \times \left(2x\right)^{3} \times \left(-3\right)^{2}\right) \\ &+ \left(10 \times \left(2x\right)^{2} \times \left(-3\right)^{3}\right) + \left(5 \times \left(2x\right)^{1} \times \left(-3\right)^{4}\right) + \left(1 \times \left(2x\right)^{0} \times \left(-3\right)^{5}\right) \end{aligned}\)

Step 5

Step 5 - Work out every term.

In this problem: Work out each term of the expansion from step 4 one at a time.

\(\begin{aligned} &\left(1 \times \left(2x\right)^{5} \times \left(-3\right)^{0}\right) + \left(5 \times \left(2x\right)^{4} \times \left(-3\right)^{1}\right) + \left(10 \times \left(2x\right)^{3} \times \left(-3\right)^{2}\right) \\ &+ \left(10 \times \left(2x\right)^{2} \times \left(-3\right)^{3}\right) + \left(5 \times \left(2x\right)^{1} \times \left(-3\right)^{4}\right) + \left(1 \times \left(2x\right)^{0} \times \left(-3\right)^{5}\right) \end{aligned}\)

Step 5a

Step 5a - Work out the first term.

In this problem: Work out the powers: \(\left(2x\right)^{5} = 32x^{5}\) (its steps are below); \(\left(-3\right)^{0} = 1\), because anything to the power \(0\) is \(1\). Then multiply: \(1 \times 32x^{5} \times 1 = 32x^{5}\).

\(1 \times \left(2x\right)^{5} \times \left(-3\right)^{0} = 1 \times 32x^{5} \times 1 = 32x^{5}\)

Step 5b

Step 5b - Work out the second term.

In this problem: Work out the powers: \(\left(2x\right)^{4} = 16x^{4}\) (its steps are below); \(\left(-3\right)^{1} = -3\). Then multiply: \(5 \times 16x^{4} \times \left(-3\right) = -240x^{4}\).

\(5 \times \left(2x\right)^{4} \times \left(-3\right)^{1} = 5 \times 16x^{4} \times \left(-3\right) = -240x^{4}\)

Step 5c

Step 5c - Work out the third term.

In this problem: Work out the powers: \(\left(2x\right)^{3} = 8x^{3}\) (its steps are below); \(\left(-3\right)^{2} = \left(-3\right) \times \left(-3\right) = 9\). Then multiply: \(10 \times 8x^{3} \times 9 = 720x^{3}\).

\(10 \times \left(2x\right)^{3} \times \left(-3\right)^{2} = 10 \times 8x^{3} \times 9 = 720x^{3}\)

Step 5d

Step 5d - Work out the fourth term.

In this problem: Work out the powers: \(\left(2x\right)^{2} = 4x^{2}\) (its steps are below); \(\left(-3\right)^{3} = \left(-3\right) \times \left(-3\right) \times \left(-3\right) = -27\). Then multiply: \(10 \times 4x^{2} \times \left(-27\right) = -1080x^{2}\).

\(10 \times \left(2x\right)^{2} \times \left(-3\right)^{3} = 10 \times 4x^{2} \times \left(-27\right) = -1080x^{2}\)

Step 5e

Step 5e - Work out the fifth term.

In this problem: Work out the powers: \(\left(2x\right)^{1} = 2x\); \(\left(-3\right)^{4} = \left(-3\right) \times \left(-3\right) \times \left(-3\right) \times \left(-3\right) = 81\). Then multiply: \(5 \times 2x \times 81 = 810x\).

\(5 \times \left(2x\right)^{1} \times \left(-3\right)^{4} = 5 \times 2x \times 81 = 810x\)

Step 5f

Step 5f - Work out the sixth term.

In this problem: Work out the powers: \(\left(2x\right)^{0} = 1\), because anything to the power \(0\) is \(1\); \(\left(-3\right)^{5} = \left(-3\right) \times \left(-3\right) \times \left(-3\right) \times \left(-3\right) \times \left(-3\right) = -243\). Then multiply: \(1 \times 1 \times \left(-243\right) = -243\).

\(1 \times \left(2x\right)^{0} \times \left(-3\right)^{5} = 1 \times 1 \times \left(-243\right) = -243\)

Step 6

Step 6 - Add the terms.

In this problem: Put the worked-out terms together in order, keeping each one's sign.

\(32x^{5} - 240x^{4} + 720x^{3} - 1080x^{2} + 810x - 243\)

Final Answer

\(\left(2x - 3\right)^{5} = 32x^{5} - 240x^{4} + 720x^{3} - 1080x^{2} + 810x - 243\)
See Example 3 Hide Example 3

Problem

\(\left(a + b\right)^{6}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the binomial theorem.
  3. Put the terms and the power into the formula.
  4. Work out each binomial coefficient.
  5. Work out every term.
  6. Add the terms.

Formula

Formula: Binomial Theorem

This formula expands a bracket like (a + b) raised to a whole-number power n. Each term is a number from nCr, times a power of a that counts down and a power of b that counts up.

\(\left(a + b\right)^{n} = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^{k}\)

Formula: Combinations Formula (nCr)

This formula gives the number in front of each term. Put in n and k, then work out the factorials.

\(\binom{n}{k} = {}^{n}C_{k} = \frac{n!}{k! \times (n-k)!}\)

Step 1

Step 1 - Set up the problem.

In this problem: The binomial is \(\left(a + b\right)^{6}\). Its two terms are already called \(a\) and \(b\), the same letters the formula uses, and the power is \(n = 6\).

\(\left(a + b\right)^{6}\)

Step 2

Step 2 - Write the binomial theorem.

In this problem: Each term of the answer is a number from the formula, times a power of \(a\) and a power of \(b\). The power of \(a\) starts at \(n\) and goes down by \(1\) each term, and the power of \(b\) starts at \(0\) and goes up by \(1\).

\(\left(a + b\right)^{n} = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^{k}\)

Step 3

Step 3 - Put the terms and the power into the formula.

In this problem: Put \(a = a\), \(b = b\) and \(n = 6\) into the formula.

\(\left(a + b\right)^{6} = \binom{6}{0} a^{6} b^{0} + \binom{6}{1} a^{5} b^{1} + \binom{6}{2} a^{4} b^{2} + \binom{6}{3} a^{3} b^{3} + \binom{6}{4} a^{2} b^{4} + \binom{6}{5} a^{1} b^{5} + \binom{6}{6} a^{0} b^{6}\)

Step 4

Step 4 - Work out each binomial coefficient.

In this problem: There are \(7\) terms, so there are \(7\) numbers to work out with this rule. \(\binom{n}{k}\) is the same as \({}^{n}C_{k}\), so each one uses the Combinations Calculator steps. \(n!\) means multiplying every whole number from \(n\) down to \(1\), for example \(6! = 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 720\), and \(0! = 1\).

\(\binom{n}{k} = {}^{n}C_{k} = \frac{n!}{k! \times (n-k)!}\)

Step 4a

Step 4a - Work out \(\binom{6}{0}\).

In this problem: Here \(k = 0\), so \(n - k = 6 - 0 = 6\). Work out the factorials: \(6! = 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 720\), \(0! = 1\).

\(\binom{6}{0} = \frac{6!}{0! \times 6!} = \frac{720}{1 \times 720} = 1\)

Step 4b

Step 4b - Work out \(\binom{6}{1}\).

In this problem: Here \(k = 1\), so \(n - k = 6 - 1 = 5\). Work out the factorials: \(6! = 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 720\), \(5! = 5 \times 4 \times 3 \times 2 \times 1 = 120\), \(1! = 1\).

\(\binom{6}{1} = \frac{6!}{1! \times 5!} = \frac{720}{1 \times 120} = 6\)

Step 4c

Step 4c - Work out \(\binom{6}{2}\).

In this problem: Here \(k = 2\), so \(n - k = 6 - 2 = 4\). Work out the factorials: \(6! = 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 720\), \(4! = 4 \times 3 \times 2 \times 1 = 24\), \(2! = 2 \times 1 = 2\).

\(\binom{6}{2} = \frac{6!}{2! \times 4!} = \frac{720}{2 \times 24} = 15\)

Step 4d

Step 4d - Work out \(\binom{6}{3}\).

In this problem: Here \(k = 3\), so \(n - k = 6 - 3 = 3\). Work out the factorials: \(6! = 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 720\), \(3! = 3 \times 2 \times 1 = 6\).

\(\binom{6}{3} = \frac{6!}{3! \times 3!} = \frac{720}{6 \times 6} = 20\)

Step 4e

Step 4e - Work out \(\binom{6}{4}\).

In this problem: Here \(k = 4\), so \(n - k = 6 - 4 = 2\). Work out the factorials: \(6! = 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 720\), \(4! = 4 \times 3 \times 2 \times 1 = 24\), \(2! = 2 \times 1 = 2\).

\(\binom{6}{4} = \frac{6!}{4! \times 2!} = \frac{720}{24 \times 2} = 15\)

Step 4f

Step 4f - Work out \(\binom{6}{5}\).

In this problem: Here \(k = 5\), so \(n - k = 6 - 5 = 1\). Work out the factorials: \(6! = 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 720\), \(5! = 5 \times 4 \times 3 \times 2 \times 1 = 120\), \(1! = 1\).

\(\binom{6}{5} = \frac{6!}{5! \times 1!} = \frac{720}{120 \times 1} = 6\)

Step 4g

Step 4g - Work out \(\binom{6}{6}\).

In this problem: Here \(k = 6\), so \(n - k = 6 - 6 = 0\). Work out the factorials: \(6! = 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 720\), \(0! = 1\).

\(\binom{6}{6} = \frac{6!}{6! \times 0!} = \frac{720}{720 \times 1} = 1\)

Step 4h

Step 4h - Put the numbers into the expansion.

In this problem: Swap each \(\binom{6}{k}\) from step 3 for the number just worked out.

\(\begin{aligned} &\left(a + b\right)^{6} = \left(1 \times a^{6} \times b^{0}\right) + \left(6 \times a^{5} \times b^{1}\right) + \left(15 \times a^{4} \times b^{2}\right) + \left(20 \times a^{3} \times b^{3}\right) \\ &+ \left(15 \times a^{2} \times b^{4}\right) + \left(6 \times a^{1} \times b^{5}\right) + \left(1 \times a^{0} \times b^{6}\right) \end{aligned}\)

Step 5

Step 5 - Work out every term.

In this problem: Work out each term of the expansion from step 4 one at a time.

\(\begin{aligned} &\left(1 \times a^{6} \times b^{0}\right) + \left(6 \times a^{5} \times b^{1}\right) + \left(15 \times a^{4} \times b^{2}\right) + \left(20 \times a^{3} \times b^{3}\right) + \left(15 \times a^{2} \times b^{4}\right) \\ &+ \left(6 \times a^{1} \times b^{5}\right) + \left(1 \times a^{0} \times b^{6}\right) \end{aligned}\)

Step 5a

Step 5a - Work out the first term.

In this problem: Work out the powers: \(b^{0} = 1\), because anything to the power \(0\) is \(1\). Then multiply: \(1 \times a^{6} \times 1 = a^{6}\).

\(1 \times a^{6} \times b^{0} = 1 \times a^{6} \times 1 = a^{6}\)

Step 5b

Step 5b - Work out the second term.

In this problem: Work out the powers: \(b^{1} = b\). Then multiply: \(6 \times a^{5} \times b = 6a^{5}b\).

\(6 \times a^{5} \times b^{1} = 6 \times a^{5} \times b = 6a^{5}b\)

Step 5c

Step 5c - Work out the third term.

In this problem: Then multiply: \(15 \times a^{4} \times b^{2} = 15a^{4}b^{2}\).

\(15 \times a^{4} \times b^{2} = 15a^{4}b^{2}\)

Step 5d

Step 5d - Work out the fourth term.

In this problem: Then multiply: \(20 \times a^{3} \times b^{3} = 20a^{3}b^{3}\).

\(20 \times a^{3} \times b^{3} = 20a^{3}b^{3}\)

Step 5e

Step 5e - Work out the fifth term.

In this problem: Then multiply: \(15 \times a^{2} \times b^{4} = 15a^{2}b^{4}\).

\(15 \times a^{2} \times b^{4} = 15a^{2}b^{4}\)

Step 5f

Step 5f - Work out the sixth term.

In this problem: Work out the powers: \(a^{1} = a\). Then multiply: \(6 \times a \times b^{5} = 6ab^{5}\).

\(6 \times a^{1} \times b^{5} = 6 \times a \times b^{5} = 6ab^{5}\)

Step 5g

Step 5g - Work out the seventh term.

In this problem: Work out the powers: \(a^{0} = 1\), because anything to the power \(0\) is \(1\). Then multiply: \(1 \times 1 \times b^{6} = b^{6}\).

\(1 \times a^{0} \times b^{6} = 1 \times 1 \times b^{6} = b^{6}\)

Step 6

Step 6 - Add the terms.

In this problem: Put the worked-out terms together in order, keeping each one's sign.

\(a^{6} + 6a^{5}b + 15a^{4}b^{2} + 20a^{3}b^{3} + 15a^{2}b^{4} + 6ab^{5} + b^{6}\)

Final Answer

\(\left(a + b\right)^{6} = a^{6} + 6a^{5}b + 15a^{4}b^{2} + 20a^{3}b^{3} + 15a^{2}b^{4} + 6ab^{5} + b^{6}\)
See Example 4 Hide Example 4

Problem

\(\left(x^{2} - 2y\right)^{3}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the binomial theorem.
  3. Put the terms and the power into the formula.
  4. Work out each binomial coefficient.
  5. Work out every term.
  6. Add the terms.

Formula

Formula: Binomial Theorem

This formula expands a bracket like (a + b) raised to a whole-number power n. Each term is a number from nCr, times a power of a that counts down and a power of b that counts up.

\(\left(a + b\right)^{n} = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^{k}\)

Formula: Combinations Formula (nCr)

This formula gives the number in front of each term. Put in n and k, then work out the factorials.

\(\binom{n}{k} = {}^{n}C_{k} = \frac{n!}{k! \times (n-k)!}\)

Step 1

Step 1 - Set up the problem.

In this problem: The binomial is \(\left(x^{2} - 2y\right)^{3}\). In the formula, \(a\) is the first term, \(x^{2}\), \(b\) is the second term, \(-2y\), and the power is \(n = 3\).

\(\left(x^{2} - 2y\right)^{3}\)

Step 2

Step 2 - Write the binomial theorem.

In this problem: Each term of the answer is a number from the formula, times a power of \(a\) and a power of \(b\). The power of \(a\) starts at \(n\) and goes down by \(1\) each term, and the power of \(b\) starts at \(0\) and goes up by \(1\).

\(\left(a + b\right)^{n} = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^{k}\)

Step 3

Step 3 - Put the terms and the power into the formula.

In this problem: Put \(a = x^{2}\), \(b = -2y\) and \(n = 3\) into the formula.

\(\left(x^{2} - 2y\right)^{3} = \binom{3}{0} \left(x^{2}\right)^{3} \left(-2y\right)^{0} + \binom{3}{1} \left(x^{2}\right)^{2} \left(-2y\right)^{1} + \binom{3}{2} \left(x^{2}\right)^{1} \left(-2y\right)^{2} + \binom{3}{3} \left(x^{2}\right)^{0} \left(-2y\right)^{3}\)

Step 4

Step 4 - Work out each binomial coefficient.

In this problem: There are \(4\) terms, so there are \(4\) numbers to work out with this rule. \(\binom{n}{k}\) is the same as \({}^{n}C_{k}\), so each one uses the Combinations Calculator steps. \(n!\) means multiplying every whole number from \(n\) down to \(1\), for example \(3! = 3 \times 2 \times 1 = 6\), and \(0! = 1\).

\(\binom{n}{k} = {}^{n}C_{k} = \frac{n!}{k! \times (n-k)!}\)

Step 4a

Step 4a - Work out \(\binom{3}{0}\).

In this problem: Here \(k = 0\), so \(n - k = 3 - 0 = 3\). Work out the factorials: \(3! = 3 \times 2 \times 1 = 6\), \(0! = 1\).

\(\binom{3}{0} = \frac{3!}{0! \times 3!} = \frac{6}{1 \times 6} = 1\)

Step 4b

Step 4b - Work out \(\binom{3}{1}\).

In this problem: Here \(k = 1\), so \(n - k = 3 - 1 = 2\). Work out the factorials: \(3! = 3 \times 2 \times 1 = 6\), \(2! = 2 \times 1 = 2\), \(1! = 1\).

\(\binom{3}{1} = \frac{3!}{1! \times 2!} = \frac{6}{1 \times 2} = 3\)

Step 4c

Step 4c - Work out \(\binom{3}{2}\).

In this problem: Here \(k = 2\), so \(n - k = 3 - 2 = 1\). Work out the factorials: \(3! = 3 \times 2 \times 1 = 6\), \(2! = 2 \times 1 = 2\), \(1! = 1\).

\(\binom{3}{2} = \frac{3!}{2! \times 1!} = \frac{6}{2 \times 1} = 3\)

Step 4d

Step 4d - Work out \(\binom{3}{3}\).

In this problem: Here \(k = 3\), so \(n - k = 3 - 3 = 0\). Work out the factorials: \(3! = 3 \times 2 \times 1 = 6\), \(0! = 1\).

\(\binom{3}{3} = \frac{3!}{3! \times 0!} = \frac{6}{6 \times 1} = 1\)

Step 4e

Step 4e - Put the numbers into the expansion.

In this problem: Swap each \(\binom{3}{k}\) from step 3 for the number just worked out.

\(\begin{aligned} &\left(x^{2} - 2y\right)^{3} = \left(1 \times \left(x^{2}\right)^{3} \times \left(-2y\right)^{0}\right) + \left(3 \times \left(x^{2}\right)^{2} \times \left(-2y\right)^{1}\right) + \left(3 \times \left(x^{2}\right)^{1} \times \left(-2y\right)^{2}\right) \\ &+ \left(1 \times \left(x^{2}\right)^{0} \times \left(-2y\right)^{3}\right) \end{aligned}\)

Step 5

Step 5 - Work out every term.

In this problem: Work out each term of the expansion from step 4 one at a time.

\(\begin{aligned} &\left(1 \times \left(x^{2}\right)^{3} \times \left(-2y\right)^{0}\right) + \left(3 \times \left(x^{2}\right)^{2} \times \left(-2y\right)^{1}\right) + \left(3 \times \left(x^{2}\right)^{1} \times \left(-2y\right)^{2}\right) \\ &+ \left(1 \times \left(x^{2}\right)^{0} \times \left(-2y\right)^{3}\right) \end{aligned}\)

Step 5a

Step 5a - Work out the first term.

In this problem: Work out the powers: \(\left(x^{2}\right)^{3} = x^{6}\) (its steps are below); \(\left(-2y\right)^{0} = 1\), because anything to the power \(0\) is \(1\). Then multiply: \(1 \times x^{6} \times 1 = x^{6}\).

\(1 \times \left(x^{2}\right)^{3} \times \left(-2y\right)^{0} = 1 \times x^{6} \times 1 = x^{6}\)

Step 5b

Step 5b - Work out the second term.

In this problem: Work out the powers: \(\left(x^{2}\right)^{2} = x^{4}\) (its steps are below); \(\left(-2y\right)^{1} = -2y\). Then multiply: \(3 \times x^{4} \times \left(-2y\right) = -6x^{4}y\).

\(3 \times \left(x^{2}\right)^{2} \times \left(-2y\right)^{1} = 3 \times x^{4} \times \left(-2y\right) = -6x^{4}y\)

Step 5c

Step 5c - Work out the third term.

In this problem: Work out the powers: \(\left(x^{2}\right)^{1} = x^{2}\); \(\left(-2y\right)^{2} = 4y^{2}\) (its steps are below). Then multiply: \(3 \times x^{2} \times 4y^{2} = 12x^{2}y^{2}\).

\(3 \times \left(x^{2}\right)^{1} \times \left(-2y\right)^{2} = 3 \times x^{2} \times 4y^{2} = 12x^{2}y^{2}\)

Step 5d

Step 5d - Work out the fourth term.

In this problem: Work out the powers: \(\left(x^{2}\right)^{0} = 1\), because anything to the power \(0\) is \(1\); \(\left(-2y\right)^{3} = -8y^{3}\) (its steps are below). Then multiply: \(1 \times 1 \times \left(-8y^{3}\right) = -8y^{3}\).

\(1 \times \left(x^{2}\right)^{0} \times \left(-2y\right)^{3} = 1 \times 1 \times \left(-8y^{3}\right) = -8y^{3}\)

Step 6

Step 6 - Add the terms.

In this problem: Put the worked-out terms together in order, keeping each one's sign.

\(x^{6} - 6x^{4}y + 12x^{2}y^{2} - 8y^{3}\)

Final Answer

\(\left(x^{2} - 2y\right)^{3} = x^{6} - 6x^{4}y + 12x^{2}y^{2} - 8y^{3}\)