Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Use the Rational Root Test

If a polynomial with integer coefficients has a rational root pq\frac{p}{q} in lowest terms, then pp divides the constant term and qq divides the leading coefficient. That turns an infinite search into a short list to test.

Recognize the task

"List the possible rational roots", "find all rational zeros of …", or a cubic or higher with integer coefficients that does not factor by sight: 2x3−3x2−11x+62x^3 - 3x^2 - 11x + 6, x3−2x−4x^3 - 2x - 4.
The theorem is the rational root theorem, with worked applications and Descartes’ rule of signs to shorten the list.

Steps

StepOn 2x3−3x2−11x+62x^3 - 3x^2 - 11x + 6
1List p: the factors of the constant term. Both signs.p=±1,±2,±3,±6p = \pm 1, \pm 2, \pm 3, \pm 6
2List q: the factors of the leading coefficient, and form p/q. Remove duplicates.q=1,2q = 1, 2: candidates ±1,±2,±3,±6,±12,±32\pm 1, \pm 2, \pm 3, \pm 6, \pm\tfrac{1}{2}, \pm\tfrac{3}{2}
3Test candidates. Substitute, or use synthetic division; a remainder of 00 means a root.f(1)=−6f(1) = -6, f(−1)=12f(-1) = 12, f(3)=54−27−33+6=0f(3) = 54 - 27 - 33 + 6 = 0 ✓
4Divide out the root and continue on the quotient. Each root found lowers the degree by one.(x−3)(2x2+3x−2)=(x−3)(2x−1)(x+2)(x - 3)(2x^2 + 3x - 2) = (x - 3)(2x - 1)(x + 2): roots 3,12,−23, \tfrac{1}{2}, -2

Worked examples

Example 1 · one rational root

quotient has no real roots
x3−2x−4x^3 - 2x - 4: candidates ±1,±2,±4\pm 1, \pm 2, \pm 4; f(2)=0f(2) = 0
(x−2)(x2+2x+2)(x - 2)(x^2 + 2x + 2): the only real root is 22
Δ=4−8<0\Delta = 4 - 8 < 0

Example 2 · no rational roots

the test can come up empty
x3−3x+1x^3 - 3x + 1: candidates ±1\pm 1; f(1)=−1f(1) = -1, f(−1)=3f(-1) = 3
no rational roots (its three real roots are irrational)

Example 3 · the trace

fractional root
2x3−3x2−11x+62x^3 - 3x^2 - 11x + 6: x=3x = 3 works
divide: 2x2+3x−22x^2 + 3x - 2
roots 3,12,−23, \tfrac{1}{2}, -2

See it happen

Substitute x=pqx = \frac{p}{q} and clear denominators: every term but the last contains pp, and every term but the first contains qq. For the sum to be zero, pp must divide the constant and qq the leading coefficient. That divisibility is the whole theorem.

Common mistakes

Swapping p and q

✗ candidates factors of 22 over factors of 66
✓ pp from the constant term, qq from the leading coefficient

Forgetting negative candidates

✗ testing only 1,2,3,61, 2, 3, 6
✓ test ±\pm each

Concluding "no roots" from no rational roots

✗ x3−3x+1x^3 - 3x + 1 has no roots
✓ it has three irrational roots; the test only finds rational ones