Proof of Lemma: Every integer can be written as a product of primes Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraIs the number $-1$ prime?Why is complete strong induction a valid proof method and not need to explicitly proof the base cases?Confused About Step in Proof of Divergence of $sum frac1p$Complete induction proof that every $n > 1$ can be written as a product of primesProve by induction that every integer is either a prime or product of primesInduction Proof - Primes and Euclid's LemmaQuestion about a proof of FTA in A classical Introduction to modern number theoryEuclid's proof of Infinitude of Primes: If a prime divides an integer, why would it have to divide 1?Using induction to prove all numbers are prime or a product of primesProof by well ordering: Every positive integer greater than one can be factored as a product of primes.Proving that every integer $geq 2$ is either a prime or a product of primes by inducting on the well-founded relation “is a proper factor of”Why is the proof not right ? Every positive integer can be written as a product of primes?
Is there a verb for listening stealthily?
TV series episode where humans nuke aliens before decrypting their message that states they come in peace
Does every subgroup of an abelian group have to be abelian?
Does Prince Arnaud cause someone holding the Princess to lose?
Where can I find how to tex symbols for different fonts?
Bright yellow or light yellow?
What is the numbering system used for the DSN dishes?
What is the definining line between a helicopter and a drone a person can ride in?
What is ls Largest Number Formed by only moving two sticks in 508?
Coin Game with infinite paradox
Could a cockatrice have parasitic embryos?
false 'Security alert' from Google - every login generates mails from 'no-reply@accounts.google.com'
Co-worker works way more than he should
Will I be more secure with my own router behind my ISP's router?
Getting AggregateResult variables from Execute Anonymous Window
Why is arima in R one time step off?
Was there ever a LEGO store in Miami International Airport?
Arriving in Atlanta after US Preclearance in Dublin. Will I go through TSA security in Atlanta to transfer to a connecting flight?
Why doesn't the university give past final exams' answers?
Why do people think Winterfell crypts is the safest place for women, children and old people?
Why does Java have support for time zone offsets with seconds precision?
How do I deal with an erroneously large refund?
Does a Draconic Bloodline sorcerer's doubled proficiency bonus for Charisma checks against dragons apply to all dragon types or only the chosen one?
How did Elite on the NES work?
Proof of Lemma: Every integer can be written as a product of primes
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraIs the number $-1$ prime?Why is complete strong induction a valid proof method and not need to explicitly proof the base cases?Confused About Step in Proof of Divergence of $sum frac1p$Complete induction proof that every $n > 1$ can be written as a product of primesProve by induction that every integer is either a prime or product of primesInduction Proof - Primes and Euclid's LemmaQuestion about a proof of FTA in A classical Introduction to modern number theoryEuclid's proof of Infinitude of Primes: If a prime divides an integer, why would it have to divide 1?Using induction to prove all numbers are prime or a product of primesProof by well ordering: Every positive integer greater than one can be factored as a product of primes.Proving that every integer $geq 2$ is either a prime or a product of primes by inducting on the well-founded relation “is a proper factor of”Why is the proof not right ? Every positive integer can be written as a product of primes?
$begingroup$
I'm new to number theory. This might be kind of a silly question, so I'm sorry if it is.
I encountered the classic lemma about every nonzero integer being the product of primes in a textbook about number theory. In this textbook there is also a proof for it provided, and I'd like to understand why it is that the proof actually works.
The proof is as follows:
Assume, for contradiction, that there is an integer $N$ that cannot be written as a product of primes. Let $N$ be the smallest positive integer with this property. Since $N$ cannot itself be prime we must have $N = mn$, where $1 < m, n < N$. However, since $m$, $n$ are positive and smaller than $N$ they must each be a product of primes. But then so is $N = mn$. This is a contradiction.
I feel like this proof kind of presupposes the lemma. I think this line of reasoning could be strengthened using induction, and I've seen other proofs of this lemma that use induction. Can someone help me out? What am I missing and why do I think that this proof of the lemma is circular?
Edit: I'd like to add that this textbook states that if $p$ is a prime number, then so is $-p$. That's where my confusion stems from. The textbook is A Classical Introduction to Modern Number Theory by Ireland and Rosen.
elementary-number-theory prime-numbers induction proof-explanation integers
$endgroup$
|
show 7 more comments
$begingroup$
I'm new to number theory. This might be kind of a silly question, so I'm sorry if it is.
I encountered the classic lemma about every nonzero integer being the product of primes in a textbook about number theory. In this textbook there is also a proof for it provided, and I'd like to understand why it is that the proof actually works.
The proof is as follows:
Assume, for contradiction, that there is an integer $N$ that cannot be written as a product of primes. Let $N$ be the smallest positive integer with this property. Since $N$ cannot itself be prime we must have $N = mn$, where $1 < m, n < N$. However, since $m$, $n$ are positive and smaller than $N$ they must each be a product of primes. But then so is $N = mn$. This is a contradiction.
I feel like this proof kind of presupposes the lemma. I think this line of reasoning could be strengthened using induction, and I've seen other proofs of this lemma that use induction. Can someone help me out? What am I missing and why do I think that this proof of the lemma is circular?
Edit: I'd like to add that this textbook states that if $p$ is a prime number, then so is $-p$. That's where my confusion stems from. The textbook is A Classical Introduction to Modern Number Theory by Ireland and Rosen.
elementary-number-theory prime-numbers induction proof-explanation integers
$endgroup$
2
$begingroup$
That argument is by induction. the result is easy to check for small numbers, so assume it holds up to $N-1$. Then $N$ is either prime, in which case we are done, or it factors as $atimes b$ with $1<a≤b<N-1$ and you can apply the inductive hypothesis to $a,b$. Same argument.
$endgroup$
– lulu
Mar 24 at 22:36
1
$begingroup$
There is nothing missing in this proof. It is just fine. And why “two primes”?
$endgroup$
– José Carlos Santos
Mar 24 at 22:36
4
$begingroup$
It's a valid proof by infinite descent (a.k.a. minimal criminal), the contrapositive of induction - see the Remark here. You should master both this (negative) and the normal (positive) form of induction.
$endgroup$
– Bill Dubuque
Mar 25 at 1:32
3
$begingroup$
$-1$ is an integer, and is not prime...
$endgroup$
– Gerrit0
Mar 25 at 3:58
1
$begingroup$
@AndreasRejbrand According to the textbook, if p is a prime then -p is a prime :/
$endgroup$
– Alena Gusakov
Mar 25 at 15:02
|
show 7 more comments
$begingroup$
I'm new to number theory. This might be kind of a silly question, so I'm sorry if it is.
I encountered the classic lemma about every nonzero integer being the product of primes in a textbook about number theory. In this textbook there is also a proof for it provided, and I'd like to understand why it is that the proof actually works.
The proof is as follows:
Assume, for contradiction, that there is an integer $N$ that cannot be written as a product of primes. Let $N$ be the smallest positive integer with this property. Since $N$ cannot itself be prime we must have $N = mn$, where $1 < m, n < N$. However, since $m$, $n$ are positive and smaller than $N$ they must each be a product of primes. But then so is $N = mn$. This is a contradiction.
I feel like this proof kind of presupposes the lemma. I think this line of reasoning could be strengthened using induction, and I've seen other proofs of this lemma that use induction. Can someone help me out? What am I missing and why do I think that this proof of the lemma is circular?
Edit: I'd like to add that this textbook states that if $p$ is a prime number, then so is $-p$. That's where my confusion stems from. The textbook is A Classical Introduction to Modern Number Theory by Ireland and Rosen.
elementary-number-theory prime-numbers induction proof-explanation integers
$endgroup$
I'm new to number theory. This might be kind of a silly question, so I'm sorry if it is.
I encountered the classic lemma about every nonzero integer being the product of primes in a textbook about number theory. In this textbook there is also a proof for it provided, and I'd like to understand why it is that the proof actually works.
The proof is as follows:
Assume, for contradiction, that there is an integer $N$ that cannot be written as a product of primes. Let $N$ be the smallest positive integer with this property. Since $N$ cannot itself be prime we must have $N = mn$, where $1 < m, n < N$. However, since $m$, $n$ are positive and smaller than $N$ they must each be a product of primes. But then so is $N = mn$. This is a contradiction.
I feel like this proof kind of presupposes the lemma. I think this line of reasoning could be strengthened using induction, and I've seen other proofs of this lemma that use induction. Can someone help me out? What am I missing and why do I think that this proof of the lemma is circular?
Edit: I'd like to add that this textbook states that if $p$ is a prime number, then so is $-p$. That's where my confusion stems from. The textbook is A Classical Introduction to Modern Number Theory by Ireland and Rosen.
elementary-number-theory prime-numbers induction proof-explanation integers
elementary-number-theory prime-numbers induction proof-explanation integers
edited Mar 26 at 23:15
darij grinberg
11.6k33168
11.6k33168
asked Mar 24 at 22:33
Alena GusakovAlena Gusakov
6415
6415
2
$begingroup$
That argument is by induction. the result is easy to check for small numbers, so assume it holds up to $N-1$. Then $N$ is either prime, in which case we are done, or it factors as $atimes b$ with $1<a≤b<N-1$ and you can apply the inductive hypothesis to $a,b$. Same argument.
$endgroup$
– lulu
Mar 24 at 22:36
1
$begingroup$
There is nothing missing in this proof. It is just fine. And why “two primes”?
$endgroup$
– José Carlos Santos
Mar 24 at 22:36
4
$begingroup$
It's a valid proof by infinite descent (a.k.a. minimal criminal), the contrapositive of induction - see the Remark here. You should master both this (negative) and the normal (positive) form of induction.
$endgroup$
– Bill Dubuque
Mar 25 at 1:32
3
$begingroup$
$-1$ is an integer, and is not prime...
$endgroup$
– Gerrit0
Mar 25 at 3:58
1
$begingroup$
@AndreasRejbrand According to the textbook, if p is a prime then -p is a prime :/
$endgroup$
– Alena Gusakov
Mar 25 at 15:02
|
show 7 more comments
2
$begingroup$
That argument is by induction. the result is easy to check for small numbers, so assume it holds up to $N-1$. Then $N$ is either prime, in which case we are done, or it factors as $atimes b$ with $1<a≤b<N-1$ and you can apply the inductive hypothesis to $a,b$. Same argument.
$endgroup$
– lulu
Mar 24 at 22:36
1
$begingroup$
There is nothing missing in this proof. It is just fine. And why “two primes”?
$endgroup$
– José Carlos Santos
Mar 24 at 22:36
4
$begingroup$
It's a valid proof by infinite descent (a.k.a. minimal criminal), the contrapositive of induction - see the Remark here. You should master both this (negative) and the normal (positive) form of induction.
$endgroup$
– Bill Dubuque
Mar 25 at 1:32
3
$begingroup$
$-1$ is an integer, and is not prime...
$endgroup$
– Gerrit0
Mar 25 at 3:58
1
$begingroup$
@AndreasRejbrand According to the textbook, if p is a prime then -p is a prime :/
$endgroup$
– Alena Gusakov
Mar 25 at 15:02
2
2
$begingroup$
That argument is by induction. the result is easy to check for small numbers, so assume it holds up to $N-1$. Then $N$ is either prime, in which case we are done, or it factors as $atimes b$ with $1<a≤b<N-1$ and you can apply the inductive hypothesis to $a,b$. Same argument.
$endgroup$
– lulu
Mar 24 at 22:36
$begingroup$
That argument is by induction. the result is easy to check for small numbers, so assume it holds up to $N-1$. Then $N$ is either prime, in which case we are done, or it factors as $atimes b$ with $1<a≤b<N-1$ and you can apply the inductive hypothesis to $a,b$. Same argument.
$endgroup$
– lulu
Mar 24 at 22:36
1
1
$begingroup$
There is nothing missing in this proof. It is just fine. And why “two primes”?
$endgroup$
– José Carlos Santos
Mar 24 at 22:36
$begingroup$
There is nothing missing in this proof. It is just fine. And why “two primes”?
$endgroup$
– José Carlos Santos
Mar 24 at 22:36
4
4
$begingroup$
It's a valid proof by infinite descent (a.k.a. minimal criminal), the contrapositive of induction - see the Remark here. You should master both this (negative) and the normal (positive) form of induction.
$endgroup$
– Bill Dubuque
Mar 25 at 1:32
$begingroup$
It's a valid proof by infinite descent (a.k.a. minimal criminal), the contrapositive of induction - see the Remark here. You should master both this (negative) and the normal (positive) form of induction.
$endgroup$
– Bill Dubuque
Mar 25 at 1:32
3
3
$begingroup$
$-1$ is an integer, and is not prime...
$endgroup$
– Gerrit0
Mar 25 at 3:58
$begingroup$
$-1$ is an integer, and is not prime...
$endgroup$
– Gerrit0
Mar 25 at 3:58
1
1
$begingroup$
@AndreasRejbrand According to the textbook, if p is a prime then -p is a prime :/
$endgroup$
– Alena Gusakov
Mar 25 at 15:02
$begingroup$
@AndreasRejbrand According to the textbook, if p is a prime then -p is a prime :/
$endgroup$
– Alena Gusakov
Mar 25 at 15:02
|
show 7 more comments
7 Answers
7
active
oldest
votes
$begingroup$
Although the proof by contradiction is correct, your feeling of unease is fine, because the direct proof by induction is so much clearer:
Take an integer $N$. If $N$ is prime, there is nothing to prove. Otherwise, we must have $N = mn$, where $1 < m, n < N$. By induction, since $m, n$ are smaller than $N$, they must each be a product of primes. Then so is $N = mn$. Done.
$endgroup$
12
$begingroup$
This is equivalent, so how is it "so much clearer"? Personally, I find the original clearer.
$endgroup$
– John Coleman
Mar 25 at 10:25
$begingroup$
@JohnColeman Also, the OP might be interested in how the infinite descent method has been 'pushed' in number theory. And Euclid had no problem with it! en.wikipedia.org/wiki/Proof_by_infinite_descent#Number_theory
$endgroup$
– CopyPasteIt
Mar 25 at 18:46
1
$begingroup$
@BobKrueger And I have seen so many unnecessary proofs by contradiction!
$endgroup$
– user1892304
Mar 27 at 21:49
add a comment |
$begingroup$
The proof is not circular, the key is in the second sentence: Let N be the smallest positive integer with this property.
We are allowed to say a least $N$ exists because of the well-ordering principle.
$endgroup$
1
$begingroup$
I don't know if it's because of the well-ordering principle ... that's like using a hammer to slice through butter. One does not need the full strength of the AOC to prove such a simple statement.
$endgroup$
– Don Thousand
Mar 24 at 23:02
3
$begingroup$
@Don What's AOC? I presume you're not talking about Alexandria Ocasio-Cortez.
$endgroup$
– Robert Soupe
Mar 24 at 23:24
1
$begingroup$
@RobertSoupe: Axiom of choice. The more usual abbreviation is AC.
$endgroup$
– Nate Eldredge
Mar 25 at 0:23
13
$begingroup$
@DonThousand: I think "well-ordering principle" here refers to the statement "the usual ordering on the natural numbers is a well order". The Axiom of Choice equivalent is "every set admits an ordering which is a well order" - that wouldn't really even help with this proof, since it would only tell us that there is some ordering of the natural numbers which is a well order - it doesn't tell us that the usual ordering is one.
$endgroup$
– Nate Eldredge
Mar 25 at 0:25
4
$begingroup$
@NateEldredge: Indeed, the well-ordering principle (not the similarly-named well-ordering theorem) is equivalent to induction (and probably also to infinite descent, but I haven't worked through that one yet), so if you disallow WOP, then you are going to have a hard time proving a lot of things.
$endgroup$
– Kevin
Mar 25 at 1:53
|
show 2 more comments
$begingroup$
I'm new to number theory. This might be kind of a silly question, so I'm sorry if it is.
No apology is necessary since your question is by no means silly. It is not at all surprising that you are puzzled by the cited exposition since it is incredibly sloppy. Kudos to you for reading it very carefully and noticing these problems.
Edit: I'd like to add that this textbook states that if $p$ is a prime number, then so is $-p$. That's where my confusion stems from. The textbook is A Classical Introduction to Modern Number Theory by Ireland and Rosen.
Let's examine closely that initial section on primes and prime factorizations.
On page $1$ begins a section titled "Unique Factorization in $Bbb Z$" where they briefly review divisibility of "natural numbers $1,2,3ldots"$ This leads to the following "definition" of a prime:
Numbers that cannot be factored further are called primes. To be more precise, we say that a number $p$ is a prime if its only divisors are $1$ and $p.$
This is imprecise. Is $1$ a prime by this definition? In the next paragraph we find
The first prime numbers are $2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43,ldots$
So $1$ is not prime. That agrees with modern conventions.
On the next page they segue into factorization in the ring of integers $Bbb Z$ where they write
If $p$ is a positive prime, $-p$ will also be a prime. We shall not consider $1$ or $-1$ as primes even though they fit the definition.
This poses a few problems. They now claim that $1$ does fit the prior definition of a prime, but they didn't list it above (or explain why it was excluded). Further it implies that $ p = -2$ is a prime but it doesn't fit the above definition (it has divisors $,pm1, pm 2,,$ not only $1$ and $p$). They don't give any definition of a prime integer (vs. natural).
Readers familiar with basic ring theory and factorization in integral domains will likely have no problem inferring what is intended (the notion of an irreducible or indecomposable element), but any careful reader lacking such background will likely be quite puzzled by these inconsistencies and gaps.
As such, it comes as no surprise that the following proof employing these fuzzy notions may well prove troublesome for readers unfamiliar with the intended notions.
Lemma $1.$ Every nonzero integer can be written as a product of primes.
PROOF $ $ Assume that there is an integer that cannot be written as a product of
primes. Let $N$ be the smallest positive integer with this property. Since $N$
cannot itself be prime we must have $,N = mn,,$ where $1 < m,, n < N.,$ However, since $m$ and $n$ are positive and smaller than $N$ they must each be a
product of primes. But then so is $N = mn.$ This is a contradiction.
The proof has many problems. It doesn't properly handle the (implied) prime factorization of $pm1$ and they forgot to handle the possibility that the counterexample is negative (w.l.o.g. reducing to a positive counterexample).
Considering all of the above problems, it is no wonder that you found this proof confusing.
The proof can be given in a more positive way by using mathematical
induction. It is enough to prove the result for all positive integers. $2$ is a
prime. Suppose that $2 < N$ and that we have proved the result for all
numbers $m$ such that $2 leq m < N$. We wish to show that $N$ is a product of
primes. If $N$ is a prime, there is nothing to do. If $N$ is not a prime, then
$N = mn,$ where $2 leq m,, n < N.$ By induction both $m$ and $n$ are products of
primes and thus so is $N.$
Here they've reformulated the induction from negative form - an (infinite) descent on counterexamples (or a "minimal criminal") - into a positive ascent, i.e. into a complete (or strong) induction, and they give some hint about the reduction to the positive case, but still there is no handling of $pm1$. What is actually intended can be inferred from the next theorem they present.
Theorem $1.$ For every nonzero integer $n$ there is a prime factorization
$$ n, = (-1)^e(n) prod_p p^a(p)$$
with the exponents uniquely determined by $n$. Here $e(n) = 0$ or $1$ depending on whether $n$ is positive or negative and where the product is over all positive primes. The exponents $a(p)$ are nonnegative integers and, of course, $a(p) = 0$ for all but finitely many primes.
That explains how they handle the prime factorization of $pm1$ and the reduction to positive primes. With that in mind you should be able to fix the proof of the lemma.
As above, often when there is puzzling exposition in textbooks it can be clarified by reading a bit further to help infer what was intended. But - of course - that is no excuse for sloppy exposition.
$endgroup$
2
$begingroup$
Prima facie, by examining the Q&A/comments here, and even before your answer, I knew that the book could be depended on one thing - that any reader would be forced to put in their own finishing touches to make the material 'crystallize '. . (+1) for providing a (partial) critical review of the book.
$endgroup$
– CopyPasteIt
Mar 26 at 3:19
$begingroup$
@CopyPasteIt It is a popular and widely-respected textbook.
$endgroup$
– Bill Dubuque
Mar 26 at 3:21
2
$begingroup$
Sure hope that knowing that prime numbers can be negative is used in later chapters. And that we all nod our heads and say 'what a modern and elegant approach'.
$endgroup$
– CopyPasteIt
Mar 26 at 3:29
2
$begingroup$
@CopyPasteIt When one studies factorization in more general rings (as in this textbook) the utility and naturality of such definitions becomes more apparent. In fact in some contexts it even proves convenient to use the convention that $-1$ is a prime, e.g. see John Conway's eloquent arguments.
$endgroup$
– Bill Dubuque
Mar 26 at 15:15
$begingroup$
Thanks for the link! Without being up to speed on all the math there, 'it sounds right' that $-1$ can be considered a prime but not $1$. The number $1$ is just so special it can't be called anything else. Then come the positive primes in $1,2,3,4,dots$. And then comes the amazing introduction of $-1$ by sentient beings! A prime concept indeed...
$endgroup$
– CopyPasteIt
Mar 26 at 15:43
|
show 5 more comments
$begingroup$
I feel like this proof kind of presupposes the lemma.
Because it does.
It says so right in the first two sentences, which can be rephrased as:
Let $N$ be the smallest positive integer that cannot be written as a product of primes.
So yes, the proof assumes that all positive integers smaller than $N$ can be written as a product of primes.
This is OK, though, because it is trivially true for the smallest integers: 1, 2. The proof builds on that to infer that no such an $N$ exists where the lemma is not true.
$endgroup$
add a comment |
$begingroup$
I can definitely understand how this can feel a little off.
1) The lemma (as stated in the question) says all nonzero integers. Primes are integers and, by definition, cannot be products of primes. So, I think the lemma probably is actually more along the lines of: "all positive non-prime integers can be written as a product of primes".
2) Also, the statement "since 𝑚,𝑛 are positive and smaller than 𝑁 they must each be a product of primes" doesn't really explain why they must be a product of primes. Since, 𝑁 is the smallest positive non-prime integer that cannot be written as a product of primes (by supposition of the lemma), then 𝑚,𝑛 are either prime themselves or a product of primes (as they are less than 𝑁 and 𝑁 is the smallest number that isn't a product of primes). Either way, they will provide the primes necessary to create 𝑁, making 𝑁 able to be constructed as a product of primes.
Hopefully this helps to see why the proof by contradiction works.
$endgroup$
$begingroup$
As far as your (1) is concerned, I think this is just a matter of "over-mathematical" style in the question. 35 is a product of primes. It is a product of the two primes 5 and 7. 37 is a product of primes. It is a product of the one primes 37. But you have raised the extra, interesting point: the statement is "every non-zero integer" but the proof assumes integers >1. Which rather implies that 1 is either not an integer or not non-zero!
$endgroup$
– Martin Kochanski
Mar 25 at 9:07
$begingroup$
@MartinKochanski The standard way of dealing with $1$ is that the product of zero terms is $1$ by convention, so $1$ is the product of zero primes.
$endgroup$
– Especially Lime
Mar 25 at 11:29
add a comment |
$begingroup$
An integer $n$ is said to be a composite if it can be expressed as the product of two integers $a$ and $b$ with $a notin -1,0,1$ and $b notin -1,0,1$.
An integers $p notin -1,0,1$ that is not a composite is called a prime number.
Recall the method of infinite descent used in mathematical proofs.
Suppose $m notin -1,0,1$ and it can't be expressed as a product of primes. If $m lt 0$ then it is certainly true that the positive number $-m$ can't be factored into primes. So the existence of $m$ allows us to assert that there are positive integers greater than $1$ that can't be factored into a product of prime numbers.
So using infinite descent, we have a minimal $n > 1$ that can't be written as a product of primes. In particular, $n$ can't be a prime. But then it must be a composite, and we can write
$quad n = st text with s,t gt 1$
Note: The composite factors $s$ and $t$ must both be positive or negative.
If they are both negative, replace $s$ with $-s$ and $t$ with $-t$.
But then $s lt n$ and so it can be written as a product of primes. Similarly, $t$ can be written as a product of primes. But then $n$ itself is a product of primes. But this is not possible by our choice of $n$. So the initial assumption of the existence of $m notin -1,0,1$ with no prime factorization leads to a contradiction.
So every $n notin -1,0,1$ has a prime factorization.
$endgroup$
add a comment |
$begingroup$
There is a property of the natural numbers called well-order. A set is well-ordered if every non-empty subset has a least element. So given any property $P$:
The set of numbers for which $P(n)$ is false is either empty or has a least element.
Suppose there is some number $n_0$ such that $P(n_0)$ is false. If $n_0$ is the least such number, then obviously $P(n_0-1)$ is true [1] (otherwise $n_0-1$ would be a number for which $P$ is false that is smaller than $n_0$, and so $n_0$ wouldn't be the smallest such number).
Thus, if we can prove that there is no number $n_0$ such that $P(n_0-1)$ is true and $P(n_0)$ is false (i.e. "$neg exists n_0: (P(n_0-1) land neg P(n_0))$", then we have shown that the set of numbers for which $P$ is false has no least element.
"$neg exists n_0: (P(n_0-1) land neg P(n_0))$" is equivalent to "$forall n_0: (neg P(n_0-1) lor P(n_0))$", which is in turn equivalent to "$forall n_0: (P(n_0-1) rightarrow P(n_0))$".
Thus, if we can prove $forall n_0: (P(n_0-1) rightarrow P(n_0))$, then it follows that the set of numbers for which $P(n)$ is false does not have a least element. Since all non-empty sets of natural numbers have a least element, this set must be empty. That is, there are no numbers for which $P(n)$ is false, i.e. $P(n)$ is true for all $n$.
[1] There is also the possibility that $n_0-1$ isn't a natural number, which happens when $n_0=0$. Dealing with this possibility requires proving that $P(0)$ is true separately, which is why induction proofs require a base case.
So that's the concept behind induction proofs: if the proposition isn't true for all numbers, then there is a non-empty set of numbers for which it is false, which has to have a least element, which means that we have to go from "true" to "false" at some point. Inductive proofs thus look a bit like circular reasoning: you start assuming that the proposition is true, and use that to prove that the proposition is true. But what makes it non-fallacious is that you prove that the proposition is true for a later number by assuming that it's true for an earlier number.
The proof that you cite is using the same basic principle as induction, namely the well-order of the natural numbers, but it is skipping the one-by-one sort of process that induction proofs usually use. Instead of saying "If $P(n_0)$ is false, then $P(n_0-1)$ being true leads to a contradiction", it's saying "If $P(n_0)$ is false, then $P(n)$ being true for $n<n_0$ leads to a contradiction". Like a standard induction proof, it superficially looks like circular reasoning, but isn't, because it's proving that the proposition is true for $N$ using the fact that it's true for smaller numbers.
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3161147%2fproof-of-lemma-every-integer-can-be-written-as-a-product-of-primes%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
7 Answers
7
active
oldest
votes
7 Answers
7
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Although the proof by contradiction is correct, your feeling of unease is fine, because the direct proof by induction is so much clearer:
Take an integer $N$. If $N$ is prime, there is nothing to prove. Otherwise, we must have $N = mn$, where $1 < m, n < N$. By induction, since $m, n$ are smaller than $N$, they must each be a product of primes. Then so is $N = mn$. Done.
$endgroup$
12
$begingroup$
This is equivalent, so how is it "so much clearer"? Personally, I find the original clearer.
$endgroup$
– John Coleman
Mar 25 at 10:25
$begingroup$
@JohnColeman Also, the OP might be interested in how the infinite descent method has been 'pushed' in number theory. And Euclid had no problem with it! en.wikipedia.org/wiki/Proof_by_infinite_descent#Number_theory
$endgroup$
– CopyPasteIt
Mar 25 at 18:46
1
$begingroup$
@BobKrueger And I have seen so many unnecessary proofs by contradiction!
$endgroup$
– user1892304
Mar 27 at 21:49
add a comment |
$begingroup$
Although the proof by contradiction is correct, your feeling of unease is fine, because the direct proof by induction is so much clearer:
Take an integer $N$. If $N$ is prime, there is nothing to prove. Otherwise, we must have $N = mn$, where $1 < m, n < N$. By induction, since $m, n$ are smaller than $N$, they must each be a product of primes. Then so is $N = mn$. Done.
$endgroup$
12
$begingroup$
This is equivalent, so how is it "so much clearer"? Personally, I find the original clearer.
$endgroup$
– John Coleman
Mar 25 at 10:25
$begingroup$
@JohnColeman Also, the OP might be interested in how the infinite descent method has been 'pushed' in number theory. And Euclid had no problem with it! en.wikipedia.org/wiki/Proof_by_infinite_descent#Number_theory
$endgroup$
– CopyPasteIt
Mar 25 at 18:46
1
$begingroup$
@BobKrueger And I have seen so many unnecessary proofs by contradiction!
$endgroup$
– user1892304
Mar 27 at 21:49
add a comment |
$begingroup$
Although the proof by contradiction is correct, your feeling of unease is fine, because the direct proof by induction is so much clearer:
Take an integer $N$. If $N$ is prime, there is nothing to prove. Otherwise, we must have $N = mn$, where $1 < m, n < N$. By induction, since $m, n$ are smaller than $N$, they must each be a product of primes. Then so is $N = mn$. Done.
$endgroup$
Although the proof by contradiction is correct, your feeling of unease is fine, because the direct proof by induction is so much clearer:
Take an integer $N$. If $N$ is prime, there is nothing to prove. Otherwise, we must have $N = mn$, where $1 < m, n < N$. By induction, since $m, n$ are smaller than $N$, they must each be a product of primes. Then so is $N = mn$. Done.
answered Mar 24 at 22:58
lhflhf
168k11173405
168k11173405
12
$begingroup$
This is equivalent, so how is it "so much clearer"? Personally, I find the original clearer.
$endgroup$
– John Coleman
Mar 25 at 10:25
$begingroup$
@JohnColeman Also, the OP might be interested in how the infinite descent method has been 'pushed' in number theory. And Euclid had no problem with it! en.wikipedia.org/wiki/Proof_by_infinite_descent#Number_theory
$endgroup$
– CopyPasteIt
Mar 25 at 18:46
1
$begingroup$
@BobKrueger And I have seen so many unnecessary proofs by contradiction!
$endgroup$
– user1892304
Mar 27 at 21:49
add a comment |
12
$begingroup$
This is equivalent, so how is it "so much clearer"? Personally, I find the original clearer.
$endgroup$
– John Coleman
Mar 25 at 10:25
$begingroup$
@JohnColeman Also, the OP might be interested in how the infinite descent method has been 'pushed' in number theory. And Euclid had no problem with it! en.wikipedia.org/wiki/Proof_by_infinite_descent#Number_theory
$endgroup$
– CopyPasteIt
Mar 25 at 18:46
1
$begingroup$
@BobKrueger And I have seen so many unnecessary proofs by contradiction!
$endgroup$
– user1892304
Mar 27 at 21:49
12
12
$begingroup$
This is equivalent, so how is it "so much clearer"? Personally, I find the original clearer.
$endgroup$
– John Coleman
Mar 25 at 10:25
$begingroup$
This is equivalent, so how is it "so much clearer"? Personally, I find the original clearer.
$endgroup$
– John Coleman
Mar 25 at 10:25
$begingroup$
@JohnColeman Also, the OP might be interested in how the infinite descent method has been 'pushed' in number theory. And Euclid had no problem with it! en.wikipedia.org/wiki/Proof_by_infinite_descent#Number_theory
$endgroup$
– CopyPasteIt
Mar 25 at 18:46
$begingroup$
@JohnColeman Also, the OP might be interested in how the infinite descent method has been 'pushed' in number theory. And Euclid had no problem with it! en.wikipedia.org/wiki/Proof_by_infinite_descent#Number_theory
$endgroup$
– CopyPasteIt
Mar 25 at 18:46
1
1
$begingroup$
@BobKrueger And I have seen so many unnecessary proofs by contradiction!
$endgroup$
– user1892304
Mar 27 at 21:49
$begingroup$
@BobKrueger And I have seen so many unnecessary proofs by contradiction!
$endgroup$
– user1892304
Mar 27 at 21:49
add a comment |
$begingroup$
The proof is not circular, the key is in the second sentence: Let N be the smallest positive integer with this property.
We are allowed to say a least $N$ exists because of the well-ordering principle.
$endgroup$
1
$begingroup$
I don't know if it's because of the well-ordering principle ... that's like using a hammer to slice through butter. One does not need the full strength of the AOC to prove such a simple statement.
$endgroup$
– Don Thousand
Mar 24 at 23:02
3
$begingroup$
@Don What's AOC? I presume you're not talking about Alexandria Ocasio-Cortez.
$endgroup$
– Robert Soupe
Mar 24 at 23:24
1
$begingroup$
@RobertSoupe: Axiom of choice. The more usual abbreviation is AC.
$endgroup$
– Nate Eldredge
Mar 25 at 0:23
13
$begingroup$
@DonThousand: I think "well-ordering principle" here refers to the statement "the usual ordering on the natural numbers is a well order". The Axiom of Choice equivalent is "every set admits an ordering which is a well order" - that wouldn't really even help with this proof, since it would only tell us that there is some ordering of the natural numbers which is a well order - it doesn't tell us that the usual ordering is one.
$endgroup$
– Nate Eldredge
Mar 25 at 0:25
4
$begingroup$
@NateEldredge: Indeed, the well-ordering principle (not the similarly-named well-ordering theorem) is equivalent to induction (and probably also to infinite descent, but I haven't worked through that one yet), so if you disallow WOP, then you are going to have a hard time proving a lot of things.
$endgroup$
– Kevin
Mar 25 at 1:53
|
show 2 more comments
$begingroup$
The proof is not circular, the key is in the second sentence: Let N be the smallest positive integer with this property.
We are allowed to say a least $N$ exists because of the well-ordering principle.
$endgroup$
1
$begingroup$
I don't know if it's because of the well-ordering principle ... that's like using a hammer to slice through butter. One does not need the full strength of the AOC to prove such a simple statement.
$endgroup$
– Don Thousand
Mar 24 at 23:02
3
$begingroup$
@Don What's AOC? I presume you're not talking about Alexandria Ocasio-Cortez.
$endgroup$
– Robert Soupe
Mar 24 at 23:24
1
$begingroup$
@RobertSoupe: Axiom of choice. The more usual abbreviation is AC.
$endgroup$
– Nate Eldredge
Mar 25 at 0:23
13
$begingroup$
@DonThousand: I think "well-ordering principle" here refers to the statement "the usual ordering on the natural numbers is a well order". The Axiom of Choice equivalent is "every set admits an ordering which is a well order" - that wouldn't really even help with this proof, since it would only tell us that there is some ordering of the natural numbers which is a well order - it doesn't tell us that the usual ordering is one.
$endgroup$
– Nate Eldredge
Mar 25 at 0:25
4
$begingroup$
@NateEldredge: Indeed, the well-ordering principle (not the similarly-named well-ordering theorem) is equivalent to induction (and probably also to infinite descent, but I haven't worked through that one yet), so if you disallow WOP, then you are going to have a hard time proving a lot of things.
$endgroup$
– Kevin
Mar 25 at 1:53
|
show 2 more comments
$begingroup$
The proof is not circular, the key is in the second sentence: Let N be the smallest positive integer with this property.
We are allowed to say a least $N$ exists because of the well-ordering principle.
$endgroup$
The proof is not circular, the key is in the second sentence: Let N be the smallest positive integer with this property.
We are allowed to say a least $N$ exists because of the well-ordering principle.
answered Mar 24 at 22:37
Edgar Jaramillo RodriguezEdgar Jaramillo Rodriguez
2999
2999
1
$begingroup$
I don't know if it's because of the well-ordering principle ... that's like using a hammer to slice through butter. One does not need the full strength of the AOC to prove such a simple statement.
$endgroup$
– Don Thousand
Mar 24 at 23:02
3
$begingroup$
@Don What's AOC? I presume you're not talking about Alexandria Ocasio-Cortez.
$endgroup$
– Robert Soupe
Mar 24 at 23:24
1
$begingroup$
@RobertSoupe: Axiom of choice. The more usual abbreviation is AC.
$endgroup$
– Nate Eldredge
Mar 25 at 0:23
13
$begingroup$
@DonThousand: I think "well-ordering principle" here refers to the statement "the usual ordering on the natural numbers is a well order". The Axiom of Choice equivalent is "every set admits an ordering which is a well order" - that wouldn't really even help with this proof, since it would only tell us that there is some ordering of the natural numbers which is a well order - it doesn't tell us that the usual ordering is one.
$endgroup$
– Nate Eldredge
Mar 25 at 0:25
4
$begingroup$
@NateEldredge: Indeed, the well-ordering principle (not the similarly-named well-ordering theorem) is equivalent to induction (and probably also to infinite descent, but I haven't worked through that one yet), so if you disallow WOP, then you are going to have a hard time proving a lot of things.
$endgroup$
– Kevin
Mar 25 at 1:53
|
show 2 more comments
1
$begingroup$
I don't know if it's because of the well-ordering principle ... that's like using a hammer to slice through butter. One does not need the full strength of the AOC to prove such a simple statement.
$endgroup$
– Don Thousand
Mar 24 at 23:02
3
$begingroup$
@Don What's AOC? I presume you're not talking about Alexandria Ocasio-Cortez.
$endgroup$
– Robert Soupe
Mar 24 at 23:24
1
$begingroup$
@RobertSoupe: Axiom of choice. The more usual abbreviation is AC.
$endgroup$
– Nate Eldredge
Mar 25 at 0:23
13
$begingroup$
@DonThousand: I think "well-ordering principle" here refers to the statement "the usual ordering on the natural numbers is a well order". The Axiom of Choice equivalent is "every set admits an ordering which is a well order" - that wouldn't really even help with this proof, since it would only tell us that there is some ordering of the natural numbers which is a well order - it doesn't tell us that the usual ordering is one.
$endgroup$
– Nate Eldredge
Mar 25 at 0:25
4
$begingroup$
@NateEldredge: Indeed, the well-ordering principle (not the similarly-named well-ordering theorem) is equivalent to induction (and probably also to infinite descent, but I haven't worked through that one yet), so if you disallow WOP, then you are going to have a hard time proving a lot of things.
$endgroup$
– Kevin
Mar 25 at 1:53
1
1
$begingroup$
I don't know if it's because of the well-ordering principle ... that's like using a hammer to slice through butter. One does not need the full strength of the AOC to prove such a simple statement.
$endgroup$
– Don Thousand
Mar 24 at 23:02
$begingroup$
I don't know if it's because of the well-ordering principle ... that's like using a hammer to slice through butter. One does not need the full strength of the AOC to prove such a simple statement.
$endgroup$
– Don Thousand
Mar 24 at 23:02
3
3
$begingroup$
@Don What's AOC? I presume you're not talking about Alexandria Ocasio-Cortez.
$endgroup$
– Robert Soupe
Mar 24 at 23:24
$begingroup$
@Don What's AOC? I presume you're not talking about Alexandria Ocasio-Cortez.
$endgroup$
– Robert Soupe
Mar 24 at 23:24
1
1
$begingroup$
@RobertSoupe: Axiom of choice. The more usual abbreviation is AC.
$endgroup$
– Nate Eldredge
Mar 25 at 0:23
$begingroup$
@RobertSoupe: Axiom of choice. The more usual abbreviation is AC.
$endgroup$
– Nate Eldredge
Mar 25 at 0:23
13
13
$begingroup$
@DonThousand: I think "well-ordering principle" here refers to the statement "the usual ordering on the natural numbers is a well order". The Axiom of Choice equivalent is "every set admits an ordering which is a well order" - that wouldn't really even help with this proof, since it would only tell us that there is some ordering of the natural numbers which is a well order - it doesn't tell us that the usual ordering is one.
$endgroup$
– Nate Eldredge
Mar 25 at 0:25
$begingroup$
@DonThousand: I think "well-ordering principle" here refers to the statement "the usual ordering on the natural numbers is a well order". The Axiom of Choice equivalent is "every set admits an ordering which is a well order" - that wouldn't really even help with this proof, since it would only tell us that there is some ordering of the natural numbers which is a well order - it doesn't tell us that the usual ordering is one.
$endgroup$
– Nate Eldredge
Mar 25 at 0:25
4
4
$begingroup$
@NateEldredge: Indeed, the well-ordering principle (not the similarly-named well-ordering theorem) is equivalent to induction (and probably also to infinite descent, but I haven't worked through that one yet), so if you disallow WOP, then you are going to have a hard time proving a lot of things.
$endgroup$
– Kevin
Mar 25 at 1:53
$begingroup$
@NateEldredge: Indeed, the well-ordering principle (not the similarly-named well-ordering theorem) is equivalent to induction (and probably also to infinite descent, but I haven't worked through that one yet), so if you disallow WOP, then you are going to have a hard time proving a lot of things.
$endgroup$
– Kevin
Mar 25 at 1:53
|
show 2 more comments
$begingroup$
I'm new to number theory. This might be kind of a silly question, so I'm sorry if it is.
No apology is necessary since your question is by no means silly. It is not at all surprising that you are puzzled by the cited exposition since it is incredibly sloppy. Kudos to you for reading it very carefully and noticing these problems.
Edit: I'd like to add that this textbook states that if $p$ is a prime number, then so is $-p$. That's where my confusion stems from. The textbook is A Classical Introduction to Modern Number Theory by Ireland and Rosen.
Let's examine closely that initial section on primes and prime factorizations.
On page $1$ begins a section titled "Unique Factorization in $Bbb Z$" where they briefly review divisibility of "natural numbers $1,2,3ldots"$ This leads to the following "definition" of a prime:
Numbers that cannot be factored further are called primes. To be more precise, we say that a number $p$ is a prime if its only divisors are $1$ and $p.$
This is imprecise. Is $1$ a prime by this definition? In the next paragraph we find
The first prime numbers are $2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43,ldots$
So $1$ is not prime. That agrees with modern conventions.
On the next page they segue into factorization in the ring of integers $Bbb Z$ where they write
If $p$ is a positive prime, $-p$ will also be a prime. We shall not consider $1$ or $-1$ as primes even though they fit the definition.
This poses a few problems. They now claim that $1$ does fit the prior definition of a prime, but they didn't list it above (or explain why it was excluded). Further it implies that $ p = -2$ is a prime but it doesn't fit the above definition (it has divisors $,pm1, pm 2,,$ not only $1$ and $p$). They don't give any definition of a prime integer (vs. natural).
Readers familiar with basic ring theory and factorization in integral domains will likely have no problem inferring what is intended (the notion of an irreducible or indecomposable element), but any careful reader lacking such background will likely be quite puzzled by these inconsistencies and gaps.
As such, it comes as no surprise that the following proof employing these fuzzy notions may well prove troublesome for readers unfamiliar with the intended notions.
Lemma $1.$ Every nonzero integer can be written as a product of primes.
PROOF $ $ Assume that there is an integer that cannot be written as a product of
primes. Let $N$ be the smallest positive integer with this property. Since $N$
cannot itself be prime we must have $,N = mn,,$ where $1 < m,, n < N.,$ However, since $m$ and $n$ are positive and smaller than $N$ they must each be a
product of primes. But then so is $N = mn.$ This is a contradiction.
The proof has many problems. It doesn't properly handle the (implied) prime factorization of $pm1$ and they forgot to handle the possibility that the counterexample is negative (w.l.o.g. reducing to a positive counterexample).
Considering all of the above problems, it is no wonder that you found this proof confusing.
The proof can be given in a more positive way by using mathematical
induction. It is enough to prove the result for all positive integers. $2$ is a
prime. Suppose that $2 < N$ and that we have proved the result for all
numbers $m$ such that $2 leq m < N$. We wish to show that $N$ is a product of
primes. If $N$ is a prime, there is nothing to do. If $N$ is not a prime, then
$N = mn,$ where $2 leq m,, n < N.$ By induction both $m$ and $n$ are products of
primes and thus so is $N.$
Here they've reformulated the induction from negative form - an (infinite) descent on counterexamples (or a "minimal criminal") - into a positive ascent, i.e. into a complete (or strong) induction, and they give some hint about the reduction to the positive case, but still there is no handling of $pm1$. What is actually intended can be inferred from the next theorem they present.
Theorem $1.$ For every nonzero integer $n$ there is a prime factorization
$$ n, = (-1)^e(n) prod_p p^a(p)$$
with the exponents uniquely determined by $n$. Here $e(n) = 0$ or $1$ depending on whether $n$ is positive or negative and where the product is over all positive primes. The exponents $a(p)$ are nonnegative integers and, of course, $a(p) = 0$ for all but finitely many primes.
That explains how they handle the prime factorization of $pm1$ and the reduction to positive primes. With that in mind you should be able to fix the proof of the lemma.
As above, often when there is puzzling exposition in textbooks it can be clarified by reading a bit further to help infer what was intended. But - of course - that is no excuse for sloppy exposition.
$endgroup$
2
$begingroup$
Prima facie, by examining the Q&A/comments here, and even before your answer, I knew that the book could be depended on one thing - that any reader would be forced to put in their own finishing touches to make the material 'crystallize '. . (+1) for providing a (partial) critical review of the book.
$endgroup$
– CopyPasteIt
Mar 26 at 3:19
$begingroup$
@CopyPasteIt It is a popular and widely-respected textbook.
$endgroup$
– Bill Dubuque
Mar 26 at 3:21
2
$begingroup$
Sure hope that knowing that prime numbers can be negative is used in later chapters. And that we all nod our heads and say 'what a modern and elegant approach'.
$endgroup$
– CopyPasteIt
Mar 26 at 3:29
2
$begingroup$
@CopyPasteIt When one studies factorization in more general rings (as in this textbook) the utility and naturality of such definitions becomes more apparent. In fact in some contexts it even proves convenient to use the convention that $-1$ is a prime, e.g. see John Conway's eloquent arguments.
$endgroup$
– Bill Dubuque
Mar 26 at 15:15
$begingroup$
Thanks for the link! Without being up to speed on all the math there, 'it sounds right' that $-1$ can be considered a prime but not $1$. The number $1$ is just so special it can't be called anything else. Then come the positive primes in $1,2,3,4,dots$. And then comes the amazing introduction of $-1$ by sentient beings! A prime concept indeed...
$endgroup$
– CopyPasteIt
Mar 26 at 15:43
|
show 5 more comments
$begingroup$
I'm new to number theory. This might be kind of a silly question, so I'm sorry if it is.
No apology is necessary since your question is by no means silly. It is not at all surprising that you are puzzled by the cited exposition since it is incredibly sloppy. Kudos to you for reading it very carefully and noticing these problems.
Edit: I'd like to add that this textbook states that if $p$ is a prime number, then so is $-p$. That's where my confusion stems from. The textbook is A Classical Introduction to Modern Number Theory by Ireland and Rosen.
Let's examine closely that initial section on primes and prime factorizations.
On page $1$ begins a section titled "Unique Factorization in $Bbb Z$" where they briefly review divisibility of "natural numbers $1,2,3ldots"$ This leads to the following "definition" of a prime:
Numbers that cannot be factored further are called primes. To be more precise, we say that a number $p$ is a prime if its only divisors are $1$ and $p.$
This is imprecise. Is $1$ a prime by this definition? In the next paragraph we find
The first prime numbers are $2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43,ldots$
So $1$ is not prime. That agrees with modern conventions.
On the next page they segue into factorization in the ring of integers $Bbb Z$ where they write
If $p$ is a positive prime, $-p$ will also be a prime. We shall not consider $1$ or $-1$ as primes even though they fit the definition.
This poses a few problems. They now claim that $1$ does fit the prior definition of a prime, but they didn't list it above (or explain why it was excluded). Further it implies that $ p = -2$ is a prime but it doesn't fit the above definition (it has divisors $,pm1, pm 2,,$ not only $1$ and $p$). They don't give any definition of a prime integer (vs. natural).
Readers familiar with basic ring theory and factorization in integral domains will likely have no problem inferring what is intended (the notion of an irreducible or indecomposable element), but any careful reader lacking such background will likely be quite puzzled by these inconsistencies and gaps.
As such, it comes as no surprise that the following proof employing these fuzzy notions may well prove troublesome for readers unfamiliar with the intended notions.
Lemma $1.$ Every nonzero integer can be written as a product of primes.
PROOF $ $ Assume that there is an integer that cannot be written as a product of
primes. Let $N$ be the smallest positive integer with this property. Since $N$
cannot itself be prime we must have $,N = mn,,$ where $1 < m,, n < N.,$ However, since $m$ and $n$ are positive and smaller than $N$ they must each be a
product of primes. But then so is $N = mn.$ This is a contradiction.
The proof has many problems. It doesn't properly handle the (implied) prime factorization of $pm1$ and they forgot to handle the possibility that the counterexample is negative (w.l.o.g. reducing to a positive counterexample).
Considering all of the above problems, it is no wonder that you found this proof confusing.
The proof can be given in a more positive way by using mathematical
induction. It is enough to prove the result for all positive integers. $2$ is a
prime. Suppose that $2 < N$ and that we have proved the result for all
numbers $m$ such that $2 leq m < N$. We wish to show that $N$ is a product of
primes. If $N$ is a prime, there is nothing to do. If $N$ is not a prime, then
$N = mn,$ where $2 leq m,, n < N.$ By induction both $m$ and $n$ are products of
primes and thus so is $N.$
Here they've reformulated the induction from negative form - an (infinite) descent on counterexamples (or a "minimal criminal") - into a positive ascent, i.e. into a complete (or strong) induction, and they give some hint about the reduction to the positive case, but still there is no handling of $pm1$. What is actually intended can be inferred from the next theorem they present.
Theorem $1.$ For every nonzero integer $n$ there is a prime factorization
$$ n, = (-1)^e(n) prod_p p^a(p)$$
with the exponents uniquely determined by $n$. Here $e(n) = 0$ or $1$ depending on whether $n$ is positive or negative and where the product is over all positive primes. The exponents $a(p)$ are nonnegative integers and, of course, $a(p) = 0$ for all but finitely many primes.
That explains how they handle the prime factorization of $pm1$ and the reduction to positive primes. With that in mind you should be able to fix the proof of the lemma.
As above, often when there is puzzling exposition in textbooks it can be clarified by reading a bit further to help infer what was intended. But - of course - that is no excuse for sloppy exposition.
$endgroup$
2
$begingroup$
Prima facie, by examining the Q&A/comments here, and even before your answer, I knew that the book could be depended on one thing - that any reader would be forced to put in their own finishing touches to make the material 'crystallize '. . (+1) for providing a (partial) critical review of the book.
$endgroup$
– CopyPasteIt
Mar 26 at 3:19
$begingroup$
@CopyPasteIt It is a popular and widely-respected textbook.
$endgroup$
– Bill Dubuque
Mar 26 at 3:21
2
$begingroup$
Sure hope that knowing that prime numbers can be negative is used in later chapters. And that we all nod our heads and say 'what a modern and elegant approach'.
$endgroup$
– CopyPasteIt
Mar 26 at 3:29
2
$begingroup$
@CopyPasteIt When one studies factorization in more general rings (as in this textbook) the utility and naturality of such definitions becomes more apparent. In fact in some contexts it even proves convenient to use the convention that $-1$ is a prime, e.g. see John Conway's eloquent arguments.
$endgroup$
– Bill Dubuque
Mar 26 at 15:15
$begingroup$
Thanks for the link! Without being up to speed on all the math there, 'it sounds right' that $-1$ can be considered a prime but not $1$. The number $1$ is just so special it can't be called anything else. Then come the positive primes in $1,2,3,4,dots$. And then comes the amazing introduction of $-1$ by sentient beings! A prime concept indeed...
$endgroup$
– CopyPasteIt
Mar 26 at 15:43
|
show 5 more comments
$begingroup$
I'm new to number theory. This might be kind of a silly question, so I'm sorry if it is.
No apology is necessary since your question is by no means silly. It is not at all surprising that you are puzzled by the cited exposition since it is incredibly sloppy. Kudos to you for reading it very carefully and noticing these problems.
Edit: I'd like to add that this textbook states that if $p$ is a prime number, then so is $-p$. That's where my confusion stems from. The textbook is A Classical Introduction to Modern Number Theory by Ireland and Rosen.
Let's examine closely that initial section on primes and prime factorizations.
On page $1$ begins a section titled "Unique Factorization in $Bbb Z$" where they briefly review divisibility of "natural numbers $1,2,3ldots"$ This leads to the following "definition" of a prime:
Numbers that cannot be factored further are called primes. To be more precise, we say that a number $p$ is a prime if its only divisors are $1$ and $p.$
This is imprecise. Is $1$ a prime by this definition? In the next paragraph we find
The first prime numbers are $2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43,ldots$
So $1$ is not prime. That agrees with modern conventions.
On the next page they segue into factorization in the ring of integers $Bbb Z$ where they write
If $p$ is a positive prime, $-p$ will also be a prime. We shall not consider $1$ or $-1$ as primes even though they fit the definition.
This poses a few problems. They now claim that $1$ does fit the prior definition of a prime, but they didn't list it above (or explain why it was excluded). Further it implies that $ p = -2$ is a prime but it doesn't fit the above definition (it has divisors $,pm1, pm 2,,$ not only $1$ and $p$). They don't give any definition of a prime integer (vs. natural).
Readers familiar with basic ring theory and factorization in integral domains will likely have no problem inferring what is intended (the notion of an irreducible or indecomposable element), but any careful reader lacking such background will likely be quite puzzled by these inconsistencies and gaps.
As such, it comes as no surprise that the following proof employing these fuzzy notions may well prove troublesome for readers unfamiliar with the intended notions.
Lemma $1.$ Every nonzero integer can be written as a product of primes.
PROOF $ $ Assume that there is an integer that cannot be written as a product of
primes. Let $N$ be the smallest positive integer with this property. Since $N$
cannot itself be prime we must have $,N = mn,,$ where $1 < m,, n < N.,$ However, since $m$ and $n$ are positive and smaller than $N$ they must each be a
product of primes. But then so is $N = mn.$ This is a contradiction.
The proof has many problems. It doesn't properly handle the (implied) prime factorization of $pm1$ and they forgot to handle the possibility that the counterexample is negative (w.l.o.g. reducing to a positive counterexample).
Considering all of the above problems, it is no wonder that you found this proof confusing.
The proof can be given in a more positive way by using mathematical
induction. It is enough to prove the result for all positive integers. $2$ is a
prime. Suppose that $2 < N$ and that we have proved the result for all
numbers $m$ such that $2 leq m < N$. We wish to show that $N$ is a product of
primes. If $N$ is a prime, there is nothing to do. If $N$ is not a prime, then
$N = mn,$ where $2 leq m,, n < N.$ By induction both $m$ and $n$ are products of
primes and thus so is $N.$
Here they've reformulated the induction from negative form - an (infinite) descent on counterexamples (or a "minimal criminal") - into a positive ascent, i.e. into a complete (or strong) induction, and they give some hint about the reduction to the positive case, but still there is no handling of $pm1$. What is actually intended can be inferred from the next theorem they present.
Theorem $1.$ For every nonzero integer $n$ there is a prime factorization
$$ n, = (-1)^e(n) prod_p p^a(p)$$
with the exponents uniquely determined by $n$. Here $e(n) = 0$ or $1$ depending on whether $n$ is positive or negative and where the product is over all positive primes. The exponents $a(p)$ are nonnegative integers and, of course, $a(p) = 0$ for all but finitely many primes.
That explains how they handle the prime factorization of $pm1$ and the reduction to positive primes. With that in mind you should be able to fix the proof of the lemma.
As above, often when there is puzzling exposition in textbooks it can be clarified by reading a bit further to help infer what was intended. But - of course - that is no excuse for sloppy exposition.
$endgroup$
I'm new to number theory. This might be kind of a silly question, so I'm sorry if it is.
No apology is necessary since your question is by no means silly. It is not at all surprising that you are puzzled by the cited exposition since it is incredibly sloppy. Kudos to you for reading it very carefully and noticing these problems.
Edit: I'd like to add that this textbook states that if $p$ is a prime number, then so is $-p$. That's where my confusion stems from. The textbook is A Classical Introduction to Modern Number Theory by Ireland and Rosen.
Let's examine closely that initial section on primes and prime factorizations.
On page $1$ begins a section titled "Unique Factorization in $Bbb Z$" where they briefly review divisibility of "natural numbers $1,2,3ldots"$ This leads to the following "definition" of a prime:
Numbers that cannot be factored further are called primes. To be more precise, we say that a number $p$ is a prime if its only divisors are $1$ and $p.$
This is imprecise. Is $1$ a prime by this definition? In the next paragraph we find
The first prime numbers are $2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43,ldots$
So $1$ is not prime. That agrees with modern conventions.
On the next page they segue into factorization in the ring of integers $Bbb Z$ where they write
If $p$ is a positive prime, $-p$ will also be a prime. We shall not consider $1$ or $-1$ as primes even though they fit the definition.
This poses a few problems. They now claim that $1$ does fit the prior definition of a prime, but they didn't list it above (or explain why it was excluded). Further it implies that $ p = -2$ is a prime but it doesn't fit the above definition (it has divisors $,pm1, pm 2,,$ not only $1$ and $p$). They don't give any definition of a prime integer (vs. natural).
Readers familiar with basic ring theory and factorization in integral domains will likely have no problem inferring what is intended (the notion of an irreducible or indecomposable element), but any careful reader lacking such background will likely be quite puzzled by these inconsistencies and gaps.
As such, it comes as no surprise that the following proof employing these fuzzy notions may well prove troublesome for readers unfamiliar with the intended notions.
Lemma $1.$ Every nonzero integer can be written as a product of primes.
PROOF $ $ Assume that there is an integer that cannot be written as a product of
primes. Let $N$ be the smallest positive integer with this property. Since $N$
cannot itself be prime we must have $,N = mn,,$ where $1 < m,, n < N.,$ However, since $m$ and $n$ are positive and smaller than $N$ they must each be a
product of primes. But then so is $N = mn.$ This is a contradiction.
The proof has many problems. It doesn't properly handle the (implied) prime factorization of $pm1$ and they forgot to handle the possibility that the counterexample is negative (w.l.o.g. reducing to a positive counterexample).
Considering all of the above problems, it is no wonder that you found this proof confusing.
The proof can be given in a more positive way by using mathematical
induction. It is enough to prove the result for all positive integers. $2$ is a
prime. Suppose that $2 < N$ and that we have proved the result for all
numbers $m$ such that $2 leq m < N$. We wish to show that $N$ is a product of
primes. If $N$ is a prime, there is nothing to do. If $N$ is not a prime, then
$N = mn,$ where $2 leq m,, n < N.$ By induction both $m$ and $n$ are products of
primes and thus so is $N.$
Here they've reformulated the induction from negative form - an (infinite) descent on counterexamples (or a "minimal criminal") - into a positive ascent, i.e. into a complete (or strong) induction, and they give some hint about the reduction to the positive case, but still there is no handling of $pm1$. What is actually intended can be inferred from the next theorem they present.
Theorem $1.$ For every nonzero integer $n$ there is a prime factorization
$$ n, = (-1)^e(n) prod_p p^a(p)$$
with the exponents uniquely determined by $n$. Here $e(n) = 0$ or $1$ depending on whether $n$ is positive or negative and where the product is over all positive primes. The exponents $a(p)$ are nonnegative integers and, of course, $a(p) = 0$ for all but finitely many primes.
That explains how they handle the prime factorization of $pm1$ and the reduction to positive primes. With that in mind you should be able to fix the proof of the lemma.
As above, often when there is puzzling exposition in textbooks it can be clarified by reading a bit further to help infer what was intended. But - of course - that is no excuse for sloppy exposition.
edited Mar 26 at 23:13
darij grinberg
11.6k33168
11.6k33168
answered Mar 26 at 0:48
Bill DubuqueBill Dubuque
214k29198660
214k29198660
2
$begingroup$
Prima facie, by examining the Q&A/comments here, and even before your answer, I knew that the book could be depended on one thing - that any reader would be forced to put in their own finishing touches to make the material 'crystallize '. . (+1) for providing a (partial) critical review of the book.
$endgroup$
– CopyPasteIt
Mar 26 at 3:19
$begingroup$
@CopyPasteIt It is a popular and widely-respected textbook.
$endgroup$
– Bill Dubuque
Mar 26 at 3:21
2
$begingroup$
Sure hope that knowing that prime numbers can be negative is used in later chapters. And that we all nod our heads and say 'what a modern and elegant approach'.
$endgroup$
– CopyPasteIt
Mar 26 at 3:29
2
$begingroup$
@CopyPasteIt When one studies factorization in more general rings (as in this textbook) the utility and naturality of such definitions becomes more apparent. In fact in some contexts it even proves convenient to use the convention that $-1$ is a prime, e.g. see John Conway's eloquent arguments.
$endgroup$
– Bill Dubuque
Mar 26 at 15:15
$begingroup$
Thanks for the link! Without being up to speed on all the math there, 'it sounds right' that $-1$ can be considered a prime but not $1$. The number $1$ is just so special it can't be called anything else. Then come the positive primes in $1,2,3,4,dots$. And then comes the amazing introduction of $-1$ by sentient beings! A prime concept indeed...
$endgroup$
– CopyPasteIt
Mar 26 at 15:43
|
show 5 more comments
2
$begingroup$
Prima facie, by examining the Q&A/comments here, and even before your answer, I knew that the book could be depended on one thing - that any reader would be forced to put in their own finishing touches to make the material 'crystallize '. . (+1) for providing a (partial) critical review of the book.
$endgroup$
– CopyPasteIt
Mar 26 at 3:19
$begingroup$
@CopyPasteIt It is a popular and widely-respected textbook.
$endgroup$
– Bill Dubuque
Mar 26 at 3:21
2
$begingroup$
Sure hope that knowing that prime numbers can be negative is used in later chapters. And that we all nod our heads and say 'what a modern and elegant approach'.
$endgroup$
– CopyPasteIt
Mar 26 at 3:29
2
$begingroup$
@CopyPasteIt When one studies factorization in more general rings (as in this textbook) the utility and naturality of such definitions becomes more apparent. In fact in some contexts it even proves convenient to use the convention that $-1$ is a prime, e.g. see John Conway's eloquent arguments.
$endgroup$
– Bill Dubuque
Mar 26 at 15:15
$begingroup$
Thanks for the link! Without being up to speed on all the math there, 'it sounds right' that $-1$ can be considered a prime but not $1$. The number $1$ is just so special it can't be called anything else. Then come the positive primes in $1,2,3,4,dots$. And then comes the amazing introduction of $-1$ by sentient beings! A prime concept indeed...
$endgroup$
– CopyPasteIt
Mar 26 at 15:43
2
2
$begingroup$
Prima facie, by examining the Q&A/comments here, and even before your answer, I knew that the book could be depended on one thing - that any reader would be forced to put in their own finishing touches to make the material 'crystallize '. . (+1) for providing a (partial) critical review of the book.
$endgroup$
– CopyPasteIt
Mar 26 at 3:19
$begingroup$
Prima facie, by examining the Q&A/comments here, and even before your answer, I knew that the book could be depended on one thing - that any reader would be forced to put in their own finishing touches to make the material 'crystallize '. . (+1) for providing a (partial) critical review of the book.
$endgroup$
– CopyPasteIt
Mar 26 at 3:19
$begingroup$
@CopyPasteIt It is a popular and widely-respected textbook.
$endgroup$
– Bill Dubuque
Mar 26 at 3:21
$begingroup$
@CopyPasteIt It is a popular and widely-respected textbook.
$endgroup$
– Bill Dubuque
Mar 26 at 3:21
2
2
$begingroup$
Sure hope that knowing that prime numbers can be negative is used in later chapters. And that we all nod our heads and say 'what a modern and elegant approach'.
$endgroup$
– CopyPasteIt
Mar 26 at 3:29
$begingroup$
Sure hope that knowing that prime numbers can be negative is used in later chapters. And that we all nod our heads and say 'what a modern and elegant approach'.
$endgroup$
– CopyPasteIt
Mar 26 at 3:29
2
2
$begingroup$
@CopyPasteIt When one studies factorization in more general rings (as in this textbook) the utility and naturality of such definitions becomes more apparent. In fact in some contexts it even proves convenient to use the convention that $-1$ is a prime, e.g. see John Conway's eloquent arguments.
$endgroup$
– Bill Dubuque
Mar 26 at 15:15
$begingroup$
@CopyPasteIt When one studies factorization in more general rings (as in this textbook) the utility and naturality of such definitions becomes more apparent. In fact in some contexts it even proves convenient to use the convention that $-1$ is a prime, e.g. see John Conway's eloquent arguments.
$endgroup$
– Bill Dubuque
Mar 26 at 15:15
$begingroup$
Thanks for the link! Without being up to speed on all the math there, 'it sounds right' that $-1$ can be considered a prime but not $1$. The number $1$ is just so special it can't be called anything else. Then come the positive primes in $1,2,3,4,dots$. And then comes the amazing introduction of $-1$ by sentient beings! A prime concept indeed...
$endgroup$
– CopyPasteIt
Mar 26 at 15:43
$begingroup$
Thanks for the link! Without being up to speed on all the math there, 'it sounds right' that $-1$ can be considered a prime but not $1$. The number $1$ is just so special it can't be called anything else. Then come the positive primes in $1,2,3,4,dots$. And then comes the amazing introduction of $-1$ by sentient beings! A prime concept indeed...
$endgroup$
– CopyPasteIt
Mar 26 at 15:43
|
show 5 more comments
$begingroup$
I feel like this proof kind of presupposes the lemma.
Because it does.
It says so right in the first two sentences, which can be rephrased as:
Let $N$ be the smallest positive integer that cannot be written as a product of primes.
So yes, the proof assumes that all positive integers smaller than $N$ can be written as a product of primes.
This is OK, though, because it is trivially true for the smallest integers: 1, 2. The proof builds on that to infer that no such an $N$ exists where the lemma is not true.
$endgroup$
add a comment |
$begingroup$
I feel like this proof kind of presupposes the lemma.
Because it does.
It says so right in the first two sentences, which can be rephrased as:
Let $N$ be the smallest positive integer that cannot be written as a product of primes.
So yes, the proof assumes that all positive integers smaller than $N$ can be written as a product of primes.
This is OK, though, because it is trivially true for the smallest integers: 1, 2. The proof builds on that to infer that no such an $N$ exists where the lemma is not true.
$endgroup$
add a comment |
$begingroup$
I feel like this proof kind of presupposes the lemma.
Because it does.
It says so right in the first two sentences, which can be rephrased as:
Let $N$ be the smallest positive integer that cannot be written as a product of primes.
So yes, the proof assumes that all positive integers smaller than $N$ can be written as a product of primes.
This is OK, though, because it is trivially true for the smallest integers: 1, 2. The proof builds on that to infer that no such an $N$ exists where the lemma is not true.
$endgroup$
I feel like this proof kind of presupposes the lemma.
Because it does.
It says so right in the first two sentences, which can be rephrased as:
Let $N$ be the smallest positive integer that cannot be written as a product of primes.
So yes, the proof assumes that all positive integers smaller than $N$ can be written as a product of primes.
This is OK, though, because it is trivially true for the smallest integers: 1, 2. The proof builds on that to infer that no such an $N$ exists where the lemma is not true.
answered Mar 25 at 14:33
walenwalen
1593
1593
add a comment |
add a comment |
$begingroup$
I can definitely understand how this can feel a little off.
1) The lemma (as stated in the question) says all nonzero integers. Primes are integers and, by definition, cannot be products of primes. So, I think the lemma probably is actually more along the lines of: "all positive non-prime integers can be written as a product of primes".
2) Also, the statement "since 𝑚,𝑛 are positive and smaller than 𝑁 they must each be a product of primes" doesn't really explain why they must be a product of primes. Since, 𝑁 is the smallest positive non-prime integer that cannot be written as a product of primes (by supposition of the lemma), then 𝑚,𝑛 are either prime themselves or a product of primes (as they are less than 𝑁 and 𝑁 is the smallest number that isn't a product of primes). Either way, they will provide the primes necessary to create 𝑁, making 𝑁 able to be constructed as a product of primes.
Hopefully this helps to see why the proof by contradiction works.
$endgroup$
$begingroup$
As far as your (1) is concerned, I think this is just a matter of "over-mathematical" style in the question. 35 is a product of primes. It is a product of the two primes 5 and 7. 37 is a product of primes. It is a product of the one primes 37. But you have raised the extra, interesting point: the statement is "every non-zero integer" but the proof assumes integers >1. Which rather implies that 1 is either not an integer or not non-zero!
$endgroup$
– Martin Kochanski
Mar 25 at 9:07
$begingroup$
@MartinKochanski The standard way of dealing with $1$ is that the product of zero terms is $1$ by convention, so $1$ is the product of zero primes.
$endgroup$
– Especially Lime
Mar 25 at 11:29
add a comment |
$begingroup$
I can definitely understand how this can feel a little off.
1) The lemma (as stated in the question) says all nonzero integers. Primes are integers and, by definition, cannot be products of primes. So, I think the lemma probably is actually more along the lines of: "all positive non-prime integers can be written as a product of primes".
2) Also, the statement "since 𝑚,𝑛 are positive and smaller than 𝑁 they must each be a product of primes" doesn't really explain why they must be a product of primes. Since, 𝑁 is the smallest positive non-prime integer that cannot be written as a product of primes (by supposition of the lemma), then 𝑚,𝑛 are either prime themselves or a product of primes (as they are less than 𝑁 and 𝑁 is the smallest number that isn't a product of primes). Either way, they will provide the primes necessary to create 𝑁, making 𝑁 able to be constructed as a product of primes.
Hopefully this helps to see why the proof by contradiction works.
$endgroup$
$begingroup$
As far as your (1) is concerned, I think this is just a matter of "over-mathematical" style in the question. 35 is a product of primes. It is a product of the two primes 5 and 7. 37 is a product of primes. It is a product of the one primes 37. But you have raised the extra, interesting point: the statement is "every non-zero integer" but the proof assumes integers >1. Which rather implies that 1 is either not an integer or not non-zero!
$endgroup$
– Martin Kochanski
Mar 25 at 9:07
$begingroup$
@MartinKochanski The standard way of dealing with $1$ is that the product of zero terms is $1$ by convention, so $1$ is the product of zero primes.
$endgroup$
– Especially Lime
Mar 25 at 11:29
add a comment |
$begingroup$
I can definitely understand how this can feel a little off.
1) The lemma (as stated in the question) says all nonzero integers. Primes are integers and, by definition, cannot be products of primes. So, I think the lemma probably is actually more along the lines of: "all positive non-prime integers can be written as a product of primes".
2) Also, the statement "since 𝑚,𝑛 are positive and smaller than 𝑁 they must each be a product of primes" doesn't really explain why they must be a product of primes. Since, 𝑁 is the smallest positive non-prime integer that cannot be written as a product of primes (by supposition of the lemma), then 𝑚,𝑛 are either prime themselves or a product of primes (as they are less than 𝑁 and 𝑁 is the smallest number that isn't a product of primes). Either way, they will provide the primes necessary to create 𝑁, making 𝑁 able to be constructed as a product of primes.
Hopefully this helps to see why the proof by contradiction works.
$endgroup$
I can definitely understand how this can feel a little off.
1) The lemma (as stated in the question) says all nonzero integers. Primes are integers and, by definition, cannot be products of primes. So, I think the lemma probably is actually more along the lines of: "all positive non-prime integers can be written as a product of primes".
2) Also, the statement "since 𝑚,𝑛 are positive and smaller than 𝑁 they must each be a product of primes" doesn't really explain why they must be a product of primes. Since, 𝑁 is the smallest positive non-prime integer that cannot be written as a product of primes (by supposition of the lemma), then 𝑚,𝑛 are either prime themselves or a product of primes (as they are less than 𝑁 and 𝑁 is the smallest number that isn't a product of primes). Either way, they will provide the primes necessary to create 𝑁, making 𝑁 able to be constructed as a product of primes.
Hopefully this helps to see why the proof by contradiction works.
answered Mar 25 at 2:49
dudemandudeman
1493
1493
$begingroup$
As far as your (1) is concerned, I think this is just a matter of "over-mathematical" style in the question. 35 is a product of primes. It is a product of the two primes 5 and 7. 37 is a product of primes. It is a product of the one primes 37. But you have raised the extra, interesting point: the statement is "every non-zero integer" but the proof assumes integers >1. Which rather implies that 1 is either not an integer or not non-zero!
$endgroup$
– Martin Kochanski
Mar 25 at 9:07
$begingroup$
@MartinKochanski The standard way of dealing with $1$ is that the product of zero terms is $1$ by convention, so $1$ is the product of zero primes.
$endgroup$
– Especially Lime
Mar 25 at 11:29
add a comment |
$begingroup$
As far as your (1) is concerned, I think this is just a matter of "over-mathematical" style in the question. 35 is a product of primes. It is a product of the two primes 5 and 7. 37 is a product of primes. It is a product of the one primes 37. But you have raised the extra, interesting point: the statement is "every non-zero integer" but the proof assumes integers >1. Which rather implies that 1 is either not an integer or not non-zero!
$endgroup$
– Martin Kochanski
Mar 25 at 9:07
$begingroup$
@MartinKochanski The standard way of dealing with $1$ is that the product of zero terms is $1$ by convention, so $1$ is the product of zero primes.
$endgroup$
– Especially Lime
Mar 25 at 11:29
$begingroup$
As far as your (1) is concerned, I think this is just a matter of "over-mathematical" style in the question. 35 is a product of primes. It is a product of the two primes 5 and 7. 37 is a product of primes. It is a product of the one primes 37. But you have raised the extra, interesting point: the statement is "every non-zero integer" but the proof assumes integers >1. Which rather implies that 1 is either not an integer or not non-zero!
$endgroup$
– Martin Kochanski
Mar 25 at 9:07
$begingroup$
As far as your (1) is concerned, I think this is just a matter of "over-mathematical" style in the question. 35 is a product of primes. It is a product of the two primes 5 and 7. 37 is a product of primes. It is a product of the one primes 37. But you have raised the extra, interesting point: the statement is "every non-zero integer" but the proof assumes integers >1. Which rather implies that 1 is either not an integer or not non-zero!
$endgroup$
– Martin Kochanski
Mar 25 at 9:07
$begingroup$
@MartinKochanski The standard way of dealing with $1$ is that the product of zero terms is $1$ by convention, so $1$ is the product of zero primes.
$endgroup$
– Especially Lime
Mar 25 at 11:29
$begingroup$
@MartinKochanski The standard way of dealing with $1$ is that the product of zero terms is $1$ by convention, so $1$ is the product of zero primes.
$endgroup$
– Especially Lime
Mar 25 at 11:29
add a comment |
$begingroup$
An integer $n$ is said to be a composite if it can be expressed as the product of two integers $a$ and $b$ with $a notin -1,0,1$ and $b notin -1,0,1$.
An integers $p notin -1,0,1$ that is not a composite is called a prime number.
Recall the method of infinite descent used in mathematical proofs.
Suppose $m notin -1,0,1$ and it can't be expressed as a product of primes. If $m lt 0$ then it is certainly true that the positive number $-m$ can't be factored into primes. So the existence of $m$ allows us to assert that there are positive integers greater than $1$ that can't be factored into a product of prime numbers.
So using infinite descent, we have a minimal $n > 1$ that can't be written as a product of primes. In particular, $n$ can't be a prime. But then it must be a composite, and we can write
$quad n = st text with s,t gt 1$
Note: The composite factors $s$ and $t$ must both be positive or negative.
If they are both negative, replace $s$ with $-s$ and $t$ with $-t$.
But then $s lt n$ and so it can be written as a product of primes. Similarly, $t$ can be written as a product of primes. But then $n$ itself is a product of primes. But this is not possible by our choice of $n$. So the initial assumption of the existence of $m notin -1,0,1$ with no prime factorization leads to a contradiction.
So every $n notin -1,0,1$ has a prime factorization.
$endgroup$
add a comment |
$begingroup$
An integer $n$ is said to be a composite if it can be expressed as the product of two integers $a$ and $b$ with $a notin -1,0,1$ and $b notin -1,0,1$.
An integers $p notin -1,0,1$ that is not a composite is called a prime number.
Recall the method of infinite descent used in mathematical proofs.
Suppose $m notin -1,0,1$ and it can't be expressed as a product of primes. If $m lt 0$ then it is certainly true that the positive number $-m$ can't be factored into primes. So the existence of $m$ allows us to assert that there are positive integers greater than $1$ that can't be factored into a product of prime numbers.
So using infinite descent, we have a minimal $n > 1$ that can't be written as a product of primes. In particular, $n$ can't be a prime. But then it must be a composite, and we can write
$quad n = st text with s,t gt 1$
Note: The composite factors $s$ and $t$ must both be positive or negative.
If they are both negative, replace $s$ with $-s$ and $t$ with $-t$.
But then $s lt n$ and so it can be written as a product of primes. Similarly, $t$ can be written as a product of primes. But then $n$ itself is a product of primes. But this is not possible by our choice of $n$. So the initial assumption of the existence of $m notin -1,0,1$ with no prime factorization leads to a contradiction.
So every $n notin -1,0,1$ has a prime factorization.
$endgroup$
add a comment |
$begingroup$
An integer $n$ is said to be a composite if it can be expressed as the product of two integers $a$ and $b$ with $a notin -1,0,1$ and $b notin -1,0,1$.
An integers $p notin -1,0,1$ that is not a composite is called a prime number.
Recall the method of infinite descent used in mathematical proofs.
Suppose $m notin -1,0,1$ and it can't be expressed as a product of primes. If $m lt 0$ then it is certainly true that the positive number $-m$ can't be factored into primes. So the existence of $m$ allows us to assert that there are positive integers greater than $1$ that can't be factored into a product of prime numbers.
So using infinite descent, we have a minimal $n > 1$ that can't be written as a product of primes. In particular, $n$ can't be a prime. But then it must be a composite, and we can write
$quad n = st text with s,t gt 1$
Note: The composite factors $s$ and $t$ must both be positive or negative.
If they are both negative, replace $s$ with $-s$ and $t$ with $-t$.
But then $s lt n$ and so it can be written as a product of primes. Similarly, $t$ can be written as a product of primes. But then $n$ itself is a product of primes. But this is not possible by our choice of $n$. So the initial assumption of the existence of $m notin -1,0,1$ with no prime factorization leads to a contradiction.
So every $n notin -1,0,1$ has a prime factorization.
$endgroup$
An integer $n$ is said to be a composite if it can be expressed as the product of two integers $a$ and $b$ with $a notin -1,0,1$ and $b notin -1,0,1$.
An integers $p notin -1,0,1$ that is not a composite is called a prime number.
Recall the method of infinite descent used in mathematical proofs.
Suppose $m notin -1,0,1$ and it can't be expressed as a product of primes. If $m lt 0$ then it is certainly true that the positive number $-m$ can't be factored into primes. So the existence of $m$ allows us to assert that there are positive integers greater than $1$ that can't be factored into a product of prime numbers.
So using infinite descent, we have a minimal $n > 1$ that can't be written as a product of primes. In particular, $n$ can't be a prime. But then it must be a composite, and we can write
$quad n = st text with s,t gt 1$
Note: The composite factors $s$ and $t$ must both be positive or negative.
If they are both negative, replace $s$ with $-s$ and $t$ with $-t$.
But then $s lt n$ and so it can be written as a product of primes. Similarly, $t$ can be written as a product of primes. But then $n$ itself is a product of primes. But this is not possible by our choice of $n$. So the initial assumption of the existence of $m notin -1,0,1$ with no prime factorization leads to a contradiction.
So every $n notin -1,0,1$ has a prime factorization.
edited Mar 25 at 15:55
answered Mar 25 at 15:45
CopyPasteItCopyPasteIt
4,4321828
4,4321828
add a comment |
add a comment |
$begingroup$
There is a property of the natural numbers called well-order. A set is well-ordered if every non-empty subset has a least element. So given any property $P$:
The set of numbers for which $P(n)$ is false is either empty or has a least element.
Suppose there is some number $n_0$ such that $P(n_0)$ is false. If $n_0$ is the least such number, then obviously $P(n_0-1)$ is true [1] (otherwise $n_0-1$ would be a number for which $P$ is false that is smaller than $n_0$, and so $n_0$ wouldn't be the smallest such number).
Thus, if we can prove that there is no number $n_0$ such that $P(n_0-1)$ is true and $P(n_0)$ is false (i.e. "$neg exists n_0: (P(n_0-1) land neg P(n_0))$", then we have shown that the set of numbers for which $P$ is false has no least element.
"$neg exists n_0: (P(n_0-1) land neg P(n_0))$" is equivalent to "$forall n_0: (neg P(n_0-1) lor P(n_0))$", which is in turn equivalent to "$forall n_0: (P(n_0-1) rightarrow P(n_0))$".
Thus, if we can prove $forall n_0: (P(n_0-1) rightarrow P(n_0))$, then it follows that the set of numbers for which $P(n)$ is false does not have a least element. Since all non-empty sets of natural numbers have a least element, this set must be empty. That is, there are no numbers for which $P(n)$ is false, i.e. $P(n)$ is true for all $n$.
[1] There is also the possibility that $n_0-1$ isn't a natural number, which happens when $n_0=0$. Dealing with this possibility requires proving that $P(0)$ is true separately, which is why induction proofs require a base case.
So that's the concept behind induction proofs: if the proposition isn't true for all numbers, then there is a non-empty set of numbers for which it is false, which has to have a least element, which means that we have to go from "true" to "false" at some point. Inductive proofs thus look a bit like circular reasoning: you start assuming that the proposition is true, and use that to prove that the proposition is true. But what makes it non-fallacious is that you prove that the proposition is true for a later number by assuming that it's true for an earlier number.
The proof that you cite is using the same basic principle as induction, namely the well-order of the natural numbers, but it is skipping the one-by-one sort of process that induction proofs usually use. Instead of saying "If $P(n_0)$ is false, then $P(n_0-1)$ being true leads to a contradiction", it's saying "If $P(n_0)$ is false, then $P(n)$ being true for $n<n_0$ leads to a contradiction". Like a standard induction proof, it superficially looks like circular reasoning, but isn't, because it's proving that the proposition is true for $N$ using the fact that it's true for smaller numbers.
$endgroup$
add a comment |
$begingroup$
There is a property of the natural numbers called well-order. A set is well-ordered if every non-empty subset has a least element. So given any property $P$:
The set of numbers for which $P(n)$ is false is either empty or has a least element.
Suppose there is some number $n_0$ such that $P(n_0)$ is false. If $n_0$ is the least such number, then obviously $P(n_0-1)$ is true [1] (otherwise $n_0-1$ would be a number for which $P$ is false that is smaller than $n_0$, and so $n_0$ wouldn't be the smallest such number).
Thus, if we can prove that there is no number $n_0$ such that $P(n_0-1)$ is true and $P(n_0)$ is false (i.e. "$neg exists n_0: (P(n_0-1) land neg P(n_0))$", then we have shown that the set of numbers for which $P$ is false has no least element.
"$neg exists n_0: (P(n_0-1) land neg P(n_0))$" is equivalent to "$forall n_0: (neg P(n_0-1) lor P(n_0))$", which is in turn equivalent to "$forall n_0: (P(n_0-1) rightarrow P(n_0))$".
Thus, if we can prove $forall n_0: (P(n_0-1) rightarrow P(n_0))$, then it follows that the set of numbers for which $P(n)$ is false does not have a least element. Since all non-empty sets of natural numbers have a least element, this set must be empty. That is, there are no numbers for which $P(n)$ is false, i.e. $P(n)$ is true for all $n$.
[1] There is also the possibility that $n_0-1$ isn't a natural number, which happens when $n_0=0$. Dealing with this possibility requires proving that $P(0)$ is true separately, which is why induction proofs require a base case.
So that's the concept behind induction proofs: if the proposition isn't true for all numbers, then there is a non-empty set of numbers for which it is false, which has to have a least element, which means that we have to go from "true" to "false" at some point. Inductive proofs thus look a bit like circular reasoning: you start assuming that the proposition is true, and use that to prove that the proposition is true. But what makes it non-fallacious is that you prove that the proposition is true for a later number by assuming that it's true for an earlier number.
The proof that you cite is using the same basic principle as induction, namely the well-order of the natural numbers, but it is skipping the one-by-one sort of process that induction proofs usually use. Instead of saying "If $P(n_0)$ is false, then $P(n_0-1)$ being true leads to a contradiction", it's saying "If $P(n_0)$ is false, then $P(n)$ being true for $n<n_0$ leads to a contradiction". Like a standard induction proof, it superficially looks like circular reasoning, but isn't, because it's proving that the proposition is true for $N$ using the fact that it's true for smaller numbers.
$endgroup$
add a comment |
$begingroup$
There is a property of the natural numbers called well-order. A set is well-ordered if every non-empty subset has a least element. So given any property $P$:
The set of numbers for which $P(n)$ is false is either empty or has a least element.
Suppose there is some number $n_0$ such that $P(n_0)$ is false. If $n_0$ is the least such number, then obviously $P(n_0-1)$ is true [1] (otherwise $n_0-1$ would be a number for which $P$ is false that is smaller than $n_0$, and so $n_0$ wouldn't be the smallest such number).
Thus, if we can prove that there is no number $n_0$ such that $P(n_0-1)$ is true and $P(n_0)$ is false (i.e. "$neg exists n_0: (P(n_0-1) land neg P(n_0))$", then we have shown that the set of numbers for which $P$ is false has no least element.
"$neg exists n_0: (P(n_0-1) land neg P(n_0))$" is equivalent to "$forall n_0: (neg P(n_0-1) lor P(n_0))$", which is in turn equivalent to "$forall n_0: (P(n_0-1) rightarrow P(n_0))$".
Thus, if we can prove $forall n_0: (P(n_0-1) rightarrow P(n_0))$, then it follows that the set of numbers for which $P(n)$ is false does not have a least element. Since all non-empty sets of natural numbers have a least element, this set must be empty. That is, there are no numbers for which $P(n)$ is false, i.e. $P(n)$ is true for all $n$.
[1] There is also the possibility that $n_0-1$ isn't a natural number, which happens when $n_0=0$. Dealing with this possibility requires proving that $P(0)$ is true separately, which is why induction proofs require a base case.
So that's the concept behind induction proofs: if the proposition isn't true for all numbers, then there is a non-empty set of numbers for which it is false, which has to have a least element, which means that we have to go from "true" to "false" at some point. Inductive proofs thus look a bit like circular reasoning: you start assuming that the proposition is true, and use that to prove that the proposition is true. But what makes it non-fallacious is that you prove that the proposition is true for a later number by assuming that it's true for an earlier number.
The proof that you cite is using the same basic principle as induction, namely the well-order of the natural numbers, but it is skipping the one-by-one sort of process that induction proofs usually use. Instead of saying "If $P(n_0)$ is false, then $P(n_0-1)$ being true leads to a contradiction", it's saying "If $P(n_0)$ is false, then $P(n)$ being true for $n<n_0$ leads to a contradiction". Like a standard induction proof, it superficially looks like circular reasoning, but isn't, because it's proving that the proposition is true for $N$ using the fact that it's true for smaller numbers.
$endgroup$
There is a property of the natural numbers called well-order. A set is well-ordered if every non-empty subset has a least element. So given any property $P$:
The set of numbers for which $P(n)$ is false is either empty or has a least element.
Suppose there is some number $n_0$ such that $P(n_0)$ is false. If $n_0$ is the least such number, then obviously $P(n_0-1)$ is true [1] (otherwise $n_0-1$ would be a number for which $P$ is false that is smaller than $n_0$, and so $n_0$ wouldn't be the smallest such number).
Thus, if we can prove that there is no number $n_0$ such that $P(n_0-1)$ is true and $P(n_0)$ is false (i.e. "$neg exists n_0: (P(n_0-1) land neg P(n_0))$", then we have shown that the set of numbers for which $P$ is false has no least element.
"$neg exists n_0: (P(n_0-1) land neg P(n_0))$" is equivalent to "$forall n_0: (neg P(n_0-1) lor P(n_0))$", which is in turn equivalent to "$forall n_0: (P(n_0-1) rightarrow P(n_0))$".
Thus, if we can prove $forall n_0: (P(n_0-1) rightarrow P(n_0))$, then it follows that the set of numbers for which $P(n)$ is false does not have a least element. Since all non-empty sets of natural numbers have a least element, this set must be empty. That is, there are no numbers for which $P(n)$ is false, i.e. $P(n)$ is true for all $n$.
[1] There is also the possibility that $n_0-1$ isn't a natural number, which happens when $n_0=0$. Dealing with this possibility requires proving that $P(0)$ is true separately, which is why induction proofs require a base case.
So that's the concept behind induction proofs: if the proposition isn't true for all numbers, then there is a non-empty set of numbers for which it is false, which has to have a least element, which means that we have to go from "true" to "false" at some point. Inductive proofs thus look a bit like circular reasoning: you start assuming that the proposition is true, and use that to prove that the proposition is true. But what makes it non-fallacious is that you prove that the proposition is true for a later number by assuming that it's true for an earlier number.
The proof that you cite is using the same basic principle as induction, namely the well-order of the natural numbers, but it is skipping the one-by-one sort of process that induction proofs usually use. Instead of saying "If $P(n_0)$ is false, then $P(n_0-1)$ being true leads to a contradiction", it's saying "If $P(n_0)$ is false, then $P(n)$ being true for $n<n_0$ leads to a contradiction". Like a standard induction proof, it superficially looks like circular reasoning, but isn't, because it's proving that the proposition is true for $N$ using the fact that it's true for smaller numbers.
answered Mar 25 at 19:16
AcccumulationAcccumulation
7,4342619
7,4342619
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3161147%2fproof-of-lemma-every-integer-can-be-written-as-a-product-of-primes%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
$begingroup$
That argument is by induction. the result is easy to check for small numbers, so assume it holds up to $N-1$. Then $N$ is either prime, in which case we are done, or it factors as $atimes b$ with $1<a≤b<N-1$ and you can apply the inductive hypothesis to $a,b$. Same argument.
$endgroup$
– lulu
Mar 24 at 22:36
1
$begingroup$
There is nothing missing in this proof. It is just fine. And why “two primes”?
$endgroup$
– José Carlos Santos
Mar 24 at 22:36
4
$begingroup$
It's a valid proof by infinite descent (a.k.a. minimal criminal), the contrapositive of induction - see the Remark here. You should master both this (negative) and the normal (positive) form of induction.
$endgroup$
– Bill Dubuque
Mar 25 at 1:32
3
$begingroup$
$-1$ is an integer, and is not prime...
$endgroup$
– Gerrit0
Mar 25 at 3:58
1
$begingroup$
@AndreasRejbrand According to the textbook, if p is a prime then -p is a prime :/
$endgroup$
– Alena Gusakov
Mar 25 at 15:02