Polynomials & Factoring

Rational Root Theorem: How to Find Every Possible Rational Root

Any rational root of a polynomial with integer coefficients, written in lowest terms as pq\frac{p}{q}, must have pp dividing the constant term and qq dividing the leading coefficient. That turns an endless guessing game into a short, finite list of candidates.

x=±pq,p∣a0,q∣anx = \pm\frac{p}{q}, \quad p \mid a_0, \quad q \mid a_n

The list holds suspects, not confirmed roots, so every candidate still has to be tested. Below you will find why the rule is true, how to run it cleanly with fractions and negatives, a shortcut that trims the list before any testing, and the cases where it comes up empty.

What is the rational root theorem?

The theorem applies to a polynomial anxn+an−1xn−1+⋯+a1x+a0a_nx^n + a_{n-1}x^{n-1} + \dots + a_1x + a_0 whose coefficients are all integers, with an≠0a_n \neq 0 and a0≠0a_0 \neq 0. The leading coefficient ana_n sits on the highest power (the degree of the polynomial tells you which power that is), and a0a_0 is the constant term. If x=pqx = \frac{p}{q} is a root and the fraction is fully reduced, then:

p∣a0andq∣anp \mid a_0 \quad \text{and} \quad q \mid a_n

The symbol ∣\mid reads “divides.” The same result is called the rational zero theorem, the rational root test and the p/qp/q theorem.

Direction matters. Every rational root is on the list, but not every item on the list is a root. A cubic might have 12 candidates and 3 roots, or 12 candidates and none. Treating a candidate as a root without substituting it is the most common way to lose points on this topic.

One special case is worth memorizing. When the leading coefficient is 11 (a monic polynomial), qq has to be 11, so every rational root is an integer dividing a0a_0. A monic integer polynomial can never have a root such as 12\frac{1}{2}: its real roots are integers or irrational numbers.

Quick check

Could 34\frac{3}{4} be a rational root of 2x3−5x+32x^3 - 5x + 3?

Why the rational root theorem works

The whole proof rests on one idea: after clearing denominators, every term but one is a multiple of qq, so that last term must be a multiple of qq too. Start with pq\frac{p}{q} substituted into the polynomial and set it equal to zero:

anpnqn+an−1pn−1qn−1+⋯+a0=0a_n\frac{p^n}{q^n} + a_{n-1}\frac{p^{n-1}}{q^{n-1}} + \dots + a_0 = 0

Multiply everything by qnq^n:

anpn+an−1pn−1q+⋯+a1pqn−1+a0qn=0a_np^n + a_{n-1}p^{n-1}q + \dots + a_1pq^{n-1} + a_0q^n = 0

Every term except the first contains a factor of qq. So anpna_np^n must be divisible by qq as well. Because pq\frac{p}{q} is in lowest terms, pp and qq share no prime factor, which means qq shares none with pnp^n either. The only way out is q∣anq \mid a_n.

Run the same argument on the other end. Every term except the last contains a factor of pp, so pp divides a0qna_0q^n, and since pp and qq are coprime, p∣a0p \mid a_0. This also explains why “lowest terms” is not decoration: the proof uses it twice, and a fraction like 64\frac{6}{4} would break the conclusion.

How to use the rational root theorem step by step

The method is four moves, and the last one repeats.

  1. Confirm the coefficients are integers and the constant term is not 00.
  2. List the divisors of a0a_0 (the values of pp) and of ana_n (the values of qq).
  3. Write every ±pq\pm\frac{p}{q} in lowest terms, listing each value once.
  4. Test candidates with synthetic division. A remainder of 00 means a root, and the quotient is a smaller polynomial to work on.

Example 1. Find all rational roots of 2x3−3x2−11x+6=02x^3 - 3x^2 - 11x + 6 = 0.

The constant term 66 has divisors 1,2,3,61, 2, 3, 6, and the leading coefficient 22 has divisors 1,21, 2. The candidates are:

