Skip to content

Algebraic manipulation and factorisation

Algebraic fluency means changing the form of an expression without changing its value. It is the working language of A-level Mathematics: calculus, trigonometry, coordinate geometry and mechanics all assume that you can simplify, expand and factorise accurately.

The central question is always:

What operation is valid here, and will the new expression be equivalent to the old one?

For example,

3(x+2)+2x=5x+63(x+2)+2x=5x+6

for every value of xx. The two expressions look different but are equivalent.

You should already be able to:

  • use negative numbers and the order of operations;
  • multiply and divide integers and simple fractions;
  • recognise powers such as x2x^2 and x3x^3;
  • substitute a number into a simple expression.

If numerical fractions or powers are a barrier, review exact arithmetic and indices, roots and surds.

In

4x23x+7,4x^2-3x+7,

the terms are 4x24x^2, 3x-3x and 77. The coefficient of x2x^2 is 44, the coefficient of xx is 3-3, and 77 is the constant term.

Terms are separated by addition or subtraction. Factors are multiplied. Thus 3x3x is one term with factors 33 and xx, while 3+x3+x contains two terms.

This distinction controls what you may combine:

3x+5x=8x,3x+5x=8x,

but 3x+53x+5 cannot be simplified because the terms are unlike. Similarly,

2x2+7x2=9x2,2x^2+7x^2=9x^2,

but 2x2+7x2x^2+7x cannot be combined. Powers are part of the identity of a term.

Simplify

5a3+2a28a+7a2.5a-3+2a^2-8a+7-a^2.

Group terms with exactly the same variable part:

5a3+2a28a+7a2=(2a2a2)+(5a8a)+(3+7)=a23a+4.\begin{aligned} 5a-3+2a^2-8a+7-a^2 &=(2a^2-a^2)+(5a-8a)+(-3+7)\\ &=a^2-3a+4. \end{aligned}

The subtraction signs belong to the terms following them. In particular, the term is a2-a^2, not a2a^2.

Expanding uses the distributive law:

a(b+c)=ab+ac.a(b+c)=ab+ac.

Every term outside a bracket multiplies every relevant term inside it.

Expand and simplify 4(2x3)5(x+1)4(2x-3)-5(x+1).

4(2x3)5(x+1)=8x125x5=3x17.\begin{aligned} 4(2x-3)-5(x+1) &=8x-12-5x-5\\ &=3x-17. \end{aligned}

The second bracket is multiplied by 5-5, so both signs change. Writing the multiplier as 5-5 rather than treating the minus separately prevents a common error.

To expand (x+3)(x5)(x+3)(x-5), multiply each term in the first bracket by each term in the second:

(x+3)(x5)=x25x+3x15=x22x15.\begin{aligned} (x+3)(x-5) &=x^2-5x+3x-15\\ &=x^2-2x-15. \end{aligned}

A useful general identity is

(x+a)(x+b)=x2+(a+b)x+ab.(x+a)(x+b)=x^2+(a+b)x+ab.

The coefficient of xx is the sum of aa and bb; the constant is their product.

Expand (3x2)(2x+5)(3x-2)(2x+5).

(3x2)(2x+5)=6x2+15x4x10=6x2+11x10.\begin{aligned} (3x-2)(2x+5) &=6x^2+15x-4x-10\\ &=6x^2+11x-10. \end{aligned}

There are four products before like terms are collected. Keeping this intermediate line makes sign errors easier to find.

Expand two brackets first, simplify, then multiply by the third. For example,

(x+1)(x1)(x+2)=(x21)(x+2)=x3+2x2x2.\begin{aligned} (x+1)(x-1)(x+2) &=(x^2-1)(x+2)\\ &=x^3+2x^2-x-2. \end{aligned}

Do not try to multiply all three mentally. A controlled sequence is usually faster because it avoids repair work.

An identity is true for every permitted value of the variable. These three identities recur throughout A-level work:

