Rational Zeros Calculator
List every rational-root candidate, test each one exactly, and reveal the rational linear factors of an integer-coefficient polynomial.
Polynomial coefficients
Enter integers only, from the leading coefficient down to the constant term.
Choose a degree from 1 through 8. The leading coefficient must be nonzero.
Accepted format: signed whole numbers without commas, decimals, fractions, or scientific notation. Each coefficient must be between – 1,000,000 and 1,000,000.
Actual rational zeros
– 2, 1/2
2 distinct rational zeros; total multiplicity 2.
Polynomial
2x⁴ + 3x³ – 8x² – 9x + 6
Possible rational zeros
– 6, – 3, – 2, – 3/2, – 1, – 1/2, 1/2, 1, 3/2, 2, 3, 6
Exact rational factorization
(x + 2)(2x – 1)(x² – 3)
Candidate test table
| Candidate | Exact f(r) | Rational zero? | Multiplicity |
|---|---|---|---|
| – 6 | 1716 | No | – |
| – 3 | 42 | No | – |
| – 2 | 0 | Yes | 1 |
| – 3/2 | 3/2 | No | – |
| – 1 | 6 | No | – |
| – 1/2 | 33/4 | No | – |
| 1/2 | 0 | Yes | 1 |
| 1 | – 6 | No | – |
| 3/2 | – 21/4 | No | – |
| 2 | 12 | No | – |
| 3 | 150 | No | – |
| 6 | 2904 | No | – |
Each candidate is evaluated with exact integer and fraction arithmetic. A zero remainder confirms a rational root; repeated derivative tests determine its multiplicity.
How to use the rational zeros calculator
What this calculator does
This calculator applies the Rational Zero Theorem to a polynomial with integer coefficients. It first creates the complete finite list of rational numbers that could be zeros, then evaluates the polynomial at every candidate with exact fraction arithmetic. The result separates possible rational zeros from actual rational zeros, reports repeated roots, and shows the exact rational linear factors that were found. It does not claim that every remaining zero is irrational: an unresolved factor can contain irrational real zeros or non-real complex zeros, and those require another method.
When to use it
Use the calculator when you need to factor a polynomial, solve a polynomial equation, verify homework obtained by synthetic division, or reduce a higher-degree polynomial before applying a quadratic or numerical method. It is especially useful for integer-coefficient cubics and quartics because a confirmed rational zero lets you divide out a linear factor and lower the degree.
How to calculate
- The calculator opens with the ready-to-use example 2x⁴ + 3x³ – 8x² – 9x + 6. Its results and a validated Excel workbook are available immediately.
- Choose the exact Polynomial degree. The interface activates coefficient fields from the leading term through the constant term.
- Replace the demonstration values in the Coefficient fields. Results update live; no Calculate button is needed.
- Read Actual rational zeros first, then inspect Possible rational zeros, Exact rational factorization, and the Candidate test table.
- Select Download Excel to export the current coefficients, outputs, and every exact candidate test. Reset clears the demonstration and all calculated content; the export button remains unavailable until a complete valid polynomial is entered again.
Input guide
Polynomial degree is required and accepts a whole-number degree from 1 through 8. For example, choose 4 for a quartic. Raising the degree reveals more coefficient fields and changes which term is treated as the leading term. A common mistake is choosing a degree larger than the entered polynomial while leaving the new leading coefficient blank or zero.
The fields labeled a₈ through a₀ are the integer coefficients of x⁸ through the constant term; only the fields required by the selected degree are active. Each active field is required, accepts a signed whole number from – 1,000,000 through 1,000,000, and deliberately rejects commas, decimals, fractions, and scientific notation. For the startup quartic, enter a₄ = 2, a₃ = 3, a₂ = – 8, a₁ = – 9, and a₀ = 6. Zero is valid for an interior coefficient and for the constant term, but the leading coefficient cannot be zero. Changing the leading or constant coefficient changes the candidate pool because those two values supply the denominator and numerator factors in the theorem; changing an interior coefficient does not change the candidate list, but it can change which candidates actually evaluate to zero.
Output guide
Actual rational zeros lists the candidates whose exact polynomial value is zero. A repeated zero appears once with its multiplicity in the summary and table. Possible rational zeros is the theorem-generated candidate count and list; it is an upper bound, not a promise that roots exist. Leading-coefficient factors and Constant-term factors count the positive divisors used to build reduced fractions p/q. Unresolved factor degree is the degree left after all rational linear factors are divided out; zero means the polynomial has been factored completely over the rational numbers.
The Polynomial output restates the active coefficients in standard notation. Exact rational factorization multiplies the confirmed primitive factors qx – p by the remaining integer polynomial. The Candidate test table reports each candidate r, its exact value f(r), whether it is a zero, and its multiplicity. An exact value of zero is an identity, not a rounded approximation. For a detailed textbook treatment of candidate generation and synthetic division, see the OpenStax section on zeros of polynomial functions.
Worked example
For 2x⁴ + 3x³ – 8x² – 9x + 6, the positive factors of the constant term 6 are 1, 2, 3, and 6. The positive factors of the leading coefficient 2 are 1 and 2. Forming every reduced ±p/q combination produces 12 candidates: – 6, – 3, – 2, – 3/2, – 1, – 1/2, 1/2, 1, 3/2, 2, 3, and 6. Exact substitution gives f( – 2) = 0 and f(1/2) = 0, while every other candidate has a nonzero value. Dividing out x + 2 and 2x – 1 leaves x² – 3, so the displayed factorization is (x + 2)(2x – 1)(x² – 3). The rational zeros are therefore – 2 and 1/2, and the unresolved quadratic contributes the irrational zeros ±√3.
How the Rational Zero Theorem works
For an integer-coefficient polynomial aₙxⁿ + ... + a₁x + a₀, suppose a reduced fraction p/q is a rational zero. The theorem requires p to divide the constant term a₀ and q to divide the leading coefficient aₙ. That condition turns an infinite search through rational numbers into a finite checklist.
The theorem is a screening rule. It tells you where rational zeros may occur, but each candidate still has to be tested. The Emory Math Center explanation of rational roots and the factor theorem shows why a zero r corresponds to a linear factor x – r. For a broader workflow that combines candidate testing with polynomial division, consult Paul's Online Math Notes on finding polynomial zeros.
Zero constant terms and repeated roots
When a₀ is zero, x is already a factor and zero is a rational root. The calculator removes every trailing zero coefficient first, records the multiplicity of the root 0, and then applies the theorem to the remaining polynomial with a nonzero constant term. Repeated nonzero roots are detected exactly by testing successive derivatives at the same rational value. This avoids floating-point tolerances that can mistake a very small nonzero value for zero.
Common interpretation mistakes
- Do not treat the possible-root list as the final answer. Candidates with nonzero f(r) are not roots.
- Reduce duplicate fractions. Values such as 2/2 and 1/1 represent the same candidate.
- Use integer coefficients. If the original polynomial has rational coefficients, multiply the whole equation by a common denominator first; this preserves its zeros.
- Remember that “no rational zeros” does not mean “no zeros.” Every nonconstant polynomial has complex zeros, but they may not be rational.