Factoring (factorization) of polynomials

Topic guide · Updated 2026-11-26

Quick answer

Factoring rewrites a polynomial as a product of simpler polynomials, for example x² − 5x + 6 = (x − 2)(x − 3). Each factor (x − r) corresponds to a root r where the graph crosses or touches the x-axis, so a graph is a fast way to check a factorization.

−3−2−11234567−2−11234
  • y=x^2-5x+6
  • y=(x-2)(x-3)
Open in graphing calculator

Factoring methods in order

  1. Greatest common factor: 6x³ + 9x = 3x(2x² + 3).
  2. Difference of squares: a² − b² = (a − b)(a + b), so x² − 16 = (x − 4)(x + 4).
  3. Trinomials x² + bx + c: find two numbers that multiply to c and add to b.
  4. Trinomials ax² + bx + c: use the AC method: split bx using two numbers that multiply to ac.
  5. Grouping for four terms: x³ + 2x² + 3x + 6 = x²(x + 2) + 3(x + 2) = (x² + 3)(x + 2).
  6. Sum/difference of cubes: a³ ± b³ = (a ± b)(a² ∓ ab + b²).

Check a factorization by graphing

Graph the original and the factored form together. If they are the same polynomial, the curves overlap exactly (as above, where the red curve hides the blue one). If they differ anywhere, you will see two curves.

Frequently asked questions

Can every polynomial be factored?

Over the real numbers, every polynomial factors into linear and irreducible quadratic factors, but the factors may have irrational coefficients. Over the integers, many polynomials (like x² + 1) do not factor.