Proof of the irrationality of the square root of primes ?

In summary, the conversation discusses a proof of the statement "If p is prime, then the square root of p is prime." The initial statement is flawed, as it should say "irrational" instead of "prime." The proof itself is correct, but there is a question about whether one step relies on the assumption of the uniqueness of prime factorizations. The conversation concludes that it does, but the proof still holds.
  • #1
╔(σ_σ)╝
839
2

Homework Statement



If p is prime [tex]\sqrt{p}[/tex] is prime.

Are there flaws in my proof ?

Homework Equations





The Attempt at a Solution



Assume [tex] \sqrt{p}=\frac{m}{n} [/tex] and [tex]gcd(m,n)=1[/tex]

[tex] p = \frac{m^{2}}{n^{2}}[/tex]

Since p is an integer [tex] n^{2}|m^{2}[/tex] but [tex]gcd(m,n)=1[/tex]

Therefore,
[tex]n^{2} =1[/tex] ( Should I justify this step ? I don't deem it necessary.)

Therefore
[tex] m^{2} = p\Rightarrow m^{2}|p \Rightarrow m|p[/tex] but p is prime and only has factors of 1 and p. So since [tex]m, m^{2}[/tex] divide p [tex]m=1[/tex] this leads to a contradiction since [tex]p =/=1[/tex] .

Are there flaws ?
 
Physics news on Phys.org
  • #2
This isn't a comment about your work, but the statement you're trying to prove seems flawed to me. If p is a prime, then [itex]\sqrt{p}[/itex] will be irrational; hence not an integer. When we talk about numbers being prime or composite, the tacit assumption is that we're talking about integers.
 
  • #3
╔(σ_σ)╝ said:

Homework Statement



If p is prime [tex]\sqrt{p}[/tex] is prime.
Well, there is an obvious flaw here! You mean to say "If p is prime then [tex]\sqrt{p}[/tex] is irrational."

Other than that your proof looks good.

Are there flaws in my proof ?

Homework Equations





The Attempt at a Solution



Assume [tex] \sqrt{p}=\frac{m}{n} [/tex] and [tex]gcd(m,n)=1[/tex]

[tex] p = \frac{m^{2}}{n^{2}}[/tex]

Since p is an integer [tex] n^{2}|m^{2}[/tex] but [tex]gcd(m,n)=1[/tex]

Therefore,
[tex]n^{2} =1[/tex] ( Should I justify this step ? I don't deem it necessary.)
No, saying that gcd(m,n)= 1 and that [itex]n^2[/itex] divides [itex]m^2[/itex] is sufficient.

Therefore
[tex] m^{2} = p\Rightarrow m^{2}|p \Rightarrow m|p[/tex] but p is prime and only has factors of 1 and p. So since [tex]m, m^{2}[/tex] divide p [tex]m=1[/tex] this leads to a contradiction since [tex]p =/=1[/tex] .

Are there flaws ?
 
  • #4
Mark44 said:
This isn't a comment about your work, but the statement you're trying to prove seems flawed to me. If p is a prime, then [itex]\sqrt{p}[/itex] will be irrational; hence not an integer. When we talk about numbers being prime or composite, the tacit assumption is that we're talking about integers.

Hahaha. Yes it is flawed that was an honest mistake.
 
  • #5
╔(σ_σ)╝ said:
Since p is an integer [tex] n^{2}|m^{2}[/tex] but [tex]gcd(m,n)=1[/tex]

Therefore,
[tex]n^{2} =1[/tex] ( Should I justify this step ? I don't deem it necessary.)

Does this step necessarily rely on the fact that every natural number's prime factorization is unique? The only way that I can think of proving this statement uses it, but I want to know if I'm over looking somethig.
 
  • #6
jgens said:
Does this step necessarily rely on the fact that every natural number's prime factorization is unique? The only way that I can think of proving this statement uses it, but I want to know if I'm over looking somethig.

Which statement ? There are a couple there.
 
  • #7
The fact that n2 = 1.
 
  • #8
jgens said:
The fact that n2 = 1.

The way I see it , it is a consequence of the fact that [tex] gcd(m,n) =1[/tex] and that [tex] n^{2}|m^{2}[/tex].

[tex] n|n^{2}[/tex]but n does not divide [tex] m^{2}[/tex] since it implies that [tex]n|m[/tex]. For all this to be true [tex]n^{2}=1[/tex].


Perhaps a complete proof of this fact may use unique factorization but I think I may be able to prove it by contradiction.
 
  • #9
╔(σ_σ)╝ said:
Perhaps a complete proof of this fact may use unique factorization but I think I may be able to prove it by contradiction.

Well, here's why I think that it does assume the uniqueness of prime factorizations. In this specific case, we have that

[tex]\frac{m^2}{n^2}=p[/tex]

where [itex]p[/itex] is a prime number. Now, this clearly means that

[tex]m^2=n^2p[/tex]

Assuming the Fundamental Theorem of Arithmetic holds, this is an obvious contradiction if [itex]n^2 \neq 1[/itex] since the left side has an even number of prime factors while the right side has an odd number of prime factors. However, if we don't assume that this theorem holds, then we wouldn't know if it was possible to find another prime factorization of [itex]n^2p[/itex] with the same prime factorization as [itex]m^2[/itex] and vice versa.

I know that the Fundamental Theorem of Arithmetic is true, so there's absolutely nothing wrong with your proof. I was just wondering if it implicitly assumed that the FTA holds.
 
  • #10
jgens said:
Well, here's why I think that it does assume the uniqueness of prime factorizations. In this specific case, we have that

[tex]\frac{m^2}{n^2}=p[/tex]

where [itex]p[/itex] is a prime number. Now, this clearly means that

[tex]m^2=n^2p[/tex]

Assuming the Fundamental Theorem of Arithmetic holds, this is an obvious contradiction if [itex]n^2 \neq 1[/itex] since the left side has an even number of prime factors while the right side has an odd number of prime factors. However, if we don't assume that this theorem holds, then we wouldn't know if it was possible to find another prime factorization of [itex]n^2p[/itex] with the same prime factorization as [itex]m^2[/itex] and vice versa.

I know that the Fundamental Theorem of Arithmetic is true, so there's absolutely nothing wrong with your proof. I was just wondering if it implicitly assumed that the FTA holds.

I guess I see your point.
I believe that I arrived at my conclusion from simple arguments of divisibility.
To be honest I wasn't thinking about FTA when I wrote this prove.

I don't think I needed FTA for this.

I may be wrong, considering I am not very knowledgeable in mathematics ( engineering student here).

But what I did seems like a natural step to me and I believe the fact that [tex] n^{2} =1[/tex] follows for the divisibility statements I stated previously. FTA is a corrolary of divisibility, is it not ?
 
Last edited:
  • #11
╔(σ_σ)╝ said:
I guess I see your point.
I believe that I arrived at my conclusion from simple arguments of divisibility.

Your arguments are fine and I was never disputing their validty.

I don't think I needed FTA for this.

If your proof assumes the FTA, then this isn't strictly true; whether or not you stated it explicitly, you used some consequence of it.

But what I did seems like a natural step to me and I believe the fact that [tex] n^{2} =1[/tex] follows for the divisibility statements I stated previously. FTA is a corrolary of divisibility, is it not ?

It is a natural step. Again, I just think that it relies on the FTA (I'm not sure that it does though, which is why I asked in the first place).
 
  • #12
[tex]n^{2}|m^{2} \Rightarrow n|m^{2}[/tex] from here is obvious to me ( without FTA) that n=1 since [tex] gcd(m,n)=1[/tex].
[tex] n|ab \Rightarrow n|a[/tex] or [tex] n|b[/tex] taking [tex] a=b= m[/tex]. Did I use FTA or any consequence of it ? I honestly do not know!
 
  • #13
╔(σ_σ)╝ said:
[tex]n^{2}|m^{2} \Rightarrow n|m^{2}[/tex] from here is obvious to me ( without FTA) that n=1 since [tex] gcd(m,n)=1[/tex].
[tex] n|ab \Rightarrow n|a[/tex] or [tex] n|b[/tex] taking [tex] a=b= m[/tex]. Did I use FTA or any consequence of it ? I honestly do not know!

You didn't use FTA because you didn't prove anything. You just said it was 'obvious'. That's not a proof. The rest of your proof is much more obvious. n|ab -> n|a or n|b is generally only true if n is prime. I think most people would say that the most important part of the proof was in the part you omitted. I also think you should try and prove it.
 
  • #14
╔(σ_σ)╝ said:
[tex]n^{2}|m^{2} \Rightarrow n|m^{2}[/tex]

No disputes here.

from here is obvious to me ( without FTA) that n=1 since [tex] gcd(m,n)=1[/tex].

Why do you think that it's obvious without the FTA?

[tex] n|ab \Rightarrow n|a[/tex] or [tex] n|b[/tex] taking [tex] a=b= m[/tex].

You've stated the theorem incorrectly, it should read: If n is prime and n|ab, then n|a or n|b. While it's certainly true that if n|m2, then n|m, you can't use the above theorem unless we can guarantee that n is a prime.

Moreover, taking this particular case into consideration, since m2/n = np, this seems to be nothing more than a restatement of the fact that m2 = n2p. But then, my original reasoning* concerning the use of the FTA still applies, so I'm not sure that this is any better.

*
jgens said:
Assuming the Fundamental Theorem of Arithmetic holds, this is an obvious contradiction if since the left side has an even number of prime factors while the right side has an odd number of prime factors. However, if we don't assume that this theorem holds, then we wouldn't know if it was possible to find another prime factorization of with the same prime factorization as and vice versa.
 
  • #15
Dick said:
You didn't use FTA because you didn't prove anything. You just said it was 'obvious'. That's not a proof. The rest of your proof is much more obvious. I think most people would say that the most important part of the proof was in the part you omitted. I also think you should try and prove it.

[tex] n^{2}|m^{2}\Rightarrow (n| m^{2}\Rightarrow n|m) [/tex]

I assume the last part in the bracket is where you guys say FTA is used. Right ?

I suppose that FTA is needed and I am wrong.

n|ab -> n|a or n|b is generally only true if n is prime.
Doesn't this hold without n been prime ?

Are you saying it is possible n|a*b but neither divides a or b ? Can you give an example ?


jgens said:
Why do you think that it's obvious without the FTA?

jgens said:
You've stated the theorem incorrectly, it should read: If n is prime and n|ab, then n|a or n|b. While it's certainly true that if n|m2, then n|m, you can't use the above theorem unless we can guarantee that n is a prime.
Above.
 
  • #16
╔(σ_σ)╝ said:
Doesn't this hold without n been prime ?

Are you saying it is possible n|a*b but neither divides a or b ? Can you give an example?

6|2*3 but 6 doesn't divide 2 or 3.
 
  • #17
jgens said:
6|2*3 but 6 doesn't divide 2 or 3.

Okay.

Yes, I was defintely wrong. I would like to blame this on the fact that is way past my bed time but this actually ignorance. Thankfully I am not a math or physics major so this error is not as horrendous; still unpleasent though!

I used FTA in my proof without knowing. To go from [tex] n|m^{2}[/tex] to [tex]n|m[/tex] requires the unique factorization theorem.
Thanks for pointing out my stupidity and the gaps in my reseasoning.

I guess my professor was right when we said there is always something to gain from a proof.

Perhaps, I should pay more attention to the so called "facts" or "trivialities" I use in my proof. I often take things for granted which is a bad approach to mathematics.
 
  • #18
╔(σ_σ)╝ said:
Thanks for pointing out my stupidity and the gaps in my reseasoning.

I guess my professor was right when we said there is always something to gain from a proof.

Perhaps, I should pay more attention to the so called "facts" or "trivialities" I use in my proof. I often take things for granted which is a bad approach to mathematics.

In terms of your original proof, there were no gaps in your reasoning. The FTA certainly holds and so it's a reasonable thing to assume. Moreover, I don't think that you've said anything particularly stupid. You may have stated a theorem a little incorrectly, but that's not a huge deal, especially if you learn something from it. I think that you're being too hard on yourself.
 
  • #19
╔(σ_σ)╝ said:
I used FTA in my proof without knowing. To go from [tex] n|m^{2}[/tex] to [tex]n|m[/tex] requires the unique factorization theorem.

i think to go from [tex] n|m^{2}[/tex] to [tex]n|m[/tex] does not require unique factorization theorem, but gcd(n,m)=1

unique factorization theorem, used for [tex] n^2|m^{2}[/tex] to [tex]p|m[/tex] for some prime p that divides n
 
  • #20
Well how can we argue that [tex]n|m[/tex] from [tex]n|m^{2}[/tex] which taking about common factors ? Trying to show that [tex]m^{2}[/tex] has the same factors as m requires unique factorization. Without it I would have a hard time proving the later.

The idea is to express m as a product of primes and then show that only the exponents only differ by a multiple of 2. In which case we can say for certain that [tex]m^{2}[/tex] does not have factor non-common with m.

Can you figure out a way without FTA ? I would be interested in seeing it.
 
Last edited:
  • #21
annoymage said:
i think to go from [tex] n|m^{2}[/tex] to [tex]n|m[/tex] does not require unique factorization theorem, but gcd(n,m)=1

unique factorization theorem, used for [tex] n^2|m^{2}[/tex] to [tex]p|m[/tex] for some prime p that divides n

I too would be interested in seeing if you could do it.
 

FAQ: Proof of the irrationality of the square root of primes ?

What is the proof of the irrationality of the square root of primes?

The proof of the irrationality of the square root of primes is a mathematical proof that shows that the square root of any prime number (a number that can only be divided by 1 and itself) is an irrational number (a number that cannot be expressed as a ratio of two integers).

Why is it important to prove the irrationality of the square root of primes?

This proof is important because it helps us understand the nature of numbers and their properties. It also has practical applications in fields such as cryptography, where the security of certain algorithms relies on the irrationality of certain numbers.

How was the proof of the irrationality of the square root of primes discovered?

The proof was first discovered by the ancient Greek mathematician Euclid, in his famous work "Elements". However, many variations and extensions of the proof have been developed by mathematicians over the centuries.

What are some key concepts used in the proof of the irrationality of the square root of primes?

The proof uses concepts from number theory, including prime numbers, irrational numbers, and the fundamental theorem of arithmetic. It also relies on algebraic manipulation and logical reasoning.

Are there any other irrational numbers besides the square root of primes?

Yes, there are infinitely many irrational numbers. In fact, most real numbers are irrational, meaning they cannot be expressed as a ratio of two integers. This includes famous numbers such as pi and the square root of 2.

Back
Top