What Is Polynomial Factoring?
Factoring rewrites a polynomial as a product of simpler expressions whose multiplication gives the original polynomial. A complete factorization first removes any greatest common factor, then applies a special-product pattern or finds rational linear factors until the remaining polynomial is irreducible over the rational numbers.
A factorization is correct when multiplying the constant and every polynomial factor reconstructs P(x) exactly. Linear factors also reveal rational zeros.
- Factor
- An expression multiplied by another expression to produce the original polynomial.
- Greatest common factor (GCF)
- The largest coefficient and variable power shared by every term.
- Zero or root
- A value of x that makes the polynomial equal zero; a rational zero p/q corresponds to a factor qx − p.
- Irreducible
- A polynomial that cannot be split into lower-degree factors in the selected number system.
What Can This Factorisation Calculator Handle?
Factoring calculator with steps
Every supported result names the method, shows the exact algebra, and finishes with an expansion check.
X method factoring calculator
For non-monic quadratics, the AC or x method finds the two middle-term values and explains the grouping.
Factoring quadratics calculator
Handle monic and non-monic trinomials, perfect squares, repeated factors, and irreducible quadratics over ℚ.
Factoring fractions calculator
Decimal and fractional coefficients are converted into exact rational values before factorisation.
Prime factorisation calculator
Enter an integer such as 84 to receive its exact prime factorisation with repeated primes written as powers.
Common Factoring Patterns
Start with the number of terms, then check the matching structural pattern. Always remove a greatest common factor before using this chart.
| Pattern | Example | Factored form |
|---|---|---|
| Greatest common factor | 6x² − 15x | 3x(2x − 5) |
| Difference of squares | 9x² − 4 | (3x − 2)(3x + 2) |
| Perfect square trinomial | 4x² − 12x + 9 | (2x − 3)² |
| Monic trinomial | x² − 5x + 6 | (x − 2)(x − 3) |
| Non-monic trinomial | 2x² + 7x + 3 | (2x + 1)(x + 3) |
| Difference of cubes | x³ − 8 | (x − 2)(x² + 2x + 4) |
How to Factor a Polynomial
- 1
Enter one polynomial expression without an equals sign.
- 2
Factor out the greatest common coefficient and any shared power of x.
- 3
Identify a special product or test exact rational roots.
- 4
Repeat until every remaining factor is irreducible over the rational numbers.
- 5
Multiply the factors to verify the original polynomial.
Compare the Main Factoring Methods
Factor x² − 5x + 6.
Find two numbers that multiply to 6 and add to −5: −2 and −3.(x − 2)(x − 3)The rational zeros are 2 and 3, and expanding the two binomials returns x² − 5x + 6.
Factor 4x² − 12x + 9.
(2x)² − 2(2x)(3) + 3²(2x − 3)²The trinomial matches the perfect-square pattern a² − 2ab + b².
Factor 3x² − 27.
3(x² − 9) = 3(x² − 3²)3(x − 3)(x + 3)Removing the GCF reveals a difference of squares.
Factor x³ − 8.
x³ − 2³(x − 2)(x² + 2x + 4)The difference-of-cubes identity produces one linear factor and one irreducible quadratic factor.
Common Factoring Mistakes
Skipping the greatest common factor before looking for another pattern.
Factoring a sum of squares as though it were a difference of squares.
Choosing two trinomial numbers that multiply correctly but do not add to the middle coefficient.
Stopping before a remaining factor has been checked again.
Cancelling terms across addition instead of cancelling complete common factors.
Assumptions and limitations
- The zero polynomial has no unique factorization.
- A nonzero constant has no nonconstant polynomial factors.
- A repeated factor produces a zero with multiplicity greater than one.
- A sum of squares such as x² + 9 is irreducible over the real and rational numbers.
- The calculator intentionally stops at degree six and uses only the variable x.
Factoring rewrites an expression as a product; solving sets an expression equal to zero and finds values of the variable. Factoring often makes solving easier, but the two tasks are not identical.
Factorisation Calculator FAQ
How do I factor a polynomial?
First remove the GCF. Then count terms and test the relevant pattern: squares or cubes for two terms, trinomial methods for three, and grouping for four or more. Continue until each factor is irreducible, then verify by multiplication.
What if a polynomial cannot be factored?
The calculator reports that it is prime over the rational numbers. That means no nonconstant rational-coefficient factors exist, although irrational or complex roots may still exist.
Does the calculator show the factoring method?
Yes. The result names the detected pattern, shows the factor-building steps, and finishes with exact multiplication-back verification.
Can it factor non-monic trinomials?
Yes. It supports trinomials whose leading coefficient is not one and returns integer-coefficient linear factors when rational zeros exist.
Can I enter fractions or decimals?
Yes. Terminating decimals are converted to exact fractions internally, and constant denominators are handled without floating-point rounding.
Why are zeros shown with the factors?
Each linear factor qx − p equals zero at x = p/q. Those values are useful when the factored polynomial is later set equal to zero.
Is factoring the same as using the quadratic formula?
No. Factoring rewrites a polynomial as a product and is shortest when rational factors exist. The quadratic formula finds every quadratic root, including irrational and complex roots.