±1, ±2, ±3, ±6, ±12, ±32\pm1,\ \pm2,\ \pm3,\ \pm6,\ \pm\tfrac{1}{2},\ \pm\tfrac{3}{2}

Test x=1x = 1: 2−3−11+6=−62 - 3 - 11 + 6 = -6, not zero. Test x=3x = 3:

2(27)−3(9)−11(3)+6=54−27−33+6=02(27) - 3(9) - 11(3) + 6 = 54 - 27 - 33 + 6 = 0

So 33 is a root. Synthetic division by x−3x - 3 on the coefficients 2,−3,−11,62, -3, -11, 6 gives 2,3,−22, 3, -2 with remainder 00, so the quotient is 2x2+3x−22x^2 + 3x - 2. That quadratic is a routine case for factoring trinomials:

2x2+3x−2=(2x−1)(x+2)2x^2 + 3x - 2 = (2x - 1)(x + 2)

The roots are x=3x = 3, x=12x = \frac{1}{2} and x=−2x = -2. Substituting each back into the original equation is a quick final check.

Reduce before you list

Candidates such as 22\frac{2}{2} and 62\frac{6}{2} collapse to 11 and 33, which are already on the list. Writing each value once keeps the list honest and shorter.

Rational root theorem with fractions and negative coefficients

The theorem demands integer coefficients, so a polynomial with fractions needs one preparation step: multiply every term by the least common denominator. The roots stay exactly the same. The trap is reading pp and qq from the original fractions, which gives a wrong list.

Example 2. Find the rational roots of 12x3−23x2−56x+13=0\frac{1}{2}x^3 - \frac{2}{3}x^2 - \frac{5}{6}x + \frac{1}{3} = 0.

The denominators are 2,3,6,32, 3, 6, 3, so the least common denominator is 66. Multiplying through by 66:

3x3−4x2−5x+2=03x^3 - 4x^2 - 5x + 2 = 0

Now p∣2p \mid 2 gives 1,21, 2 and q∣3q \mid 3 gives 1,31, 3, so the candidates are ±1,±2,±13,±23\pm1, \pm2, \pm\frac{1}{3}, \pm\frac{2}{3}. Test x=2x = 2: 24−16−10+2=024 - 16 - 10 + 2 = 0, so 22 is a root. Synthetic division on 3,−4,−5,23, -4, -5, 2 gives 3,2,−13, 2, -1 with remainder 00, and:

3x2+2x−1=(3x−1)(x+1)3x^2 + 2x - 1 = (3x - 1)(x + 1)

The roots are x=2x = 2, x=13x = \frac{1}{3} and x=−1x = -1. For decimals, multiply by a power of 1010 first, so 0.5x2−1.5x+10.5x^2 - 1.5x + 1 becomes x2−3x+2x^2 - 3x + 2 after multiplying by 22 (or by 1010, then dividing out the common factor).

Negatives need two habits. First, every candidate comes in both signs, so the list is always symmetric. Second, a negative leading coefficient changes nothing: only the size of the divisors matters, and multiplying the whole equation by −1-1 leaves the roots untouched. When the divisor qq is not 11, dividing by a factor like 2x−12x - 1 is a job for polynomial long division, though it is easier to divide by x−12x - \frac{1}{2} with synthetic division and then adjust.

Quick check

Clear the fractions in x34−x2+38=0\frac{x^3}{4} - \frac{x}{2} + \frac{3}{8} = 0, then list every possible rational root.

How to cut the list of possible rational roots down fast

Twelve rational root candidates sorted into five crossed out, two tested directly, five kept for testing
For 2x³ − 3x² − 11x + 6, checking q − p against f(1) and q + p against f(−1) removes 5 of 12 candidates.

Testing 12 candidates one at a time is slow. A better filter comes from the same idea as the proof. If pq\frac{p}{q} is a root, then f(x)=(qx−p) g(x)f(x) = (qx - p)\,g(x) for some polynomial gg with integer coefficients. Substitute x=1x = 1 and x=−1x = -1:

