Rational Root Test

For a polynomial with integer coefficients, any rational root must be a factor of the constant term divided by a factor of the leading coefficient.

Separate them with spaces or commas, and use 0 for any missing term. For 2x3 − 3x2 + 5, enter 2 -3 0 5

Your polynomial

2x3 + 5x2 − 4x − 3

Rational roots

Factored using these roots:

(x + 3)(2x + 1)(x − 1)

Candidates tested

Factors of the constant term −3 (p): ±1, ±3
Factors of the leading coefficient 2 (q): ±1, ±2

8 candidates in total (each value above, positive and negative).

How the Rational Root Test works

What it is for

There is no quick formula for solving a polynomial of degree 3 or higher, so the usual approach is to find one root, factor it out, and repeat. The trouble is knowing where to start looking. The Rational Root Test turns an endless guessing game into a short checklist: it gives you the only whole numbers and fractions that could possibly be roots.

The rule

Take a polynomial whose coefficients are all integers. If a fraction p/q (in lowest terms) is a root, then:

So you list the factors of each, build every possible p/q (positive and negative), and test them one at a time.

A worked example

Find the roots of 2x3 + 5x2 − 4x − 3.

  1. Factors of the constant term −3 (p): ±1, ±3.
  2. Factors of the leading coefficient 2 (q): ±1, ±2.
  3. Possible roots p/q: ±1, ±3, ±1/2, ±3/2. That is only eight numbers to check.
  4. Test them by substituting. Trying x = 1 gives 2 + 5 − 4 − 3 = 0, so 1 is a root and (x − 1) is a factor.
  5. Divide by (x − 1) to get 2x2 + 7x + 3, which factors as (2x + 1)(x + 3).
  6. The roots are 1, −1/2 and −3. All three were on the list.

Try this example

Why it works

Suppose p/q is a root of ax3 + bx2 + cx + d. Substitute it in and multiply both sides by q3 to clear the fractions:

ap3 + bp2q + cpq2 + dq3 = 0

Every term except the last contains p, so p must divide dq3 as well. Since p and q share no factors, p must divide d, the constant term. In the same way, every term except the first contains q, so q must divide a, the leading coefficient. The same argument works for any degree.

What it does not tell you