Rational Root Theorem

The Rational Root Theorem tells you which rational numbers could possibly be roots of a polynomial with integer coefficients.

x=±pq,pa0,;qanx = \pm\frac{p}{q}, \quad p \mid a_0, ; q \mid a_n

Solve a problem with Rational Root Theorem

Type the problem. The solver will use Rational Root Theorem where Rational Root Theorem is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Rational Root Theorem takes
pp
qq
a0a_0
ana_n
xx
Rational Root Theorem
SymbolMeaning
ppThe numerator of a potential rational root written as p/qp/q in lowest terms; must be an integer divisor of a0a_0.
qqThe denominator of a potential rational root written as p/qp/q in lowest terms; must be an integer divisor of ana_n.
a0a_0The constant term of the polynomial—the term with no variable xx—which the numerator pp must divide.
ana_nThe leading coefficient, which is the coefficient of the highest-power term in the polynomial; the denominator qq must divide it.
xxThe unknown variable in the polynomial equation; you are solving for which rational values of xx make the polynomial equal zero.

When to use it

You reach for the Rational Root Theorem when you need to find rational roots of a polynomial equation with integer coefficients.

Level

Usually taught in: Algebra II

Worked examples

1. Find all rational roots of a cubic with integer roots

Problem

Find all rational roots of x36x2+11x6=0x^3 - 6x^2 + 11x - 6 = 0.
  1. a0=6,an=1a_0 = -6, \quad a_n = 1

    Identify the constant term a0a_0 (the term with no xx) and the leading coefficient ana_n (coefficient of x3x^3).

  2. Divisors of 6:±1,±2,±3,±6\text{Divisors of } -6: \pm 1, \pm 2, \pm 3, \pm 6

    Find all integer divisors of the constant term; any potential numerator pp must be on this list.

  3. Divisors of 1:±1\text{Divisors of } 1: \pm 1

    Find all integer divisors of the leading coefficient; any potential denominator qq must be on this list.

  4. x=±1,±2,±3,±6x = \pm 1, \pm 2, \pm 3, \pm 6

    These are all possible rational roots; since q{±1}q \in \{\pm 1\}, the candidates are just integers.

  5. (1)36(1)2+11(1)6=16+116=0(1)^3 - 6(1)^2 + 11(1) - 6 = 1 - 6 + 11 - 6 = 0

    Test x=1x = 1 by substituting into the polynomial; it equals zero, so x=1x = 1 is a root.

  6. (2)36(2)2+11(2)6=824+226=0(2)^3 - 6(2)^2 + 11(2) - 6 = 8 - 24 + 22 - 6 = 0

    Test x=2x = 2; substitution yields zero, confirming x=2x = 2 is a root.

  7. (3)36(3)2+11(3)6=2754+336=0(3)^3 - 6(3)^2 + 11(3) - 6 = 27 - 54 + 33 - 6 = 0

    Test x=3x = 3; substitution yields zero, so x=3x = 3 is a root.

Answer: x=1,2, or 3x = 1, 2, \text{ or } 3

The Rational Root Theorem generated four candidates (±1,±2,±3,±6\pm 1, \pm 2, \pm 3, \pm 6), but testing revealed only three are actual roots. Since an=1a_n = 1, we knew any rational root had to be an integer, which reduced the search to just eight candidates instead of sixteen.

2. Find rational roots when the leading coefficient is not 1

Problem

