Factorising trinomials

A trinomial like x2+7x+12x^2+7x+12 looks like a dead end until you notice it is really two brackets that have already been multiplied out. Factorising trinomials is the skill of running that multiplication backwards: split the middle term into two pieces, then pull out common factors in pairs. This is the third and final technique in the Class 8 Factorisation chapter, after common-factor extraction and factorising with identities, and it applies specifically to monic trinomials — expressions of the form x2+bx+cx^2+bx+c, where the coefficient of x2x^2 is exactly 11. The whole method rests on one identity, (x+p)(x+q)=x2+(p+q)x+pq(x+p)(x+q) = x^2+(p+q)x+pq, read in reverse: given bb and cc, hunt for two numbers whose sum is bb and whose product is cc. Once found, those numbers split the middle term and the expression factorises by grouping. The general case ax2+bx+cax^2+bx+c with a≠1a\neq1 is deliberately left for Class 9 and 10, so nothing here ever asks for a trinomial like 2x2+7x+32x^2+7x+3.

The core insight

To factorise a monic trinomial x2+bx+cx^2+bx+c, find two numbers whose sum is bb and whose product is cc, use them to split the middle term, and factorise the resulting four terms by grouping.

The core idea

Reversing a familiar expansion. Every trinomial of the form x2+bx+cx^2+bx+c that this chapter asks you to factorise came, in principle, from multiplying out two simple brackets (x+p)(x+p) and (x+q)(x+q). Expanding gives:

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

where: pp and qq are the two unknown numbers being searched for, (p+q)(p+q) becomes the middle coefficient, and pqpq becomes the constant term. Factorising is simply the same statement read from right to left.

Turning it into a search. To factorise x2+bx+cx^2+bx+c, the job is to find pp and qq satisfying two conditions at once:

p+q=b,p×q=cp + q = b, \qquad p \times q = c

where: bb is the coefficient of xx in the given trinomial and cc is its constant term. In practice this means listing the factor pairs of cc and checking which pair adds up to bb.

Splitting and grouping. Once pp and qq are known, the middle term bxbx is written as px+qxpx+qx, turning three terms into four, which are then grouped in pairs and factored:

x2+bx+c=x2+px+qx+c=x(x+p)+q(x+p)=(x+p)(x+q)x^2+bx+c = x^2+px+qx+c = x(x+p)+q(x+p) = (x+p)(x+q)

Reading the sign pattern first. Before hunting for factor pairs, the signs of bb and cc narrow the search dramatically. If cc is positive, pp and qq must have the same sign — both positive when bb is positive, both negative when bb is negative. If cc is negative, pp and qq must have opposite signs, and whichever one is larger in size carries the sign of bb. Recognising this pattern before listing pairs saves a lot of wasted guessing.

Figure
A number line style diagram showing the split of the middle term seven x into three x plus four x with arrows labelled sum equals seven and product equals twelve pointing to the numbers three and four
Splitting the middle term of x squared plus 7x plus 12 x² + 7x + 12 x² + 3x + 4x + 12 x(x + 3) 4(x + 3) sum 3 + 4 = 7, product 3 × 4 = 12, common bracket (x + 3)
Derivation Aof the split-and-group factorisation

The goal is to justify, using nothing beyond the distributive law already known from earlier algebra, why splitting the middle term of a monic trinomial into two pieces and then grouping the four resulting terms in pairs always reproduces the two-bracket factorised form, so that the method is not a trick to memorise but a direct consequence of multiplication being distributive both ways.

Step 1. Start with the trinomial x2+bx+cx^2+bx+c and suppose two numbers pp and qq have been found with p+q=bp+q=b and pq=cpq=c. Since b=p+qb=p+q, the middle term can be rewritten exactly as bx=(p+q)x=px+qxbx = (p+q)x = px+qx, with nothing added or removed — this is just distributing xx over the sum p+qp+q.

Step 2. Substitute this rewritten middle term back into the trinomial: x2+bx+c=x2+px+qx+cx^2+bx+c = x^2+px+qx+c. The expression is unchanged in value; it now simply has four terms instead of three, because bxbx has been replaced by its equal px+qxpx+qx.

Step 3. Group the four terms into two pairs, the first two and the last two: (x2+px)+(qx+c)(x^2+px) + (qx+c). From the first pair, xx is a common factor, giving x(x+p)x(x+p). From the second pair, since c=pqc=pq, the term cc can be written as pqpq, so qx+c=qx+pq=q(x+p)qx+c = qx+pq = q(x+p) — the same bracket (x+p)(x+p) appears in both.

Step 4. Because both grouped terms share the factor (x+p)(x+p), it can be pulled out once more: x(x+p)+q(x+p)=(x+p)(x+q)x(x+p)+q(x+p) = (x+p)(x+q). This is exactly the target factorised form, so the split-and-group procedure is guaranteed to work whenever a valid pair p,qp,q with p+q=bp+q=b and pq=cpq=c exists, which follows directly from expanding (x+p)(x+q)(x+p)(x+q) in reverse.

