Skip to content

Factoring Calculator

Factor trinomials and polynomials completely and see which method was used at each stage.

Your problem will appear here as you type.

Always check for a common factor first

Before trying anything clever, pull out the greatest common factor. It makes every later step easier and keeps you from missing a factor at the end.

Factor 2x³ − 4x² − 6x

  1. The GCF of the three terms is 2x.
  2. Pull it out: 2x(x² − 2x − 3).
  3. Factor the trinomial: x² − 2x − 3 = (x − 3)(x + 1).

Answer: 2x(x − 3)(x + 1)

Patterns worth recognising

A sum of squares such as x² + 4 does not factor over the real numbers.

PatternFormulaExample
Difference of squaresa² − b² = (a − b)(a + b)x² − 16 = (x − 4)(x + 4)
Perfect squarea² + 2ab + b² = (a + b)²4x² + 12x + 9 = (2x + 3)²
Difference of cubesa³ − b³ = (a − b)(a² + ab + b²)x³ − 8 = (x − 2)(x² + 2x + 4)
Sum of cubesa³ + b³ = (a + b)(a² − ab + b²)x³ + 27 = (x + 3)(x² − 3x + 9)

The AC method for trinomials

Factor 6x² + 11x − 35

  1. Multiply a and c: 6 × (−35) = −210.
  2. Find two numbers that multiply to −210 and add to 11. They are 21 and −10.
  3. Split the middle term: 6x² + 21x − 10x − 35.
  4. Group: 3x(2x + 7) − 5(2x + 7).
  5. Take out the common bracket: (3x − 5)(2x + 7).

Answer: (3x − 5)(2x + 7)

Factoring cubics with the rational root test

Factor x³ − 6x² + 11x − 6

  1. Possible rational roots are the factors of 6: ±1, ±2, ±3, ±6.
  2. Test x = 1: 1 − 6 + 11 − 6 = 0, so (x − 1) is a factor.
  3. Divide to get x² − 5x + 6, which factors as (x − 2)(x − 3).

Answer: (x − 1)(x − 2)(x − 3)

How to check your factoring

Multiply the factors back out. If you get the original polynomial you are done. You can also substitute a value: if x = 3 makes both the original and the factored form equal 0, the factor (x − 3) is right.

Frequently asked questions

What does it mean when a polynomial is prime?

It cannot be written as a product of simpler polynomials with integer coefficients. For example x² + 4 is prime over the integers and the real numbers.

Other calculators