Mathematics

How to factorise: which method to use

Guide cover, How to factorise, with a brackets icon in yellow on black

Key points

  • To factorise, take out the highest common factor first, then count the terms: two terms use the difference of two squares, three terms (a trinomial) use split the middle then group, and four terms use grouping in pairs. Finish by expanding to check.
  • Every method is one idea: take out a common factor. Uplift turns a trinomial into four terms so that grouping works.
  • Expanding is the check. If your factorised answer expands back to the original expression, it is right.
  • This is one reliable order for Years 9 and 10, not the only way. Your teacher may show a different layout for the same ideas.

This guide shows how to factorise in Year 9 and Year 10 NSW Mathematics: which method to use, in what order, and how to check your answer. It is written for students in Years 9 and 10 first, with Years 11 and 12 revising, and for parents who want to see how the method works.

What does factorise mean?

To factorise an expression is to write it as a product, which means a multiplication. It is the reverse of expanding. Expanding turns 3(x + 2) into 3x + 6, and factorising turns 3x + 6 back into 3(x + 2).

A few words you will see often in this guide:

  • A term is one part of an expression, separated by plus or minus signs. 3x + 6 has two terms.
  • A factor is something that divides evenly into a term. 3 is a factor of both 3x and 6.
  • The highest common factor (HCF) is the largest factor shared by every term.
  • A bracket holds a group of terms that are treated as one unit, as in (x + 2).
  • A binomial has two terms, and a trinomial has three.

The picture below is the whole guide on one page. Come back to it whenever you are stuck on where to start.

Flow chart for how to factorise: take out the HCF, count the terms, then use a method for two, three or four terms
Which factorising method to use: take out the HCF, count the terms, then check by expanding.

Step 1: always take out the highest common factor

Before anything else, look for a factor that every term shares and take it out the front. Every factorising method in this guide is this same idea, used again in a slightly different place.

Here is a worked example: factorise 6x2 + 9x.

StepWhat you writeWhy
1HCF of 6 and 9 is 3. HCF of x2 and x is x. So the HCF is 3x.Take the biggest number that divides both, and the most xs that both terms have.
26x2 ÷ 3x = 2x and 9x ÷ 3x = 3Divide each term by the HCF to see what is left.
36x2 + 9x = 3x(2x + 3)The HCF goes outside the bracket, and what is left goes inside.

Check by expanding: 3x × 2x = 6x2 and 3x × 3 = 9x, so the answer matches. A second example with letters: 12a2b − 8ab = 4ab(3a − 2).

The NSW Curriculum lists “taking out a common algebraic factor” as the first factorising skill in Stage 5 Algebraic techniques B (Path), so it is the right place to start.

Watch
A 70-second walk-through of the order to factorise in: HCF first, then two, three or four terms, then check by expanding.
Read the transcript
Four terms, three terms, two terms: which method? Start with the same step every time. Take out the common factor. In six x squared plus nine x, that is three x, giving three x times two x plus three. Two terms: difference of two squares. Four x squared minus nine becomes two x plus three, times two x minus three. Four terms: group in pairs. Take y out of the first pair and minus one out of the second, and the brackets match: x plus y, times y minus one. Three terms: split the middle. For x squared plus five x plus six, find two numbers that multiply to six and add to five. Two and three. Split five x into two x plus three x, then group. So: common factor first, then count the terms. Two, three, or four. Then check by expanding. If it multiplies back, it is right. Practise it in the Factorise Lab, download the checklist, or talk to Uplift.

Two terms: the difference of two squares

When an expression has two terms, both are perfect squares and there is a minus sign between them, it is a difference of two squares. The pattern is a2 − b2 = (a + b)(a − b).

Uplift’s Year 9 lesson teaches this with the example 4x2 − 9.

StepWhat you writeWhy
1 Assign the squares4x2 = (2x)2 and 9 = 32Both terms are perfect squares, with a minus between them.
2 Find a and ba = 2x and b = 3These are the square roots of the two terms.
3 Use the pattern4x2 − 9 = (2x + 3)(2x − 3)a2 − b2 = (a + b)(a − b).
4 Check(2x + 3)(2x − 3) = 4x2 − 6x + 6x − 9 = 4x2 − 9The middle terms cancel, which is why the pattern works.

Remember step 1 of the order. 2x2 − 18 is not yet a difference of two squares, because 2x2 is not a perfect square. Take out the 2 first: 2(x2 − 9) = 2(x + 3)(x − 3).

Four terms: grouping in pairs

When an expression has four terms, group them into two pairs, take the HCF out of each pair, and look for a bracket that appears in both. Then that bracket becomes the common factor.

Uplift’s Year 9 lesson uses xy + y2 − x − y.