Worked example

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

Step 1. Identify bb and cc. Here b=7b=7 and c=12c=12, and since cc is positive with bb positive, both required numbers must be positive.

Step 2. List factor pairs of 1212 and test their sums: 1×121\times12 (sum 1313), 2×62\times6 (sum 88), 3×43\times4 (sum 77). The pair 33 and 44 satisfies both conditions, since 3+4=73+4=7 and 3×4=123\times4=12.

Step 3. Split the middle term using these numbers: x2+7x+12=x2+3x+4x+12x^2+7x+12 = x^2+3x+4x+12.

Step 4. Group and factorise: x2+3x+4x+12=x(x+3)+4(x+3)=(x+3)(x+4)x^2+3x+4x+12 = x(x+3)+4(x+3) = (x+3)(x+4).

Step 5. Check by expanding: (x+3)(x+4)=x2+4x+3x+12=x2+7x+12(x+3)(x+4) = x^2+4x+3x+12 = x^2+7x+12, which matches the original. Final answer: x2+7x+12=(x+3)(x+4)x^2+7x+12 = (x+3)(x+4).

Competitive stretch

Factorise x2−2x−24x^2-2x-24. Here c=−24c=-24 is negative, so the two numbers have opposite signs, and since b=−2b=-2 is negative, the larger number in size must be negative. Testing pairs whose product's size is 2424: 4×6=244\times6=24 works, so take −6-6 and 44, since −6+4=−2-6+4=-2 and −6×4=−24-6\times4=-24. Splitting gives x2−6x+4x−24=x(x−6)+4(x−6)=(x−6)(x+4)x^2-6x+4x-24 = x(x-6)+4(x-6) = (x-6)(x+4). Checking: (x−6)(x+4)=x2+4x−6x−24=x2−2x−24(x-6)(x+4) = x^2+4x-6x-24 = x^2-2x-24. Final answer: x2−2x−24=(x−6)(x+4)x^2-2x-24 = (x-6)(x+4).

Building a mental factor table. Before hunting for the sum that matches bb, it helps to jot down all the factor pairs of cc first, in order of size. For 1212: 1×121\times12, 2×62\times6, 3×43\times4. For 2424: 1×241\times24, 2×122\times12, 3×83\times8, 4×64\times6. Scanning a short list like this for the pair whose sum equals bb is far faster and less error-prone than testing numbers at random, especially once cc has several factor pairs to choose from.

Common traps

  • Picking a factor pair with the correct product but the wrong sum — for x2−2x−24x^2-2x-24, trying 88 and 33 gives product 2424 but no sign choice makes the sum −2-2, so every factor pair of ∣c∣|c| must be checked against the sum condition, not just the product.
  • Forgetting that a negative constant term cc forces the two numbers to have opposite signs, and searching only among same-sign pairs by mistake.
  • Making a grouping error after splitting — the pairing (x2+px)+(qx+c)(x^2+px)+(qx+c) must yield the same bracket from both halves; if the brackets do not match, the middle term was split with the wrong pair of numbers and a different pair should be tried.
  • Trying to apply this splitting method to a non-monic trinomial such as 2x2+7x+32x^2+7x+3. The Class 8 technique only covers trinomials where the coefficient of x2x^2 is exactly 11; the extended method for a≠1a\neq1 belongs to a later class.

Ask the tutor: Want more trinomials to practise splitting, or a hint when you are stuck between two factor pairs? Ask the AI tutor to generate fresh examples with step-by-step checking.

Why do I need to split the middle term instead of factorising directly?

A trinomial with three terms usually has no common factor shared by all three terms, so a simple common-factor extraction does not work. Splitting the middle term deliberately turns three terms into four so that grouping in pairs becomes possible, because each pair of two terms can share its own common factor. It looks like an extra step, but it is the only way to reach the bracket form without guessing (x+p)(x+q)(x+p)(x+q) directly and checking by trial expansion.

What if I cannot find any pair of numbers that works?

First recheck that every factor pair of cc has actually been tried, including both sign choices when cc is negative — it is easy to stop after two or three pairs before reaching the correct one. If every pair genuinely fails to give the required sum, the trinomial may not factorise neatly over integers at all, which can happen even within the Class 8 syllabus; in that case the question is likely expecting a different trinomial, so it is worth rechecking the original expression was copied correctly.

Does the order of p and q in the final answer matter?

No. Since multiplication is commutative, (x+p)(x+q)(x+p)(x+q) and (x+q)(x+p)(x+q)(x+p) are exactly the same expression, so either order is an equally correct final answer. What does matter is getting the correct pair of numbers with the correct signs attached to each — swapping which number gets which sign changes the answer entirely.

Before this

Where this leads