In our last lesson, we delved into the structure of integers by examining the exponents in their prime factorizations. This led us to a powerful way to characterize perfect powers and introduced the useful notation of p-adic valuation. The recurring theme has been the foundational role of prime numbers. A natural and profound question thus arises: how many of these fundamental building blocks actually exist?
Today, we confront this question head-on. We will explore one of the most elegant and ancient results in mathematics: the infinitude of primes. Our main focus will be the classical proof attributed to Euclid, dating back to around 300 BC. More than just understanding the proof, we will dissect its logic, address common misunderstandings, and see how its core idea can be adapted to prove related, more specific results—a key skill in non-routine problem solving.
1. Euclid's Proof: An Undisputed Classic
The theorem that there are infinitely many primes is a cornerstone of number theory. The most famous proof is a masterpiece of logical deduction. It is often presented as a proof by contradiction, a method you'll find indispensable in your mathematical journey.
The NPTEL video from IIT Bombay provides an excellent walkthrough of this argument. The lecturer, Prof. Shripad Garge, begins by explaining the logic of proof by contradiction before applying it to our theorem.
Week 1-Lecture 3 : Infinitude of primes
This video from the NPTEL course on Number Theory presents Euclid's classic proof with clarity and precision.
Please watch the following segments: First, watch the introduction to the method of contradiction, where the lecturer uses an analogy from G.H. Hardy's A Mathematician's Apology. Next, watch the proof of a simple but necessary lemma: every integer n > 1 has a prime factor. This is a direct consequence of the Fundamental Theorem of Arithmetic which we've already established. Finally, watch the main argument for the infinitude of primes.
Let's summarize the core steps of the proof by contradiction you just saw:
- Assumption: Assume the opposite of what we want to prove. Let's assume there is a finite number of primes. We can list them all: .
- Construction: Create a new number, , by multiplying all these primes together and adding 1.
- Analysis: This number is greater than 1, so it must have a prime factor (as established in the lemma). Let's call this prime factor .
- The Contradiction: According to our initial assumption, must be one of the primes in our complete list . However, by the way we constructed , if you divide by any of the primes in our list, you will always get a remainder of 1. Therefore, none of the primes can be a factor of . This means the prime factor is not on our supposedly complete list. This is a contradiction.
- Conclusion: Our initial assumption that the set of primes is finite must be false. Therefore, there are infinitely many primes.
2. A Common Misconception
A frequent point of confusion in this proof is the nature of the number . It is tempting to think that this number must itself be prime. This is not what the proof claims, and it is not always true.
For example:
- (prime)
- (prime)
- (composite)
The proof's logic is more subtle: is not divisible by any of the primes used to construct it. Therefore, its prime factors (whether it's prime itself or composite) must be new primes, not in the original list.
This popular Numberphile video gives a very quick, intuitive summary of the proof that emphasizes this point correctly.
This Numberphile video offers a concise and engaging take on the proof.
Watch the core of the proof from assuming the opposite. Notice how James Grime carefully states that the prime factors of the new number Q are not on the list, leading to the contradiction.
The following resource provides further excellent clarification on this common mistake and also introduces a slightly different, and perhaps more direct, way to frame the argument.
Understanding Euclid's proof that the number of primes is infinite. - Mathematics Stack Exchange
This discussion on Mathematics Stack Exchange directly tackles the most common pitfalls in understanding Euclid's proof.
First, read the two answers under the heading "Euclid's proof was not by contradiction." The first part gives a concrete example with S={5,7} and clarifies that the constructed number (36) is not prime. The second part succinctly summarizes the key point.
As Michael Hardy points out in that resource, Euclid's original argument wasn't strictly a proof by contradiction. It can be seen as a constructive method: For any finite set of primes , the number must have prime factors not in . Therefore, no finite set of primes can be complete. This aligns well with your preference for first-principles thinking, as it's a direct demonstration rather than a refutation of a false premise.
3. Variations on Euclid's Argument
The true power of a mathematical idea often lies in its generalizability. The logic of Euclid's proof can be adapted to show that there are infinite primes within certain families of numbers, specifically in arithmetic progressions. This is a common theme in Olympiad-level problems.
Let's explore two examples using a construction similar to Euclid's. The following text from Keith Conrad's lecture notes at UConn is an excellent resource for these kinds of proofs.
[PDF] The infinitude of the primes - Keith Conrad
These notes demonstrate how to adapt Euclid's method to prove the infinitude of primes in specific arithmetic progressions.
Please read the section "Generalizing Euclid's proof," focusing on two theorems: Read the proof of Theorem 3.1, which shows there are infinitely many primes of the form 4k+3. Notice the choice of N = 4p_1p_2 \cdots p_r - 1. Why was this form chosen? Next, read the proof of Theorem 3.3 for primes of the form 4k+1. This one is more subtle. It uses the construction N = (2p_1p_2 \cdots p_r)^2 + 1 and relies on a property of modular arithmetic (stated in Lemma 3.2) that we will explore more deeply later in this course.
These proofs show that the core idea—constructing a number that must have a certain type of prime factor not on an initial list—is a flexible and powerful tool.
There are other constructions as well. A particularly elegant one uses factorials. The NPTEL video you watched earlier contains a short segment on this alternative proof.
Week 1-Lecture 3 : Infinitude of primes
This segment presents an alternative construction using factorials to prove the infinitude of primes.
Please watch the section from another such proof.
The logic here is beautifully simple: for any integer , the number is not divisible by any integer from 2 to . Therefore, any prime factor of must be greater than . Since we can do this for any , there cannot be a largest prime.
4. A Glimpse of Other Methods
Euclid's proof is combinatorial and algebraic in nature. However, other proofs exist that draw from different branches of mathematics, revealing deep and unexpected connections. You don't need to master these now, but seeing them will broaden your intellectual landscape.
-
Euler's Proof (Analysis): Leonhard Euler connected the primes to the world of infinite series. He showed that the sum of the reciprocals of all integers (the harmonic series) can be expressed as a product over all primes:
The left side is famously divergent (it goes to infinity). If there were only finitely many primes, the product on the right would be a finite value. This contradiction proves there must be infinitely many primes. This proof is the foundation of a whole field called analytic number theory. -
Erdős's Proof (Combinatorics): Paul Erdős provided a wonderfully clever proof using a simple counting argument. He showed that if you assume there are finitely many primes, you can't actually generate all the integers up to some large number , leading to a contradiction.
These alternative proofs are discussed in the same notes by Keith Conrad.
[PDF] The infinitude of the primes - Keith Conrad
This resource provides a concise overview of two other famous proofs.
I encourage you to skim the introductions to Section 4 (Euler's proof) and Section 6 (Erdős's proof) to appreciate the different flavors of these arguments. We will not delve into their details, but it is valuable to be aware of their existence and the creative ideas behind them.
Conclusion
Today we have explored one of the most fundamental truths about numbers: the set of primes is infinite.
Key Takeaways:
- Euclid's classic proof shows that for any finite list of primes, one can always construct a number whose prime factors are not on that list.
- The proof does not claim that the number is itself prime, only that it is not divisible by any of .
- The core idea of Euclid's proof is a flexible technique that can be adapted to prove the infinitude of primes in specific arithmetic progressions, like and .
- Alternative proofs, like those by Euler and Erdős, demonstrate the deep interconnectedness of different mathematical fields.
We have now concluded our second module, which focused on the consequences of the Fundamental Theorem of Arithmetic. We've defined primes, established their uniqueness as factors, analyzed their exponents to characterize powers, and now, proven their infinitude. With this solid foundation, we are ready to apply these tools to solve equations.
In our next lesson, we will begin Module 3 by investigating Linear Diophantine Equations. We will learn how to use the GCD and Bézout's Identity—concepts from our very first module—to determine when an equation of the form has integer solutions, and how to find all of them. This will be our first major application of the theoretical machinery we have been building.