f(1)=(q−p) g(1),f(−1)=−(q+p) g(−1)f(1) = (q - p)\,g(1), \qquad f(-1) = -(q + p)\,g(-1)

So q−pq - p must divide f(1)f(1), and q+pq + p must divide f(−1)f(-1). Here pp carries its sign and qq is positive. Compute f(1)f(1) and f(−1)f(-1) once (each is the remainder from the remainder theorem when dividing by x−1x - 1 or x+1x + 1), then screen every candidate with two quick divisions.

Apply it to Example 1, where f(1)=−6f(1) = -6 and f(−1)=12f(-1) = 12. The candidate 32\frac{3}{2} has q+p=5q + p = 5, which does not divide 1212, so it is out. The candidate 66 has q−p=−5q - p = -5, which does not divide −6-6, so it is out. The same test removes −3-3, −6-6 and −32-\frac{3}{2}. The two candidates ±1\pm1 are tested directly, since q−pq - p would be 00. That leaves only 2,−2,3,12,−122, -2, 3, \frac{1}{2}, -\frac{1}{2} to test, down from 12, and the three true roots all survive.

Try this: For f(x)=3x3−4x2−5x+2f(x) = 3x^3 - 4x^2 - 5x + 2, compute f(1)f(1) and f(−1)f(-1), then use the divisibility screen to rule out −2-2 and −23-\frac{2}{3} without substituting them.

A second filter limits signs. Descartes’ rule of signs says the number of positive roots is at most the number of sign changes in f(x)f(x), and the same count on f(−x)f(-x) bounds the negative roots. In Example 1 the signs run +,−,−,++,-,-,+, which is 2 changes, so there are 2 or 0 positive roots. For f(−x)f(-x) the signs run −,−,+,+-,-,+,+, which is 1 change, so exactly 1 negative root. That matches 33, 12\frac{1}{2} and −2-2.

When a cubic has four terms, factoring by grouping is sometimes faster than any root hunt. Check for it before listing candidates.

When the rational root theorem finds no roots

If every candidate fails, the polynomial has no rational roots. That conclusion is a guarantee, not a failure of the method.

Example 3. Does x3−3x−1=0x^3 - 3x - 1 = 0 have a rational root?

The polynomial is monic with constant term −1-1, so the only candidates are ±1\pm1. Then f(1)=1−3−1=−3f(1) = 1 - 3 - 1 = -3 and f(−1)=−1+3−1=1f(-1) = -1 + 3 - 1 = 1. Neither is zero, so there are no rational roots. The three real roots are all irrational. The same logic proves 2\sqrt{2} is irrational: it is a root of x2−2x^2 - 2, whose only candidates ±1,±2\pm1, \pm2 all fail.

Know where the test goes quiet:

  • Zero constant term. The theorem needs a0≠0a_0 \neq 0, since every integer divides 00. Factor out the GCF first: x4−5x3+6x2=x2(x−2)(x−3)x^4 - 5x^3 + 6x^2 = x^2(x-2)(x-3) shows x=0x = 0 is a root, then the theorem handles the rest.
  • Irrational or complex roots. These never appear on the list. After dividing out the rational roots, use the quadratic formula on what remains (the quadratic formula practice problems cover that step).
  • Degree 4 and higher. No rational roots does not mean it cannot be factored. The polynomial x4+4=(x2+2x+2)(x2−2x+2)x^4 + 4 = (x^2 + 2x + 2)(x^2 - 2x + 2) has no rational roots and still factors over the integers.

For degree 2 or 3, though, having no rational root does settle one thing: the polynomial cannot be split into lower-degree pieces with rational coefficients.

Quick check

How many rational roots does x3+x2+3x^3 + x^2 + 3 have?

Rational root theorem vs the factor theorem

These two get blended together because they are always used in tandem, but they do opposite jobs. The rational root theorem proposes candidates. The factor theorem confirms one: if f(r)=0f(r) = 0, then x−rx - r is a factor, and if f(r)≠0f(r) \neq 0, it is not.