StepWhat you writeWhy
1 First pairxy + y2 = y(x + y)The HCF of the first two terms is y.
2 Second pair−x − y = −1(x + y)Taking out −1 changes both signs inside, and it makes the bracket match the first one.
3 Put them togethery(x + y) − (x + y)Now (x + y) appears in both parts.
4 Take it out(x + y)(y − 1)The common factor is now a whole bracket. What is left is y from the first part and −1 from the second.
5 Check(x + y)(y − 1) = xy − x + y2 − yThe same four terms, in a different order.

The −1 trick is the step students miss most often. If the two brackets look the same except for their signs, take out a negative from the second pair so they match.

Three terms: split the middle, then group

When an expression has three terms and the first is an x2 term, it is a quadratic trinomial. Uplift’s method splits the middle term into two terms. That makes four terms, and you then group in pairs, exactly as in the last section.

To find the split, look for two numbers that multiply to give the product of the first and last numbers, and add to give the middle number. Here is Uplift’s Year 9 example, x2 + 5x + 6.

StepWhat you writeWhy
1 Find the pair1 × 6 = 6. Two numbers that multiply to 6 and add to 5: 2 and 3.1 and 6 multiply to 6 but add to 7, so they do not work. 2 and 3 do.
2 Split the middlex2 + 2x + 3x + 65x becomes 2x + 3x. Now there are four terms, and each pair has an HCF.
3 Group in pairsx(x + 2) + 3(x + 2)Take x out of the first pair and 3 out of the second. Both give the bracket (x + 2).
4 Take out the bracket(x + 2)(x + 3)The common bracket goes in front, and x and 3 are what is left.
5 Check(x + 2)(x + 3) = x2 + 3x + 2x + 6 = x2 + 5x + 6It matches.

A harder trinomial: when the first number is not 1

The same method works when the first number is bigger than 1. Here the product is the first number times the last number, so use 6 × (−3) = −18. This is our own example, not from Uplift’s lesson: factorise 6x2 + 7x − 3.

Look for two numbers that multiply to −18 and add to 7. List the pairs that multiply to −18 and add each pair up:

Pair that multiplies to −18SumIs the sum 7?
1 and −18−17No
−1 and 1817No
2 and −9−7No
−2 and 97Yes
3 and −6−3No
−3 and 63No

The pair is 9 and −2. Split the middle term: 6x2 + 9x − 2x − 3. Group in pairs: 3x(2x + 3) − 1(2x + 3). Take out the common bracket: (2x + 3)(3x − 1).

Check by expanding: (2x + 3)(3x − 1) = 6x2 − 2x + 9x − 3 = 6x2 + 7x − 3. It matches.

Two tips make the search quicker. If the last number is negative, the pair has one positive and one negative number, and the one with the larger size takes the sign of the middle number. If the last number is positive, both numbers in the pair share the sign of the middle number. And if no pair works, the expression may not factorise, which is covered in the questions below.

The NSW Curriculum names “grouping in pairs” for four-term expressions, the difference of two squares, and both monic and non-monic quadratic trinomials in Stage 5 Algebraic techniques C (Path). A monic trinomial is one where the number in front of x2 is 1.

Three factorising examples side by side, 4x squared minus 9, x squared plus 5x plus 6 and xy plus y squared minus x minus y
The three methods from Uplift’s Year 9 lessons, each worked in steps and checked by expanding.

Check by expanding

After every factorising question, expand your answer and see whether you get the original expression back. It takes about twenty seconds and it catches most mistakes.

A mini check: a student factorises x2 + 5x + 6 as (x + 2)(x + 4). Expanding gives x2 + 4x + 2x + 8 = x2 + 6x + 8. That is not the original, so the answer is wrong. The correct answer is (x + 2)(x + 3).

When you expand, multiply every term in the first bracket by every term in the second. For two brackets that gives four products, and then you collect like terms.

Practise it: Factorise Lab

Choose the method, factorise the expression, then check it by expanding. It runs in your browser and nothing you type is saved.

Common slips

SlipWhat goes wrongFix
Stopping before the HCF is out3(2x2 + 3x) is not finished, because 2x2 + 3x still has an x in both terms.The HCF of 6x2 + 9x is 3x. Check that nothing common is left inside the bracket.
Dropping a negative when taking out −1Writing −x − y as +(x + y) gives y(x + y) + (x + y) = (x + y)(y + 1), which expands to xy + x + y2 + y.Take out −1, so both signs flip: −(x + y). The answer is (x + y)(y − 1).
Treating x2 − 9 as (x − 3)2(x − 3)2 expands to x2 − 6x + 9, which has a middle term.Use two different brackets: (x + 3)(x − 3).
Trying to factorise a sum of squaresx2 + 9 has a plus sign, so the difference of two squares pattern does not apply.With the numbers used in school Mathematics, x2 + 9 does not factorise. Check for an HCF, and stop there.
Splitting the middle term with the wrong pairFor x2 + 5x + 6, splitting 5x as x + 4x gives x2 + x + 4x + 6, and the brackets will not match.The pair must multiply to the product (6) and add to the middle number (5). That is 2 and 3.
Forgetting to checkA sign slip or wrong pair goes unnoticed.Expand every answer. If it does not return the original, go back one step at a time.

