Hubbry Logo
Rational root theoremRational root theoremMain
Open search
Rational root theorem
Community hub
Rational root theorem
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Rational root theorem
Rational root theorem
from Wikipedia

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 with integer coefficients and . Solutions of the equation are also called roots or zeros of the polynomial on the left side.

The theorem states that each rational solution written in lowest terms (that is, 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

[edit]

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

[edit]

The general cubic equation 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

[edit]

Elementary proof

[edit]

Let with

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

To clear denominators, multiply both sides by qn:

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

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:

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

Proof using Gauss's lemma

[edit]

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.

Examples

[edit]

First

[edit]

In the polynomial any rational root fully reduced should have a numerator that divides 1 and a denominator that divides 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

[edit]

In the polynomial 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

[edit]

Every rational root of the polynomial must be one of the 8 numbers These 8 possible values for x can be tested by evaluating the polynomial. It turns out there is exactly one rational root, which is

However, these eight computations may be rather tedious, and some tricks allow to avoid some of them.

Firstly, if all terms of P become negative, and their sum cannot be 0; so, every root is positive, and a rational root must be one of the four values

One has So, 1 is not a root. Moreover, if one sets x = 1 + t, one gets without computation that is a polynomial in t with the same first coefficient 3 and constant term 1.[2] The rational root theorem implies thus that a rational root of Q must belong to and thus that the rational roots of P satisfy This shows again that any rational root of P is positive, and the only remaining candidates are 2 and 2/3.

To show that 2 is not a root, it suffices to remark that if then and are multiples of 8, while is not. So, their sum cannot be zero.

Finally, only needs to be computed to verify that it is a root of the polynomial.

Fourth

[edit]

If and are integers (), then both and must be integer.

Consider the quadratic equation whose roots are and :

Simplify the coefficients:

  • The coefficient of is
  • The constant term is

Thus, the equation becomes: where:

  • , obviously integer, as negation of an integer,
  • , also integer, as the product of two integers.

Apply the rational root theorem:

given to be integers (), i.e. and are rational. If is a rational root of the equation, then is an integer factor of the coefficient, i.e. of . Thus, . Thus, the rational root is an integer. Thus, and are integers.

See also

[edit]

Notes

[edit]

References

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
The Rational Root Theorem, also known as the Rational Zero Theorem, is a fundamental principle in that determines the possible rational roots of a equation with coefficients. It states that if P(x)=anxn+an1xn1++a1x+a0P(x) = a_n x^n + a_{n-1} x^{n-1} + \cdots + a_1 x + a_0 is such a and pq\frac{p}{q} (in lowest terms, with gcd(p,q)=1\gcd(p, q) = 1) is a rational root, then pp must be an factor of the constant term a0a_0 and qq must be an factor of the leading ana_n. This limits the candidates for rational roots to the ratios of these factors, typically a manageable for testing. The theorem's practical value lies in its application to factoring polynomials and solving equations, where possible roots are evaluated using methods like direct substitution or synthetic division to identify actual zeros, after which the polynomial can be factored and the process repeated on the quotient. For monic polynomials (where an=1a_n = 1), it simplifies further to imply that any rational root must be an integer factor of a0a_0. Although it guarantees only possibilities and not existence, it efficiently narrows searches, especially for lower-degree polynomials, and serves as a precursor to more advanced tools like the for irrational or complex . The proof of the theorem proceeds by assuming pq\frac{p}{q} is a root, multiplying the by qnq^n to eliminate denominators, and then analyzing divisibility: the resulting shows that pp divides a0qna_0 q^n (and thus a0a_0 since gcd(p,q)=1\gcd(p, q) = 1), while qq divides anpna_n p^n (and thus ana_n). This elementary argument relies solely on the for gcd and properties of , making it accessible in introductory courses. The concept traces back to the 17th century, where employed similar ideas for testing roots in his geometric approach to in .

Statement

Formal Statement

The rational root theorem, also known as the rational zero theorem, provides a method to identify possible rational roots of a with coefficients. Consider a of the form anxn+an1xn1++a1x+a0=0a_n x^n + a_{n-1} x^{n-1} + \dots + a_1 x + a_0 = 0, where the coefficients aia_i are , an0a_n \neq 0, and a00a_0 \neq 0. The theorem asserts that if p/qp/q is a rational of this , expressed in lowest terms with pp and qq such that gcd(p,q)=1\gcd(p, q) = 1 and q>0q > 0, then pp must be a factor of the constant term a0a_0 and qq must be a factor of the leading coefficient ana_n./10%3A_Roots_of_Polynomials/10.01%3A_Optional_section-_The_rational_root_theorem) Consequently, the complete list of possible rational consists of all fractions ±p/q\pm p/q, where pp ranges over the positive and negative factors of a0a_0, and qq ranges over the positive factors of ana_n. This set limits the candidates to test for actual , reducing the search space for solving the .

