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

← All study notes

Split the Middle Term and the Quadratic Falls Apart

Learn to factorise quadratics by splitting the middle term, handle a leading coefficient greater than one, and factorise sums and differences of cubes.

How do you factorise something with no common factor and no square pattern?

You split the middle term into two pieces chosen so that grouping becomes possible.

Take x2+7x+12x^2 + 7x + 12. There is no common factor, and it is not a perfect square. But look for two numbers whose product is 1212 and whose sum is 77 — namely 33 and 44. Then

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

The 7x7x became 3x+4x3x + 4x purely so that grouping would work, and it did. Nothing was added or removed — one term was written as a sum of two.

This is the method for every quadratic in the chapter, and it is grouping from the first part applied to a three-term expression. This page covers the second part of the ICSE Class 8 Mathematics chapter on factorisation.
Formula

What are the cube factorisation identities?

Two new patterns join those of the first part:

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

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

The sign rules are worth stating precisely, because they are easy to muddle:

- The first bracket takes the same sign as the original expression
- The middle term of the second bracket takes the opposite sign
- The outer terms of the second bracket are always positive

So a sum of cubes gives (a+b)(a2−ab+b2)(a + b)(a^2 - ab + b^2), and a difference gives (a−b)(a2+ab+b2)(a - b)(a^2 + ab + b^2). There is only ever one negative sign in the whole factorisation, and it is never on a2a^2 or b2b^2.

The coefficient is 11, not 22. The middle term is abab, not 2ab2ab. Writing a2−2ab+b2a^2 - 2ab + b^2 would make the bracket a perfect square, which it is not — and the whole factorisation would then be wrong.

Why these are true. Expand the difference form:

(a−b)(a2+ab+b2)=a3+a2b+ab2−a2b−ab2−b3(a - b)(a^2 + ab + b^2) = a^3 + a^2b + ab^2 - a^2b - ab^2 - b^3

The four middle terms cancel in pairs, leaving a3−b3a^3 - b^3. That cancellation is exactly what the abab coefficient of 11 is there to produce.

Unlike squares, a sum of cubes does factorise. A sum of two squares has no factors, but a sum of two cubes always has (a+b)(a + b) as a factor — a genuine difference between the two cases, and one examiners like to test.

How do you split the middle term when the leading coefficient is 1?

Find two numbers with the right product and the right sum. For x2+bx+cx^2 + bx + c the product is cc and the sum is bb.

Worked example 1 — all positive. x2+7x+12x^2 + 7x + 12. Product 1212, sum 77, so 33 and 44:

=(x+3)(x+4)= (x + 3)(x + 4)

Worked example 2 — positive constant, negative middle. x2−7x+12x^2 - 7x + 12. Product +12+12, sum −7-7, so −3-3 and −4-4:

=(x−3)(x−4)= (x - 3)(x - 4)

Worked example 3 — negative constant. x2+x−12x^2 + x - 12. Product −12-12, sum +1+1, so +4+4 and −3-3:

=(x+4)(x−3)= (x + 4)(x - 3)

Worked example 4 — negative constant, negative middle. x2−x−12x^2 - x - 12. Product −12-12, sum −1-1, so −4-4 and +3+3:

=(x−4)(x+3)= (x - 4)(x + 3)

The sign rules that come out of these four. Read the constant first, then the middle term:

- Constant positive: both numbers have the same sign, and the middle term tells you which — positive middle means both positive, negative middle means both negative.
- Constant negative: the numbers have opposite signs, and the larger one carries the sign of the middle term.

Deciding the signs before hunting for the numbers halves the work, because you then only need pairs of the right kind.

How to search for the pair. List the factor pairs of the constant and test their sums. For a product of 1212: 11 and 1212 sum to 1313; 22 and 66 sum to 88; 33 and 44 sum to 77. The list is short, and it is always finite.

When no pair works. Not every quadratic factorises over whole numbers. For x2+5x+3x^2 + 5x + 3 the factor pairs of 33 are only 11 and 33, summing to 44, not 55. That expression simply does not factorise at this level, and exhausting the list is how you know — not a feeling that it looks hard.

Checking your answer. Expand it back. (x+4)(x−3)=x2−3x+4x−12=x2+x−12(x + 4)(x - 3) = x^2 - 3x + 4x - 12 = x^2 + x - 12. One line, complete certainty.

How do you factorise when the leading coefficient is not 1?

Multiply the first and last coefficients, then split the middle term using that product.

For ax2+bx+cax^2 + bx + c, find two numbers whose product is a×ca \times c and whose sum is bb. Then group.

Worked example 1.
Factorise 6x2+11x+36x^2 + 11x + 3.

Here a×c=6×3=18a \times c = 6 \times 3 = 18, and the sum needed is 1111. Factor pairs of 1818: 11 and 1818 give 1919; 22 and 99 give 1111. That is the pair.

Split the middle term as 9x+2x9x + 2x:

6x2+9x+2x+36x^2 + 9x + 2x + 3

