Free Mathematics Class 8 ICSE notes · practise this chapter with an AI quiz

← All study notes

Four Terms and No Common Factor: Group Them in Pairs

Learn to take out the highest common factor, factorise four-term expressions by grouping, and recognise the difference of two squares and perfect square patterns.

What do you do when nothing is common to all four terms?

You take the terms two at a time, and the common factor appears where there was none before.

Consider ax+ay+bx+byax + ay + bx + by. No single quantity divides all four terms. But group the first two and the last two:

a(x+y)+b(x+y)a(x + y) + b(x + y)

Now (x+y)(x + y) is common to both parts, and taking it out gives

(x+y)(a+b)(x + y)(a + b)

The common factor was never in the terms individually — it was created by the grouping. That is the whole technique, and it turns four-term expressions from impossible into routine.

This page covers the first part of the ICSE Class 8 Mathematics chapter on factorisation.
Formula

What are the standard factorisation patterns?

Factorising is expanding run backwards. Every identity from the special-products chapter becomes a factorisation pattern when read from right to left:

a2−b2=(a+b)(a−b)a^2 - b^2 = (a + b)(a - b)

a2+2ab+b2=(a+b)2a^2 + 2ab + b^2 = (a + b)^2

a2−2ab+b2=(a−b)2a^2 - 2ab + b^2 = (a - b)^2

Alongside these sit two general methods:

- Highest common factor — take out everything that divides every term
- Grouping — pair the terms so that each pair yields a common bracket

The order to work in. Always look for a common factor first, before any pattern. A common factor left inside makes the remaining expression harder than it needs to be, and an answer that still contains one is not fully factorised.

How to find the highest common factor of algebraic terms. Take the HCF of the coefficients, and the lowest power of each variable present in every term.

Worked example — the HCF of 12x3y12x^3y, −18x2y2-18x^2y^2 and 24xy324xy^3.

- Coefficients 1212, 1818, 2424 have HCF 66
- xx appears as x3x^3, x2x^2, x1x^1 — lowest power is xx
- yy appears as yy, y2y^2, y3y^3 — lowest power is yy

So the HCF is 6xy6xy, and

12x3y−18x2y2+24xy3=6xy(2x2−3xy+4y2)12x^3y - 18x^2y^2 + 24xy^3 = 6xy(2x^2 - 3xy + 4y^2)

Check by expanding: 6xy×2x2=12x3y6xy \times 2x^2 = 12x^3y, 6xy×(−3xy)=−18x2y26xy \times (-3xy) = -18x^2y^2, 6xy×4y2=24xy36xy \times 4y^2 = 24xy^3. All three match.

The mistake to avoid. Taking out 6xy6xy and writing only two terms in the bracket. The bracket must have as many terms as the original expression — three in, three out. Counting them is a free check that catches a dropped term every time.

How do you factorise by grouping?

Pair the terms, take a factor out of each pair, and check that the two brackets match.

Worked example 1 — the straightforward case.

ax+ay+bx+by=a(x+y)+b(x+y)=(x+y)(a+b)ax + ay + bx + by = a(x + y) + b(x + y) = (x + y)(a + b)

Worked example 2 — when signs must be managed. Factorise 6xy−9x−4y+66xy - 9x - 4y + 6.

Grouping the first pair and the last pair:

3x(2y−3)−2(2y−3)3x(2y - 3) - 2(2y - 3)

The second pair needed care: −4y+6=−2(2y−3)-4y + 6 = -2(2y - 3), since −2×2y=−4y-2 \times 2y = -4y and −2×(−3)=+6-2 \times (-3) = +6. Only by taking out a negative factor do the two brackets come out the same.

=(2y−3)(3x−2)= (2y - 3)(3x - 2)

Check by expanding: 6xy−4y−9x+66xy - 4y - 9x + 6, which is the original expression with its terms in a different order. Correct.

The signal that the grouping worked. The two brackets must be identical. If they differ — say you get (2y−3)(2y - 3) and (3−2y)(3 - 2y) — then a sign is wrong, and taking out the negative of your chosen factor from the second pair will fix it, since (3−2y)=−(2y−3)(3 - 2y) = -(2y - 3).

Worked example 3 — when the first pairing fails. Factorise x2+3y+3x+xyx^2 + 3y + 3x + xy.

Pairing as written: x2+3yx^2 + 3y has nothing common, and neither pairing helps. Rearrange first:

x2+3x+xy+3y=x(x+3)+y(x+3)=(x+3)(x+y)x^2 + 3x + xy + 3y = x(x + 3) + y(x + 3) = (x + 3)(x + y)

