Is sqrt(5) Rational? Understanding the Proof by Contradiction

  • Context: Undergrad 
  • Thread starter Thread starter Klion
  • Start date Start date
  • Tags Tags
    Irrational
Click For Summary

Discussion Overview

The discussion revolves around the rationality of square roots, specifically focusing on whether sqrt(5) and sqrt(6) are rational or irrational. Participants explore various proof techniques, including proof by contradiction, and engage in clarifying and challenging each other's arguments. The scope includes theoretical proofs and mathematical reasoning.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant outlines a proof by contradiction to show that sqrt(5) is irrational, relying on the properties of prime numbers.
  • Another participant presents a similar argument for sqrt(6), but their proof is challenged for inconsistencies in reasoning and mathematical steps.
  • A later reply suggests that sqrt(n) is irrational for any positive integer n that is not a perfect square, but this claim is met with questions about the clarity of the assumptions made.
  • Some participants propose a theorem stating that the square root of a product of different prime numbers is irrational, though this is critiqued for being overly simplistic and not universally applicable.
  • Concerns are raised about the validity of certain proofs and the need for more rigorous justification of claims regarding the irrationality of square roots.

Areas of Agreement / Disagreement

Participants express differing views on the validity of various proofs and the assumptions underlying them. There is no consensus on the best approach to proving the irrationality of square roots, and several competing models and arguments are presented.

Contextual Notes

Some arguments rely on specific properties of prime numbers and the uniqueness of prime factorization, while others question the applicability of these properties to all integers. The discussion highlights the complexity of establishing proofs in number theory.

Who May Find This Useful

Readers interested in number theory, mathematical proofs, and the properties of irrational numbers may find this discussion relevant.

Klion
Messages
14
Reaction score
0
Alright, heading says it all. This is a nice problem heh.. I can see how to prove sqrt(5) is irrational. I think this method works up to the points where the fact 5 is a prime is used, (ie prime lemma) on 5 which doesn't work so well on 6! hehe

Was thinking of maybe using product of primes somehow but.. hmm dunno

Anyway for sqrt(5) went like this (proof by contradiction)

Prove sqrt(5) is not rational.

Suppose sqrt(5) = a/b, where a,b E Z+ (suppose sqrt(5) is rational)
we'll also assume gcd(a,b) = 1 (otherwise just divide a,b by gcd)
sqrt(5) = a/b <=> 5 = a^2/b^2 or 5*b^2=a^2
so 5|a^2, but 5 is a prime so 5|a Ea' 5*a'=a so 5b^2=(5a)^2 or 5b^2=5^2*a^2 or b^2 = 5*a'^2 so 5|b^2 by prime lemma 5|b 5|a ^ b|b so 5|gcd(a,b)
so 5|1 which is nonsense therefore our initial assumption is incorrect and 5 is in fact irrational.

-Kli
 
Physics news on Phys.org
Suppose sqrt(6) is rational

gcd(a,b) = 1

\sqrt{6} = \frac{a}{b}

6b^2 = a^2

Now there are 4 possibilities.

1) both a and b are even.
It cannot be true since gcd(a,b)=1

2) a is odd and b is even
It cannot be true too. If a is odd, then left hand side will be even while right hand side will be odd.

3) both a and b are odd.
It cannot be true too and the reason is the same as that in (2)

4) a is even and b is odd.

Let a = 2m and b = 2n + 1

6b^2 = a^2

6*{(2n+1)}^2 = {2m}^2

12m^2 + 12m +3 = 2n^2

left hand side is odd while right hand side is even

Contradiction.

Therefore sqrt(6) is irrational
 
"Let a = 2m and b =2n + 1
6b2= a2

6(2n+1)2= 2m2"

No, it should be 6(2n+1)2= (2m)2

"12m2+ 12m+ 3= 2n2"

Now this completely baffles me. Even assuming you accidently switched m and n, it doesn't follow.
From 6(2n+1)2= (2m)2 you get
6(4n2+ 4n+ 1)= 4m2 or
24n2+ 24n+ 6= 4m2 and both sides are clearly even.
 
Originally posted by HallsofIvy
24n2+ 24n+ 6= 4m2 and both sides are clearly even.
How about dividing both sides by 2, then we get
12n2+ 12n+ 3= 2m2
where left hand side is odd while right hand side is even.

If we don't divide both sides by 2, left hand side cannot be divisible by 4 while right hand side can.
 
How about the following (for any n not a square of an integer).

sqrt(n)=a/b, where a and b are integers with no common factors, and b >1.

n=a2/b2

The numerator and denominator still have no common factors, so n is not an integer.
 