Group and factor each pair:

3x(2x+3)+1(2x+3)=(2x+3)(3x+1)3x(2x + 3) + 1(2x + 3) = (2x + 3)(3x + 1)

Notice the second group gave a factor of 11, which must still be written. Leaving the bracket bare — writing 3x(2x+3)+(2x+3)3x(2x+3) + (2x+3) and then losing the 11 — is a common slip that produces a missing term.

Check: (2x+3)(3x+1)=6x2+2x+9x+3=6x2+11x+3(2x + 3)(3x + 1) = 6x^2 + 2x + 9x + 3 = 6x^2 + 11x + 3. Correct.

Worked example 2 — with a negative middle term. Factorise 3x2−10x+83x^2 - 10x + 8.

a×c=3×8=24a \times c = 3 \times 8 = 24. The constant is positive and the middle term negative, so both numbers are negative. Pairs of 2424: −2-2 and −12-12 sum to −14-14; −4-4 and −6-6 sum to −10-10. That is the pair.

3x2−6x−4x+8=3x(x−2)−4(x−2)=(x−2)(3x−4)3x^2 - 6x - 4x + 8 = 3x(x - 2) - 4(x - 2) = (x - 2)(3x - 4)

The second group needed a negative factor taken out, so that both brackets read (x−2)(x - 2).

Check: (x−2)(3x−4)=3x2−4x−6x+8=3x2−10x+8(x - 2)(3x - 4) = 3x^2 - 4x - 6x + 8 = 3x^2 - 10x + 8. Correct.

Worked example 3 — a common factor first. Factorise 4x2+14x+64x^2 + 14x + 6.

Every coefficient is even, so take out 22:

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

Now a×c=6a \times c = 6 with sum 77, giving 66 and 11:

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

Had the 22 been left in, the product to split would have been 4×6=244 \times 6 = 24 and the search longer. Common factor first, always.

Worked example 4 — a sum of cubes. Factorise 8x3+278x^3 + 27.

Recognise 8x3=(2x)38x^3 = (2x)^3 and 27=3327 = 3^3, so a=2xa = 2x and b=3b = 3:

=(2x+3)[(2x)2−(2x)(3)+32]=(2x+3)(4x2−6x+9)= (2x + 3)\left[(2x)^2 - (2x)(3) + 3^2\right] = (2x + 3)(4x^2 - 6x + 9)

Check at x=1x = 1: the original gives 8+27=358 + 27 = 35, and the factors give 5×7=355 \times 7 = 35. Correct.

Worked example 5 — a difference of cubes with the constant first. Factorise 64−x364 - x^3.

Here a=4a = 4 and b=xb = x:

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

The order matters: since the expression is 43−x34^3 - x^3, the first bracket is (4−x)(4 - x), not (x−4)(x - 4). Identify which cube is being subtracted from which before writing anything.

Worked example 6 — combining methods. Factorise 2x4−322x^4 - 32.

Common factor first:

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

Three steps, each one a pattern already met, and the answer is only complete after the third.

Worked example 7 — a harder pattern. Factorise x4+x2y2+y4x^4 + x^2y^2 + y^4.

This looks impossible until you add and subtract x2y2x^2y^2:

=x4+2x2y2+y4−x2y2=(x2+y2)2−(xy)2= x^4 + 2x^2y^2 + y^4 - x^2y^2 = (x^2 + y^2)^2 - (xy)^2

Now it is a difference of squares:

=(x2+y2+xy)(x2+y2−xy)= (x^2 + y^2 + xy)(x^2 + y^2 - xy)

Check at x=2x = 2, y=1y = 1: the original gives 16+4+1=2116 + 4 + 1 = 21, and the factors give (4+1+2)(4+1−2)=7×3=21(4 + 1 + 2)(4 + 1 - 2) = 7 \times 3 = 21. Correct.

The trick of completing a square by adding and subtracting the same quantity is worth noticing here, because it reappears throughout later algebra.
Exam tip

Exam tip: decide the signs before hunting for numbers

For x2+bx+cx^2 + bx + c, find two numbers with product cc and sum bb. For ax2+bx+cax^2 + bx + c, use product a×ca \times c and sum bb, then group.

Read the constant's sign first. Positive constant means the two numbers share a sign, decided by the middle term. Negative constant means opposite signs, with the larger number carrying the middle term's sign.

List the factor pairs and test their sums. For a product of 1818: 11 and 1818 give 1919, 22 and 99 give 1111. The list is short and finite — if none works, the expression does not factorise, as with x2+5x+3x^2 + 5x + 3.

Common factor first: 4x2+14x+6=2(x+3)(2x+1)4x^2 + 14x + 6 = 2(x + 3)(2x + 1), and taking the 22 out keeps the product to split small.

Write the 11 when a group leaves a bare bracket: 3x(2x+3)+1(2x+3)3x(2x+3) + 1(2x+3).

For cubes, the first bracket takes the same sign, the middle term of the second takes the opposite sign, and the outer terms are always positive. The middle coefficient is abab, not 2ab2ab.

