Free Rational Zeros Calculator

a2
a1
a0
aₙxⁿ + ... + a₁x + a₀Possible zeros: ±p/qActual zeros

Select the degree, enter the integer coefficients, then calculate to find all possible and actual rational zeros.

The Rational Zeros Calculator harnesses the rational root theorem (also called the rational zero test) to generate every possible rational zero of a polynomial with integer coefficients. By automating the rational root test, this tool not only outputs the full list of candidate zeros but also identifies which of them are actual rational roots. Whether you are a student learning polynomial factorization or a professional solving polynomial equations, this polynomial roots calculator streamlines the process of finding rational zeros.

What Is a Rational Zero?

Any polynomial in standard form with real coefficients can be expressed as

p(x)=anxn+an−1xn−1+⋯+a1x+a0,an≠0.p(x) = a_n x^n + a_{n-1} x^{n-1} + \dots + a_1 x + a_0, \qquad a_n \neq 0.

A number rr is called a zero (or root) of pp if p(r)=0p(r)=0. When rr can be written as a fraction pq\frac{p}{q} with integers pp and qq (q≠0q \neq 0), it is specifically a rational zero (or rational root). Each rational zero corresponds to a linear factor (x−r)(x - r) of the polynomial, which is helpful when factoring or simplifying polynomial expressions.

The Rational Root Theorem (Rational Zero Theorem)

The rational root theorem applies to polynomials whose coefficients are all integers. Let a0a_0 be the constant term (the trailing coefficient) and ana_n the leading coefficient. According to the theorem, if a polynomial has a rational root expressed in lowest terms as pq\frac{p}{q}, then pp must be a factor of a0a_0 and qq must be a factor of ana_n. Therefore, every possible rational zero belongs to the set

±factor of a0factor of an.\pm \frac{\text{factor of } a_0}{\text{factor of } a_n}.

It is important to note that the theorem only enumerates candidates — it does not guarantee that any of those numbers are actual zeros. The polynomial may still have irrational or complex roots that the rational root test cannot capture.

Generating the List of Possible Rational Zeros

To manually compile the candidate list, follow these steps:

  1. List all integer factors (both positive and negative) of the constant term a0a_0.
  2. List all positive integer factors of the leading coefficient ana_n.
  3. Form every possible fraction ±factor from step 1factor from step 2\pm \frac{\text{factor from step 1}}{\text{factor from step 2}}.
  4. Simplify each fraction and remove any duplicates.

The resulting collection contains every rational number that could be a root. Any rational number not in this set cannot be a zero of the polynomial. The number of candidates grows with the number of factors, but the rational root theorem makes the process systematic.

Monic Polynomials: A Special Case

When the leading coefficient an=1a_n = 1, the polynomial is called monic. In this situation the rational root theorem simplifies considerably: any rational root must be a divisor of the constant term a0a_0. Hence, the full list of possible rational zeros is simply the set of all integer factors (positive and negative) of a0a_0. For example, the monic polynomial p(x)=x3−2x2+5x−6p(x) = x^3 - 2x^2 + 5x - 6 has possible rational zeros ±1,±2,±3,±6\pm 1, \pm 2, \pm 3, \pm 6.

Handling Fractional Coefficients

The rational root theorem strictly requires integer coefficients. If a polynomial contains fractions, first multiply the entire polynomial by the least common denominator (LCD) of those fractions. This yields a new polynomial with integer coefficients that has exactly the same zeros as the original.

Consider s(x)=13x3+34x2−5x+12s(x) = \frac{1}{3}x^3 + \frac{3}{4}x^2 - 5x + \frac{1}{2}. The denominators 3, 4, and 2 have an LCD of 12. Multiplying s(x)s(x) by 12 gives

4x3+9x2−60x+6.4x^3 + 9x^2 - 60x + 6.

Now the rational root test can be applied to this integer‑coefficient polynomial. The factors of 6 (constant term) and 4 (leading coefficient) produce the same candidate rational zeros as for the original polynomial.

Using the Rational Zeros Calculator

Operating the calculator is straightforward:

  • Choose the degree of your polynomial from the provided options.
  • Enter the integer coefficients in the corresponding fields. If your original polynomial had fractional coefficients, multiply it by the LCD first and input the resulting integer coefficients.
  • The tool immediately displays two lists: all possible rational zeros and actual rational zeros — those candidates that indeed satisfy p(x)=0p(x)=0.

The calculator handles the factor enumeration and verification, saving significant manual effort.

Verifying Candidates for Actual Rational Zeros

Once the list of possible rational zeros is known, each candidate can be tested by direct substitution: compute p(candidate)p(\text{candidate}). If the result is zero, it is a root.