Grouping is not restricted to the order given. You may pair any two terms, so if the obvious pairing fails, look for two terms that share something and put them together.

Worked example 4 — a common factor hiding as well. Factorise 2ax+2ay+3bx+3by2ax + 2ay + 3bx + 3by.

=2a(x+y)+3b(x+y)=(x+y)(2a+3b)= 2a(x + y) + 3b(x + y) = (x + y)(2a + 3b)

Worked example 5 — grouping after a common factor. Factorise 3x3+3x2+6x+63x^3 + 3x^2 + 6x + 6.

First take out the common 33:

3(x3+x2+2x+2)3(x^3 + x^2 + 2x + 2)

Then group inside:

3[x2(x+1)+2(x+1)]=3(x+1)(x2+2)3\left[x^2(x + 1) + 2(x + 1)\right] = 3(x + 1)(x^2 + 2)

Had the 33 been left in, the grouping would still have worked but every number would have been three times larger. Common factor first is not a preference — it is what keeps the arithmetic small.

How do you use the difference of squares and perfect squares?

A difference of two squares always factorises. A sum of two squares does not.

Worked example 1. Factorise 49x2−64y249x^2 - 64y^2.

Recognise 49x2=(7x)249x^2 = (7x)^2 and 64y2=(8y)264y^2 = (8y)^2:

=(7x+8y)(7x−8y)= (7x + 8y)(7x - 8y)

Worked example 2 — factorising twice. Factorise x4−16x^4 - 16.

Since x4=(x2)2x^4 = (x^2)^2 and 16=4216 = 4^2:

x4−16=(x2+4)(x2−4)x^4 - 16 = (x^2 + 4)(x^2 - 4)

But x2−4x^2 - 4 is itself a difference of squares:

=(x2+4)(x+2)(x−2)= (x^2 + 4)(x + 2)(x - 2)

And x2+4x^2 + 4 is a sum of squares, which does not factorise, so the work stops there.

Always check whether your factors factorise again. Stopping at (x2+4)(x2−4)(x^2 + 4)(x^2 - 4) is the standard incomplete answer in this topic.

Worked example 3 — after a common factor. Factorise 2x3−8x2x^3 - 8x.

=2x(x2−4)=2x(x+2)(x−2)= 2x(x^2 - 4) = 2x(x + 2)(x - 2)

The difference of squares was invisible until the 2x2x came out — another reason the common factor goes first.

Worked example 4 — a numerical use. Evaluate 1012−992101^2 - 99^2 without squaring anything.

=(101+99)(101−99)=200×2=400= (101 + 99)(101 - 99) = 200 \times 2 = 400

Two squares of five digits each, reduced to a single small multiplication.

Worked example 5 — a perfect square trinomial. Factorise 9x2+24xy+16y29x^2 + 24xy + 16y^2.

Test the pattern: the outer terms are (3x)2(3x)^2 and (4y)2(4y)^2, and twice their product is

2×3x×4y=24xy2 \times 3x \times 4y = 24xy

which matches the middle term exactly. So

=(3x+4y)2= (3x + 4y)^2

The test for a perfect square, in order. First and last terms must be perfect squares; then the middle term must equal twice the product of their roots. If the middle term does not match, the expression is not a perfect square and needs a different method.

Worked example 6 — a near miss. Is 9x2+20xy+16y29x^2 + 20xy + 16y^2 a perfect square?

The outer terms are still (3x)2(3x)^2 and (4y)2(4y)^2, but twice the product of the roots is 24xy24xy, not 20xy20xy. So no — and writing (3x+4y)2(3x + 4y)^2 here would be wrong. Checking the middle term is not optional.

Worked example 7 — with a negative middle term. Factorise 25x2−30x+925x^2 - 30x + 9.

Outer terms: (5x)2(5x)^2 and 323^2. Twice the product: 2×5x×3=30x2 \times 5x \times 3 = 30x, matching in size. The middle term is negative, so

=(5x−3)2= (5x - 3)^2
Exam tip

Exam tip: common factor first, then check every bracket again

Always take out the highest common factor first. Take the HCF of the coefficients and the lowest power of each variable present in every term: the HCF of 12x3y12x^3y, −18x2y2-18x^2y^2 and 24xy324xy^3 is 6xy6xy.

Count the terms. Three terms in the original means three inside the bracket.

For grouping, pair the terms so each pair leaves the same bracket. If you get (2y−3)(2y - 3) and (3−2y)(3 - 2y), take out the negative instead — they differ only by a sign.

If the given order does not group, rearrange the terms. Any two may be paired.

A difference of two squares always factorises; a sum of two squares does not.

