🧮
🧮 Math & statistics

Descartes’ Rule of Signs Calculator (possible positive & negative real zeros)

Results update as you type.

Your numbers

Understanding the Descartes' rule of signs calculator — concept and principle

This calculator applies Descartes' rule of signs to a polynomial: it counts the sign changes in p(x) and p(−x) and lists the possible numbers of positive, negative and non-real zeros. Use it before solving a polynomial equation, to know what kinds of roots to look for.

Descartes' rule of signsCount sign changesp(x) = x³ − 3x² − 6x + 8+−−+p(−x) = −x³ − 3x² + 6x + 8−−++2 changes1 change(positive, negative, non-real)(2, 1, 0) · (0, 1, 2)
Positive zeros equal the sign changes or fewer by an even number.

How it is calculated

  1. Write p(x) from the highest power down, skipping zero coefficients.
  2. Count sign changes between consecutive coefficients. The number of positive real zeros equals that count or is less by an even number.
  3. Form p(−x), which flips the sign of every odd-power term, and count its sign changes for the negative real zeros.
  4. If the constant term is 0, factor out xᵐ first: x = 0 is a zero of multiplicity m.

The principle

Each positive root r of a polynomial corresponds to a factor (x − r), and multiplying by such a factor adds at least one sign change to the coefficient list. That is why sign changes give an upper limit on positive roots. Complex roots of a polynomial with real coefficients come in pairs, so the actual count can only fall short by an even number. Substituting −x turns negative roots into positive ones, letting the same count work for them.

Worked example

Default input: p(x) = x³ − 3x² − 6x + 8.

  1. Signs of p(x): + − − +, so 2 sign changes: 2 or 0 positive real zeros.
  2. p(−x) = −x³ − 3x² + 6x + 8, signs − − + +: 1 sign change, so exactly 1 negative real zero.
  3. The constant term is 8, so x = 0 is not a zero (multiplicity 0).
  4. Possible (positive, negative, non-real): (2, 1, 0); (0, 1, 2).

How to read the result

The rule narrows the possibilities but does not pick one. Here the polynomial factors as (x − 1)(x − 4)(x + 2), so the true case is 2 positive and 1 negative zero. Combine the rule with the rational root test and a quick graph to find the roots efficiently.

Common mistakes

Keep in mind: The rule counts roots with multiplicity and gives only possibilities. It does not locate the roots.

Frequently asked questions

What does Descartes' rule of signs tell you?

The maximum number of positive and negative real zeros, and that the true numbers differ from these by even numbers.

How do I find p(−x)?

Change the sign of every term with an odd power of x.

Does it work for non-polynomial functions?

No, only for polynomials with real coefficients.

Sources: OpenStax, College Algebra 2e (2021), §5.5 Zeros of Polynomial Functions

Checked 9 Nov 2026. OpenStax, College Algebra 2e (2021), §5.5 Zeros of Polynomial Functions — “Using Descartes’ Rule of Signs” (positive real zeros = number of sign changes of f(x) or less by an even integer; negative real zeros from f(−x)).

🧮 All math & statistics tools →🌍 Calculators by country →