Factor a polynomial into linear factors over the rationals using the rational root theorem.
This calculator factors polynomials over the rationals using the Rational Root Theorem. It finds all rational roots p/q where p divides the constant term and q divides the leading coefficient, then deflates the polynomial via synthetic division. Note: only rational roots are found. Polynomials with purely irrational or complex roots cannot be factored by this method.
Rational Root Theorem
If p/q is a rational root, then p | constant term and q | leading coefficient
The polynomial may only have irrational or complex roots, which this method cannot find. Try the cubic or quartic solver for exact roots.
The rational root theorem works best with integer coefficients. Non-integer coefficients may yield inaccurate results due to floating-point precision.