ALGEBRAAlgebraMathematics Calculator
Q

Rational Zeros Theorem

If p/q (lowest terms) is a rational zero of P(x)=aₙxⁿ+...+a₀, then p divides a₀ and q divides aₙ. Candidates: ±(factors of a₀)/(factors of aₙ). Test each with synthetic division.

Concept Fundamentals
p|a₀, q|aₙ
Theorem
±p/q
Candidates
P(p/q)=0?
Test
Divide by (x−r)
Synthetic

Did our AI summary help? Let us know.

Only finitely many candidates — test each. No rational roots? Try numerical methods. If p/q is a root, qx−p divides P(x). For integer roots, q=1 so p|a₀. After finding one root, factor it out and repeat on the quotient.

Key quantities
p|a₀, q|aₙ
Theorem
Key relation
±p/q
Candidates
Key relation
P(p/q)=0?
Test
Key relation
Divide by (x−r)
Synthetic
Key relation

Ready to run the numbers?

Why: Rational zeros theorem narrows polynomial root search from infinitely many to a finite list. Test candidates quickly with synthetic division. Foundational for factoring and solving polynomial equations.

How: List factors of constant a₀ and leading aₙ. Form ±p/q for each p|a₀, q|aₙ in lowest terms. Test each: P(p/q)=0? If yes, (x−p/q) is a factor. Use synthetic division to factor and repeat.

Only finitely many candidates — test each. No rational roots? Try numerical methods.If p/q is a root, qx−p divides P(x). For integer roots, q=1 so p|a₀.

Run the calculator when you are ready.

Find Rational ZerosPossible p/q, test, factor

📐 Examples — Click to Load

Coefficients (highest power first)

P(x) = x^3 - 6x^2 + 11x - 6
rational_zeros --poly "x^3 - 6x^2 + 11x - 6"
CALCULATED
Possible (p/q)
-6, -3, -2, -1, 1, 2, 3, 6
Actual Zeros
1, 2, 3
Leading / Const
1 / -6
Factorization
(x - 1) × (x - 2) × (x - 3)
Share:

Candidates Tested (Green = Root)

Actual Roots vs Non-Roots

Step 1: P(x) = x^3 - 6x^2 + 11x - 6
Step 2: Degree = 3, Leading coeff = 1, Constant = -6
Step 3: Factors of |-6|: 1, 2, 3, 6
Step 4: Factors of |1|: 1
Step 5: Possible rational zeros p/q: -6, -3, -2, -1, 1, 2, 3, 6
Step 6: Testing each candidate:
P(-6) = -5.0400e+2 → ✗ not zero
P(-3) = -1.2000e+2 → ✗ not zero
P(-2) = -6.0000e+1 → ✗ not zero
P(-1) = -2.4000e+1 → ✗ not zero
P(1) = 0.0000e+0 → ✓ ZERO
P(2) = 0.0000e+0 → ✓ ZERO
P(3) = 0.0000e+0 → ✓ ZERO
P(6) = 6.0000e+1 → ✗ not zero
Step 7: Actual rational zeros: 1, 2, 3
Step 8: Factorization: (x - 1) × (x - 2) × (x - 3)

For educational and informational purposes only. Verify with a qualified professional.

🧮 Fascinating Math Facts

📐

x³−2x+1: factors of 1 are ±1. Test P(1)=0 so (x−1) is a factor.

— Example

Q

p and q must be in lowest terms — 2/4 reduces to 1/2.

— Theorem

📋 Key Takeaways

  • • The Rational Zeros Theorem states: if P(x) has integer coefficients and p/q (in lowest terms) is a rational zero, then p divides the constant term and q divides the leading coefficient.
  • • This theorem gives a finite list of candidates to test — no guessing needed.
  • • If the constant term is 0, then 0 is always a root (factor out x first).
  • • Not every polynomial has rational roots; some have only irrational or complex zeros.

💡 Did You Know?

📐The rational root theorem was known to Descartes and is sometimes called the "p/q test"Source: History of Algebra
🔢For x³-6x²+11x-6, factors of 6 are ±1,±2,±3,±6 and of 1 is ±1, so you only test ±1,±2,±3,±6Source: Purplemath
Synthetic division is the fastest way to test candidates — it also gives the quotient polynomialSource: Khan Academy
📊A polynomial of degree n has at most n roots (real or complex) by the Fundamental Theorem of AlgebraSource: College Algebra
🎯Always test the smallest candidates first — they often work and reduce the degree for remaining testsSource: Expert Tip
🔬Engineers use this theorem to find exact roots of characteristic polynomials in control theorySource: Engineering Math