...for any n not a square of an integer...n is not an integer.

any n in what? is n any nonnegative rational number, then? if it's any nonnegative integer n not the square of an integer, it seems odd to end by saying "n is not an integer."
 
Sorry for the confusion. I assumed we were discussing integers in general. My discussion is about (positive) integers which are not squares of integers. In n is a square of an integer, then b=1.
 
then wouldn't "n is not an integer" prove it?
 
Originally posted by phoenixthoth
then wouldn't "n is not an integer" prove it?

Hi phoenixthoth, Mathman is using proof by contradiction . In the first line of his proof what he means is : Assume that n is a positive integer that is not a perfect square.

He goes on to show that assuming sqrt(n) to be rational, but non integer (see b>1), leads directly to a contradiction of the assumption that n was an integer. Hence the result that the square root of all integers, other than the perfects squares, are irrational. It's a perfectly valid proof.
 
Last edited:
  • #10
it seems fishy because it was easier to prove it in general for nonsquare nonnegative integers n than for n=6 and it's usually the case that it's easier to do it for n=6 and harder in general. I'm at some point if i feel like it going to check where the assumption that n is not a square was used and if this proof applies to square integers as well. i suppose that's what enables one to say b>1.
 
  • #11
and 4 = 2*2 both of which are prime
 
  • #12
What has 4 = 2 X 2 got to do with that? Some squares are squares of primes and some aren't, like 6 X 6 = 36. How does that affect the proof?
 
  • #13
...

(Repost of 'disappeared' Post with Refinement)

Proof;-

1) Each SQRT(Prime Number) is irrational &

2) SQRT(Prime Number 1) * SQRT(Prime Number 2) is irrational if Prime Number 1 is not equal to Prime Number 2.

3) SQRT(6) = SQRT(2) * SQRT(3)

4) 2 & 3 are two different Prime Numbers.

i.e.

5) SQRT(6) is irrational.

This completes the proof...


kx21

https://www.physicsforums.com/member.php?s=&action=getinfo&find=lastposter&forumid=80
 
Last edited by a moderator:
  • #14
Originally posted by selfAdjoint
What has 4 = 2 X 2 got to do with that? Some squares are squares of primes and some aren't, like 6 X 6 = 36. How does that affect the proof?
this was in reference to a deleted post.
 
  • #15
Originally posted by kx21
...

(Repost of 'disappeared' Post with Refinement)

Proof;-

1) Each SQRT(Prime Number) is irrational &

2) SQRT(Prime Number 1) * SQRT(Prime Number 2) is irrational if Prime Number 1 is not equal to Prime Number 2.

3) SQRT(6) = SQRT(2) * SQRT(3)

4) 2 & 3 are two different Prime Numbers.

i.e.

5) SQRT(6) is irrational.

This completes the proof...


kx21

https://www.physicsforums.com/member.php?action=getinfo&find=lastposter&forumid=111&


assumption #1 is as clear as conclusion #5. some people would not take #1 without proof.

selfadjoint, this post in its original form was about six words long and the point in bringing up 4=2x2 is that it should have been stated that the two primes must be different; it was stated in the second form. this argument would have to be messaged before it would work for all n. the main thing there would be to prove/say a nonsquare has not all even powers in its prime factorization.
 
Last edited:
  • #16
1) Each SQRT(Prime Number) is irrational &

2) SQRT(Prime Number 1) * SQRT(Prime Number 2) is irrational if Prime Number 1 is not equal to Prime Number 2.

The problem is that you never really establish the truth of either point 1 or point 2 anywhere in the proof kx21


I still think that the best proof is as follows.

Let \sqrt{n} = \frac{a}{b}

Then a^2 = b^2 n <- Eqn1

From the fundamental therom of arithmetic (that is the uniqueness of prime factorization) it is clear that any integer squared contains only even powered prime factors.

Thus the LHS of Eqn1 can contain only even powered prime factors whereas the RHS of Eqn1 will contain odd powered prime factors whenever n contains any odd powered prime factors.

So LHS = RHS is possible if (and only if) n contains only even powered prime factors. This is of course equivalent to the requirement that n be a perfect square.

In other words, either n is a perfect square or \sqrt{n} is irrational.
 
Last edited:
  • #17
*** a 'M' Generalization with a bonus Link Phi, e & i... ***

Theorem- The irrationality of SQRT(N)

SQRT(N) is irrational if

N = p1*p2...*pk, where

pi i =1 to k are different Prime Numbers.


For instances,

1) Is SQRT(6) irrational?

...

It's irrational as 6 = 2 * 3

