Polynomial Roots & Theorems

Rational Zeros Calculator

Find all possible rational roots \(\pm \frac{p}{q}\) of a polynomial using the Rational Root Theorem. Tests actual roots, displays synthetic division tableaux, and analyzes sign changes with Descartes' Rule.

Quick Examples:
Enter standard expression with variable x and powers (e.g. \(2x^3 + x^2 - 13x + 6\)). Calculation updates automatically as you type.
Factors of p (a₀)

± { 1, 2, 3, 6 }

Factors of q (aₙ)

± { 1, 2 }

Total Candidates

16 candidates

Rational Roots Found

3 roots

Verified Actual Rational Roots (\(P(x) = 0\))
Complete Pool of Rational Candidates (\(\pm \frac{p}{q}\))
Synthetic Division Tableau (Depressing Polynomial)
Descartes' Rule of Signs Distribution
Step-by-Step Mathematical Derivation

How to Use the Rational Zeros Calculator

  1. Enter your polynomial: Type any standard polynomial with integer coefficients (e.g. \(2x^3 + x^2 - 13x + 6\)).
  2. Review the candidate factors: The calculator identifies the constant term \(a_0\) and leading coefficient \(a_n\), generating all integer factor pairs \(p\) and \(q\).
  3. Examine the candidate list: All reduced fractions \(\pm \frac{p}{q}\) are constructed and displayed.
  4. Identify the actual roots: The tool tests every candidate via Horner's polynomial evaluation, isolating the exact values where \(P(x) = 0\).
  5. Study the synthetic division tableau: View the step-by-step synthetic division that depresses the polynomial to help find remaining irrational or complex roots.

Problems This Rational Zeros Calculator Solves

Factoring high-degree polynomials by hand requires evaluating dozens of potential fraction combinations, risking sign blunders and missed factors. This calculator eliminates common stumbling blocks:

Combinatorial Factor Enumeration

Automatically enumerates every positive and negative factor of the constant term \(a_0\) and leading coefficient \(a_n\), preventing omitted candidate fractions.

Rapid Fraction Candidate Evaluation

Eliminates tedious manual substitution of fractions into higher-degree polynomials by leveraging high-precision Horner's method evaluation.

Polynomial Depression & Factoring

Instantly produces the depressed quotient polynomial via synthetic division as soon as a rational root is confirmed, paving the way to find quadratic or irrational factors.

Descartes' Rule of Signs Cross-Check

Provides immediate sign alternation checks to bound the possible number of positive and negative real roots, preventing unnecessary candidate tests.

Key Features & Capabilities

01

Candidate Reduction

Removes redundant fractional duplicates and simplifies every \(\pm p/q\) ratio into reduced lowest terms.

02

Synthetic Division Tableau

Renders complete three-row synthetic division tables for confirmed zeros to clearly show zero remainder verification.

03

Instant Reactive Parsing

Evaluates polynomials live on keystroke with robust exponent and multi-term sign parsing and clean KaTeX mathematical outputs.

The Rational Root Theorem Explained

The Rational Root Theorem (or Rational Zero Theorem) provides a finite list of all possible rational roots for any polynomial equation with integer coefficients:

\(P(x) = a_n x^n + a_{n-1} x^{n-1} + \dots + a_1 x + a_0 = 0\)

If \(\frac{p}{q}\) is a rational zero written in lowest terms (\(\gcd(p, q) = 1\)), then:

  • \(p\) must be an integer factor of the constant term \(a_0\).
  • \(q\) must be an integer factor of the leading coefficient \(a_n\).

Descartes' Rule of Signs: Narrowing Your Search

Before testing dozens of potential candidates, mathematicians apply Descartes' Rule of Signs to predict the distribution of real roots:

  • Positive Real Zeros: Count the number of sign variations between consecutive non-zero coefficients of \(P(x)\). The number of positive real roots equals this count or is less by an even positive integer.
  • Negative Real Zeros: Substitute \(-x\) to create \(P(-x)\) and count the sign variations. The number of negative real roots equals this count or is less by an even positive integer.

Worked Example: Solving \(2x^3 + x^2 - 13x + 6 = 0\)

1. Leading coefficient: \(a_3 = 2\). Factors \(q \in \pm \{1, 2\}\).

2. Constant term: \(a_0 = 6\). Factors \(p \in \pm \{1, 2, 3, 6\}\).

3. Possible candidates: \(\pm \{ 1, 2, 3, 6, \frac{1}{2}, \frac{3}{2} \}\).

4. Test \(x = 2\): \(P(2) = 2(8) + 4 - 13(2) + 6 = 16 + 4 - 26 + 6 = 0\) → ROOT!

5. Synthetic division by \((x - 2)\) yields quotient: \(2x^2 + 5x - 3\).

6. Factor quotient: \((2x - 1)(x + 3) = 0 \implies x = \frac{1}{2}, x = -3\).

All Rational Roots: \(x = -3, \frac{1}{2}, 2\).

Frequently Asked Questions

What is the Rational Root Theorem?
The Rational Root Theorem states that if a polynomial with integer coefficients a_n*x^n + ... + a_0 has a rational zero p/q (written in lowest terms), then the numerator 'p' must be an integer factor of the constant term a_0, and the denominator 'q' must be an integer factor of the leading coefficient a_n.
Does the Rational Root Theorem guarantee rational roots exist?
No. The theorem only produces a finite list of all *possible* rational roots. A polynomial may have only irrational real roots (like x^2 - 2 = 0) or complex imaginary roots (like x^2 + 4 = 0), in which case none of the p/q candidates will satisfy P(x) = 0.
How does Descartes' Rule of Signs help with rational zeros?
Descartes' Rule of Signs counts the number of sign variations between consecutive non-zero coefficients of P(x) and P(-x). The number of positive real zeros equals the sign changes in P(x) or is less by an even integer. The number of negative real zeros equals the sign changes in P(-x) or is less by an even integer. This immediately narrows down which candidates (+ or -) are worth testing.
What if the constant term a_0 is zero?
If a_0 = 0, factor out the greatest common power of x first: P(x) = x^k * Q(x). The root x = 0 is immediately verified with multiplicity k, and you apply the Rational Root Theorem to the remaining factor Q(x) which now has a non-zero constant term.
What do you do after finding a rational zero?
Once a candidate r satisfies P(r) = 0, perform synthetic division of P(x) by (x - r). The resulting quotient polynomial is 'depressed' by one degree (n - 1). You then search for roots of this simpler quotient, repeating until reaching a quadratic that can be solved via the quadratic formula.