Factoring calculator
Type a polynomial (no equals sign) and get it fully factored over the integers, with the method named at each step.
Try:
Factoring patterns to know
| Pattern | Formula | Example |
|---|---|---|
| Greatest common factor | ||
| Difference of squares | ||
| Perfect-square trinomial | ||
| Simple trinomial | , | |
| Sum of cubes | ||
| Difference of cubes | ||
| Grouping |
Factoring is also the fastest way to solve many equations: once a polynomial is a product, set each factor to zero. Try it on the quadratic solver or the polynomial equation solver.
Frequently asked questions
What does it mean to factor a polynomial?
To write it as a product of simpler polynomials. For example, x² − 9 = (x − 3)(x + 3). Factoring is expanding in reverse.
What order should I try factoring methods in?
Always take out the greatest common factor first. Then check the number of terms: two terms suggests a difference of squares or a sum/difference of cubes; three terms suggests a trinomial (simple or AC method); four terms suggests grouping.
What is the AC method?
For ax² + bx + c, find two numbers that multiply to a·c and add to b. Split the middle term using them and factor by grouping. For 6x² + 11x − 10: a·c = −60, the numbers are 15 and −4, so 6x² + 15x − 4x − 10 = 3x(2x + 5) − 2(2x + 5) = (3x − 2)(2x + 5).
What does “prime over the integers” mean?
The polynomial can’t be written as a product of lower-degree polynomials with integer coefficients, like x² + x + 1. It may still have real or complex roots.