Euclid's Proof for Prime Numbers

Note that this is not true if k is not a prime factor of both a and b. For example, let a=4 and b=6. 6-4=2, and 2 is not divisible by 4 or 6.
  • #1
kripkrip420
54
0

Homework Statement



Euclid's proof

Euclid offered the following proof published in his work Elements (Book IX, Proposition 20)[1] and paraphrased here.
Take any finite list of prime numbers p1, p2, ..., pn. It will be shown that some additional prime numbers not in this list exist. Let P be the product of all the prime numbers in the list: P = p1...pn. Let q = P + 1: 1 more than this product. Then, q is either prime or not:
If q is prime then there is at least one more prime than is listed.
If q is not prime then some prime factor p divides q. This factor p is not on our list: if it were, then it would divide P (since P is the product of every number on the list); but as we know, p divides P + 1 = q. Then p would have to divide the difference of the two numbers, which is (P + 1) − P or just 1. But no prime number divides 1 so there would be a contradiction, and therefore p cannot be on the list. This means at least one more prime number exists beyond those in the list.
This proves that for any finite list of prime numbers, there is a prime number not on the list. Therefore there must be infinitely many prime numbers.
It is often erroneously reported that Euclid proved this result by contradiction, beginning with the assumption that the set initially considered contains all prime numbers, or that it contains precisely the n smallest primes, rather than any arbitrary finite set of primes.[2] Although the proof as a whole is not by contradiction, in that it does not begin by assuming that only finitely many primes exist, there is a proof by contradiction within it: that is the proof that none of the initially considered primes can divide the number called q above.

Homework Equations


The Attempt at a Solution



Above is the problem I am facing. There are certain aspects of this proof that I cannot understand. I understand part a of the proof that states if q is prime, then their is one more prime in the list but part b is where it gets tricky. The first thing I don't quite understand is why the prime factor p can only divide q and not P. It states that if p was in the list, then P would be divisible by it. What significance does this have to the proof? I know that if q is not prime, then it must be composite, which means that it must have a prime factor p. But again, the significance of p being able to divide P and therefore existing in the list makes no sense to me. Also, I have never been told before that a prime factor cannot divide 1. This is stated as a contradiction but If you look at the prime number 2, why wouldn't 2 be able to divide 1? Common sense tells me that when you divide 1 by 2, you get 0.5. Have I not just divided 1 by a prime?

Thank you in advance to everyone who helps me on this topic and have a Merry Christmas and a Happy New Year!
 
Physics news on Phys.org
  • #2
"x divides y" means "y divided by x is an integer." So no prime number divides 1.
 
  • #3
So your telling me that the resulting number must be an integer and not a fraction? Also, why can't p divide P and only q?
 
  • #4
Oh and why must p divide the difference between P and Q?
 
  • #5
Well, suppose p divides both P and q.

Then there is some integer m such that mp=P and some integer n such that np = q, right?

But now consider the difference between P and q, P - q. By the above we know that this is also equal to mp - np, or (m-n)p. Since m and n are integers, their difference is an integer. Hence p has to divide the difference between them.

But in Euclid's proof, q is P+1. So if p divides P and q, then p has to divide their difference. But that's one, and so that's impossible. Hence p doesn't divide both P and q.
 
  • #6
Thank you very much! All of this makes sense except for one bit. Why MUST p divide the difference of two integers? Also, 1 is divisible by a number but it yields a fraction. Why must the result be an integer?

Again, thank you so much for your help. I understand the proof, I just don't understand why certain things exist the way they do.
 
  • #7
The reason we don't allow fractions here is just because when we are talking about prime numbers, we are only concerned with integers, because that's what makes a number "prime." I mean, if we allowed fractions, then every number would be composite, and in an infinite number of ways. That just wouldn't be very interesting.

It's easy to see why in order for p to divide both P and q, it has to divide P-q.

Suppose p divides q, ie q = mp, m an integer. Then

P = q + P - q

Then suppose that p does NOT divide P-q. Then we have:

P-q = np + r where 0 < r < p and n is an integer.

So P = mp + np + r = (m+n)p + r.

So p doesn't divide P. You can easily show by the same argument that if it does divide P-q, then it divides both.
 
  • #8
I'm sorry but now you've confused me further. What does q/p have anything to do with P=q+P-q?
 
  • #9
Ok. I understand everything now. Can you just prove to me that if two numbers, say a and b, have the same factor, then their difference is indeed also divisible by that factor.

Thank you so much for your help!
 
  • #10
Let a = mk and b=nk, where n and m are integers, and k is some prime factor of a and b.

Claim: (a-b) is divisible by k.

(a-b) = (mk-nk) = k(m-n)

m-n is an integer because m and n are integers, hence (a-b) is divisible by k.
 
  • #11
Yes, sorry, I figured this out earlier. Sorry I did not post to say so. I appreciate the time you have taken to explain this to me. Please know that you have helped someone understand even more just how beatiful math can be. Again, I thank you for all your help!
 

1. What is Euclid's Proof for Prime Numbers?

Euclid's Proof for Prime Numbers is a mathematical proof, developed by the ancient Greek mathematician Euclid, that proves the infinitude of prime numbers. It is one of the oldest and most well-known proofs in mathematics.

2. How does Euclid's Proof for Prime Numbers work?

The proof works by contradiction, assuming that there is a largest prime number and then showing that this assumption leads to a contradiction. This contradiction proves that there is no largest prime number and thus, there are infinitely many prime numbers.

3. Is Euclid's Proof for Prime Numbers still valid today?

Yes, Euclid's Proof for Prime Numbers is still considered valid today. It is a well-accepted proof in mathematics and is still referenced and used in modern mathematical research and education.

4. Why is Euclid's Proof for Prime Numbers important?

Euclid's Proof for Prime Numbers is important because it is one of the first and most fundamental proofs in mathematics. It not only proves the infinitude of prime numbers, but it also laid the foundation for future mathematical proofs and theories.

5. Are there any limitations to Euclid's Proof for Prime Numbers?

While Euclid's Proof for Prime Numbers is a valid and important proof, it does have some limitations. It only proves the infinitude of prime numbers, but does not provide any information about the distribution or patterns of prime numbers.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
16
Views
2K
  • Precalculus Mathematics Homework Help
Replies
8
Views
2K
  • Precalculus Mathematics Homework Help
Replies
12
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
934
  • Precalculus Mathematics Homework Help
Replies
8
Views
2K
  • Precalculus Mathematics Homework Help
Replies
15
Views
960
  • Precalculus Mathematics Homework Help
Replies
9
Views
1K
Back
Top