Precalculus Intermediate

Descartes' Rule of Signs

Determine the possible number of positive and negative real roots of any polynomial. Enter your polynomial as text or by coefficients — get a color-coded sign sequence, full step-by-step analysis, and a complete possibilities table.

Live Calculator · Sign Sequence Diagram · Precalculus
Polynomial Input
Use ^ for exponents. Terms with coefficient 0 can be omitted. Signs matter! e.g. "x^3 - x^2 - x + 1"
f(x) = 3x⁴ − 2x³ + x² + x − 5
Examples
Enter the coefficient for each power of x. Use 0 for missing terms.
f(x) = —
Examples
Results
Enter a polynomial and press Apply Descartes' Rule to see the possible positive and negative real root counts with a color-coded sign sequence.
Polynomial (degree )
Sign changes f(x)
Sign changes f(−x)
Possibilities Table
Positive Real Negative Real Non-real Complex Pairs
Step-by-Step Explanation
Sign Sequence Diagram
f(x) — Sign sequence of non-zero coefficients (descending powers)
Run the calculator to see the sign sequence for f(x).
f(−x) — Sign sequence after substituting x → −x
Run the calculator to see the sign sequence for f(−x).
+
Positive coefficient
Negative coefficient
Sign change (counted)
Same sign (not counted)
What Is a Sign Change?
Sign change: consecutive non-zero coefficients have opposite signs

Descartes' Rule looks at the non-zero coefficients of a polynomial in descending order and counts how many times the sign switches from + to − or from − to +. Zero coefficients are skipped.

The number of positive real roots equals the number of sign changes in f(x), or that number minus any even number (2, 4, 6, …). This is because complex roots always come in conjugate pairs — losing two real roots means gaining one complex conjugate pair.

For negative real roots, substitute x → −x first. The sign of the term with xn changes by a factor of (−1)n — even powers are unchanged, odd powers flip. Then count sign changes in f(−x) the same way.

Zero coefficients are invisible to Descartes' Rule — skip them when building your sign sequence. Only the signs of non-zero coefficients matter.
Combining Results — Narrowing Down
Total roots = degree (counting multiplicity, complex included)

Step 1: Count sign changes in f(x) → possibilities for positive real roots (subtract 2 at a time).

Step 2: Count sign changes in f(−x) → possibilities for negative real roots (subtract 2 at a time).

Step 3: Pair every combination. The non-real complex roots always come in conjugate pairs: if pos + neg = k, then complex pairs = (degree − k)/2.

Only keep combinations where complex pairs ≥ 0 and is a whole number. The table in the results shows every valid combination.

  • Descartes' Rule gives an upper bound, not an exact count — the actual number could be less (by multiples of 2).
  • Use the Rational Root Theorem to find candidates, then synthetic division to test them.
  • If f(x) has no sign changes → no positive real roots. If f(−x) has no sign changes → no negative real roots.

Polynomial roots still confusing?

One-on-one Precalculus tutoring connects Descartes' Rule, the Rational Root Theorem, and synthetic division into a clear strategy for finding every zero. We work through your actual homework problems.

Book a Free Consultation →