Monday, July 24, 2017

elementary number theory - Proving sqrt3 is irrational.



There is a very simple proof by means of divisibility that 2 is irrational. I have to prove that 3 is irrational too, as a homework. I have done it as follows, ad absurdum:



Suppose

3=pq



with p/q irreducible, then



3q2=p22q2=p2q22q2=(p+q)(pq)




Now I exploit the fact that p and q can't be both even, so it is the case that they are either both odd, or have different parity. Suppose then that p=2n+1 and q=2m+1



Then it is the case that



pq=2(nm)p+q=2(m+n+1)



Which means that




2q2=4(mn)(m+n+1)q2=2(mn)(m+n+1)



Then q2 is even, and so is then q, which is absurd. Similarly, suppose
q=2n and p=2m+1.



Then p+q=2(m+n)+1 and pq=2(mn)+1. So it is the case that




2q2=(2(mn)+1)(2(m+n)+1)2q2=4(m2+mn2)+1



So 2q2 is odd, which is then absurd.







Is this valid?


Answer



It works, but can be simplified: mod 2:pp2=3q2q, so p,q, being coprime, are odd. mod 4: odd±1, so odd21, so 1p2=3q23  4|31⇒⇐


No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f:AB and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...