KEVOS
ArticlesServicesCase studiesAboutContact
ArticlesServicesCase studiesAboutContact
← ArticlesFactoring Polynomials: the Five Standard MethodsEngineering · Engineering MathematicsLesson 3/5← PrevNext →
GuidePublished 15 Aug 20269 min readBy Kevin Joginfactoringcommon factorgroupingreverse FOIL
On this page

Ask about this page

KEVOS AIFactoring Polynomials: the Five Standard Methods

KEVOS knowledge first · trusted web sources when needed

Polynomials and Factoring

Factoring Polynomials: the Five Standard Methods

Common factors, grouping, reverse FOIL, the special forms and perfect squares — the five methods, the order to try them in, and what to do when none of them works.

Category Engineering / MathematicsStream Polynomials and FactoringLevel CoreReading 10 minSource Week 1, pages 9-11

What this page covers

  • Extract the greatest common monomial or binomial factor
  • Factor a four-term expression by grouping
  • Factor a quadratic trinomial by reversing the FOIL expansion
  • Recognise and apply the special forms, and identify a prime quadratic
On this page
  1. Factoring is the distributive law run backwards
  2. Method 1: common factors
  3. Method 2: grouping
  4. Method 3: reverse FOIL
  5. Method 4: the special forms
  6. When nothing works: prime polynomials
  7. A decision procedure
  8. Common mistakes
  9. Frequently asked questions

Factoring is the distributive law run backwards

Expanding turns a(b + c) into ab + ac. Factoring turns ab + ac back into a(b + c). There is no new law involved, only a harder search: expanding is mechanical, while factoring requires spotting what the common part is.

The reason it is worth the effort is the zero-product property. A product equal to zero forces one of its factors to be zero, so a factored polynomial hands over its roots immediately. An unfactored one does not.

1. Common factorAlways first. Take out the greatest monomial or binomial factor.
2. Count the termsTwo suggests a special form; three suggests reverse FOIL; four suggests grouping.
3. Apply the methodWork on what is left inside the bracket.
4. Factor againRepeat until every factor is prime. Factoring is rarely finished in one pass.

Method 1: common factors

The source begins with pure arithmetic, which makes the idea unmistakable before any algebra appears.

24 + 36 = 3 · 8 + 4 · 9 = 3 · 23 + 22 · 32= 22 · 3(2 + 3) = 12(2 + 3)Source example, Week 1, page 9 — break into prime powers, then take what is shared

The greatest common factor is found by taking each prime that appears in every term, raised to the lowest power it carries anywhere. The same rule applies to variables.

Worked example — monomial factor

Factorise 3x5 - 24x4 + 12x3.

Finding the greatest common factor
TermNumeric partPower of x
3x53x5
-24x4-24 = -23 · 3x4
12x312 = 22 · 3x3

Every term carries a 3, and the lowest power of x is x3. The greatest common factor is 3x3.

3x5 - 24x4 + 12x3 = 3x3(x2 - 8x + 4)Source example, Week 1, page 9
Check

Expanding gives 3x5 - 24x4 + 12x3. Always multiply back; it takes seconds and catches every arithmetic slip.

Note

The quadratic left inside does not factor over the integers: b2 - 4ac = 64 - 16 = 48, which is positive but not a perfect square. It factors over the reals as (x - 4 - 2√3)(x - 4 + 2√3).

The common factor need not be a monomial

The source's second example takes out a product of two binomial powers, which is the same idea applied to larger building blocks.

Worked example — binomial factors

Factorise 12(x2 - 1)4(3x + 1)3 + 8x(x2 - 1)3(3x + 1)4.

The shared parts are 4, (x2 - 1)3 and (3x + 1)3 — in each case the lowest power present.

= 4(x2 - 1)3(3x + 1)3[3(x2 - 1) + 2x(3x + 1)]= 4(x2 - 1)3(3x + 1)3[3x2 - 3 + 6x2 + 2x]= 4(x2 - 1)3(3x + 1)3(9x2 + 2x - 3)Source example, Week 1, page 9

One further step is available that the source does not take: x2 - 1 is itself a difference of two squares, so (x2 - 1)3 = (x - 1)3(x + 1)3. Factoring is not finished until every factor is prime.

Method 2: grouping

