rational root theorem
In algebra, the rational root theorem (or rational root test, rational zero theorem, rational zero test or theorem) states a constraint on rational solutions of a polynomial equation a_nx^n+a_{n-1}x^{n-1}+\cdots+a_0 = 0 with integer coefficients a_i\in\mathbb{Z} and a_0,a_n \neq 0 .[1] Solutions of the equation are also called roots or zeros of the polynomial on the left side.[src] The theorem states that each rational solution written in lowest terms (that is, and are relatively prime), satisfies: * is an integer factor of the constant term , and * is an integer factor of the leading coefficient .[1] The rational root theorem is a special case (for a single linear factor) of Gauss's lemma on the factorization of polynomials.[1] The integral root theorem is the special case of the rational root theorem when the leading coefficient is .[1]
In algebra, the rational root theorem (or rational root test, rational zero theorem, rational zero test or theorem) states a constraint on rational solutions of a polynomial equation a_nx^n+a_{n-1}x^{n-1}+\cdots+a_0 = 0 with integer coefficients a_i\in\mathbb{Z} and a_0,a_n \neq 0 .[1] Solutions of the equation are also called roots or zeros of the polynomial on the left side.[src] The theorem states that each rational solution written in lowest terms (that is, and are relatively prime), satisfies: is an integer factor of the constant term , and is an integer factor of the leading coefficient .[1] The rational root theorem is a special case (for a single linear factor) of Gauss's lemma on the factorization of polynomials.[1] The integral root theorem is the special case of the rational root theorem when the leading coefficient is .[1] ==Application== The theorem is used to find all rational roots of a polynomial, if any.[1] It gives a finite number of possible fractions which can be checked to see if they are roots.[src] If a rational root is found, a linear polynomial 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.[1] ===Cubic equation=== The general cubic equation ax^3 + bx^2 + cx + d = 0 with integer coefficients has three solutions in the complex plane.[src] If the rational root test finds no rational solutions, then the only way to express the solutions algebraically uses cube roots.[1] But if the test finds a rational solution , then factoring out leaves a quadratic polynomial whose two roots, found with the quadratic formula, are the remaining two roots of the cubic, avoiding cube roots.[src] ==Proofs== ===Elementary proof=== Let P(x) \ =\ a_n x^n + a_{n-1} x^{n-1} + \cdots + a_1 x + a_0 with a_0, \ldots, a_n \in \mathbb{Z}, a_0,a_n \neq 0.[src] Suppose for some coprime : 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.[src] To clear denominators, multiply both sides by : a_n p^n + a_{n-1} p^{n-1}q + \cdots + a_1 p q^{n-1} + a_0 q^n = 0.[src] Shifting the term to the right side and factoring out on the left side produces: p \left (a_np^{n-1} + a_{n-1}qp^{n-2} + \cdots + a_1q^{n-1} \right ) = -a_0q^n.[src] Thus, divides .[src] But is coprime to and therefore to , so by Euclid's lemma must divide the remaining factor .[src] On the other hand, shifting the term to the right side and factoring out on the left side produces: q \left (a_{n-1}p^{n-1} + a_{n-2}qp^{n-2} + \cdots + a_0q^{n-1} \right ) = -a_np^n.[src] Reasoning as before, it follows that divides .[src] ==Examples== ===First=== In the polynomial 2x^3+x-1, any rational root fully reduced should have a numerator that divides 1 and a denominator that divides 2.[1] Hence, the only possible rational roots are \pm \tfrac{1}{2} and \pm1 .[src] Since neither of these equates the polynomial to zero, it has no rational roots.[src] ===Second=== In the polynomial x^3-7x+6, 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.[src] 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).[src] ===Third=== Every rational root of the polynomial P=3x^3 - 5x^2 + 5x - 2 must be one of the 8 numbers \pm 1, \pm2, \pm\tfrac{1}{3}, \pm \tfrac{2}{3} .[1] These 8 possible values for can be tested by evaluating the polynomial.[src] It turns out there is exactly one rational root, which is x=2/3.[1] However, these eight computations may be rather tedious, and some tricks allow avoiding some of them.[src] Firstly, if x all terms of become negative, and their sum cannot be 0; so, every root is positive, and a rational root must be one of the four values 1, 2, \tfrac{1}{3}, \tfrac{2}{3} .[1] One has P(1)=3-5+5-2=1.[src] So, is not a root.[src] Moreover, if one sets , one gets without computation that Q(t)=P(t+1) is a polynomial in with the same first coefficient and constant term .[src] The rational root theorem implies thus that a rational root of must belong to \{\pm1, \pm\frac 13 \}, and thus that the rational roots of satisfy x = 1+t \in \{2, 0, \tfrac{4}{3}, \tfrac{2}{3}\}.[1] This shows again that any rational root of is positive, and the only remaining candidates are and .[1] To show that is not a root, it suffices to remark that if x=2, then 3x^3 and 5x-2 are multiples of , while -5x^2 is not.[src] So, their sum cannot be zero.[src] Finally, only P(2/3) needs to be computed to verify that it is a root of the polynomial.[src] ===Fourth=== If a, b and \tfrac{a^2}{b} +\tfrac{b^2}{a} are integers ( a\neq 0, b\neq 0 ), then both \tfrac{a^2}{b} and \tfrac{b^2}{a} must be integer.[src] Consider the quadratic equation whose roots are \tfrac{a^2}{b} and \tfrac{b^2}{a} : (x-\tfrac{a^2}{b})(x-\tfrac{b^2}{a})=x^2-(\tfrac{a^2}{b} +\tfrac{b^2}{a})x +\tfrac{a^2}{b}\cdot\tfrac{b^2}{a}.[src] Simplify the coefficients: The coefficient of x is m=-(\tfrac{a^2}{b} +\tfrac{b^2}{a}), The constant term is n=\tfrac{a^2}{b}\cdot\tfrac{b^2}{a}=ab.[src] Thus, the equation becomes: x^2+mx+n=0, where: m=-(\tfrac{a^2}{b} +\tfrac{b^2}{a}) , obviously integer, as negation of an integer, n=ab , also integer, as the product of two integers.[src] Apply the rational root theorem: a, b given to be integers ( a\neq 0, b\neq 0 ), i.e.[1] \tfrac{a^2}{b} and \tfrac{b^2}{a} are rational.[src] If \tfrac{p}{q} is a rational root of the equation, then q is an integer factor of the x^2 coefficient, i.e.[1] of 1 .[src] Thus, q=1 .[src] Thus, the rational root is an integer.[1] Thus, \tfrac{a^2}{b} and \tfrac{b^2}{a} are integers.[src] ==See also== Fundamental theorem of algebra Integrally closed domain Descartes' rule of signs Gauss–Lucas theorem Properties of polynomial roots Content (algebra) Eisenstein's criterion Polynomial root-finding ==References== ==Further reading== ==External links== Another proof that n th roots of integers are irrational, except for perfect nth powers by Scott E.[1] Brodie The Rational Roots Test at purplemath.com[src]
55 sentences · 55 cited inline · 1 references stored
References
- rational root theorem · retrieved 2026-11-23 · rev 1377586021
Cite this reference
MLA "rational root theorem." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1377586021. Accessed 29 November 2026.
Chicago "rational root theorem." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1377586021.
APA encyclopegia.org. (2026). rational root theorem. Retrieved November 29, 2026, from https://en.wikipedia.org/w/index.php?oldid=1377586021
Cite this article
MLA
"rational root theorem." encyclopegia.org, 2026, https://encyclopegia.org/wiki/rational-root-theorem. Accessed 29 November 2026.
Chicago
"rational root theorem." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/rational-root-theorem.
APA
encyclopegia.org. (2026). rational root theorem. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/rational-root-theorem
Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON