[Math] What are the explanations for certain steps in these proofs for the irrationality/rationality of certain numbers

analysisrationality-testing

From Stephen Abbott's Understanding Analysis:

Theorem:

There is no rational number whose square is 2.

Proof:

Assume for contradiction, that there exist integers $p$ and $q$ satisfying (1) $\left(\frac{p}{q}\right)^2 = 2$. We may also assume that $p$ and $q$ have no common factor, because, if they had one, we could simply cancel it out and rewrite the fraction in lowest terms. Now, equation (1) implies (2) $p^2 = 2q^2$. From this we can see that the integer $p^2$ is an even number (it is divisible by 2), and hence $p$ must be even as well because the square of an odd number is odd. This allows us to write $p=2r$, where $r$ is also an integer. If we substitute $2r$ for $p$ in equation (2), then a little algebra yields the relationship $2r^2=q^2$. This last equation implies that $q^2$ is even, and hence $q$ must also be even. Thus, we have shown that $p$ and $q$ are both even (i.e., divisible by $2$) when they were originally assumed to have no common factor. From this logical impasse, we can only conclude that equation (1) cannot hold for any integers $p$ and $q$, and thus the theorem is proved.

Exercise:

(a) Prove that $\sqrt{3}$ is irrational. Does a similar argument work to show that $\sqrt{6}$ is irrational?

(b) Where does the proof of the irrationality of $\sqrt{2}$ break down if we try to use it to prove $\sqrt{4}$ is irrational?

Solution:

(a) Assume, for contradiction, that there exist integers $p$ and $q$ satisfying (1) $\left(\frac{p}{q}\right)^2 = 3$. Let us also assume that $p$ and $q$ have no common factor. Now, equation (1) implies (2) $p^2 = 3q^2$. From this, we can see that $p^2$ is a multiple of $3$ and hence $p$ must also be a multiple of $3$. This allows us to write $p = 3r$, where $r$ is an integer. After substituting $3r$ for $p$ in equation (2), we get $(3r)^2 = 3q^2$, which can be simplified to $3r^2=q^2$. This implies $q^2$ is a multiple of $3$ and hence $q$ is also a multiple of $3$. Thus we have shown $p$ and $q$ have a common factor, namely $3$, when they were originally assumed to have no common factor.
A similar argument will work for $\sqrt{6}$ as well because we get $p^2 = 6q^2$ which implies $p$ is a multiple of $2$ and $3$. After making the necessary substitutions, we can conclude $q$ is a multiple of $6$, and therefore $\sqrt{6}$ must be irrational.

(b) In this case, the fact that $p^2$ is a multiple of $4$ does not imply $p$ is also a multiple of $4$. Thus, our proof breaks down at this point.

Question(s):

Could somebody please help and spell out for me some of the theorems which are being used along the way in the arguments above? Since the theorem quoted above is the first theorem in the book, I am not exactly sure what is assumed to be common knowledge or whatever…

For $\sqrt{3}$, what exactly is being used to justify "$p^2$ is a multiple of $3$ and hence $p$ must also be a multiple of $3$"? I've seen some other proofs for this which have to do with even and odd numbers, but the one above has to do specifically with $3$, right?

For $\sqrt{6}$, why is it important to say "$p^2 = 6q^2$ implies $p$ is a multiple of $2$ and $3$" instead of "is a multiple of $6$"?

For $\sqrt{4}$, why is it so clear that "the fact that $p^2$ is a multiple of $4$ does not imply $p$ is also a multiple of $4$"? I know I can think of a counterexample like $p=2 \Rightarrow p^2=4$ and $4$ is divisible by $4$, but $2$ is not. But what is the pattern to notice?

Any help is appreciated. Also, as if it weren't obvious, I think that answers which are not too advanced will be most helpful for me, thanks!

Best Answer

The key - at the heart of unique factorization - is the prime divisor property: a prime divides a product iff it divides one of the factors. By induction, this partly generalizes to products of distinct primes, i.e. "squarefree" integers. Namely, if a squarefree integer divides $\rm\:n^k\:$ then it must divide $\rm\:n\:.\:$ This squarefree divisor property shows how to generalize the classical proofs to any radicand that is not a perfect-square. Pull out of the radicand the squarepart, leaving a squarefree radicand $\ne 1\:.\:$ Now apply to this squarefree radicand the classical proof as above, using the squarefree divisor property in place of the prime divisor property. Thus the proof generalizes to the squarefree radicand $\:6\:,\:$ but not to the square $\:4 = 2^2\:,\:$ as you have observed. See here for much more on squarefree integers.

There are other approaches to such irrationality proofs, e.g. using the parity of exponents in a unique prime factorization, or unique fractionization, or Euclid's Lemma, or, more generally, employing the monic case of the rational root test ("integral closure"), e.g. see this prior thread.

Related Question