Lemmara logoLemmaraFree lesson

Factorising by Grouping

Factorise four-term expressions by splitting them into two pairs that share the same bracket.

In the exam for Cambridge IGCSE Maths 0580, Cambridge O Level Maths 4024 · 29 real past-paper questions below

اقرأ هذا الدرس مشروحاً بالعربي ←

What Grouping Is

Some expressions have four terms and nothing shared by all four. You can still factorise them.

Split them into two pairs. Factorise each pair. If both pairs give the same bracket, that bracket comes out once.

Rule

Pairs first, then the shared bracket. The answer is always two brackets multiplied.

Key idea

Check by expanding: your two brackets must give all four terms back.

Two Pairs, One Bracket

The usual 2-mark question: factorise four terms like .

Worked example

  1. 1

    — Split the four terms into two pairs. The first two both contain 5x. The last two both contain 3.

  2. 2

    — Take 5x out of the first pair: and .

  3. 3

    — Take 3 out of the second pair: and . The same bracket appears twice.

  4. 4

    — The bracket is now shared, so take it out once. What stood in front of it, 5x and 3, goes in the other bracket.

  5. 5

    — Check by expanding: 5x × y, 5x × 2, 3 × y and 3 × 2 give all four terms back.

Why it works: lots of the bracket plus lots of it is lots of it.

Common mistake

Stopping at . That is still a sum. Take the bracket out to finish.

Key idea

Always write the line . In a 2-mark question that line earns 1 mark on its own, even if the last step slips.

When the Third Term Is Negative

The harder question has a minus in the middle, like . Take the minus out with the second pair.

Worked example

  1. 1

    — Split into two pairs. The minus belongs to the 3q, so it goes into the second pair with it.

  2. 2

    — First pair: take out 4p. and .

  3. 3

    — Second pair: take out −3, not 3, so the bracket matches. and .

  4. 4

    — Put the two pairs back together. Both now have (q − 2).

  5. 5

    — Take the bracket out once. The 4p and the −3 go in the other bracket, minus sign and all.

Check the sign: , which is the last term.

Common mistake

Writing . That expands to , not . The two brackets must be exactly the same.

Swap the Order First

Sometimes the first two terms share nothing, like in . Move the terms around first.

Worked example

  1. 1

    — The question. ab and 12 share no factor except 1, so pairing them goes nowhere.

  2. 2

    — Reorder: put the two terms with a next to each other, then the two with b. Adding in any order gives the same total.

  3. 3

    — Now split into two pairs. Each pair shares something.

  4. 4

    — First pair: take out a. and .

  5. 5

    — Second pair: take out 4. and . The same bracket appears twice.

  6. 6

    — Take the bracket out once. The a and the 4 go in the other bracket.

Key idea

Adding is allowed in any order, so swapping terms does not change the expression.

When a Pair Shares Only 1

Sometimes the second pair has nothing to take out, like in . It is still a bracket: one lot of it.

Worked example

  1. 1

    — Split into two pairs. The first pair shares 3x. The second pair shares only 1.

  2. 2

    — First pair: take out 3x. and .

  3. 3

    — The second pair already is the bracket. Write a 1 in front, because one lot of (y − 4) is just (y − 4).

  4. 4

    — Take the bracket out once. The 3x and the 1 go in the other bracket.

  5. 5

    — Check by expanding: 3x × y, 3x × (−4), 1 × y and 1 × (−4).

Common mistake

Writing and losing the 1. That expands to only, so two terms are missing.

When the pair starts with a minus. Take out −1 instead, so the signs inside flip.

Worked example

  1. 1

    — From : split into two pairs. The minus belongs to the b, so it goes into the second pair with it.

  2. 2

    — First pair: take out 5a. and .

  3. 3

    — Take out −1: and . Now the bracket matches.

  4. 4

    — Both pairs now have (b − 2).

  5. 5

    — Take the bracket out once. The 5a and the −1 go in the other bracket.

Take Out a Common Factor First

“Factorise completely” means nothing may be left that still factorises. If all four terms share a number, take it out first.

Worked example

  1. 1

    — The question. 6, 12, 3 and 6 all divide by 3, so 3 is shared by every term.

  2. 2

    — Take the 3 out of every term: , , , .

  3. 3

    — Now group inside the bracket. Take 2x out of the first pair. The second pair, y + 2, is one lot of the bracket.

  4. 4

    — Take out the shared (y + 2). Keep the 3 in front.

Common mistake

Stopping at . It is correct, but not complete: 6x and 3 still share 3. Take it out to get .

A Bracket Is Already There

Some questions give you part of the answer already, like . Treat the bracket like one letter and make the rest match it.

Worked example

  1. 1

    — The question. The first part already has the bracket. Only the last two terms need work.

  2. 2

    — Take out −q so the bracket matches: and .

  3. 3

    — Put it back. Both parts now have (p + 2q).

  4. 4

    — Take the bracket out once. The 4x and the −q go in the other bracket.

Back-to-front brackets. (p − 5) and (5 − p) look alike but are not equal. Take out −1 to flip one of them.

Worked example

  1. 1

    — The question. The brackets are back to front, so they do not match yet.

  2. 2

    — Flip it by taking out −1. Check: , which is 5 − p.

  3. 3

    — So becomes . The sign in front changes from + to −.

  4. 4

    — Take out the shared (p − 5) once.

Common mistake

Writing . Flipping the bracket always flips the sign in front of it too.

A Squared Bracket

A squared bracket is the bracket written twice. So it shares one copy with any other term that has that bracket.

Worked example

  1. 1

    — The question. Both terms contain (x + 4y).

  2. 2

    — Write the square as the bracket times itself, so you can see the copy to take out.

  3. 3

    — Take one (x + 4y) out of each term. What is left: 3x from the first, 2(x + 4y) from the second.

  4. 4

    — Expand inside the square bracket: .

  5. 5

    — Collect like terms: . Done.

Key idea

Write the line . It earns a mark for working even if the tidying after it goes wrong.

Which Method? Read the Question

Count the terms first, then look at the signs.

You seeYou do
Four terms, nothing shared by allTwo pairs, then the shared bracket
A minus before the third termTake out the minus with the second pair
A pair that shares nothingSwap the order of the terms
A pair that shares only 1Write it as 1(bracket), or −1(bracket)
All four terms share a numberTake it out first, then group
A bracket is already thereTreat it as one letter; make the rest match
(p − 5) and (5 − p)Flip one: 5 − p = −(p − 5)
One factor in every termSimple Factorising
Three terms with x²Factorising Quadratic Expressions
Square minus squareDifference of Two Squares

Key idea

If the two brackets do not match, try a different pairing or check your signs. Any pairing that works gives the same answer, and the brackets can go in either order: .

Practise factorising by grouping now

Interactive visual aids, then real past-paper questions marked on your working like the exam. Free to start.

Practise free on Lemmara

Real past-paper questions on factorising by grouping

Each with a full worked solution.

All 29 questions on this topic →

Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.