Rational root theorem

From HandWiki
Short description: Relationship between the rational roots of a polynomial and its extreme coefficients

In algebra, the rational root theorem (or rational root test, rational zero theorem, rational zero test or p/q theorem) states a constraint on rational solutions of a polynomial equation

[math]\displaystyle{ a_nx^n+a_{n-1}x^{n-1}+\cdots+a_0 = 0 }[/math]

with integer coefficients [math]\displaystyle{ a_i\in\mathbb{Z} }[/math] and [math]\displaystyle{ a_0,a_n \neq 0 }[/math]. Solutions of the equation are also called roots or zeros of the polynomial on the left side.

The theorem states that each rational solution x = pq, written in lowest terms so that p and q are relatively prime, satisfies:

The rational root theorem is a special case (for a single linear factor) of Gauss's lemma on the factorization of polynomials. The integral root theorem is the special case of the rational root theorem when the leading coefficient is an = 1.

Application

The theorem is used to find all rational roots of a polynomial, if any. It gives a finite number of possible fractions which can be checked to see if they are roots. If a rational root x = r is found, a linear polynomial (xr) can be factored out of the polynomial using polynomial long division, resulting in a polynomial of lower degree whose roots are also roots of the original polynomial.

Cubic equation

The general cubic equation

[math]\displaystyle{ ax^3+bx^2+cx+d=0 }[/math]

with integer coefficients has three solutions in the complex plane. If the rational root test finds no rational solutions, then the only way to express the solutions algebraically uses cube roots. But if the test finds a rational solution r, then factoring out (xr) leaves a quadratic polynomial whose two roots, found with the quadratic formula, are the remaining two roots of the cubic, avoiding cube roots.

Proofs

Elementary proof

Let [math]\displaystyle{ P(x) \ =\ a_n x^n + a_{n-1} x^{n-1} + \cdots + a_1 x + a_0 }[/math] with [math]\displaystyle{ a_0, \ldots a_n \in \mathbb{Z}. }[/math]

Suppose P(p/q) = 0 for some coprime p, q:

[math]\displaystyle{ P\left(\tfrac{p}{q}\right) = a_n\left(\tfrac{p}{q}\right)^n + a_{n-1}\left(\tfrac{p}{q}\right)^{n-1} + \cdots + a_1 \left(\tfrac{p}{q}\right) + a_0 = 0. }[/math]

To clear denominators, multiply both sides by qn:

[math]\displaystyle{ a_n p^n + a_{n-1} p^{n-1}q + \cdots + a_1 p q^{n-1} + a_0 q^n = 0. }[/math]

Shifting the a0 term to the right side and factoring out p on the left side produces:

[math]\displaystyle{ p \left (a_np^{n-1} + a_{n-1}qp^{n-2} + \cdots + a_1q^{n-1} \right ) = -a_0q^n. }[/math]

Thus, p divides a0qn. But p is coprime to q and therefore to qn, so by Euclid's lemma p must divide the remaining factor a0.

On the other hand, shifting the an term to the right side and factoring out q on the left side produces:

[math]\displaystyle{ q \left (a_{n-1}p^{n-1} + a_{n-2}qp^{n-2} + \cdots + a_0q^{n-1} \right ) = -a_np^n. }[/math]

Reasoning as before, it follows that q divides an.[1]

Proof using Gauss's lemma

Should there be a nontrivial factor dividing all the coefficients of the polynomial, then one can divide by the greatest common divisor of the coefficients so as to obtain a primitive polynomial in the sense of Gauss's lemma; this does not alter the set of rational roots and only strengthens the divisibility conditions. That lemma says that if the polynomial factors in Q[X], then it also factors in Z[X] as a product of primitive polynomials. Now any rational root p/q corresponds to a factor of degree 1 in Q[X] of the polynomial, and its primitive representative is then qxp, assuming that p and q are coprime. But any multiple in Z[X] of qxp has leading term divisible by q and constant term divisible by p, which proves the statement. This argument shows that more generally, any irreducible factor of P can be supposed to have integer coefficients, and leading and constant coefficients dividing the corresponding coefficients of P.

Proof using Vieta's formulas

Given a polynomial of degree n:

[math]\displaystyle{ P(x) = {a_nx^n}+{a_{n-1} x^{n-1}}+\cdots+{a_1x}+{a_0} }[/math], [math]\displaystyle{ {a_i}\in \mathbb{Z} }[/math]

