# Descartes’ Rule of Signs

The purpose of the Descartes’ Rule of Signs is to provide an insight on how many real roots a polynomial P(x) may have. We are interested in two kinds of real roots, namely **positive** and **negative** real roots. The rule is actually simple. Here is the Descartes’ Rule of Signs in a nutshell.

**The Breakdown or Explanation of the Descartes’ Rule of Signs**

Suppose ** P(x)** is a polynomial where the exponents are arranged from highest to lowest, with real coefficients excluding zero, and contains a nonzero constant term.

The number of positive real roots is either…

- equal to the number of sign changes in
*P(x)* **or**, less than the number of sign changes in*P(x)*by some multiple of 2.

The number of negative real roots is either…

- equal to the number of sign changes in
*P(-x)* **or**, less than the number of sign changes in*P(-x)*by some multiple of 2.

In summary, if *n* is the number of sign changes in either *P(x)* or *P(-x)*, then the number of positive or negative roots may equal to *n*, *n *– 2, *n *– 4, *n *– 6, etc…

Note that we start with the number of sign changes, “*n*“, then we keep subtracting it by some **multiple of 2** (positive even integers) such as 2, 4, 6, etc.

We stop subtracting until such time when the difference becomes 0 or 1. That is it!

**Quick examples for both cases:**

- Let
*P*(*x*) has*n*= 7 number of sign changes, the possible number of positive real roots will be

7, 5, 3 or 1

- Let
*P*(*x*) has*n*= 6 number of sign changes, the possible number of negative real roots will be

6, 4, 2 or 0

### Examples of Descartes’ Rule of Signs

Let’s take a look at a few examples to see this rule in action!

**Example 1**: Find the number of real roots of the polynomial below using Descartes’ Rule of Signs.

Start by clearly marking off the sign of each term in the polynomial. I will use the color **red** for positive symbol (+), and **black** for negative symbol (**−**). This would allow us to easily keep track of the change in sign.

It is considered a **sign change** if the two signs of adjacent coefficients switch (or alternate). For instance, it can go from positive to negative, or negative to positive.

**For the positive real roots**: Use the given function itself because the “*x*” inside the parenthesis, *P*(*x*), is positive.

There are two sign changes as shown by the arrows. Since *n *= 2, therefore there are 2 or 0 positive real roots.

**For the negative real roots**: Use the modified version of the function, *P*(*-x*), where the “*x*” inside the parenthesis is negative.

Before we count the sign change, we will need some side calculation. Substitute “-*x*” in *P*(*x*) to get *P*(*-x*). Here we go…

Now, let’s do the counting…

There are three sign changes as pointed out by the arrows. Since *n *= 3, therefore there are 3 or 1 negative real roots.

For our final answer, we say, there are 2 or 0 positive real roots, and 3 or 1 negative real roots.

Here is the graph of the polynomial showing that indeed our “guess” is spot on! In fact, it has two (2) positive roots, and three (3) negative roots.

**Example 2**: Find the number of real roots of the polynomial below using Descartes’ Rule of Signs.

Before we start on this problem, I must caution you **not** to treat this like a synthetic division problem where we place zeroes on the missing powers of *x*‘s. As long as the polynomial is arranged with a decreasing number of exponents, that is good enough.

**For the positive real roots**: Use the given polynomial and count the number of sign change.

There are three sign changes for *P*(*x*), that means there can be **3 or 1** positive real roots.

**For the negative real roots**: Evaluate –*x* into *P*(*x*) to get *P*(-*x*) then count the sign change.

There is only one sign change for *P*(-*x*), that means there is **exactly 1** negative real root.

For our final answer, there are 3 or 1 positive real roots, and exactly 1 negative real root.

**Example 3**: Find the number of real roots (positive and/or negative) of the polynomial below.

**To find the positive roots**: Observe that all terms in the polynomial are all positive.

Since there is no sign change in *P*(*x*), this implies that the polynomial has **NO** positive real roots.

**To find the negative roots**: Solve for *P*(–*x*) then count the variation in signs.

Because we have seven (7) sign changes in *P*(–*x*), there are 7, 5, 3, or 1 negative real roots.

For our final answer, there are no positive real roots, and there are 7, 5, 3 or 1 negative real roots.

**Example 4**: Find the number of real roots of the polynomial (positive and/or negative) below.

**To find the positive roots**: Count the number of alternating signs in *P*(*x*).

We have six sign changes here which imply that there are 6, 4, 2, or 0 positive real roots.

**To find the negative roots**: Solve for *P*(*-x*) first then count the variation in signs.

No sign change in *P*(*-x*) that means there are no negative real solutions.

There are 6, 4, 2 or 0 positive real roots, and there are no negative real roots.