Home · Everyday · Algebra · Descartes' Rule of Signs Calculator

Descartes' Rule of Signs Calculator

Descartes' rule of signs — the possible counts of positive and negative real roots, from sign changes alone.

Your figures

Example result — edit the figures to make it yours

2

Sign changes (positive roots)

Descartes' rule of signs: the number of positive real roots equals the number of sign changes in the coefficient list, or less by an even number. The headline figure is the sign-change count for P(x).

Possible positive roots2 or 0
Sign changes in P(−x)0
Possible negative roots0

What this calculator does

Descartes' rule of signs — the possible counts of positive and negative real roots, from sign changes alone. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

Positive roots = sign changes in P(x), or less by an even number; negative roots likewise in P(−x)

Coefficients are the numbers in front of each power of x, in the order shown.

Expansion multiplies every pair of terms (FOIL: First, Outer, Inner, Last) and collects like powers.

Factoring over the integers is reported when integer factors exist; otherwise the tool says so plainly.

Worked example

With the example inputs this page opens with, the result is 2 — sign changes (positive roots). Descartes' rule of signs: the number of positive real roots equals the number of sign changes in the coefficient list, or less by an even number. The headline figure is the sign-change count for P(x).

Quick reference

Quick reference — the worked example in full
FigureValue
Sign changes (positive roots)2
Possible positive roots2 or 0
Sign changes in P(−x)0
Possible negative roots0

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Descartes' Rule of Signs Calculator work?

Descartes' rule of signs — the possible counts of positive and negative real roots, from sign changes alone. Coefficients → Sign changes and possibilities. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Descartes' Rule of Signs Calculator need?

Coefficients → Sign changes and possibilities. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Descartes' Rule of Signs Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.