Let [math]\displaystyle{ r_1 }[/math],[math]\displaystyle{ {r_2} }[/math],[math]\displaystyle{ \cdots }[/math],[math]\displaystyle{ {r_n} }[/math] be roots of [math]\displaystyle{ P(x) }[/math], where [math]\displaystyle{ {r_i} \in {\mathbb{C}} }[/math]. By Vieta's formulas:

[math]\displaystyle{ {r_1}{r_2}\cdots{r_n} = {(-1)^n}{a_0 \over a_n} }[/math]

Suppose there exist some coprime [math]\displaystyle{ p,q \in }[/math] [math]\displaystyle{ \mathbb{Z} }[/math] such that [math]\displaystyle{ P({p \over q}) = 0 }[/math]. Then [math]\displaystyle{ p \over q }[/math] must be a factor of [math]\displaystyle{ {a_0 \over a_n} }[/math] because [math]\displaystyle{ p \over q }[/math] is a root of [math]\displaystyle{ P(x) }[/math]. Which implies [math]\displaystyle{ p|a_0 }[/math] and [math]\displaystyle{ q|a_n }[/math] because [math]\displaystyle{ p }[/math] and [math]\displaystyle{ q }[/math] are coprime.

Examples

First

In the polynomial

[math]\displaystyle{ 2x^3+x-1, }[/math]

any rational root fully reduced would have to have a numerator that divides evenly into 1 and a denominator that divides evenly into 2. Hence the only possible rational roots are ±1/2 and ±1; since neither of these equates the polynomial to zero, it has no rational roots.

Second

In the polynomial

[math]\displaystyle{ x^3-7x+6 }[/math]

the only possible rational roots would have a numerator that divides 6 and a denominator that divides 1, limiting the possibilities to ±1, ±2, ±3, and ±6. Of these, 1, 2, and –3 equate the polynomial to zero, and hence are its rational roots (in fact these are its only roots since a cubic polynomial has only three roots).

Third

Every rational root of the polynomial

[math]\displaystyle{ 3x^3 - 5x^2 + 5x - 2 }[/math]

must be among the numbers

[math]\displaystyle{ \pm\tfrac{1,2}{1,3} = \pm \left\{1, 2, \tfrac{1}{3}, \tfrac{2}{3}\right\} . }[/math]

These 8 root candidates x = r can be tested by evaluating P(r), for example using Horner's method. It turns out there is exactly one with P(r) = 0.

This process may be made more efficient: if P(r) ≠ 0, it can be used to shorten the list of remaining candidates.[2] For example, x = 1 does not work, as P(1) = 1. Substituting x = 1 + t yields a polynomial in t with constant term P(1) = 1, while the coefficient of t3 remains the same as the coefficient of x3. Applying the rational root theorem thus yields the possible roots [math]\displaystyle{ t=\pm\tfrac{1}{1,3} }[/math], so that

[math]\displaystyle{ x = 1+t = 2, 0, \tfrac{4}{3}, \tfrac{2}{3}. }[/math]

True roots must occur on both lists, so list of rational root candidates has shrunk to just x = 2 and x = 2/3.

If k ≥ 1 rational roots are found, Horner's method will also yield a polynomial of degree nk whose roots, together with the rational roots, are exactly the roots of the original polynomial. If none of the candidates is a solution, there can be no rational solution.

See also

Notes

  1. Arnold, D.; Arnold, G. (1993). Four unit mathematics. Edward Arnold. pp. 120–121. ISBN 0-340-54335-3. 
  2. King, Jeremy D. (November 2006). "Integer roots of polynomials". Mathematical Gazette 90: 455–456. doi:10.1017/S0025557200180295. 

References

  • Charles D. Miller, Margaret L. Lial, David I. Schneider: Fundamentals of College Algebra. Scott & Foresman/Little & Brown Higher Education, 3rd edition 1990, ISBN 0-673-38638-4, pp. 216–221
  • Phillip S. Jones, Jack D. Bedient: The historical roots of elementary mathematics. Dover Courier Publications 1998, ISBN 0-486-25563-8, pp. 116–117 (online copy, p. 116, at Google Books)
  • Ron Larson: Calculus: An Applied Approach. Cengage Learning 2007, ISBN 978-0-618-95825-2, pp. 23–24 (online copy, p. 23, at Google Books)

External links