Binomial Theorem Equation Solver with Worked Examples

For a positive whole number , . Type a power such as and the solver expands it.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Binomial theorem (positive integer n) means

Each term has the form . The powers of fall from to 0 and the powers of rise from 0 to , always adding to .

The coefficients come from Pascal’s triangle: row 4 is 1, 4, 6, 4, 1.

For a minus sign inside the bracket, the terms alternate in sign. For powers that are not whole numbers the expansion becomes the binomial series, and the cube is a special case in expanding a cube.

This page is part of Binomial expansion in Algebra. Topics that work alongside it: Binomial coefficient, Binomial series (any real n, |x| < 1), Expanding (a + b)³, Modulus function, Partial fractions (repeated factor), Partial fractions (distinct linear factors), Remainder theorem and Pascal's triangle identity.

What is it used for?

The binomial theorem expands (a + b)ⁿ for any positive whole number n, using binomial coefficients.

How to use binomial theorem (positive integer n)

  1. Write the coefficients from Pascal’s triangle or .
  2. Write the powers of each term.
  3. Multiply each coefficient by the powers, including any numbers inside the bracket.
  4. Add the terms.

Diagram

111121133114641151010511615201561

Row n of Pascal’s triangle gives the coefficients in the expansion of (a + b)ⁿ. For (x + 2)⁴ use the row 1, 4, 6, 4, 1.

Worked examples

The examples marked with a button were worked out by the solver on this page. You can try each one yourself.

Example 1: a fourth power

Expand .

Binomial expansion Answer checked
Answer
1−4x+6x2−4x3+x41 - 4 x + 6 x^{2} - 4 x^{3} + x^{4}
  1. Use the binomial theorem:
  2. Pascal's triangle row 4 gives the coefficients
  3. Write out every term
  4. Simplify each term and write in ascending powers of x
  5. Check: put a number in for the letter and compare both sides

Example 2: a cube

Expand .

Binomial expansion Answer checked
Answer
8+12x+6x2+x38 + 12 x + 6 x^{2} + x^{3}
  1. Use the binomial theorem:
  2. Pascal's triangle row 3 gives the coefficients
  3. Write out every term
  4. Simplify each term and write in ascending powers of x
  5. Check: put a number in for the letter and compare both sides

Example 3: the fourth power

Expand (x + 2)⁴.

Binomial expansion Answer checked
Answer
16+32x+24x2+8x3+x416 + 32 x + 24 x^{2} + 8 x^{3} + x^{4}
  1. Use the binomial theorem:
  2. Pascal's triangle row 4 gives the coefficients
  3. Write out every term
  4. Simplify each term and write in ascending powers of x
  5. Check: put a number in for the letter and compare both sides

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

A fourth power

(x − 1)⁴ = x⁴ − 4x³ + 6x² − 4x + 1

Coefficients 1, 4, 6, 4, 1.

A cube

(2 + x)³ = x³ + 6x² + 12x + 8

Coefficients 1, 3, 3, 1.

A single term

x² coefficient in (3 + x)⁴: ⁴C₂ × 3² = 54

Pick the term you need.

Row 5 of Pascal’s triangle

1, 5, 10, 10, 5, 1

Row n gives ⁿCᵣ.

Word problems

(a + b)ⁿ = Σ ⁿCᵣ aⁿ⁻ʳ bʳ. The powers of a fall from n to 0 while the powers of b rise from 0 to n.

A fourth power

Expand (x − 1)⁴.

  1. Coefficients1, 4, 6, 4, 1
  2. Alternate signs+, −, +, −, +
  3. Writex⁴ − 4x³ + 6x² − 4x + 1
  4. Check: x = 2: 1 and 16 − 32 + 24 − 8 + 1 = 1 ✓x⁴ − 4x³ + 6x² − 4x + 1.

A cube

Expand (2 + x)³.

  1. Coefficients1, 3, 3, 1
  2. Terms8 + 12x + 6x² + x³
  3. Check: x = 1: 27 and 27 ✓x³ + 6x² + 12x + 8.

A single coefficient Higher

Find the coefficient of x² in (3 + x)⁴.

  1. Term⁴C₂ × 3² × x²
  2. Calculate6 × 9 = 54
  3. Check: 54 ✓54.

Another coefficient Higher

Find the coefficient of x³ in (1 + x)⁵.

  1. Term⁵C₃
  2. Calculate10
  3. Check: row 5 is 1, 5, 10, 10, 5, 1 ✓10.

Common mistakes

Forgetting the binomial coefficient

coefficient of x² in (3 + x)⁴ = 3² = 9 ✗

⁴C₂ × 3² = 54 ✓

Multiply by ⁿCᵣ.

Wrong signs for a minus

(x − 1)⁴ with all plus signs ✗

alternate signs ✓

Odd powers of −1 are negative.

Using the wrong row

row 3 for a 4th power ✗

row 4: 1, 4, 6, 4, 1 ✓

Row n for power n.

Powers not adding to n

x³ × 2² in (x + 2)⁴ ✗

powers add to 4 ✓

Check the total power.

Exam tips

  1. Row n of Pascal’s triangle.
  2. Powers add to n.
  3. Alternate signs for a minus.
  4. Use ⁿCᵣ for single terms.
  5. Check with x = 1.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. Find the coefficient of x² in (1 + x)⁴ Foundation

6

2. Find the coefficient of x in (1 + x)⁵ Foundation

5

3. Find the coefficient of x³ in (1 + x)⁶ Foundation

20

4. Find the coefficient of x² in (2 + x)⁴ Higher

24

5. Find the coefficient of x in (3 + x)⁵ Higher

405

6. Find the coefficient of x² in (1 − x)⁵ Higher

10

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Binomial theorem
A formula for (a + b)ⁿ.
Binomial coefficient
ⁿCᵣ.
Pascal’s triangle
A triangle of coefficients.
Term
A part of the expansion.
Expansion
The full multiplied-out form.
Power
The index n.

Frequently asked questions

What is the binomial theorem?

(a + b)ⁿ = Σ ⁿCᵣ aⁿ⁻ʳ bʳ.

How do I find one term?

Use ⁿCᵣ × aⁿ⁻ʳ × bʳ.

Where do the coefficients come from?

Pascal’s triangle.

What about a minus sign?

Alternate signs.

Which page covers ⁿCᵣ?

binomial coefficient.

Which page covers cubes?

expanding cubes.

More in Algebra and the formula sheets.