📖 How the Rational Zeros Theorem Works

For P(x) = aₙxⁿ + aₙ₋₁xⁿ⁻¹ + ... + a₁x + a₀ with integer coefficients, if p/q (in lowest terms) is a rational zero, then:

p | a₀ (p divides the constant term)
q | aₙ (q divides the leading coefficient)

Testing strategy: List all ±(factor of a₀)/(factor of aₙ), remove duplicates, then evaluate P(x) at each. Use synthetic division to speed this up and to factor the polynomial once you find a root.

🎯 Expert Tips

💡 Factor Out x First

If the constant term is 0, x is a factor. Divide by x and apply the theorem to the quotient.

💡 Use Synthetic Division

When testing r, synthetic division by (x-r) gives the quotient. If remainder is 0, r is a root.

💡 No Rational Roots?

Try numerical methods or the quadratic formula for the depressed polynomial after finding some roots.

💡 Check Your Signs

Include both positive and negative factors of the constant term when building the candidate list.

📊 Quick Reference Table

TermMeaning
pFactor of constant term a₀
qFactor of leading coefficient aₙ
p/qCandidate rational zero (in lowest terms)
P(r)=0r is a zero/root of the polynomial

❓ FAQ

What is the rational zeros theorem?

It states that for a polynomial with integer coefficients, any rational zero p/q (in lowest terms) must have p dividing the constant term and q dividing the leading coefficient. This gives a finite list of candidates to test.

Why might a polynomial have no rational roots?

Many polynomials have only irrational roots (e.g., √2) or complex roots. The theorem only guarantees that IF there is a rational root, it must be in the candidate list.

How do I test each candidate?

Evaluate P(x) at each candidate. If P(r)=0, then r is a root. Synthetic division is faster: divide P(x) by (x-r); if the remainder is 0, r is a root.

What if the constant term is 0?

Then 0 is always a root. Factor out x and apply the theorem to the quotient polynomial.

Can I use this for polynomials with non-integer coefficients?

Not directly. Multiply through by a common denominator to get integer coefficients first, then apply the theorem.

How does this connect to synthetic division?

Synthetic division by (x-r) tests whether r is a root (remainder 0) and gives the quotient polynomial for further factoring.

⚠️ Disclaimer: This calculator applies the Rational Zeros Theorem to polynomials with integer coefficients. Results are exact for rational roots; irrational or complex roots require additional methods. For educational use.

👈 START HERE
⬅️Jump in and explore the concept!
AI

Related Calculators

Cubic Equation Calculator

Solve cubic equations ax³+bx²+cx+d=0 using Cardano's formula. Find all roots (real and complex), discriminant analysis, Vieta's relations, depressed cubic form, and step-by-step solutions. Essential for polynomial theory, physics, and engineering applications.

Mathematics

Polynomial Factoring Calculator

Factor polynomials using GCF, difference of squares, sum/difference of cubes, factor by grouping, and rational root theorem. Complete factorization with...

Mathematics

Polynomial Root Calculator

Find real and complex roots of polynomials up to degree 4. Uses quadratic formula for exact solutions, numerical methods for cubic and quartic. Includes rational root theorem, Descartes' rule of signs, multiplicity, and upper/lower bounds. Bar and doughnut charts for root visualization.

Mathematics

Polynomial Root Finder Calculator

Find all roots of polynomials up to degree 4 using Newton's method, bisection method, secant method, or analytical formulas. Input coefficients (highest degree first), initial guess, tolerance, and max iterations. Results include roots found, iterations needed, convergence rate, and error estimate. Bar chart of root values, Doughnut showing iteration distribution. Examples: x²-2 (√2), x³-x-1, x⁴-10x²+9, Wilkinson's polynomial, engineering frequency equation, financial IRR. Educational content on numerical methods overview, convergence criteria, Newton vs bisection, when analytical formulas fail.

Mathematics

Box Method Calculator

Multiply polynomials visually using the box method (area model). Step-by-step solutions for binomials, trinomials, and factoring. Interactive grid...

Mathematics

Completing the Square Calculator

Convert quadratic expressions from standard form ax²+bx+c to vertex form a(x-h)²+k. Find vertex, axis of symmetry, x-intercepts, and min/max values....

Mathematics