Descartes' Rule of Signs Calculator
Apply Descartes' Rule of Signs to any polynomial. Count sign changes in f(x) and f(−x) to determine the possible number of positive, negative, and complex roots.
Solve any cubic equation ax³ + bx² + cx + d = 0. Find all three roots (real and complex), discriminant, and Vieta's formulas with step-by-step analysis.
| Root | Value | Type | f(root) verification |
|---|---|---|---|
| x1 | 3.000000 | Root 1 | 0.000000 |
| x2 | 2.000000 | Root 2 | 0.000000 |
| x3 | 1.000000 | Root 3 | 0.000000 |
| Formula | Expression | Value |
|---|---|---|
| r₁ + r₂ + r₃ | −b/a = −(-6)/(1) | 6.000000 |
| r₁r₂ + r₁r₃ + r₂r₃ | c/a = (11)/(1) | 11.000000 |
| r₁·r₂·r₃ | −d/a = −(-6)/(1) | 6.000000 |
A cubic equation is a polynomial equation of degree three, written in the standard form ax³ + bx² + cx + d = 0, where a ≠ 0. Unlike quadratic equations — which always have a neat formula with a single square root — cubic equations require more sophisticated methods to solve. The general solution was first published in the 16th century by Italian mathematicians Cardano and Tartaglia and involves cube roots and a discriminant that determines the nature of the roots.
Every cubic equation has exactly three roots when counted with multiplicity in the complex numbers. The discriminant Δ tells you their nature: when Δ > 0 there are three distinct real roots, when Δ = 0 there is a repeated root, and when Δ < 0 there is one real root and a pair of complex conjugate roots. This cubic equation solver computes all three roots using Cardano's method and trigonometric substitution. It displays the discriminant, verifies each root by substitution, and shows Vieta's formulas relating the roots to the coefficients. Presets for classic cubics let you explore the behavior quickly, and a visual number line shows where real roots are positioned. Whether you are solving homework problems, analyzing polynomial behavior, or building intuition for higher algebra, the page gives you the full root picture.
Cubic equations are where polynomial solving stops being routine. Once the quadratic intuition no longer works, it is helpful to keep the equation, discriminant, real roots, and complex roots tied together in one view. This page does that so you can check whether a coefficient change altered the root structure, whether repeated roots appear, and whether Vieta's formulas still reconcile with the outputs.
Given ax³+bx²+cx+d=0, substitute x=t−b/(3a) to get depressed cubic t³+pt+q=0. Discriminant Δ=−4p³−27q². If Δ>0: three real roots via trigonometric method. If Δ<0: Cardano's formula with one real and two complex roots.Result: Equation shown by the calculator
Using the preset "x³ − 6x² + 11x − 6", the calculator evaluates the cubic equation solver setup, applies the selected algebra rules, and reports Equation with supporting checks so you can verify each transformation.
This calculator takes a (x³ coefficient), b (x² coefficient), c (x coefficient), d (constant) and applies the relevant cubic equation solver relationships from your chosen method. It returns both final and intermediate values so you can audit the process instead of treating it as a black box.
Start with the primary output, then use Equation, Discriminant (Δ), Real Roots, Complex Roots to confirm signs, magnitude, and internal consistency. If anything looks off, change one input and compare the updated outputs to isolate the issue quickly.
Last updated:
Every cubic equation has exactly three roots when counted with multiplicity in the complex numbers. It may have three real roots, or one real root and two complex conjugate roots.
The discriminant Δ = −4p³ − 27q² (after depressing the cubic). When Δ > 0, all roots are real and distinct. When Δ = 0, there is a repeated root. When Δ < 0, one root is real and two are complex conjugates.
A depressed cubic is one with no x² term: t³ + pt + q = 0. Any cubic can be converted to this form by substituting x = t − b/(3a), which eliminates the quadratic term.
For ax³+bx²+cx+d=0 with roots r₁, r₂, r₃: r₁+r₂+r₃ = −b/a, r₁r₂+r₁r₃+r₂r₃ = c/a, and r₁·r₂·r₃ = −d/a.
This calculator is designed for real coefficients. Complex-coefficient cubics require a more general treatment and may not have conjugate root pairs.
It uses Cardano's method for the case with one real and two complex roots, and the trigonometric method (which avoids complex intermediate values) when all three roots are real.
Apply Descartes' Rule of Signs to any polynomial. Count sign changes in f(x) and f(−x) to determine the possible number of positive, negative, and complex roots.
Divide polynomials using synthetic division. Enter coefficients and divisor to get quotient, remainder, step-by-step layout, factor theorem test, and rational root candidates.
Find the characteristic polynomial, eigenvalues, trace, and determinant of a 2×2 or 3×3 matrix with step-by-step computation and eigenvalue visualization.