Euclid's lemma

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Distinguish In algebra and number theory, Euclid's lemma is a lemma that captures a fundamental property of prime numbers:Template:Refn Template:Math theorem For example, if Template:Math, Template:Math, Template:Math, then Template:Math, and since this is divisible by 19, the lemma implies that one or both of 133 or 143 must be as well. In fact, Template:Math.

The lemma first appeared in Euclid's Elements, and is a fundamental result in elementary number theory.

If the premise of the lemma does not hold, that is, if Template:Math is a composite number, its consequent may be either true or false. For example, in the case of Template:Math, Template:Math, Template:Math, composite number 10 divides Template:Math, but 10 divides neither 4 nor 15.

This property is the key in the proof of the fundamental theorem of arithmetic.Template:Refn It is used to define prime elements, a generalization of prime numbers to arbitrary commutative rings. Euclid's lemma shows that in the integers irreducible elements are also prime elements. The proof uses induction so it does not apply to all integral domains.

Formulations

Euclid's lemma is commonly used in the following equivalent form: Template:Math theorem

Euclid's lemma can be generalized as follows from prime numbers to any integers. Template:Math theorem

This is a generalization because a prime number Template:Mvar is coprime with an integer Template:Mvar if and only if Template:Mvar does not divide Template:Mvar.

History

The lemma first appears as proposition 30 in Book VII of Euclid's Elements. It is included in practically every book that covers elementary number theory.[1][2][3][4][5]

The generalization of the lemma to integers appeared in Jean Prestet's textbook Nouveaux Elémens de Mathématiques in 1681.[6]

In Carl Friedrich Gauss's treatise Disquisitiones Arithmeticae, the statement of the lemma is Euclid's Proposition 14 (Section 2), which he uses to prove the uniqueness of the decomposition product of prime factors of an integer (Theorem 16), admitting the existence as "obvious". From this existence and uniqueness he then deduces the generalization of prime numbers to integers.[7] For this reason, the generalization of Euclid's lemma is sometimes referred to as Gauss's lemma, but some believe this usage is incorrect[8] due to confusion with Gauss's lemma on quadratic residues.

Proofs

The two first subsections, are proofs of the generalized version of Euclid's lemma, namely that: if Template:Mvar divides Template:Mvar and is coprime with Template:Mvar then it divides Template:Mvar.

The original Euclid's lemma follows immediately, since, if Template:Mvar is prime then it divides Template:Mvar or does not divide Template:Mvar in which case it is coprime with Template:Mvar so per the generalized version it divides Template:Mvar.

Using Bézout's identity

In modern mathematics, a common proof involves Bézout's identity, which was unknown at Euclid's time.[9] Bézout's identity states that if Template:Math and Template:Math are coprime integers (i.e. they share no common divisors other than 1 and −1) there exist integers Template:Math and Template:Math such that

rx+sy=1.

Let Template:Math and Template:Math be coprime, and assume that Template:MathTemplate:Refn. By Bézout's identity, there are Template:Math and Template:Math such that

rn+sa=1.

Multiply both sides by Template:Math:

rnb+sab=b.

The first term on the left is divisible by Template:Math, and the second term is divisible by Template:Math, which by hypothesis is divisible by Template:Math. Therefore their sum, Template:Math, is also divisible by Template:Math.

By induction

The following proof is inspired by Euclid's version of Euclidean algorithm, which proceeds by using only subtractions.

Suppose that nab and that Template:Mvar and Template:Mvar are coprime (that is, their greatest common divisor is Template:Math). One has to prove that Template:Mvar divides Template:Mvar. Since nab, there exists an integer Template:Mvar such that

nq=ab.

Without loss of generality, one can suppose that Template:Mvar, Template:Mvar, Template:Mvar, and Template:Mvar are positive, since the divisibility relation is independent of the signs of the involved integers.

To prove the theorem by strong induction, we suppose that it has been proved for all smaller values of Template:Mvar. There are three cases:

  1. If Template:Math, coprimality implies Template:Math, and Template:Mvar divides Template:Mvar trivially.
  2. If Template:Math, then subtracting nb from both sides gives

    n(qb)=(an)b.

    Thus, Template:Mvar divides Template:Math. Since we assumed that Template:Mvar and Template:Mvar are coprime, it follows that Template:Math and Template:Mvar must be coprime. (If not, their greatest common divisor Template:Mvar would divide their sum Template:Mvar as well as Template:Mvar, contradicting our assumption.)

    The conclusion therefore follows by induction hypothesis, since Template:Math.
  3. If Template:Math then subtracting aq from both sides gives

    (na)q=a(bq).

    Thus, Template:Math divides Template:Math. Since (as in the previous case), Template:Math and Template:Mvar are coprime, and since Template:Math, then the induction hypothesis implies that Template:Math divides Template:Math; that is, bq=r(na) for some integer Template:Mvar. So, (na)q=ar(na), and, by dividing by Template:Math, one has q=ar. Therefore, ab=nq=anr, and by dividing by Template:Mvar, one gets b=nr, the desired conclusion.

Proof of Elements

Euclid's lemma is proved at the Proposition 30 in Book VII of Euclid's Elements. The original proof is difficult to understand as is, so we quote the commentary from Template:Harvtxt.

Template:AnchorProposition 19
If four numbers be proportional, the number produced from the first and fourth is equal to the number produced from the second and third; and, if the number produced from the first and fourth be equal to that produced from the second and third, the four numbers are proportional.Template:Refn
Template:AnchorProposition 20
The least numbers of those that have the same ratio with them measures those that have the same ratio the same number of times—the greater the greater and the less the less.Template:Refn
Template:AnchorProposition 21
Numbers prime to one another are the least of those that have the same ratio with them.Template:Refn
Template:AnchorProposition 29
Any prime number is prime to any number it does not measure.Template:Refn
Template:AnchorProposition 30
If two numbers, by multiplying one another, make the same number, and any prime number measures the product, it also measures one of the original numbers.Template:Refn
Proof of 30
If c, a prime number, measure ab, c measures either a or b.
Suppose c does not measure a.
Therefore c, a are prime to one another. VII. 29
Suppose abmc.
Therefore c : ab : m. VII. 19
Hence [VII. 20, 21bnc, where n is some integer.
Therefore c measures b.
Similarly, if c does not measure b, c measures a.
Therefore c measures one or other of the two numbers a, b.
Q.E.D.[10]

See also

Template:Div col

Template:Div col end

Footnotes

Notes

Template:Reflist

Citations

Template:Reflist

References