Descartes' Rule of Signs Calculator
Enter a polynomial to count its possible positive and negative real roots.
One variable, brackets and whole powers, such as x^4 - 1.
Result
You entered
Sign changes in P(x)
Sign changes in P(-x)
Show the work
Descartes' rule of signs
Write the coefficients of from the highest power down, ignoring zeros, and count the sign changes . The number of positive real roots is , or less than by an even number. Negative roots are counted the same way on .
Using
Sign changes in P(x)
The signs of the non-zero coefficients, in order, are shown below. Each time the sign differs from the one before it, that is one change, so is 1.
Sign changes in P(-x)
Replacing by flips the sign of every odd-power term. The new polynomial and its signs give equal to 1.
Result
So there are 1 positive real root and 1 negative real root; the rest of the 4 roots are zero or not real.