A sum of
squares does not factorise, but a sum of cubes
does.

Mind the order: 64−x3=(4−x)(16+4x+x2)64 - x^3 = (4 - x)(16 + 4x + x^2).

And expand every answer back — or check numerically at x=1x = 1.
Did you know

Why splitting the middle term works at all

The method can feel like a conjuring trick. You need two numbers, you find them by trial, and suddenly the expression factorises. Where does the requirement come from?

Work forwards instead. Multiply two general brackets:

(x+p)(x+q)=x2+(p+q)x+pq(x + p)(x + q) = x^2 + (p + q)x + pq

The middle coefficient is p+qp + q and the constant is pqpq. So if a quadratic x2+bx+cx^2 + bx + c came from two such brackets, then bb must be the sum of the two numbers and cc their product. Hunting for a pair with that sum and product is not a trick — it is asking directly which brackets could have produced this expression.

The same reasoning explains the a×ca \times c rule. Multiplying out (rx+p)(sx+q)(rx + p)(sx + q) gives a middle coefficient of rq+psrq + ps, while the product of the outer coefficients is rs×pqrs \times pq. The two pieces of the split, rqrq and psps, multiply to rspqrspq — exactly a×ca \times c. So the product to aim for is acac rather than cc, and the reason is bookkeeping, not convention.

This is why the method sometimes finds nothing. If no pair of whole numbers has the required sum and product, then no pair of whole-number brackets multiplies to give the expression. The failure of the search is itself a proof — which is a more satisfying answer than I could not see it.
Key takeaways

Splitting the middle term and cubes: quick revision

- Splitting the middle term turns a three-term expression into four so that grouping works: x2+7x+12=x2+3x+4x+12=(x+3)(x+4)x^2 + 7x + 12 = x^2 + 3x + 4x + 12 = (x + 3)(x + 4).
- For x2+bx+cx^2 + bx + c, find two numbers with product cc, sum bb.
- The four sign cases: x2−7x+12=(x−3)(x−4)x^2 - 7x + 12 = (x-3)(x-4); x2+x−12=(x+4)(x−3)x^2 + x - 12 = (x+4)(x-3); x2−x−12=(x−4)(x+3)x^2 - x - 12 = (x-4)(x+3).
- Constant positive means the numbers share a sign (set by the middle term); constant negative means opposite signs, with the larger carrying the middle term's sign.
- Search the factor pairs: for product 1212, sums are 1313, 88, 77. If no pair works the expression does not factorise — x2+5x+3x^2 + 5x + 3 is one such.
- For ax2+bx+cax^2 + bx + c, use product a×ca \times c: 6x2+11x+36x^2 + 11x + 3 needs product 1818, sum 1111, so 99 and 22, giving (2x+3)(3x+1)(2x + 3)(3x + 1).
- 3x2−10x+83x^2 - 10x + 8 needs product 2424, sum −10-10, so −6-6 and −4-4, giving (x−2)(3x−4)(x - 2)(3x - 4).
- Common factor first: 4x2+14x+6=2(x+3)(2x+1)4x^2 + 14x + 6 = 2(x + 3)(2x + 1).
- Write the 11 when a group leaves a bare bracket: 3x(2x+3)+1(2x+3)3x(2x+3) + 1(2x+3).
- Cubes: a3+b3=(a+b)(a2−ab+b2)a^3 + b^3 = (a+b)(a^2 - ab + b^2) and a3−b3=(a−b)(a2+ab+b2)a^3 - b^3 = (a-b)(a^2 + ab + b^2) — one negative sign only, and the middle coefficient is abab, not 2ab2ab.
- 8x3+27=(2x+3)(4x2−6x+9)8x^3 + 27 = (2x + 3)(4x^2 - 6x + 9); at x=1x = 1 both sides give 3535.
- 64−x3=(4−x)(16+4x+x2)64 - x^3 = (4 - x)(16 + 4x + x^2) — order matters.
- A sum of squares does not factorise; a sum of cubes does.
- Combining methods: 2x4−32=2(x2+4)(x+2)(x−2)2x^4 - 32 = 2(x^2 + 4)(x + 2)(x - 2).
- Adding and subtracting a term: x4+x2y2+y4=(x2+y2)2−(xy)2=(x2+y2+xy)(x2+y2−xy)x^4 + x^2y^2 + y^4 = (x^2 + y^2)^2 - (xy)^2 = (x^2 + y^2 + xy)(x^2 + y^2 - xy); at x=2,y=1x = 2, y = 1 both sides give 2121.
- The method works because (x+p)(x+q)=x2+(p+q)x+pq(x + p)(x + q) = x^2 + (p+q)x + pq — you are asking which brackets produced the expression.

Factorise twenty quadratics in one sitting, saying the sign pattern aloud before searching. Once the signs are automatic, the search shrinks to a handful of pairs and the whole topic becomes quick.

Ready to put this into practice?

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

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