Proving √n Irrational: A Proof by Contradiction

Arkuski
Messages
38
Reaction score
0
The problem reads as follows:

Let n be a positive integer that is not a perfect square. Prove that √n is irrational.

I understand the basic outline that a proof would have. Assume √n is rational and use a proof by contradiction. We can set √n=p/q where p and q are integers with gcd(p,q)=1. Now n=p2/q2. Next, nq2=p2. This implies p2 is divisible by q2, which subsequently implies that p is divisible by q. If n was a perfect square, its root would be an integer so q=1 and this is satisfied. However, if n is not a perfect square, its root would not be an integer. Thus, p divisible by q shows that gcd(p,q)≠1 and we have a contradiction.

My confusion is with the following step: p2 is divisible by q2 implies that p is divisible by q. Thank you so much for all of the help you can give me.
 
Physics news on Phys.org


Arkuski said:
The problem reads as follows:

Let n be a positive integer that is not a perfect square. Prove that √n is irrational.

I understand the basic outline that a proof would have. Assume √n is rational and use a proof by contradiction. We can set √n=p/q where p and q are integers with gcd(p,q)=1. Now n=p2/q2. Next, nq2=p2. This implies p2 is divisible by q2, which subsequently implies that p is divisible by q.
It's more usual to think about common factors between n and p, and how often they divide each.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top