# 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\left( x \right) 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\left( x \right) 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\left( x \right)

**or**, less than the number of sign changes in P\left( x \right) by some multiple of 2.

The number of negative real roots is either…

- equal to the number of sign changes in P\left( { - x} \right)

**or**, less than the number of sign changes in P\left( { - x} \right) by some multiple of 2.

In summary, if n is the number of sign changes in either P\left( x \right) or P\left( { - x} \right), 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\left( x \right) has n=7 number of sign changes, the possible number of positive real roots will be

7, 5, 3 or 1

- Let P\left( x \right) 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\left( x \right), 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\left( { - x} \right), where the “x” inside the parenthesis is negative.

Before we count the sign change, we will need some side calculation. Substitute “-x” in P\left( x \right) to get P\left( { - x} \right). 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\left( x \right), that means there can be 3 **or **1 positive real roots.

**For the negative real roots**:

Evaluate -x into P\left( x \right) to get P\left( { - x} \right) then count the sign change.

There is only one sign change for P\left( { - x} \right), 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\left( x \right), this implies that the polynomial has **NO** positive real roots.

**To find the negative roots**:

Solve for P\left( { - x} \right) then count the variation in signs.

Because we have seven (7) sign changes in P\left( { - x} \right), 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\left( x \right).

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\left( { - x} \right) first then count the variation in signs.

No sign change in P\left( { - x} \right) 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.