(a+b)2=a2+2ab+b2,(ab)2=a22ab+b2,(a+b)(ab)=a2b2.\begin{aligned} (a+b)^2&=a^2+2ab+b^2,\\ (a-b)^2&=a^2-2ab+b^2,\\ (a+b)(a-b)&=a^2-b^2. \end{aligned}

The middle term in a squared bracket is essential. For instance,

(x+4)2=x2+8x+16,(x+4)^2=x^2+8x+16,

not x2+16x^2+16. Squaring means multiplying the bracket by itself.

Worked example: use an identity efficiently

Section titled “Worked example: use an identity efficiently”

Expand (2x3)2(2x-3)^2.

Take a=2xa=2x and b=3b=3:

(2x3)2=(2x)22(2x)(3)+32=4x212x+9.\begin{aligned} (2x-3)^2 &=(2x)^2-2(2x)(3)+3^2\\ &=4x^2-12x+9. \end{aligned}

Factorising reverses expansion. It rewrites a sum or difference as a product.

For 12x318x212x^3-18x^2, the greatest common numerical factor is 66, and both terms contain x2x^2:

12x318x2=6x2(2x3).12x^3-18x^2=6x^2(2x-3).

Check by expanding:

6x2(2x3)=12x318x2.6x^2(2x-3)=12x^3-18x^2.

Taking out the greatest common factor usually gives the most useful form, but any valid common factor produces an equivalent expression.

Factorise 4x2+12x-4x^2+12x.

One valid answer is

4x(x3).-4x(x-3).

Taking out 4x-4x leaves a positive leading term inside the bracket, which is often easier to use later. Expanding confirms the signs:

4x(x3)=4x2+12x.-4x(x-3)=-4x^2+12x.

A monic quadratic has coefficient 11 on x2x^2. To factorise

x2+bx+c,x^2+bx+c,

find two numbers whose sum is bb and whose product is cc.

Factorise x2+7x+12x^2+7x+12.

We need two numbers with sum 77 and product 1212. They are 33 and 44, so

x2+7x+12=(x+3)(x+4).x^2+7x+12=(x+3)(x+4).

Factorise x22x15x^2-2x-15.

The product is negative, so the two numbers have opposite signs. We need sum 2-2 and product 15-15. The numbers are 33 and 5-5:

x22x15=(x+3)(x5).x^2-2x-15=(x+3)(x-5).

The sign of the sum decides which number has the larger magnitude.

For ax2+bx+cax^2+bx+c with a1a\ne1, use splitting the middle term. Find two numbers with product acac and sum bb, split bxbx, then factorise by grouping.

Factorise 6x2+11x106x^2+11x-10.

Here ac=6(10)=60ac=6(-10)=-60. We need two numbers with product 60-60 and sum 1111: 1515 and 4-4.

6x2+11x10=6x2+15x4x10=3x(2x+5)2(2x+5)=(3x2)(2x+5).\begin{aligned} 6x^2+11x-10 &=6x^2+15x-4x-10\\ &=3x(2x+5)-2(2x+5)\\ &=(3x-2)(2x+5). \end{aligned}

The repeated bracket (2x+5)(2x+5) becomes the common factor. Expanding the answer returns the original quadratic.

If no suitable integer pair exists, the quadratic may not factorise over the integers. Do not invent factors. Later methods such as the quadratic formula may be required.

The identity

a2b2=(ab)(a+b)a^2-b^2=(a-b)(a+b)

applies when two square terms are subtracted. There is no middle term.

For example,

9x225=(3x)252=(3x5)(3x+5).9x^2-25=(3x)^2-5^2=(3x-5)(3x+5).

Look for a common factor first:

8x272=8(x29)=8(x3)(x+3).\begin{aligned} 8x^2-72 &=8(x^2-9)\\ &=8(x-3)(x+3). \end{aligned}

By contrast, a2+b2a^2+b^2 is a sum of squares and does not factorise into real linear factors using this identity.

Expanding and factorising are not competing goals. The question determines the useful form.

  • Expanded form makes coefficients and like terms visible.
  • Factorised form makes common factors and zeros visible.
  • A squared-bracket form makes symmetry and turning points visible.

For instance,

