Lably
Skip to content

Descartes' rule of signs

Counting polynomial real roots based on coefficients

  • 5 min read
  • 5 chapters

Related on Lably

Through Mathematics, Polynomial and Real number

A linear fractional transformation of the variable makes it possible to use the rule of signs to count roots in any interval. This is the basic idea of Budan's theorem and the Budan–Fourier theorem. Repeated division of an interval in two results in a set of disjoint intervals, each containing one root, and together listing all the roots. This approach is used in the fastest algorithms today for computer computation of real roots of polynomials (see real-root isolation).

Descartes himself used the transformation x → −x for using his rule for getting information of the number of negative roots.

Descartes' rule of signs

Positive roots

The rule states that if the nonzero terms of a single-variable polynomial with real coefficients are ordered by descending variable exponent, then the number of positive roots of the polynomial is either equal to the number of sign changes between consecutive (nonzero) coefficients, or is less than it by an even number. A root of multiplicity k is counted as k roots.

In particular, if the number of sign changes is zero or one, the number of positive roots equals the number of sign changes.

Negative roots

As a corollary of the rule, the number of negative roots is the number of sign changes after multiplying the coefficients of odd-power terms by −1, or fewer than it by an even number. This procedure is equivalent to substituting the negation of the variable for the variable itself. For example, the negative roots of ax3+bx2+cx+d are the positive roots of

a(−x)3+b(−x)2+c(−x)+d=−ax3+bx2−cx+d.

Thus, applying Descartes' rule of signs to this polynomial gives the maximum number of negative roots of the original polynomial.

Example: cubic polynomial

The polynomial

f(x)=+x3+x2−x−1

has one sign change between the second and third terms, as the sequence of signs is (+, +, −, −). Therefore, it has exactly one positive root. To find the number of negative roots, change the signs of the coefficients of the terms with odd exponents, i.e., apply Descartes' rule of signs to the polynomial f(−x)=−x3+x2+x−1.

This polynomial has two sign changes, as the sequence of signs is (−, +, +, −), meaning that this second polynomial has two or zero positive roots; thus the original polynomial has two or zero negative roots.

In fact, the factorization of the first polynomial is

f(x)=(x+1)2(x−1),

so the roots are −1 (twice) and +1 (once).

The factorization of the second polynomial is

f(−x)=−(x−1)2(x+1).

So here, the roots are +1 (twice) and −1 (once), the negation of the roots of the original polynomial.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Topics in mathematics