Polynomial input
PHP + browser interfaceVerification
Step-by-step solution
Roots and multiplicities
| # | Real part | Imaginary part | Magnitude |
|---|
Advanced tools
Batch factoring
Enter one polynomial per line.
| Input | Result | Status |
|---|
Compare two polynomials
Compare normalized forms, degrees, factors, and numerical roots.
Practice generator
Calculation history
Preset examples
Formula used
For a polynomial P(x), each root r produces a factor (x − r). Repeated roots create repeated factors, while the leading coefficient remains outside the factor product.
Rational candidates use ± factors of the constant term divided by factors of the leading coefficient. Synthetic division removes every confirmed linear factor.
How to use this calculator
- Enter a polynomial using one chosen variable.
- Select the factoring domain and numerical precision.
- Enable numerical roots for complete complex analysis.
- Press the factoring button and review the result.
- Open the steps, roots, analysis, or graph tabs.
- Export results or save them through browser history.
Factoring guidance and method notes
Start with the greatest common factor
Every factoring problem should begin with a common-factor check. This reduces the degree and simplifies later work. It also exposes zero roots immediately.
A numeric GCF divides every integer coefficient exactly. A variable GCF uses the smallest exponent appearing throughout. Both factors belong outside the remaining polynomial.
Use recognizable identities
Special identities can avoid lengthy root searches. Difference-of-squares patterns split into conjugate linear expressions. Cube identities produce one linear and one quadratic factor.
Perfect-square trinomials contain matching outer squares. Their middle term confirms the required doubled product. Pattern detection is fastest when coefficients remain exact.
Apply the Rational Root Theorem
The theorem lists possible rational zeros for integer polynomials. Candidate numerators divide the constant term exactly. Candidate denominators divide the leading coefficient exactly.
Each candidate must still be tested directly. A zero remainder confirms a genuine polynomial factor. Synthetic division then creates a smaller residual polynomial.
Interpret domains correctly
Factoring depends strongly on the selected number system. Some expressions stay irreducible over integers or rationals. They can split further over real or complex numbers.
For example, x² + 1 has no real roots. Complex arithmetic supplies roots i and negative i. The resulting factors use those conjugate values.
Understand numerical factoring
Higher-degree polynomials may lack convenient symbolic factors. Numerical methods approximate every complex root simultaneously. This calculator uses Durand–Kerner iteration for that purpose.
Approximate roots can vary slightly with precision settings. Verification reconstructs coefficients from calculated root factors. Small residual error indicates a reliable numerical decomposition.
Use graphs as supporting evidence
Real roots appear where the curve crosses or touches zero. Even multiplicities usually touch without crossing. Odd multiplicities usually cross the horizontal axis.
Graphs cannot reveal exact symbolic factors alone. They still help locate roots and detect behavior. Always confirm estimates with algebraic or numerical verification.
Frequently asked questions
Can the calculator factor equations?
Yes. It moves the right side to the left before parsing.
Does it support multiple variables?
This deployable build focuses on one selected variable for reliable factoring.
Why does a factor remain unfactored?
It may be irreducible in the selected domain or require deeper symbolic algorithms.
What does modular factoring mean?
Coefficients and roots are interpreted inside a finite field modulo a prime.
Are numerical roots exact?
No. They are approximations controlled by iteration and display precision.
How are repeated roots detected?
Numerically close roots are clustered and reported with a multiplicity count.
Can I download the graph?
Yes. Open the graph tab and use the download button.
Where is calculation history stored?
History uses local browser storage and remains on that device.
Can I process several polynomials?
Yes. Batch mode accepts one polynomial on each line.