(x2)(x+5)=x2+3x10.(x-2)(x+5)=x^2+3x-10.

The left side immediately shows that the product is zero when x=2x=2 or x=5x=-5. The right side makes the coefficients easy to compare. Fluency includes moving deliberately between these forms.

Use at least one of these checks after substantial manipulation:

  1. Reverse the operation. Expand a factorisation or factorise an expansion.
  2. Substitute a simple value. Equivalent expressions must agree for every permitted value.
  3. Check structure. Multiplying two linear expressions should produce a quadratic, not a cubic.

Suppose someone claims

(2x1)(x+4)=2x2+7x4.(2x-1)(x+4)=2x^2+7x-4.

At x=1x=1, the left side is (1)(5)=5(1)(5)=5 and the right side is 2+74=52+7-4=5. This is encouraging but not a proof, because one matching value could be accidental. Full expansion proves the identity:

(2x1)(x+4)=2x2+8xx4=2x2+7x4.(2x-1)(x+4)=2x^2+8x-x-4=2x^2+7x-4.

  • 3x+43x+4 cannot become 7x7x. Only like terms combine.
  • x2+x2=2x2x^2+x^2=2x^2, whereas x2×x2=x4x^2\times x^2=x^4. Addition and multiplication use different rules.
  • (x3)=x+3-(x-3)=-x+3. A negative multiplier changes every sign in the bracket.
  • (a+b)2a2+b2(a+b)^2\ne a^2+b^2. The correct expansion includes 2ab2ab.
  • x29=(x3)(x+3)x^2-9=(x-3)(x+3), not (x3)2(x-3)^2.
  • Factorising changes form, not value. An answer must expand exactly to the original expression.
  • Cancelling is division by a common factor, not deletion of matching terms across addition. This is developed in algebraic fractions.

Try these without a calculator. Expand your factorised answers to check them.

Simplify

4p27p+36p2+2p8.4p^2-7p+3-6p^2+2p-8.

Answer

2p25p5.-2p^2-5p-5.

Expand and simplify

3(2x5)(x4).3(2x-5)-(x-4).

Answer 3(2x5)(x4)=6x15x+4=5x11.\begin{aligned} 3(2x-5)-(x-4) &=6x-15-x+4\\ &=5x-11. \end{aligned}

Expand (2y+3)(y4)(2y+3)(y-4).

Answer

2y28y+3y12=2y25y12.2y^2-8y+3y-12=2y^2-5y-12.

Factorise fully

15a3b10a2b2.15a^3b-10a^2b^2.

Answer

The greatest common factor is 5a2b5a^2b:

15a3b10a2b2=5a2b(3a2b).15a^3b-10a^2b^2=5a^2b(3a-2b).

Factorise x2+x20x^2+x-20.

Answer

The numbers 55 and 4-4 have product 20-20 and sum 11:

x2+x20=(x+5)(x4).x^2+x-20=(x+5)(x-4).

Factorise 3x210x83x^2-10x-8.

Answer

Since ac=24ac=-24, use 12-12 and 22:

3x210x8=3x212x+2x8=3x(x4)+2(x4)=(3x+2)(x4).\begin{aligned} 3x^2-10x-8 &=3x^2-12x+2x-8\\ &=3x(x-4)+2(x-4)\\ &=(3x+2)(x-4). \end{aligned}

Factorise fully

5x280.5x^2-80.

Answer

Take out the common factor before using the identity:

5x280=5(x216)=5(x4)(x+4).5x^2-80=5(x^2-16)=5(x-4)(x+4).

A student writes (x6)2=x2+36(x-6)^2=x^2+36. Explain the error and correct it.

Answer

The bracket must be multiplied by itself, producing two middle products:

(x6)2=(x6)(x6)=x26x6x+36=x212x+36.\begin{aligned} (x-6)^2 &=(x-6)(x-6)\\ &=x^2-6x-6x+36\\ &=x^2-12x+36. \end{aligned}

Once these manipulations are secure:

Aim for accuracy before speed. When every line is an equivalent expression and every factorisation is checked by expansion, speed develops without fragile shortcuts.