The Solution
Calculation: Polynomial Factorization Calculator
Polynomial Factorization Calculator
Enter your polynomial coefficients above and click "Factorize Polynomial" to see results.Cubic Equation Solver
Find real and complex roots, discriminant, and cubic graphs in seconds with our precision solver.
Enter coefficients to decompose your cubic polynomial into its irreducible linear and quadratic factors.
Calculation: Polynomial Factorization Calculator
Polynomial Factorization Calculator
Enter your polynomial coefficients above and click "Factorize Polynomial" to see results.The Treatise
The Formula
The Method
The Illustration
The Deep Dive
The factor theorem is the whole engine, and its proof is one line once you have the remainder theorem. Dividing P(x) by (x − r) leaves a constant remainder equal to P(r). A zero remainder means exact division, which is precisely what "is a factor" means. So (x − r) is a factor exactly when P(r) = 0. Every factoring strategy, from hand calculation to computer algebra, is organized around this equivalence.
Every cubic has at least one real linear factor, and the reason is topological. An odd-degree polynomial tends to −∞ on one side and +∞ on the other, so by the intermediate value theorem its graph must cross the x-axis somewhere. That crossing is a real root, hence a real linear factor. The leftover quadratic may or may not factor further over the reals: x³ − 2x² + x − 2 = (x − 2)(x² + 1) stops there because x² + 1 has no real zeros.
The standard hand pipeline has three stages. First, list rational candidates with the rational root theorem. Second, test each candidate with synthetic division, which doubles as the division that deflates the polynomial. Third, solve the remaining quadratic with the quadratic formula. This pipeline is complete: any rational factor of a cubic with integer coefficients will be found, because the candidate list is exhaustive by the theorem.
When the leftover quadratic refuses to factor, the discriminant explains why. A negative discriminant means one real root plus a complex conjugate pair, so the quadratic piece is genuinely irreducible over the reals. Example: x³ + x = x(x² + 1) has the single real root 0 and the complex pair ±i. Recognizing this case saves you from hunting rational roots that do not exist, and the complex roots calculator finishes the job.
"Irreducible" always needs a qualifier: irreducible over which numbers? x² + 1 is irreducible over Q and over R, but splits as (x − i)(x + i) over C. Gauss's lemma guarantees that factorization over Q matches factorization over Z, which is why integer-coefficient methods like the rational root test are theoretically complete. Unique factorization then promises there is only one correct answer, however you find it.
The Applications
Factored form displays every root together with its multiplicity, so solving the equation reduces to reading. A double factor like (x - 1)² tells you the graph touches the axis there instead of crossing, a detail the raw expanded form hides completely.
Rational expressions simplify dramatically once numerator and denominator are factored: common factors cancel before any evaluation. This avoids 0/0 indeterminate forms and keeps hand computation exact instead of approximate.
Computer algebra systems factor first and ask questions later. Integration, differentiation, and series expansion all run termwise on factored forms, which is why factoring sits at the base of every symbolic computation stack.
Each linear factor marks an x-intercept, and its exponent controls the local shape: odd multiplicity crosses, even multiplicity touches. Combined with the graphing tool, factored form is the fastest route to an accurate sketch.
Decomposing a rational function into partial fractions begins by factoring the denominator completely. Every distinct linear and irreducible quadratic factor becomes one term of the decomposition, usually after a long division step to make the fraction proper.
The Cautions
Assuming every cubic factors over rationals: Many do not. The cubic x³ - 2 has the single real root ∛2 and no rational factor at all. Check the discriminant first so you know what to expect.
Missing the leading coefficient: The factors alone are not the whole story. Without the leading coefficient a out front, the product will not reproduce the original polynomial.
Not checking all rational candidates: The candidate list from the rational root theorem is finite, so there is no excuse for skipping entries. Test every one before concluding that no rational root exists.
Forgetting to deflate after finding a root: Each discovered factor must be divided out before hunting the next root. Working with the original cubic throughout wastes the simplification you already earned.
Stopping at linear times quadratic: Always check whether the leftover quadratic factors further. The quadratic x² - 5x + 6 splits into (x - 2)(x - 3), and quitting early leaves the job half done.
The Reference
The Collection
The Questions
The roots, immediately, each with its multiplicity. Expanded form hides them; factored form displays them. For the numerical values, see our cubic roots calculator.
Then its roots are irrational or complex, and no integer-coefficient method will find them. The discriminant tells you which case you are in.
Nearly. Each linear factor (x - r) hands you the root r directly, so a fully factored cubic is a solved cubic.
Yes. For example (x - 1)²(x + 2) = x³ - 3x + 2 has the double root 1. A zero discriminant always signals a repeated factor.
Because a(x - r₁)(x - r₂)(x - r₃) with a ≠ 1 is a different polynomial than the product of the factors alone. Dropping it changes every coefficient.
List rational candidates, test them with synthetic division, deflate to a quadratic, and finish with the quadratic formula.
As an irreducible quadratic factor, which splits into conjugate linear factors over the complex numbers. The complex roots calculator finds them.
Multiply the factors back out. Every coefficient of the product must match the original polynomial exactly.