How Descartes' Rule of Signs Works
Descartes' Rule of Signs is a quick algebraic test for bounding how many positive and negative real roots a polynomial p(x) with real coefficients can have, without solving the equation at all. It works entirely from the pattern of signs of the coefficients, written in standard form from the highest power of x down to the constant term.
Formula and method
Write the polynomial in standard form, powers of x in descending order, e.g. p(x) = aₙxⁿ + ... + a₁x + a₀. List only the nonzero coefficients in that order and count how many times consecutive signs differ — call this count V. The number of positive real roots (counted with multiplicity) equals V, or V minus an even number, down to 0 or 1. Next form p(-x) by substituting -x for x: this flips the sign of every coefficient attached to an odd power of x and leaves coefficients on even powers unchanged. Count the sign changes of the nonzero coefficients of p(-x) — call this W. The number of negative real roots equals W, or W minus an even number, down to 0 or 1. If the constant term is zero, x = 0 is also a root, with multiplicity equal to the lowest power of x that appears; the remaining roots split between the positive/negative real bounds above and non-real complex conjugate pairs, since a degree-n polynomial always has exactly n roots in total.
Common sources of error
- Forgetting to flip odd-power signs: when forming p(-x), every term with an odd exponent changes sign (since (-x) raised to an odd power is negative), while even-power terms stay the same.
- Counting through a missing term: a coefficient of zero is skipped entirely, not treated as a "sign" — compare only consecutive nonzero coefficients when counting changes.
- Treating the count as exact: the number of sign changes is only an upper bound; the true number of positive (or negative) roots can be 2, 4, ... lower, never negative, and never below 0 or 1.
- Ignoring multiplicity: Descartes' rule counts roots with multiplicity, so a repeated root (a double or triple root) is counted more than once in the tally.
Checking your result
Cross-check your sign-change counts against the Fundamental Theorem of Algebra: a degree-n polynomial has exactly n roots counted with multiplicity, split among positive real roots, negative real roots, a root at x = 0 (if the constant term is zero), and non-real complex roots that always come in conjugate pairs. If your positive count, negative count, zero multiplicity, and non-real count don't add up to n, or the non-real portion isn't even, recheck your sign tallies for p(x) and p(-x). For low-degree polynomials, you can also verify by factoring or graphing to confirm the actual number of real roots falls inside the predicted range.
Applications
Descartes' Rule of Signs is a fast first pass before committing to heavier root-finding work: it tells you how many positive and negative real roots to expect, which narrows the search interval for bisection, tells you how many starting guesses to try with Newton's method, and flags whether a characteristic equation from an engineering or control-theory model even has the real roots needed to be physically meaningful. It is usually taught alongside the Rational Root Theorem and synthetic division as a way to narrow down candidate roots before testing them by hand.