Expanding and factorising

Expanding removes brackets by multiplying every term inside by what is outside. Factorising does the opposite: it puts brackets back in by taking out common factors. Both are everyday tools for simplifying algebra and solving equations.

Key facts

  • Expand a single bracket by multiplying every term inside: 3(2x − 5) = 6x − 15.
  • Expand two brackets by multiplying each term in the first by each term in the second (FOIL or a grid): (x + 2)(x + 5) = x² + 7x + 10.
  • (a + b)² = a² + 2ab + b² — not a² + b².
  • Factorise fully by taking out the highest common factor of the numbers and letters: 6x² + 9x = 3x(2x + 3).
  • To factorise x² + bx + c, find two numbers that multiply to c and add to b.
  • Difference of two squares: a² − b² = (a + b)(a − b).

Worked examples

Example 1

Expand and simplify 4(x + 3) − 2(x − 5).

  1. Multiply out the first bracket. 4x + 12
  2. The −2 multiplies both terms in its bracket. −2x + 10
  3. Collect like terms. 4x + 12 − 2x + 10 = 2x + 22

Answer: 2x + 22

Example 2

Expand (x + 4)(x − 7).

  1. First, Outer, Inner, Last: each term in the first bracket times each term in the second. x² − 7x + 4x − 28
  2. Collect the x terms (the two red ones). x² − 3x − 28

Answer: x² − 3x − 28

Example 3

Factorise x² − x − 12.

  1. We need two numbers that multiply to −12 and add to −1. −4 × 3 = −12, −4 + 3 = −1
  2. Write the brackets. (x − 4)(x + 3)
  3. Check by expanding. x² + 3x − 4x − 12 = x² − x − 12

Answer: (x − 4)(x + 3)

Example 4

Factorise 3x² + 10x − 8.

  1. Multiply a × c. 3 × (−8) = −24
  2. Find two numbers that multiply to −24 and add to 10. 12 and −2
  3. Split 10x into 12x − 2x. 3x² + 12x − 2x − 8
  4. Factorise in pairs. 3x(x + 4) − 2(x + 4) = (3x − 2)(x + 4)

Answer: (3x − 2)(x + 4)

Example 5

Expand 5(2x − 3).

  1. Multiply each term in the bracket by 5. 5 × 2x = 10x, 5 × (−3) = −15

Answer: 10x − 15

Example 6

Factorise 6x + 15.

  1. The HCF of 6x and 15 is 3.
  2. Take it outside the bracket. 6x + 15 = 3(2x + 5)

Answer: 3(2x + 5)

Example 7

Expand and simplify 3(x + 4) + 2(x − 1).

  1. Expand each bracket. 3x + 12 + 2x − 2
  2. Collect like terms. 5x + 10

Answer: 5x + 10

Example 8

Factorise 4x^2 − 25.

  1. Both terms are squares. 4x^2 = (2x)^2, 25 = 5^2
  2. Use a^2 − b^2 = (a + b)(a − b). (2x + 5)(2x − 5)

Answer: (2x + 5)(2x − 5)