Assumptions and Scope

The Rational Root Theorem applies specifically to with coefficients, where the leading and the constant term are both non-zero . This requirement ensures that the theorem's conclusions about possible rational hold, as the divisibility conditions rely on the integrality of these coefficients. Additionally, any potential rational root must be expressed in its lowest terms as a fraction p/qp/q, where pp and qq are , with q>0q > 0. The theorem's scope encompasses both monic polynomials (where the leading coefficient is 1) and non-monic polynomials, provided the coefficients are integers. It focuses exclusively on identifying possible rational roots and does not address irrational or complex roots, which may also be solutions to the polynomial equation but fall outside its predictive framework. A key limitation is that the theorem does not guarantee the existence of any rational ; it merely generates a finite list of candidate rational numbers to test. These candidates are derived from the factors of the constant term over the factors of the leading , but verification through substitution or other methods is required to confirm actual .

Historical Background

Discovery and Attribution

The rational root theorem, which provides constraints on the possible rational roots of polynomials with integer coefficients, is attributed to the French mathematician and philosopher . He formulated the theorem as part of his systematic treatment of algebraic equations in , published in 1637 as an appendix to his Discours de la méthode. In this work, Descartes integrated algebraic symbolism with geometric constructions, establishing a framework where possible rational solutions could be identified by considering factors of the constant and leading coefficients. Although Descartes is credited with its formal statement in modern terms, implicit applications of similar ideas appear in earlier works by 16th-century mathematicians. For instance, , in his Ars Magna (1545), employed trial divisions by potential rational factors when solving cubic equations, effectively testing candidates akin to those suggested by the theorem without explicitly generalizing it. Similarly, , in his algebraic treatises such as Zeteticorum libri quinque (1593), used symbolic methods to manipulate polynomials and identify rational roots through factorization, laying groundwork for Descartes' more comprehensive approach. These precursors reflect an emerging practice in algebra but lacked the theorem's precise, general criterion. The theorem's development occurred amid the 17th-century rise of symbolic , a transformative shift pioneered by Viète and advanced by Descartes. This era saw the transition from rhetorical descriptions of equations to operational notations using letters for unknowns and parameters, enabling more abstract and systematic analysis of polynomial roots. Descartes' contribution in exemplified this evolution, bridging and while providing tools for root identification that influenced subsequent mathematicians.

Relation to Earlier Works

The rational root theorem emerged from a rich tradition of algebra, where mathematicians began systematically exploring the roots of equations. In the , Italian and French algebraists shifted focus from geometric constructions to symbolic manipulations, laying groundwork for identifying rational solutions to equations. This transition was pivotal, as it moved away from the predominantly geometric approaches of toward algebraic methods that could handle higher-degree polynomials more abstractly. François Viète, a key figure in this evolution, advanced the study of polynomial roots through his work on factoring and solving equations. In his 1593 treatise Zeteticorum libri quinque, Viète introduced symbolic notation for polynomials and emphasized the role of coefficients in determining roots, including rational ones, by expressing equations in terms of their factors. His methods for resolving cubic and quartic equations implicitly relied on testing possible rational factors derived from the constant and leading terms, foreshadowing the systematic approach later formalized. This innovation built on earlier Italian traditions, where Viète's algebraic symbolism facilitated the enumeration of potential rational roots without exhaustive trial. Earlier still, Gerolamo Cardano's 1545 Ars Magna provided a foundational connection through its solution to the , where rational root testing was employed as a preliminary step. Cardano's formula for depressed cubics required first checking for rational to simplify the equation, a practice drawn from practical problem-solving in and that involved dividing polynomials by linear factors with rational coefficients. Although Cardano did not state a general theorem, his examples demonstrated the utility of assuming roots as ratios of the equation's integer coefficients, influencing subsequent algebraists in their pursuit of deterministic methods for root identification. These 16th-century developments collectively bridged medieval arithmetic and modern , enabling Descartes to formalize the rational root theorem in by synthesizing these ideas into a concise criterion.