With four terms and no factor common to all of them, split into two pairs, factor each pair, and hope the same bracket appears twice. If it does, that bracket is itself a common factor.

Worked example — the source's case

Factorise 3x2 + 4xy - 3xt - 4ty.

  1. Split into pairs. (3x2 + 4xy) - (3xt + 4ty). Note the sign: both of the last two terms were negative, so a minus comes out in front and both signs inside flip to positive.
  2. Factor each pair. The first gives x(3x + 4y); the second gives t(3x + 4y).
  3. Take out the shared bracket. x(3x + 4y) - t(3x + 4y) = (x - t)(3x + 4y).
3x2 + 4xy - 3xt - 4ty = 3x2 + 4xy - (3xt + 4ty)= x(3x + 4y) - t(3x + 4y)= (x - t)(3x + 4y)Source example, Week 1, page 10
Check

(x - t)(3x + 4y) = 3x2 + 4xy - 3xt - 4ty. Correct.

Watch out

Step 1 is where grouping usually fails. Bracketing -(3xt + 4ty) requires both inner signs to flip. Writing -(3xt - 4ty) instead changes the expression and the shared bracket will not appear.

Note

If the shared bracket does not appear, try pairing the terms differently before concluding the method fails. Here (3x2 - 3xt) + (4xy - 4ty) gives 3x(x - t) + 4y(x - t) = (3x + 4y)(x - t) — the same answer by a different pairing.

Method 3: reverse FOIL

For a trinomial x2 + px + q with leading coefficient 1, expand the target form and compare coefficients.

(x + a)(x + b) = x2 + bx + ax + ab = x2 + (a + b)x + abSource derivation, Week 1, page 10
The search

Find two numbers whose product is the constant term and whose sum is the coefficient of x. Those two numbers are a and b.

The signs narrow the search considerably before any arithmetic is done.

What the signs tell you
Constant termCoefficient of xThe two numbers are
PositivePositiveBoth positive
PositiveNegativeBoth negative
NegativeEitherOne positive, one negative; the larger in size carries the sign of the x coefficient

Worked examples from the source

Product and sum, applied
TrinomialNeed productNeed sumNumbersFactors
x2 + 5x + 6653, 2(x + 3)(x + 2)
x2 - 5x - 6-6-5-6, 1(x - 6)(x + 1)
x2 - 13x - 30-30-13-15, 2(x - 15)(x + 2)
x2 - 13x + 3636-13-9, -4(x - 9)(x - 4)

The source lays out the candidate factor pairs for -6 explicitly — (-2) × 3, 2 × (-3), (-1) × 6, 1 × (-6) — and then picks the pair with the required sum. Writing out the candidates is a reliable habit when the constant has many factors.

Correction to the source

Week 1, page 10 gives x2 - 13x + 36 = (x - 10)(x - 3). That is not correct: (x - 10)(x - 3) = x2 - 13x + 30. Either the constant or the factors were mistranscribed. The correct factorisation of x2 - 13x + 36 is (x - 9)(x - 4), since (-9)(-4) = 36 and -9 - 4 = -13; alternatively, x2 - 13x + 30 does factor as (x - 10)(x - 3). This page uses the corrected pairing. Multiplying back would have caught it, which is the argument for always doing so.

Method 4: the special forms

These are the expansions of the previous page, read right to left. Recognising them saves the whole search.

Factoring patterns
RecogniseFactors as
a2 - b2(a - b)(a + b)
a2 + 2ab + b2(a + b)2
a2 - 2ab + b2(a - b)2
a3 - b3(a - b)(a2 + ab + b2)
a3 + b3(a + b)(a2 - ab + b2)

Worked example — applying it twice

x4 - y4 = (x2)2 - (y2)2= (x2 - y2)(x2 + y2)= (x - y)(x + y)(x2 + y2)Source example, Week 1, page 10

The first factor was itself a difference of two squares and split again. The second, x2 + y2, is a sum of squares and stops there over the reals.

Perfect squares

The source lists four, which are worth being able to write down without working.

x2 + 4x + 4 = (x + 2)2x2 + 6x + 9 = (x + 3)2x2 - 8x + 16 = (x - 4)2x2 + 2ax + a2 = (x + a)2Source, Week 1, page 11

The last is the general statement, and it is the pivot on which completing the square turns: given x2 + 2ax, the term that completes the square is a2.