A more efficient method is polynomial division, especially synthetic division. Synthetic division relies only on the coefficients and proceeds as follows:

  • Write down the coefficients of the polynomial in descending order (include zeros for any missing powers).
  • Bring down the leading coefficient.
  • Multiply it by the candidate value, add the product to the next coefficient, and continue across the row.
  • The final number is the remainder: if it equals zero, the candidate is a root.

Moreover, when a candidate is confirmed as a root, the quotient produced by the division is a polynomial of one degree lower. That quotient can be used to test further candidates, gradually reducing the problem.

Worked Example: Rational Zeros of 2x4+3x3−8x2−9x+62x^4 + 3x^3 - 8x^2 - 9x + 6

Consider

p(x)=2x4+3x3−8x2−9x+6.p(x) = 2x^4 + 3x^3 - 8x^2 - 9x + 6.
  • Constant term a0=6a_0 = 6: factors ±1,±2,±3,±6\pm1, \pm2, \pm3, \pm6.
  • Leading coefficient an=2a_n = 2: positive factors 1,21, 2.

All possible rational zeros are the fractions

±11, ±12, ±21, ±22, ±31, ±32, ±61, ±62.\pm\frac{1}{1},\ \pm\frac{1}{2},\ \pm\frac{2}{1},\ \pm\frac{2}{2},\ \pm\frac{3}{1},\ \pm\frac{3}{2},\ \pm\frac{6}{1},\ \pm\frac{6}{2}.

After simplification and duplicate removal we obtain

±1, ±12, ±2, ±3, ±32, ±6.\pm1,\ \pm\frac12,\ \pm2,\ \pm3,\ \pm\frac32,\ \pm6.

Now test a few candidates using synthetic division.

Testing x=12x = \frac12:
Coefficients: 2,3,−8,−9,62, 3, -8, -9, 6.
Bring down 2. Multiply 12×2=1\frac12 \times 2 = 1; add to 3 → 4. Multiply 12×4=2\frac12 \times 4 = 2; add to -8 → -6. Multiply 12×(−6)=−3\frac12 \times (-6) = -3; add to -9 → -12. Multiply 12×(−12)=−6\frac12 \times (-12) = -6; add to 6 → 0.
Remainder = 0 → 12\frac12 is a rational root. The quotient polynomial is 2x3+4x2−6x−122x^3 + 4x^2 - 6x - 12.

Testing x=−2x = -2 on the quotient:
Coefficients: 2,4,−6,−122, 4, -6, -12.
Bring down 2. Multiply −2×2=−4-2 \times 2 = -4; add to 4 → 0. Multiply −2×0=0-2 \times 0 = 0; add to -6 → -6. Multiply −2×(−6)=12-2 \times (-6) = 12; add to -12 → 0.
Remainder = 0 → −2-2 is another rational root. The resulting quadratic is 2x2−62x^2 - 6.

The quadratic 2x2−6=02x^2 - 6 = 0 gives x=±3x = \pm\sqrt{3}, which are irrational numbers. Hence, the original polynomial has two rational zeros (12\frac12 and −2-2) and two irrational zeros.

All other candidates (e.g., 1,−1,3,−3,…1, -1, 3, -3, \dots) produce non‑zero remainders and are therefore not actual roots.

Closing Thoughts

The rational root theorem provides a systematic way to limit the search for rational zeros of a polynomial. However, it only suggests possible roots — actual rational zeros must be confirmed through evaluation or division. The Rational Zeros Calculator automates both the candidate generation and the verification process, making it an invaluable polynomial roots calculator for anyone working with polynomial equations.

FAQ

1. What is the rational root theorem and what does it tell us about polynomial roots?

The rational root theorem states that for a polynomial with integer coefficients, any rational root must be of the form ± (factor of the constant term) / (factor of the leading coefficient). It provides a list of possible rational zeros, but does not guarantee that any of them are actual roots.

2. How do I find the possible rational zeros of a polynomial with integer coefficients?

List all integer factors of the constant term and all positive factors of the leading coefficient. Form every combination ± factor/factor, simplify the fractions, and remove duplicates. The resulting set contains all possible rational zeros.

3. What should I do if my polynomial has fractional coefficients?

Determine the least common denominator (LCD) of all fractions and multiply the entire polynomial by that LCD. This yields an equivalent polynomial with integer coefficients, to which the rational root theorem can then be applied.

4. How can I verify whether a candidate from the rational root list is an actual zero?

Substitute the candidate into the polynomial and evaluate. Alternatively, use polynomial (or synthetic) division: divide the polynomial by x - candidate; a remainder of zero confirms it is a root.

How to Use

  1. Select the degree of your polynomial (2 to 6) using the dropdown menu.
  2. Enter the integer coefficients for each term, from the highest degree down to the constant term.
  3. Review the list of all possible rational zeros and see which ones are actual rational zeros of the polynomial.