Step-by-step math solver
Polynomial equations
Solve cubic and quartic equations such as x³ − 6x² + 11x − 6 = 0 with the factor theorem: find c with P(c) = 0, divide by synthetic division to lower the degree, and solve what is left. Quartics in x² use the substitution t = x².
Free, no sign-in. The solver runs in your browser and does not send your problem to the server.
Method
- Factor theorem: if P(c) = 0, then x − c is a factor of P(x).
- Rational root theorem: a rational root must be ±(a factor of the constant term)/(a factor of the leading coefficient). Test these candidates one by one.
- Once x − c is found, divide P(x) by x − c with synthetic division to lower the degree, then solve the remaining equation.
- ax⁴ + bx² + c = 0: let t = x² (t ≥ 0) and solve the quadratic in t.
- If there is no rational root, approximate roots are given and marked with ≈.
Worked examples
x³ − 6x² + 11x − 6 = 0
Find the rational roots
x ∈ {1; 2; 3}
x³ − 6x² + 11x − 6 = (x − 1)(x − 2)(x − 3)
(x − 1)(x − 2)(x − 3) = 0
A product is zero when at least one factor is zero
x − 1 = 0 ⇔ x = 1
x − 2 = 0 ⇔ x = 2
x − 3 = 0 ⇔ x = 3
Result
x = 1
x = 2
x = 3
Solution set: S = {1; 2; 3}
Open in the solver
2x³ − 3x² − 3x + 2 = 0
Find the rational roots
x ∈ {1/2; −1; 2}
2x³ − 3x² − 3x + 2 = (2x − 1)(x + 1)(x − 2)
(2x − 1)(x + 1)(x − 2) = 0
A product is zero when at least one factor is zero
2x − 1 = 0 ⇔ x = 1/2
x + 1 = 0 ⇔ x = −1
x − 2 = 0 ⇔ x = 2
Result
x = −1
x = 1/2
x = 2
Solution set: S = {−1; 1/2; 2}
Open in the solver
x⁴ − 5x² + 4 = 0
A biquadratic equation: let t = x², with t ≥ 0
t² − 5t + 4 = 0
Identify the coefficients
a = 1; b = −5; c = 4
Compute the discriminant Δ = b² − 4ac
Δ = (−5)² − 4 · 1 · 4 = 9
Since Δ > 0, the equation has two distinct solutions
√Δ = √9 = 3
t₁ = (−b + √Δ)/(2a) = 4
t₂ = (−b − √Δ)/(2a) = 1
Return to x
x² = 1 ⇔ x = ±1
x² = 4 ⇔ x = ±2
Result
x = −2
x = −1
x = 1
x = 2
Solution set: S = {−2; −1; 1; 2}
Open in the solver
Practice problems
Work it out on paper first, then tap to see the step-by-step solution.