Work, Career & Education

Factoring Polynomials: Worked Examples

Factoring a polynomial is one of those things where the textbook shows you the finished answer and quietly pretends the path there was obvious. It wasn’t. Nobody sat you down and said: here is the order you check things in, here is what to do when the first three things fail, here is how to know you’re done. They just handed you forty problems and a red pen.

This is the version that gets left out of the lesson plan. Not harder math — just the actual workflow, in order, with every step written down.

The order you check things in (this is the whole game)

Almost every factoring problem you’ll ever be handed falls into a fixed scan order. Run it top to bottom every single time and you’ll stop freezing on the first move.

  1. Pull the GCF first. Always. Even if it feels pointless.
  2. Count the terms. Two terms means squares or cubes. Three terms means trinomial. Four terms means grouping.
  3. After every factorization, look again. Factors inside factors are extremely common.
  4. Multiply back to verify. Ten seconds of checking beats ten minutes of being wrong.

That’s it. The rest is pattern recognition, and patterns are learnable.

Example 1: GCF first, then keep going

Factor 12x4 − 18x3 + 6x2.

The numbers 12, 18, and 6 share a factor of 6. The smallest power of x present is x2. So the GCF is 6x2.

12x4 − 18x3 + 6x2 = 6x2(2x2 − 3x + 1)

Most people stop here. Don’t. That inner trinomial factors: two numbers that multiply to 2 and add to −3 are −2 and −1, giving (2x − 1)(x − 1).

Final answer: 6x2(2x − 1)(x − 1). Verify by multiplying the two binomials: 2x2 − 2x − x + 1 = 2x2 − 3x + 1. Correct.

Example 2: Difference of squares, twice

Factor x4 − 16.

Two terms, both perfect squares, minus sign: this is a2 − b2 = (a − b)(a + b). With a = x2 and b = 4:

x4 − 16 = (x2 − 4)(x2 + 4)

Now look again. x2 − 4 is itself a difference of squares. The x2 + 4 is not — a sum of squares does not factor over the reals, and trying to force it is where people lose points.

(x − 2)(x + 2)(x2 + 4)

Example 3: Trinomial with a leading coefficient of 1

Factor x2 − 7x + 12.

Find two numbers that multiply to +12 and add to −7. Since the product is positive and the sum is negative, both are negative: −3 and −4.

(x − 3)(x − 4)

The sign logic is the part that actually saves time. Product positive + sum positive means both positive. Product positive + sum negative means both negative. Product negative means one of each, and the larger absolute value takes the sign of the middle term.

Example 4: Trinomial where the leading coefficient isn’t 1

Factor 6x2 + 11x − 35.

This is where people bail out and guess. Use the multiply-and-split method instead.

  1. Multiply the first and last coefficients: 6 × (−35) = −210.
  2. Find two numbers multiplying to −210 and adding to +11. That’s 21 and −10.
  3. Rewrite the middle term using those: 6x2 + 21x − 10x − 35.
  4. Group in pairs: 3x(2x + 7) − 5(2x + 7).
  5. The shared binomial comes out: (2x + 7)(3x − 5).

(2x + 7)(3x − 5). Check the middle: −10x + 21x = 11x. Yes.

If no pair of integers shows up, that’s information, not failure — see the last example.

Example 5: Four terms means grouping

Factor x3 + 4x2 − 3x − 12.

Split into two halves: (x3 + 4x2) + (−3x − 12). Pull a GCF from each half.

x2(x + 4) − 3(x + 4)

Identical binomial in both terms, so it factors out: (x + 4)(x2 − 3).

The leftover x2 − 3 is a difference of squares if you allow irrational factors: (x − √3)(x + √3). Whether you write that depends on the assignment. Over integers, it stays put.

Example 6: Cubes, with the pattern written out

Factor 8x3 − 27.

Both terms are cubes: (2x)3 − 33. The pattern is a3 − b3 = (a − b)(a2 + ab + b2).

(2x − 3)(4x2 + 6x + 9)

Note the signs: the binomial keeps the original sign, the trinomial flips it in the middle and is always positive at both ends. People remember it as same-opposite-positive. The quadratic piece will not factor further over the reals — don’t waste time on it.

Example 7: The substitution trick for disguised quadratics

Factor x4 − 5x2 + 4.

Looks like a fourth-degree monster. It isn’t. Let u = x2, and the expression becomes u2 − 5u + 4, which factors to (u − 1)(u − 4).

Now swap back: (x2 − 1)(x2 − 4). Both of those are differences of squares.

(x − 1)(x + 1)(x − 2)(x + 2)

Four linear factors, degree four. The degree count matching the number of factors is a free sanity check — use it constantly.

When nothing factors: the move nobody explains

Take 2x2 + 5x + 1. The multiply-and-split pairs for 2 × 1 = 2 are 2 and 1, which add to 3, not 5. There is no integer pair. The polynomial is irreducible over the integers.

That does not mean the problem is broken. It means the factors live over the reals, and you find them by solving instead of guessing. The quadratic formula gives roots at (−5 ± √17) / 4, so the factored form is 2(x − that)(x − that).

This is the quietly useful part: roots and factors are the same information wearing different clothes. If a factor is (x − r), then r is a root. When factoring stalls, switch to solving and let the roots hand you the factors.

The mistakes that eat the most points

  • Skipping the GCF. It almost always exists and it always makes the rest easier.
  • Stopping one layer early. x2 − 4 sitting inside a bigger answer is a half-finished problem.
  • Forcing a sum of squares. a2 + b2 does not factor over the reals, period.
  • Not multiplying back. Every single example above is checkable in your head in under fifteen seconds.
  • Ignoring the degree count. A degree-four polynomial should end up with four linear factors, or two linears and an irreducible quadratic. If the count is off, something got dropped.

Bottom line

Factoring isn’t a talent, it’s a checklist you run until the answer stops changing. Pull the GCF, count the terms, apply the matching pattern, then look at the result again like it’s a brand-new problem. Most of what feels like intuition in the people who are good at this is just that loop, run a few hundred times.

The examples above cover the shapes you’ll actually see. Learn the scan order, verify everything by multiplying back, and the day a problem refuses to factor stops being scary — it just means the answer is irrational, and now you know how to go get it.