Find all rational roots of 2x3+3x28x12=02x^3 + 3x^2 - 8x - 12 = 0.
  1. a0=12,an=2a_0 = -12, \quad a_n = 2

    The constant term is 12-12 and the leading coefficient of x3x^3 is 22.

  2. Divisors of 12:±1,±2,±3,±4,±6,±12\text{Divisors of } -12: \pm 1, \pm 2, \pm 3, \pm 4, \pm 6, \pm 12

    Find all divisors of a0=12a_0 = -12 for possible numerators.

  3. Divisors of 2:±1,±2\text{Divisors of } 2: \pm 1, \pm 2

    Find all divisors of an=2a_n = 2 for possible denominators.

  4. x=±1,±2,±3,±4,±6,±12,±12,±32,±52,±72x = \pm 1, \pm 2, \pm 3, \pm 4, \pm 6, \pm 12, \pm \frac{1}{2}, \pm \frac{3}{2}, \pm \frac{5}{2}, \pm \frac{7}{2}

    List all combinations of divisors as pq\frac{p}{q}; there are now fractional candidates because an1a_n \neq 1.

  5. 2(2)3+3(2)28(2)12=16+121612=02(2)^3 + 3(2)^2 - 8(2) - 12 = 16 + 12 - 16 - 12 = 0

    Test x=2x = 2; it equals zero, so x=2x = 2 is a root.

  6. 2(2)3+3(2)28(2)12=16+12+1612=02(-2)^3 + 3(-2)^2 - 8(-2) - 12 = -16 + 12 + 16 - 12 = 0

    Test x=2x = -2; it also satisfies the equation, so x=2x = -2 is a root.

  7. 2(32)3+3(32)28(32)12=274+274+1212=02 \left( -\frac{3}{2} \right)^3 + 3 \left( -\frac{3}{2} \right)^2 - 8 \left( -\frac{3}{2} \right) - 12 = -\frac{27}{4} + \frac{27}{4} + 12 - 12 = 0

    Test the fractional candidate x=32x = -\frac{3}{2}; it satisfies the equation, showing that fractions are possible roots when an1a_n \neq 1.

Answer: x=2,2, or 32x = 2, -2, \text{ or } -\frac{3}{2}

When the leading coefficient is not 11, fractional candidates become possible, and the candidate list grew significantly. However, testing still revealed only three roots among all the candidates. The theorem provides the search space, but verification remains essential.

3. Apply the theorem to a word problem about basketball jersey sales

Problem

During a basketball season, the profit (in thousands of dollars) from selling team jerseys is modeled by P(x)=x34x27x+10P(x) = x^3 - 4x^2 - 7x + 10, where xx is the number of thousands of jerseys sold. Find the rational values of xx where profit is zero.
  1. a0=10,an=1a_0 = 10, \quad a_n = 1

    From the profit function, the constant term is 1010 and the leading coefficient is 11.

  2. Divisors of 10:±1,±2,±5,±10\text{Divisors of } 10: \pm 1, \pm 2, \pm 5, \pm 10

    List all divisors of the constant term.

  3. Divisors of 1:±1\text{Divisors of } 1: \pm 1

    The leading coefficient is 11, so rational roots must be integers.

  4. x=±1,±2,±5,±10x = \pm 1, \pm 2, \pm 5, \pm 10

    These eight integer candidates are the only possible rational roots.

  5. (1)34(1)27(1)+10=147+10=0(1)^3 - 4(1)^2 - 7(1) + 10 = 1 - 4 - 7 + 10 = 0

    Test x=1x = 1 thousand jerseys; profit is zero at this sales level.

  6. (2)34(2)27(2)+10=816+14+10=0(-2)^3 - 4(-2)^2 - 7(-2) + 10 = -8 - 16 + 14 + 10 = 0

    Test x=2x = -2; while negative (not meaningful for quantity), it is a valid mathematical root.

  7. (5)34(5)27(5)+10=12510035+10=0(5)^3 - 4(5)^2 - 7(5) + 10 = 125 - 100 - 35 + 10 = 0

    Test x=5x = 5 thousand jerseys; profit is zero at this higher sales level.

Answer: x=1,2, or 5 (only x=1 and x=5 are meaningful for jersey quantity)x = 1, -2, \text{ or } 5 \text{ (only } x = 1 \text{ and } x = 5 \text{ are meaningful for jersey quantity)}

The Rational Root Theorem narrowed the search to eight integer candidates. In context, negative quantities have no meaning, so only x=1x = 1 and x=5x = 5 represent practical break-even points—but mathematically, all three are legitimate roots of the profit polynomial.