Check whether your factors factorise again: x4−16=(x2+4)(x+2)(x−2)x^4 - 16 = (x^2 + 4)(x + 2)(x - 2), not (x2+4)(x2−4)(x^2 + 4)(x^2 - 4).

For a perfect square, test both conditions: the outer terms must be squares and the middle term must be twice the product of their roots. 9x2+20xy+16y29x^2 + 20xy + 16y^2 fails, because twice the product is 24xy24xy.

And expand your answer back — it takes one line and proves the factorisation.
Did you know

Why factorising is the harder direction

Expanding brackets is a procedure: multiply everything by everything, collect, done. Given any expression with brackets, you can grind out the answer without insight.

Factorising has no such guarantee. You are handed the finished product and asked which multiplication produced it — and that demands recognition rather than routine. It is the difference between following a recipe and tasting a dish to work out the ingredients.

This asymmetry is not a quirk of school algebra. It runs right through mathematics, and with numbers it becomes genuinely profound. Multiplying two large prime numbers together takes a moment. Taking the product back apart into those two primes, knowing only the product, is so laborious that the difficulty itself is put to work: the security of ordinary online banking and messaging rests on exactly that gap between how easy multiplication is and how hard factorisation is.

So when factorising feels harder than expanding, that is not a failing on your part. You are running a calculation backwards, and backwards is where the real mathematics usually lives.

The practical consequence for this chapter is simple. Because factorising relies on recognition, the patterns must be familiar enough to spot on sight — which is why expanding them repeatedly, until a2−b2a^2 - b^2 and a2+2ab+b2a^2 + 2ab + b^2 jump out at you, is time well spent rather than busywork.
Key takeaways

Common factors, grouping and square patterns: quick revision

- Factorising is expanding backwards. Read the identities right to left: a2−b2=(a+b)(a−b)a^2 - b^2 = (a+b)(a-b), a2+2ab+b2=(a+b)2a^2 + 2ab + b^2 = (a+b)^2, a2−2ab+b2=(a−b)2a^2 - 2ab + b^2 = (a-b)^2.
- Common factor first, always. HCF of the coefficients, lowest power of each variable in every term.
- 12x3y−18x2y2+24xy3=6xy(2x2−3xy+4y2)12x^3y - 18x^2y^2 + 24xy^3 = 6xy(2x^2 - 3xy + 4y^2) — three terms in, three terms out.
- Grouping creates a common factor where none existed: ax+ay+bx+by=a(x+y)+b(x+y)=(x+y)(a+b)ax + ay + bx + by = a(x+y) + b(x+y) = (x+y)(a+b).
- 6xy−9x−4y+6=3x(2y−3)−2(2y−3)=(2y−3)(3x−2)6xy - 9x - 4y + 6 = 3x(2y-3) - 2(2y-3) = (2y-3)(3x-2) — the second pair needed a negative factor.
- The two brackets must be identical. (3−2y)=−(2y−3)(3 - 2y) = -(2y - 3), so a sign mismatch is fixable.
- Rearrange if needed: x2+3y+3x+xyx^2 + 3y + 3x + xy regroups as x(x+3)+y(x+3)=(x+3)(x+y)x(x+3) + y(x+3) = (x+3)(x+y).
- Combine both methods: 3x3+3x2+6x+6=3(x+1)(x2+2)3x^3 + 3x^2 + 6x + 6 = 3(x+1)(x^2+2).
- Difference of squares: 49x2−64y2=(7x+8y)(7x−8y)49x^2 - 64y^2 = (7x + 8y)(7x - 8y). A sum of squares does not factorise.
- Factorise twice where possible: x4−16=(x2+4)(x+2)(x−2)x^4 - 16 = (x^2 + 4)(x + 2)(x - 2); and 2x3−8x=2x(x+2)(x−2)2x^3 - 8x = 2x(x+2)(x-2).
- Numerically: 1012−992=200×2=400101^2 - 99^2 = 200 \times 2 = 400.
- Perfect square test: outer terms are squares and the middle term is twice the product of their roots. 9x2+24xy+16y2=(3x+4y)29x^2 + 24xy + 16y^2 = (3x + 4y)^2, but 9x2+20xy+16y29x^2 + 20xy + 16y^2 is not a perfect square since twice the product is 24xy24xy.
- With a negative middle term: 25x2−30x+9=(5x−3)225x^2 - 30x + 9 = (5x - 3)^2.
- Expand your answer back to check — one line, complete certainty.

Factorise ten mixed expressions in one sitting, deciding the method before you write anything. Choosing between common factor, grouping and a square pattern is the skill being tested; the algebra afterwards is the easy part.

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Factorisation — Part 1Create a free account
← Back to all articles