Enter coefficients for a quartic polynomial in the form:
ax4 + bx3 + cx2 + dx + e = 0
What is a quartic equation?
A quartic equation is a polynomial equation of degree 4, meaning the highest power of x is 4. The general form is:
ax4 + bx3 + cx2 + dx + e = 0, where a ≠ 0.
Every quartic has exactly four roots in the complex number system (counting multiplicities). Depending on coefficients, those roots can be all real, all complex, or a mix.
How to use this quartic equation calculator
- Enter values for a, b, c, d, e.
- Press Calculate Roots.
- Read each root in the result panel as x₁, x₂, x₃, x₄ (or fewer if the degree reduces).
- If a = 0, the tool automatically treats it as a cubic, quadratic, or linear equation.
Example
For x4 - 5x2 + 4 = 0, the roots are -2, -1, 1, 2. This is a useful test because all roots are real and easy to verify.
How the calculator finds roots
Analytic formulas for quartics exist (Ferrari's method), but they can become very long and sensitive to floating-point rounding. This calculator uses a stable numerical root-finding method (Durand–Kerner iteration) to compute all roots simultaneously in the complex plane.
The algorithm repeatedly refines root estimates until changes become tiny. The displayed residual value shows how close each computed root is to satisfying the original polynomial. Smaller residuals mean more accurate roots.
Interpreting real and complex roots
- Real root: shown as a single number, like 3.25.
- Complex root: shown as a ± bi, like 1.2 - 0.8i.
- With real coefficients, non-real roots occur in conjugate pairs: a + bi and a - bi.
Common mistakes to avoid
- Entering a = 0 accidentally when you intended a quartic.
- Forgetting signs on negative coefficients (especially d and e).
- Confusing tiny numerical noise with a true imaginary part.
Why this tool is useful
Quartic equations appear in optimization, kinematics, geometric intersections, control systems, and financial modeling. A quick root calculator helps you:
- Validate homework and symbolic steps,
- Check numerical simulations,
- Explore how coefficients affect solution behavior.