When nothing works: prime polynomials

Not every polynomial factors, and recognising a dead end quickly is as useful as recognising a pattern. The source gives three examples in the margin.

The source's three cases, checked
PolynomialDiscriminant b2 - 4acVerdict
x2 + 4x + 516 - 20 = -4Negative: no real roots, prime over the reals
x2 + 4x + 116 - 4 = 12Positive but not a perfect square: real factors exist but involve surds, so no integer factors
x2 + 90 - 36 = -36Negative: a sum of two squares, prime over the reals

The discriminant settles the question mechanically, which is far quicker than exhausting the candidate pairs. It is developed in The Quadratic Formula and the Discriminant.

Note

'Prime' is relative to the number system. x2 + 9 is prime over the reals but factors as (x + 3i)(x - 3i) over the complex numbers, and x2 + 4x + 1 is prime over the integers but factors as (x + 2 - √3)(x + 2 + √3) over the reals. Always know which system the question means.

A decision procedure

  1. Take out the greatest common factor — always, before anything else. This step is skipped more often than any other and makes every later step harder when it is.
  2. Count the terms. Two: try a special form. Three: try reverse FOIL, checking first whether it is a perfect square. Four: try grouping.
  3. Check the discriminant if the trinomial resists. A negative value means stop; a non-square positive value means the factors involve surds.
  4. Factor each factor again. A quartic often needs three passes. Nothing is finished until every bracket is prime.
  5. Multiply back. Expanding the answer must reproduce the original exactly. This single check catches almost every error.

Common mistakes

Errors and remedies
MistakeCorrectRemedy
Skipping the common factor3x5 - 24x4 + 12x3 = 3x3(x2 - 8x + 4)Make it step 1 unconditionally
-(3xt + 4ty) written with one sign flippedBoth inner signs flipExpand the bracket back immediately
Stopping at (x2 - y2)(x2 + y2)(x - y)(x + y)(x2 + y2)Ask of every factor whether it factors further
Trying to factor x2 + 9Prime over the realsCheck the discriminant first
x2 - 13x + 36 = (x - 10)(x - 3)(x - 9)(x - 4)Multiply back; the constant comes out 30
Taking the highest rather than lowest power as commonThe GCF uses the lowest power present in every termTabulate the powers before choosing

Frequently asked questions

Which method should I try first?

Always the common factor. Taking out 3x3 from 3x5 - 24x4 + 12x3 leaves a quadratic that any other method can handle, whereas attacking the quintic directly is far harder. Skipping this step is the usual reason a factorisation stalls.

How do I know when a quadratic will not factor?

Compute the discriminant b2 - 4ac. If it is negative there are no real roots and the quadratic is prime over the reals. If it is a perfect square the factors have integer coefficients; if it is positive but not a perfect square, real factors exist but involve surds.

Is a factorisation with surds still a factorisation?

Yes. x2 + 2x - 2 has no integer factors but does factor as (x + 1 - √3)(x + 1 + √3). Whether that counts depends on the question: 'factor over the integers' and 'factor over the reals' are different requests, and it is worth being clear which is being asked.

Why does grouping need exactly four terms?

It does not, strictly, but four is the case where it works cleanly: two pairs, each with its own common factor, leaving a shared bracket. Six terms can sometimes be grouped in three pairs or two triples, but the shared-bracket step has to appear or the method gives nothing.

Related pages

  • Multiplying Polynomials and the Special Products
  • Solving Quadratic Equations by Factoring
  • Completing the Square
  • The Quadratic Formula and the Discriminant

Source. Handwritten teaching notes, Week 1, pages 9-11.

This page is an original exposition prepared for the KEVOS® knowledge library. It restates, reorganises and verifies the mathematics of the supplied teaching notes; it is not a reproduction of them. Numerical values taken from the notes are identified as source examples and are not presented as engineering standards.

Continue learning

Multiplying Polynomials and the Special ProductsGuide · Engineering MathematicsNEXT LESSON →Polynomial Long DivisionGuide · Engineering MathematicsPolynomials: Terminology, Degree and Standard FormGuide · Engineering MathematicsThe Remainder and Factor TheoremsGuide · Engineering Mathematics
KEVOS · Engineering, manufacturing and project improvement
ArticlesServicesCase studiesAboutContact
© 2026 KEVOS®