🌐 EN

Polynomial Factorization Calculator

Find numerical roots and real factors of quadratic or cubic polynomials.

Result
Original
—
Discriminant (D)
—
Factored
—
Roots
—

Inputs and checks

  • Choose Quadratic for a × x² + b × x + c or Cubic for a × x³ + b × x² + c × x + d. Coefficients are numbers multiplying powers of x; a constant is the number without x. The leading coefficient a must not be zero.
  • In Cubic mode the displayed a, b and c labels still mention quadratic powers; enter the cubic coefficients in descending power order, with d as constant.
  • Enter coefficients, including negative values, then use Factorize; updates also occur when values or tabs change.

Reading the result

  • The discriminant helps distinguish root patterns; roots are values of x that make the polynomial zero. Real factorizations and numbers are shown with four decimals where applicable.
  • Cubic roots use numerical floating-point formulas; complex roots do not receive an all-real factor string. This is not an exact symbolic solver for other degrees.

Examples

Quadratic with two real roots

Input
Quadratic: a coefficient (x²) 1; b coefficient (x) -5; c coefficient (constant) 6.
Result
D = 1.0000; (x - 3)(x - 2); x₁ = 3.0000, x₂ = 2.0000
How to check it
x² - 5x + 6 = (x - 3)(x - 2), and D = 25 - 24 = 1.

Cubic with a triple root

Input
Cubic: a field 1; b field -3; c field 3; d coefficient (constant) -1. The first three on-screen labels still show quadratic powers.
Result
Δ = 0.0000; (x - 1.0000)(x - 1.0000)(x - 1.0000)
How to check it
x³ - 3x² + 3x - 1 = (x - 1)³, with Δ = 0.0000.

Frequently asked questions

What is a root?
It is a number for x that makes the polynomial equal zero.
Why do the cubic labels mention x²?
The visible labels remain from the quadratic form; in Cubic mode the coefficient order is x³, x², x and constant.
Can it factor a fourth-degree polynomial?
No. Only Quadratic and Cubic modes are provided.