Expanding Double Brackets Equation Solver with Worked Examples

To expand double brackets, multiply each term in the first bracket by each term in the second: . Type a product 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 Expanding double brackets means

Every term in the first bracket multiplies every term in the second, giving four products. A mnemonic is FOIL: First, Outer, Inner, Last.

Then collect like terms. The two middle terms often combine, for example .

Take care with negative signs. The result is the product of two linear factors, the reverse is factorising x squared plus bx plus c, and each bracket is expanded as in expanding a single bracket.

This page is part of Expressions, brackets and factorising in Algebra. Topics that work alongside it: Product of two linear factors, Expanding a single bracket, Factorising x² + bx + c, Index law: multiply, Index law: divide and Power of a product or quotient.

What is it used for?

Expanding double brackets multiplies each term in the first bracket by each term in the second, then collects like terms.

How to use expanding double brackets

  1. Multiply the First terms.
  2. Multiply the Outer terms, then the Inner terms.
  3. Multiply the Last terms.
  4. Collect like terms.

Diagram

x²5x3x15x5x3

The area (x + 3)(x + 5) splits into four parts: x², 5x, 3x and 15. They add to x² + 8x + 15.

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: two positives

Expand .

Expand
Answer
x2+8x+15x^{2}+8 x+15
  1. The expression
  2. Expand the brackets

Example 2: with a coefficient and a minus

Expand .

Expand
Answer
2x2−7x−42 x^{2}-7 x-4
  1. The expression
  2. Expand the brackets

Example 3: a negative term

Expand (x − 2)(x + 6).

Expand
Answer
x2+4x−12x^{2}+4 x-12
  1. The expression
  2. Expand the brackets

Special cases

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

Two positives

(x + 3)(x + 5) = x² + 8x + 15

Multiply every term by every term.

A coefficient and a minus

(2x + 1)(x − 4) = 2x² − 7x − 4

Collect the two x terms.

One negative

(x − 2)(x + 6) = x² + 4x − 12

Mixed signs give a negative constant.

FOIL

First, Outer, Inner, Last

A memory aid for the four products.

Word problems

To expand (a + b)(c + d), multiply each term in the first bracket by each term in the second and collect like terms.

Two positives

Expand (x + 3)(x + 5).

  1. Four productsx² + 5x + 3x + 15
  2. Collectx² + 8x + 15
  3. Check: x = 2: 5 × 7 = 35 and 4 + 16 + 15 = 35 ✓x² + 8x + 15.

A coefficient and a minus

Expand (2x + 1)(x − 4).

  1. Four products2x² − 8x + x − 4
  2. Collect2x² − 7x − 4
  3. Check: x = 2: 5 × (−2) = −10 and 8 − 14 − 4 = −10 ✓2x² − 7x − 4.

A negative Higher

Expand (x − 2)(x + 6).

  1. Four productsx² + 6x − 2x − 12
  2. Collectx² + 4x − 12
  3. Check: x = 3: 1 × 9 = 9 and 9 + 12 − 12 = 9 ✓x² + 4x − 12.

A rectangle Higher

A rectangle has sides (x + 3) and (x + 5). Write its area.

  1. Multiply(x + 3)(x + 5)
  2. Expandx² + 8x + 15
  3. Check: x = 1: 4 × 6 = 24 and 1 + 8 + 15 = 24 ✓x² + 8x + 15.

Common mistakes

Missing the middle term

(x + 3)(x + 5) = x² + 15 ✗

x² + 8x + 15 ✓

The cross terms add.

Sign errors

(x − 2)(x + 6) = x² + 8x − 12 ✗

x² + 4x − 12 ✓

6x − 2x = 4x.

Multiplying only first and last

(x + 3)(x + 5) = x² + 15 ✗

multiply all four pairs ✓

Four products are needed.

Dropping the negative of the last term

(2x + 1)(x − 4) = 2x² − 7x + 4 ✗

… − 4 ✓

1 × (−4) = −4.

Exam tips

  1. Four products.
  2. Collect the x terms.
  3. Watch negatives.
  4. Test with a number.
  5. Grid method helps.

Practice questions

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

1. Expand (x + 1)(x + 4). What is the coefficient of x? Foundation

5

2. Expand (x + 2)(x + 6). What is the constant term? Foundation

12

3. Expand (x + 3)(x + 7). What is the coefficient of x? Foundation

10

4. Expand (x − 3)(x + 5). What is the coefficient of x? Higher

2

5. Expand (x − 4)(x − 2). What is the constant term? Higher

8

6. Expand (2x + 3)(x − 1). What is the coefficient of x? Higher

1

Practice generator

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

Solve: …

Key terms

Expand
Multiply out brackets.
Binomial
An expression with two terms.
Quadratic
Has an x² term.
FOIL
First, Outer, Inner, Last.
Like terms
Same letters.
Area model
Rectangle split into four parts.

Frequently asked questions

How do you expand double brackets?

Multiply each term in one by each term in the other.

What is FOIL?

A memory aid for the four products.

How do I check?

Substitute a number for x on both sides.

Why is there a middle term?

Two cross products combine.

Which page covers product of two linear factors?

product of two linear factors.

Which page covers factorising?

factorising x² + bx + c.

More in Algebra and the formula sheets.