Roots give integer factors

A root pq\frac{p}{q} gives the factor (qx−p)(qx - p), not (x−pq)(x - \frac{p}{q}). For the root 12\frac{1}{2} the clean factor is (2x−1)(2x - 1), and it keeps every coefficient an integer.

It also helps to separate it from the quadratic formula. For a quadratic the formula finds every root, rational or not, so the theorem is mostly a shortcut for spotting nice factors. For a cubic, quartic or higher, there is no formula you would want to use by hand, and the rational root theorem is the standard way in: find one rational root, divide it out, and the degree drops by one.

After the first division, restart the theorem on the smaller polynomial. Its candidate list is shorter, and sometimes the leftover is a quadratic you can finish with patterns like the difference of two squares. For more repetition on those finishing moves, the factoring practice problems page is the place to build speed.

Where the rational root theorem is used outside homework

Its best-known application is proving that numbers are irrational. Any number that is a root of a monic integer polynomial with no integer roots is irrational. That covers 2\sqrt{2}, 53\sqrt[3]{5} and many more, with no cleverness needed beyond writing the polynomial.

The same logic settles a classical geometry question: whether a 60∘60^\circ angle can be trisected with compass and straightedge. Writing y=2cos⁡20∘y = 2\cos 20^\circ, the triple-angle identity gives y3−3y−1=0y^3 - 3y - 1 = 0, the polynomial from Example 3. It has no rational root, so yy cannot be built from rational lengths using only square roots, and the construction is impossible.

In linear algebra, the eigenvalues of a matrix are roots of its characteristic polynomial, which is built from a determinant (see the determinant of a 3×3 matrix). For a matrix with integer entries, that polynomial is monic with integer coefficients. The theorem then says any rational eigenvalue is an integer dividing the constant term, which cuts the search to a handful of numbers.

Engineering and physics problems often reduce to integer polynomials, such as the equation for a circuit’s resonant behavior or a mechanical system’s natural modes. Checking for rational roots first is the cheapest way to find clean, exact solutions before reaching for a numerical solver.

Practice problems

0 of 5 solved

  1. List every possible rational root of 3x3−5x2+2x−43x^3 - 5x^2 + 2x - 4.

  2. Find all rational roots of x3−6x2+11x−6=0x^3 - 6x^2 + 11x - 6 = 0.

  3. Solve 2x3+3x2−8x+3=02x^3 + 3x^2 - 8x + 3 = 0.

  4. Solve 4x3−8x2−x+2=04x^3 - 8x^2 - x + 2 = 0.

  5. Find all real roots of 2x4+5x3−7x2−10x+6=02x^4 + 5x^3 - 7x^2 - 10x + 6 = 0.

Common questions

What is the rational root theorem used for?

It produces a finite list of possible rational roots for a polynomial with integer coefficients. You then test the list to find actual roots, which lets you factor higher-degree polynomials that have no simple pattern.

Does the rational root theorem find all the roots?

No. It can only find rational roots. Irrational roots such as 2\sqrt{2} and complex roots are invisible to it, so you finish with factoring or the quadratic formula on whatever polynomial is left.

Is the rational zero theorem the same as the rational root theorem?

Yes. Rational zero theorem, rational root test and the p/qp/q theorem are all names for the same result. Zeros of a function and roots of an equation are the same numbers.

What if the leading coefficient is 1?

Then qq must be 11, so every rational root is an integer that divides the constant term. A monic polynomial with integer coefficients can never have a root like 12\frac{1}{2}.

What do you do if the polynomial has fractions or decimals?

Multiply every term by the least common denominator (or a power of 1010) to get integer coefficients. The roots do not change, and the theorem then applies to the new coefficients.

What if the constant term is 0?

Factor out the lowest power of xx first. That shows x=0x=0 is a root, and the theorem then applies to the smaller polynomial that remains.

Up next