Proofs

Elementary Proof

Consider a polynomial equation P(x)=anxn+an1xn1++a1x+a0=0P(x) = a_n x^n + a_{n-1} x^{n-1} + \dots + a_1 x + a_0 = 0 with integer coefficients aia_i and leading coefficient an0a_n \neq 0. Suppose there exists a rational root r=pqr = \frac{p}{q}, where pp and qq are integers with no common factors (i.e., gcd(p,q)=1\gcd(p, q) = 1) and q>0q > 0. Substitute x=pqx = \frac{p}{q} into the to obtain an(pq)n+an1(pq)n1++a1(pq)+a0=0.a_n \left( \frac{p}{q} \right)^n + a_{n-1} \left( \frac{p}{q} \right)^{n-1} + \dots + a_1 \left( \frac{p}{q} \right) + a_0 = 0. Multiply through by qnq^n to clear the denominators, yielding anpn+an1pn1q++a1pqn1+a0qn=0.[](https://www.cuttheknot.org/Generalization/RationalRootTheorem.shtml)a_n p^n + a_{n-1} p^{n-1} q + \dots + a_1 p q^{n-1} + a_0 q^n = 0.[](https://www.cut-the-knot.org/Generalization/RationalRootTheorem.shtml) Rearrange the equation as anpn=(an1pn1q+an2pn2q2++a1pqn1+a0qn).a_n p^n = - (a_{n-1} p^{n-1} q + a_{n-2} p^{n-2} q^2 + \dots + a_1 p q^{n-1} + a_0 q^n). The right-hand side is clearly divisible by qq, so qq divides the left-hand side anpna_n p^n. Since gcd(p,q)=1\gcd(p, q) = 1, it follows that qq must divide ana_n. Now rearrange the equation as a0qn=(anpn+an1pn1q++a1pqn1).a_0 q^n = - (a_n p^n + a_{n-1} p^{n-1} q + \dots + a_1 p q^{n-1}). The right-hand side is divisible by pp, so pp divides the left-hand side a0qna_0 q^n. Since gcd(p,q)=1\gcd(p, q) = 1, it follows that pp must divide a0a_0. Thus, any rational root pq\frac{p}{q}, expressed in lowest terms, has numerator pp dividing the constant term a0a_0 and denominator qq dividing the leading coefficient ana_n. This completes the elementary proof.

Proof via Gauss's Lemma

A f(x)Zf(x) \in \mathbb{Z} is said to be primitive if the greatest common divisor of its coefficients is 1. Gauss's lemma states that the product of two primitive polynomials in Z\mathbb{Z} is primitive. As a consequence, Z\mathbb{Z} is a unique factorization domain, meaning that every non-constant primitive factors uniquely into irreducible factors in Z\mathbb{Z} up to units and ordering. To prove the rational root theorem using this framework, assume f(x)=anxn+an1xn1++a1x+a0Zf(x) = a_n x^n + a_{n-1} x^{n-1} + \cdots + a_1 x + a_0 \in \mathbb{Z} with an0a_n \neq 0, and without loss of generality, that f(x)f(x) is primitive (if not, factor out the content, which does not affect the roots). Suppose r=p/qr = p/q is a rational root in lowest terms, where p,qZp, q \in \mathbb{Z}, q>0q > 0, and gcd(p,q)=1\gcd(p, q) = 1. Since rr is a root, f(x)f(x) has a linear factor (xp/q)(x - p/q) over Q\mathbb{Q}. Clearing the denominator gives the primitive linear polynomial qxpZqx - p \in \mathbb{Z} (primitive because gcd(p,q)=1\gcd(p, q) = 1), which divides f(x)f(x) in Q\mathbb{Q}. Thus, there exists h(x)Qh(x) \in \mathbb{Q} such that f(x)=(qxp)h(x)f(x) = (qx - p) h(x). Let dd be a positive integer such that dh(x)=k(x)Zd \cdot h(x) = k(x) \in \mathbb{Z}, and assume k(x)k(x) is primitive (by dividing out its content if necessary). Then, df(x)=(qxp)k(x)d f(x) = (qx - p) k(x). The left side has content dd, since f(x)f(x) is primitive. The right side is the product of two primitive polynomials, so by Gauss's lemma, its content is 1. Therefore, d=1d = 1, implying h(x)Zh(x) \in \mathbb{Z}. Hence, qxpqx - p divides f(x)f(x) in Z\mathbb{Z}. Comparing leading coefficients, qq divides ana_n. Comparing constant terms, p-p divides a0a_0, so pp divides a0a_0. This establishes the rational root theorem.

Applications

Identifying Possible Rational Roots

To identify possible rational roots of a with coefficients using the Rational Root Theorem, begin by arranging the in standard form, ensuring the coefficients are . The theorem states that any potential rational root, expressed as a p/qp/q in lowest terms, has pp as a factor of the constant term and qq as a factor of the leading . The step-by-step method proceeds as follows: First, identify all positive and negative factors of the constant term (the of the zero-degree term); these serve as possible numerators pp. Second, identify all positive and negative factors of the leading (the of the highest-degree term); these serve as possible denominators qq. Third, form all possible fractions p/qp/q, reducing duplicates and ensuring they are in lowest terms to generate the complete list of candidates. This process yields a of possibilities, typically small for polynomials of moderate degree. Once the list is compiled, test each candidate to determine if it is an actual by evaluating the at that value—either through direct substitution into the equation or using for efficiency. Substitution involves plugging the candidate into the and checking if the result is zero, while performs the evaluation and simultaneously indicates if the candidate divides the evenly by producing a zero . Only those candidates that satisfy the equation are confirmed as . This approach enhances efficiency by constraining the search to a limited number of rational candidates, thereby minimizing exhaustive trial-and-error compared to testing arbitrary values, especially for higher-degree where irrational or complex roots may also exist.

Polynomial Factorization

The Rational Root Theorem aids in factoring with coefficients over the rationals by first identifying possible rational , which, if verified, correspond to linear factors via the . Specifically, if rr is a rational root of a P(x)P(x), then P(x)=(xr)Q(x)P(x) = (x - r) Q(x), where Q(x)Q(x) is a polynomial of degree one less than P(x)P(x). This factorization is obtained through or , reducing the degree and enabling further analysis of Q(x)Q(x). Applying this process iteratively allows for the complete of the into irreducible components over . After factoring out one linear term, the Rational Root Theorem is reapplied to the to test for additional rational roots, continuing until no more rational roots exist or the remaining factors are irreducible (such as quadratics with no rational roots). This systematic reduction yields a product of linear and quadratic factors, leveraging the theorem's list of candidates at each step. Such is particularly beneficial for solving equations, as it isolates rational solutions and simplifies the remaining irreducible factors for exact resolution using methods like the . It also streamlines algebraic manipulations, such as decomposing rational functions into partial fractions for integration or simplification.

Examples

Quadratic Polynomial

Consider the 2x25x3=02x^2 - 5x - 3 = 0. According to the rational root theorem, any possible rational root, expressed in lowest terms p/qp/q, has pp as a factor of the constant term 3-3 and qq as a factor of the leading 22. The factors of 3-3 are ±1,±3\pm1, \pm3, and the factors of 22 are ±1,±2\pm1, \pm2, yielding the possible rational roots ±1,±3,±1/2,±3/2\pm1, \pm3, \pm1/2, \pm3/2. To identify a rational root, substitute these values into the polynomial. For x=3x = 3: 2(3)25(3)3=2(9)153=18153=0.2(3)^2 - 5(3) - 3 = 2(9) - 15 - 3 = 18 - 15 - 3 = 0. Thus, x=3x = 3 is a root. By the factor theorem, x3x - 3 is a factor of 2x25x32x^2 - 5x - 3. Perform polynomial division or use synthetic division to factor: Using synthetic division with root 33: 325363210\begin{array}{r|r} 3 & 2 & -5 & -3 \\ & & 6 & 3 \\ \hline & 2 & 1 & 0 \\ \end{array} The quotient is 2x+12x + 1, so 2x25x3=(x3)(2x+1)2x^2 - 5x - 3 = (x - 3)(2x + 1). Setting each factor to zero gives the roots: x3=0x - 3 = 0 implies x=3x = 3, and 2x+1=02x + 1 = 0 implies x=1/2x = -1/2. Verification confirms both roots satisfy the original . For x=1/2x = -1/2: 2(12)25(12)3=2(14)+523=12+523=33=0.2\left(-\frac{1}{2}\right)^2 - 5\left(-\frac{1}{2}\right) - 3 = 2\left(\frac{1}{4}\right) + \frac{5}{2} - 3 = \frac{1}{2} + \frac{5}{2} - 3 = 3 - 3 = 0. This example illustrates how the rational root theorem efficiently narrows candidates for root testing in quadratics, leading to complete and solution.

Cubic Polynomial

Consider the cubic equation x36x2+11x6=0x^3 - 6x^2 + 11x - 6 = 0. According to the , any possible , expressed in lowest terms p/qp/q, has pp as a factor of term 6-6 and qq as a factor of the leading 11, yielding the candidates ±1,±2,±3,±6\pm1, \pm2, \pm3, \pm6. To identify , test these candidates systematically, often starting with the smallest integers and using for efficiency. Begin with x=1x = 1:
1-611-6
1-56
1-560
The bottom row gives the quotient x25x+6x^2 - 5x + 6 and a remainder of 00, confirming x=1x = 1 is a root and allowing factorization as (x1)(x25x+6)=0(x - 1)(x^2 - 5x + 6) = 0. Apply the theorem again to the quadratic factor x25x+6=0x^2 - 5x + 6 = 0, where possible rational roots are ±1,±2,±3,±6\pm1, \pm2, \pm3, \pm6. Testing x=2x = 2 yields 410+6=04 - 10 + 6 = 0, verifying it as a root. Similarly, x=3x = 3 satisfies the equation. Thus, the quadratic factors as (x2)(x3)(x - 2)(x - 3), and the original polynomial completely factors as (x1)(x2)(x3)=0(x - 1)(x - 2)(x - 3) = 0 with all rational roots x=1,2,3x = 1, 2, 3. Another example is the polynomial 9x32x27=09x^3 - 2x^2 - 7 = 0. By the rational root theorem, the possible rational roots are ±1,±7,±13,±73,±19,±79\pm 1, \pm 7, \pm \frac{1}{3}, \pm \frac{7}{3}, \pm \frac{1}{9}, \pm \frac{7}{9}. Testing x=1x = 1 gives 9(1)32(1)27=927=09(1)^3 - 2(1)^2 - 7 = 9 - 2 - 7 = 0, confirming it is a root. Using synthetic division with coefficients 9, -2, 0, -7:
19-20-7
977
19770
The quotient is 9x2+7x+79x^2 + 7x + 7 with remainder 0, so the polynomial factors as (x1)(9x2+7x+7)(x - 1)(9x^2 + 7x + 7). The quadratic factor 9x2+7x+79x^2 + 7x + 7 has discriminant 72497=49252=203<07^2 - 4 \cdot 9 \cdot 7 = 49 - 252 = -203 < 0, so it is irreducible over the reals. Thus, the equation 9x32x27=09x^3 - 2x^2 - 7 = 0 has one real root at x=1x = 1 and two complex conjugate roots.

Higher-Degree Polynomial

Consider the quartic polynomial x4+x2+x+1=0x^4 + x^2 + x + 1 = 0. The rational root theorem indicates that any rational root, expressed in lowest terms p/qp/q, has pp as a factor of the constant term 1 and qq as a factor of the leading 1, so the possible rational roots are ±1\pm 1. Substituting these values shows neither is a root: p(1)=14+12+1+1=40,p(1)=(1)4+(1)2+(1)+1=1+11+1=20.\begin{align*} p(1) &= 1^4 + 1^2 + 1 + 1 = 4 \neq 0, \\ p(-1) &= (-1)^4 + (-1)^2 + (-1) + 1 = 1 + 1 - 1 + 1 = 2 \neq 0. \end{align*} Since none of the possible rational roots satisfy the equation, the has no rational roots. This outcome highlights a limitation of the rational root theorem: while it efficiently identifies candidates for rational roots, it cannot confirm their existence or absence beyond testing the finite list, often necessitating advanced techniques like resolvent polynomials or numerical methods to factor or solve higher-degree equations over . In such cases, the may be irreducible over or factor into quadratics with coefficients.
Add your contribution
Related Hubs
User Avatar
No comments yet.