Common mistakes

Where Rational Root Theorem usually goes wrong
Answer came out wrong
Students assume all divisors of the constant term are guaranteed roots, writing "±1,±2,±3,±6\pm 1, \pm 2, \pm 3, \pm 6 are all roots of x36x2+11x6=0x^3 - 6x^2 + 11x - 6 = 0 because they divide 6."
Test each candidate by substitution: keep those that yield zero (true roots) and discard the rest.
Students include x=2x = \sqrt{2} as a candidate for x33x+1=0x^3 - 3x + 1 = 0 because 22 divides the constant term.
Only test values where the numerator pp and denominator qq are both integers that divide the respective polynomial coefficients.
For 2x35x+4=02x^3 - 5x + 4 = 0, a student uses a0=5a_0 = -5 (the coefficient of xx) instead of a0=4a_0 = 4 (the constant term).
Identify a0=4a_0 = 4 and an=2a_n = 2 correctly; the numerator pp divides 44 and the denominator qq divides 22.
The mistakeWhy it is wrongThe fix
Students assume all divisors of the constant term are guaranteed roots, writing "±1,±2,±3,±6\pm 1, \pm 2, \pm 3, \pm 6 are all roots of x36x2+11x6=0x^3 - 6x^2 + 11x - 6 = 0 because they divide 6."The Rational Root Theorem only provides a list of candidates; the actual roots must be verified by substituting each candidate into the polynomial.Test each candidate by substitution: keep those that yield zero (true roots) and discard the rest.
Students include x=2x = \sqrt{2} as a candidate for x33x+1=0x^3 - 3x + 1 = 0 because 22 divides the constant term.The Rational Root Theorem applies only to rational roots of the form pq\frac{p}{q} where both pp and qq are integers; 2\sqrt{2} is irrational and lies outside the theorem's scope.Only test values where the numerator pp and denominator qq are both integers that divide the respective polynomial coefficients.
For 2x35x+4=02x^3 - 5x + 4 = 0, a student uses a0=5a_0 = -5 (the coefficient of xx) instead of a0=4a_0 = 4 (the constant term).a0a_0 must be the constant term, which is the term that contains no variable xx at all; 5-5 is the coefficient of the xx term, not the constant.Identify a0=4a_0 = 4 and an=2a_n = 2 correctly; the numerator pp divides 44 and the denominator qq divides 22.

Tips and when to use something else

  • The Rational Root Theorem gives you a list of candidates—you must test every one by substituting into the polynomial to determine which are actual roots.
  • If the leading coefficient is 11, any rational root must be an integer; you can eliminate all fractional candidates immediately.
  • To speed up the testing process, use synthetic division instead of direct substitution, or apply numerical methods like Newton-Raphson if no rational candidates work.
  • Factor out any common monomial factors from the polynomial first; this simplifies the coefficients and reduces the number of candidates to test.

Frequently asked questions

What if my polynomial has fractions or decimals as coefficients?
The Rational Root Theorem requires all coefficients to be integers. Multiply the entire polynomial by an appropriate constant to clear fractions and decimals without changing the roots, then apply the theorem.
Can the Rational Root Theorem miss a rational root?
No. If pq\frac{p}{q} is a rational root (in lowest terms), the theorem guarantees that pp divides a0a_0 and qq divides ana_n. However, not all candidates are roots—you must verify each by substitution.
How is the Rational Root Theorem different from the Factor Theorem?
The Rational Root Theorem predicts which rational numbers might be roots of a polynomial. The Factor Theorem states that if rr is a root of P(x)P(x), then (xr)(x-r) is a factor. Use the theorem to generate candidates, then the Factor Theorem to confirm and factor.
Do I have to test every candidate if I've already found enough roots?
While a cubic has at most three roots (so you could stop early), testing all candidates systematically is best practice to ensure you have found every rational root and to avoid overlooking solutions.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18