Why this proof of that equation does not have rational roots works

polynomialsproof-explanationroots

In my textbook proof looks like this:

For equation $x^4 – 3x^3 + x + 2$ Let's suppose that $p/q$ is a root

Then following true
$(p/q)^4 -3(p/q)^3 + p/q + 2 = 0$

Multiplying by $q^4$ we have
$p^4 – 3p^3q + pq^3 + 2q^4 = 0$

Proof consists in that left part is not divisible by $q$ when the right is it.
Why this proof by contradiction works?

Best Answer

That proof is missing one statement. "Let's suppose $p/q$ is a rational root with $\gcd(p,q) = 1$ and $q > 1$." Notice that for every way to write a rational number, we can make its denominator positive by usual arithmetic rules and can make the numerator and denominator relatively prime by reducing to lowest terms.

(There is something sneaky in the above. When we take $q > 1$, the rest of the argument is correct. However, this omits what to do when $q = 1$. The argument in the book does not resolve whether there are integer roots. As a very simple example, $x-1 = 0$ has an integer root. This argument gives $p/q - 1 = 0$, so $p-q=0$. If we force $q > 1$, then $q$ does not divide $p$. However, $q = 1$ is a perfectly valid choice, and $1$ does divide $p$, so the argument in the book is missing the case $q = 1$.)

Then at the end, $q$ divides each of $3p^3q$, $pq^3$, $2q^4$, and $0$. (The latter by $q \cdot 0 = 0$.) But, because they are relatively prime, $q$ does not divide $p$, so $q$ does not divide $p^4$. Therefore $q$ does not divide $p^4 -3p^3q + pq^3 + 2q^4$.

In detail, $q$ cannot divide $p^4$ because when we reduced $p/q$ to lowest terms, we ensured that the prime factorizations of $p$ and $q$ do not both contain the same prime. Suppose a prime is in both factorizations. Then that prime divides the $\gcd(p,q)$, but since $p/q$ is in lowest terms, $\gcd(p,q) = 1$, so is not divisible by any prime. The prime factorization of $p^4$ only contains copies of the primes in the prime factorization of $p$, so contains none of the primes in the factorization of $q$, so cannot be divisible by $q$. This last follows from unique factorization into primes -- up to sign and the ordering of the factors every integer has a unique factorization into primes.

This produces a contradiction: if we assume that there is a rational root, $p/q$ (which we are free to assume is already in lowest terms), we find that $q$ divides $p^4 -3p^3q + pq^3 + 2q^4$. But this contradicts that $p/q$ is in lowest terms because it requires that $q$ divides $p^4$. Since the assumption that there is a rational root leads to a contradiction, there is no rational root.