[?]


2) Is SQRT(30) irrational?

A simple Number Test,

with a Bonus Link about Phi (Golden Ratio), e, pi for all:-

http://superstringtheory.com/forum/extraboard/messages12/376.html

Happy exploring & have a wonderful memory & time...

kx21

https://www.physicsforums.com/member.php?s=&action=getinfo&find=lastposter&forumid=80
 
Last edited by a moderator:
  • #18
Theorem- The irrationality of SQRT(N)

SQRT(N) is irrational if

N = p1*p2...*pk, where

pi i =1 to k are different Prime Numbers.

While correct that theorem is only "half baked" as there are very many integers n for which sqrt(n) is irrational but yet n cannot be expressed as such a simple prime product as stated by the therom (that is, with all prime factors to unity power only).

Why not do it properly as per either mathmans or my own post, and establish irrationality for sqrt of all integers which are not perfect squares ?


Also, if you're going to just quote a therom that has already established primeness of certain square roots (as opposed to establishing it from something more fundamental like the uniqueness of prime factorization) then why pick such a "half baked" theorem in the first place? Why not use a better theorem to begin with.


Theorem : Either n is a perfect square or sqrt(n) is irrational.

Then all you need to do is to say. "Since 6 in not a perfect then by the above theorem then the sqrt of 6 is irrational." QED.

Really, if you are going to be lame then at least do it properly. ;-)
 
  • #19
Originally posted by uart

Theorem : Either n is a perfect square or sqrt(n) is irrational.

Then all you need to do is to say. "Since 6 in not a perfect then by the above theorem then the sqrt of 6 is irrational." QED.

Really, if you are going to be lame then at least do it properly. ;-)

...

Let me think...

Are there any 'Topological Defects' hidden in your Theorem.

Eureka!

Your Theorem is invalid if...

n = -1.

Proof:-

Given SQRT(-1)= i * i

This Completes the proof...


[?]


kx21
https://www.physicsforums.com/member.php?s=&action=getinfo&find=lastposter&forumid=80
 
Last edited by a moderator:
  • #20
it was clarified earlier that n is a nonnegative nonsquare integer. i is irrational if irrational means not rational. but irrational usually refers to R\Q. technically, this doesn't violate an or statement though i think what was mean by adding the word "either" was exclusive or, Xor.
 
  • #21
square(6) is irrational.

first of all, we let x = sqrt(6).
squaring both sides we have xsquare is equal to 6.
 

Attachments

Last edited:
  • #22
Okay, but that requires proving the "rational root theorem" which is surely harder to prove in general that specifically that sqrt(6) is irrational.
 
  • #23
well, i am sorry but i haven't heard of the prime lemma. however, in my convinience, it is better to prove the statement using the rational root theorem. the only thing that you need here is the rational root theorem. :wink:
 
  • #24
proove that the SR of 2 is Irrational, and the SR or 3 is irrational (they are prime so they have no factors other than 1 and itself therefore the root is irrational)

since those two roots are irational, an Irrational times an irrational is an irrational, therefore, root 6 is irrational.
 
  • #25
your proof using the rational root theorim is incomplete.

you need to point out that since 6 is a real, Positive number, the SQRT of 6 cannot be complex, so the roots of X^2 can not be complex. (the complex root theorim says complex roots come in pairs, so it is important to rule those root out)
 
  • #26
Originally posted by modmans2ndcoming
proove that the SR of 2 is Irrational, and the SR or 3 is irrational (they are prime so they have no factors other than 1 and itself therefore the root is irrational)

since those two roots are irational, an Irrational times an irrational is an irrational, therefore, root 6 is irrational.

certainly not true that last bit. It is easily possible for the product of two irrationals to be rational, sqrt(2) and, er, sqrt(2) for instance.
 
  • #27
sorry, I was not percise enough in my proof and left some speculation.

I should have said " the product of 2 distinct irrational numbers is irrational.
 
  • #28
Originally posted by modmans2ndcoming
sorry, I was not percise enough in my proof and left some speculation.

I should have said " the product of 2 distinct irrational numbers is irrational.


and the product of pi and 1/pi is?
 
  • #29
umm...1/pi is not an integer so it can't be a prime :-)
 
  • #30
you didn't state that it *had* to be only to do with integers or primes. You just said that the product of two (distinct) irrationals is irrational.

If you don't like pi, then sqrt(2) and 2sqrt(2) are two distinct irrationals involving only integers and whose product is rational. Until such time as you accurately state all your hypotheses and what that impies you can't discount counter examples. So phrase the statement to remove ambiguity.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
911
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K