Where factorising shows up next

Factorising is a tool for the next topics, so the habits above pay off later. In Stage 5 the NSW Curriculum uses it to solve quadratic equations, which is listed in Stage 5 Equations C (Path), and to simplify algebraic fractions by factorising first, which is in Algebraic techniques C. Uplift’s Year 9 course covers algebraic fractions in Part II. Quadratics and fractions are separate topics, so this guide does not teach them.

The same skill returns in Years 11 and 12 Mathematics, where algebra is assumed. If you are planning your year, see the Year 9 survival guide and the half-yearly exam study plan for Years 7 to 10. To keep track of the slips you make, try the Mathematics error log.

How Uplift helps

Uplift’s Mathematics classes run from Years 7 to 12, and the Year 9 course teaches factorising through the one-idea method in this guide. Tutors are available between lessons, so a question about a trinomial does not have to wait for next week. Classes are hybrid at Liverpool and Parramatta: join in person or online, and every lesson is available as a recording for 13 days. You can meet the team before you decide. If you would like to see how a lesson works, book a free trial lesson or call 1300 92 92 99.

Download: factorising checklist

Downloads

  • Factorising method checklist

    A one-page checklist of the order of attack, with a worked mini-example for each method, the check-by-expanding step, common slips and space to plan one question. Print it and tick each step as you go.

    1 page · 142 KB

    Download Factorising method checklist, PDF

Common questions

Which factorising method should I use first?

Always look for the highest common factor first. Then count the terms. Two terms suggest the difference of two squares, three terms suggest a quadratic trinomial, and four terms suggest grouping in pairs. Taking out the HCF first keeps the numbers smaller and often turns a hard question into an easy one.

What is the highest common factor in algebra?

The highest common factor (HCF) is the largest number or term that divides evenly into every term of an expression. For 6x2 + 9x it is 3x, because 3 divides 6 and 9, and x divides both x2 and x. Take it out the front and put what is left in a bracket.

What is a trinomial?

A trinomial is an expression with three terms, such as x2 + 5x + 6. A quadratic trinomial has an x2 term, an x term and a number. Most factor into two brackets. The split the middle method turns it into four terms so you can use grouping.

Why do we split the middle term?

Splitting the middle term turns three terms into four, and four terms can be grouped in pairs. Each pair then has a common factor, and the two pairs share a bracket. It means every trinomial uses the same idea as the rest of factorising, which is taking out a common factor.

What is the difference of two squares?

It is an expression of the form a2 − b2, which factorises as (a + b)(a − b). Both terms must be perfect squares, with a minus sign between them. For example, 4x2 − 9 = (2x + 3)(2x − 3). The curriculum calls this one of the special products.

Why can’t x2 + 9 be factorised?

The difference of two squares needs a minus sign. With a plus sign, the pattern would give (x + 3)(x + 3) or (x + 3)(x − 3), and neither expands back to x2 + 9. With the numbers used in school Mathematics at this level, a sum of two squares does not factorise.

How do I check a factorised answer?

Expand it. Multiply every term in one bracket by every term in the other, collect like terms, and see whether you get the original expression. For (x + 2)(x + 3) you get x2 + 3x + 2x + 6, which is x2 + 5x + 6. If it does not match, find the slip.

Is factorising the same as expanding?

No, they are opposites. Expanding removes brackets by multiplying: 3(x + 2) becomes 3x + 6. Factorising puts brackets back by taking out a common factor: 3x + 6 becomes 3(x + 2). Because they undo each other, expanding is the best way to check a factorised answer.

Do I need factorising for HSC Mathematics?

Factorising is part of the algebra that senior Mathematics builds on, including solving quadratic equations. Check the course you plan to study on the NSW Curriculum pages and ask your school which Mathematics course you are in. A confident Stage 5 foundation makes later algebra easier to handle. See also how to study for the HSC.

What if the numbers don’t work?

List every pair of whole numbers that multiplies to the product and add each pair. If none adds to the middle number, the trinomial does not factorise with whole numbers. For x2 + 3x + 5, the only pair that multiplies to 5 is 1 and 5, which add to 6, not 3. Before giving up, check you took out the HCF and copied the signs correctly.

Sources and further reading

Last checked 15 October 2026. Core and Path content differs between schools, so confirm with your teacher which factorising skills your course covers.

Found this helpful? Share it with a friend or classmate who could use it. The share buttons are just below.

Sources: NSW Curriculum Mathematics K-10 (2022), Stage 5 Algebraic techniques B and C (Path) and Equations C (Path); Uplift Education Year 9 Mathematics lesson plans (2026). Checked 15 Oct 2026.

Not sure which classes suit you?

Talk to us about subjects, year levels and the free trial lesson.