Irrationality of the square root of a prime

Click For Summary

Discussion Overview

The discussion revolves around the proof of the irrationality of the square root of a prime number, exploring why this proof does not extend to non-prime numbers such as 4. Participants examine various aspects of the proof, its implications, and the definitions of primality.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants present a proof that claims the square root of a prime is irrational, involving the assumption that it can be expressed as a reduced fraction.
  • Questions arise about why the proof holds for prime numbers but not for composite numbers like 4, with some suggesting that the factorization of 4 complicates the argument.
  • One participant notes that the definition of primeness includes the property that if a prime divides a product, it must divide at least one of the factors, which does not apply to 4.
  • Another participant suggests that the argument can be generalized to state that the square root of any natural number that is not a perfect square is irrational.
  • Some participants discuss the uniqueness of prime factorization and how it leads to contradictions in the proof.
  • There are inquiries about specific steps in the proof, particularly regarding why r divides p and not q, with references to definitions of prime numbers.
  • Alternative proofs and methods are introduced, including the rational roots theorem and considerations of the number of divisors in the context of the proof.

Areas of Agreement / Disagreement

Participants express a range of views on the proof's validity and its applicability to different types of numbers. There is no consensus on the nuances of the proof or its implications for composite numbers.

Contextual Notes

Some participants highlight limitations in the proof's assumptions and the definitions used, particularly regarding the nature of prime numbers and perfect squares.

Who May Find This Useful

This discussion may be of interest to those studying number theory, particularly the properties of prime numbers and irrational numbers.

LeBrad
Messages
214
Reaction score
0
I saw a proof saying the root of a prime is always irrational, and it went something like this:

sqrt(r) = p/q where p/q is reduced
r = p^2/q^2
r*q^2 = p^2 therefore, r divides p
so define p = c*r
r*q^2 = (c*r)^2 = c^2*r^2
q^2 = c^2*r therefore, r divides q also
since r divides p and q, p/q is not reduced and we have a contradition so sqrt(r) is irrational.

Now my question is, assuming the above is correct, why does this work for prime r and not, say, r = 4.
 
Mathematics news on Phys.org
LeBrad said:
I saw a proof saying the root of a prime is always irrational, and it went something like this:

sqrt(r) = p/q where p/q is reduced
r = p^2/q^2
r*q^2 = p^2 therefore, r divides p
so define p = c*r
r*q^2 = (c*r)^2 = c^2*r^2
q^2 = c^2*r therefore, r divides q also
since r divides p and q, p/q is not reduced and we have a contradition so sqrt(r) is irrational.

Now my question is, assuming the above is correct, why does this work for prime r and not, say, r = 4.

This proof is based on the fact that a power has the same factors than it's root. Since 2 is prime, then it must be a factor of p. But with the number 4 this is no longer revelant since 4=2x2 and it would be fallascious to say 4 is a factor of p.
 
Werg22 said:
This proof is based on the fact that a power has the same factors than it's root. Since 2 is prime, then it must be a factor of p. But with the number 4 this is no longer revelant since 4=2x2 and it would be fallascious to say 4 is a factor of p.

I figured that's where the difference was but I couldn't quite see why. Thanks.
 
another point to bear in mind is the "real" definition of primeness:

p is prime if whenever p diveds ab p divides one onf a or b. 4 fails this test.

here is another way of showing the same result:

suppose p=a^2/b^2, then rearranging pa^2=b^2. By the uniqueness of prime decomposition since the RHS has an even number of prime factors and the left an odd number we have a contradiction.
 
The argument is more general than that. If p is an natural number that is not a perfect square then its square root is irrational.
 
LeBrad said:
I saw a proof saying the root of a prime is always irrational, and it went something like this:

sqrt(r) = p/q where p/q is reduced
r = p^2/q^2
r*q^2 = p^2 therefore, r divides p
so define p = c*r
r*q^2 = (c*r)^2 = c^2*r^2
q^2 = c^2*r therefore, r divides q also
since r divides p and q, p/q is not reduced and we have a contradition so sqrt(r) is irrational.

Now my question is, assuming the above is correct, why does this work for prime r and not, say, r = 4.
There is no way to express 4 as p/q, where p/q is reduced, except for the trivial case q = 1.
 
SGT said:
There is no way to express 4 as p/q, where p/q is reduced, except for the trivial case q = 1.

If every rational number can be expressed as the ratio of two integers, I don't see why 4 = 4/1 is trivial.
 
sqrt(r) = p/q where p/q is reduced
r = p^2/q^2
r*q^2 = p^2 therefore, r divides p

Hi, can you tell me why r divides p? Why not q^2=P^2/r ? Please teach me. Thank you very much!
 
logic2b1 said:
sqrt(r) = p/q where p/q is reduced
r = p^2/q^2
r*q^2 = p^2 therefore, r divides p

Hi, can you tell me why r divides p? Why not q^2=P^2/r ? Please teach me. Thank you very much!

r*q^2=p^2 means r divides p^2. LeBrad was assuming r was a prime, so r divides p^2 means r divides p (see matt's post for the definition of prime).
 
  • #10
matt grime said:
suppose p=a^2/b^2, then rearranging pa^2=b^2. By the uniqueness of prime decomposition since the RHS has an even number of prime factors and the left an odd number we have a contradiction.
How about this ?

In the above, the RHS has an odd number of divisors while the LHS has an even number, unless p is a perfect square.
 
  • #11
here is another similar proof:

if sqrt(p) = a/b, is in lowest tems, then p/1 = a^2/b^2 is also in lowest terms.

but lowest terms is unique so a^2 = p and b^2 = 1, i.e. p must be a perfect square.
 
  • #12
here is another one: if X^2 - p =0 has a rational solution then by the rational roots theorem, then if p is prime, the solution is p, -p, 1, or -1, none of which work.
 
  • #13
matt grime's method is elegant! I have never seen it done that way...
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
4
Views
2K
  • · Replies 43 ·
2
Replies
43
Views
7K
  • · Replies 24 ·
Replies
24
Views
4K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K