How to Factor Polynomials

Learn how to factor polynomials using common factors, differences of squares and monic quadratic patterns, with a worked example for each method.

Try this method with your own numbers.Use the monic quadratic factoring tool

Take out a common factor

First find the greatest factor shared by every term. Taking it outside the brackets makes the remaining expression easier to recognize.

6x² + 9x = 3x(2x + 3).

Look for a difference of squares

A squared quantity minus another squared quantity factors into a difference multiplied by a sum.

a² − b² = (a − b)(a + b), so x² − 16 = (x − 4)(x + 4).

Factor a monic quadratic

For x² + bx + c, find two numbers whose sum is b and whose product is c.

x² + 5x + 6 = (x + 2)(x + 3), because 2 + 3 = 5 and 2 × 3 = 6.

Choose the method before guessing factors

For 2x² − 18, a common factor of 2 comes first. The expression inside the brackets is then a difference of squares. Factoring in this order makes the pattern visible and ensures the constant factor is retained.

2x² − 18 = 2(x² − 9) = 2(x − 3)(x + 3)

A second route for a quadratic: split and group

For x² − x − 6, the desired pair has product −6 and sum −1. The pair is 2 and −3. Split the middle term, then group terms that share the same bracket. Expanding the final factors checks both the sign and the constant.

x² + 2x − 3x − 6 = x(x + 2) − 3(x + 2) = (x − 3)(x + 2)

Find integer factors of a monic quadratic

Explore x² + bx + c. Change b and c to see whether an integer factor pair exists. This example does not factor arbitrary higher-degree polynomials.

Change the example values

Factored form

(x + 3)(x + 2)

For monic quadratics x² + bx + c with integer coefficients.

Step by step

  1. Find two integers with the required sum and product3 + (2) = 5; 3 × (2) = 6
  2. Expand to check every coefficient(x + 3)(x + 2) = x² + 5x + 6

Common mistakes to avoid

Matching only the product
A pair must satisfy both conditions. For x² + 5x + 6, 1 and 6 multiply to 6 but add to 7, so they do not work.
Assuming every quadratic has integer factors
x² + x + 1 has no integer factor pair. State the number system and method instead of inventing factors.

Check your understanding

Try these questions, then compare your reasoning with the worked answers.

01Which factorization is correct for x² − x − 6?

Show answer & reasoning

(x − 3)(x + 2) — The constants must sum to −1 and multiply to −6: −3 + 2 = −1 and (−3)(2) = −6.

02What should you take out first from 6x² + 9x?

Show answer & reasoning

3x — 3x divides both terms: 6x² + 9x = 3x(2x + 3).

Sources & further reading

These textbook sections explain the rules used in this guide. The worked examples and practice questions here are published by CalcSolver.

Written and maintained by CalcSolver. See our math checking and correction policy for how examples, rounding and input limits are handled.

Found a mistake? Report a correction on GitHub ↗. The draft includes this page’s address. A GitHub account is required, and submitted reports are public.