Before hunting for roots it helps to know how many to expect. Descartes’ rule gives this information just by reading the signs of the coefficients, so no calculation of the roots is needed.
How to use the Descartes’ Rule of Signs Calculator
- Degree of P(x)
- a₆ (x⁶)
- a₅ (x⁵)
- a₄ (x⁴)
- a₃ (x³)
- a₂ (x²)
- a₁ (x)
- a₀
Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.
How it works
Zero coefficients are skipped. Each change from + to − or − to + counts once. For negative roots the signs of the odd-power coefficients are flipped (P(−x)). Zero roots are counted separately from the lowest power present.
Formula
Positive roots = number of sign changes in P(x), or less by an even number
Negative roots = sign changes in P(−x), or less by an even number
Worked example
Inputs: Degree of P(x): 3; a₃ (x³): 1; a₂ (x²): -6; a₁ (x): 11; a₀: -6.
Results: Possible positive real roots = 3, 1; Possible negative real roots = 0; Roots at x = 0 = 0; Non-real roots = At least 0 non-real roots (out of 3 in total).
Key terms
- Sign change
- A switch between a positive and a negative coefficient.
Frequently asked questions
How do I count sign changes?
Write the signs of the non-zero coefficients in order and count how often consecutive signs differ.
Why "or less by an even number"?
Non-real roots come in conjugate pairs, so the count of positive roots can drop by 2 at a time.
Does the rule find the roots?
No, it only bounds how many there are. Use the rational zeros or polynomial graphing calculators to find them.
What about multiple roots?
They are counted with their multiplicity.