Euclid's lemma

Last updated

In algebra and number theory, Euclid's lemma is a lemma that captures a fundamental property of prime numbers, namely: [note 1]

Contents

Euclid's lemma  If a prime p divides the product ab of two integers a and b, then p must divide at least one of those integers a or b.

For example, if p = 19, a = 133, b = 143, then ab = 133 × 143 = 19019, and since this is divisible by 19, the lemma implies that one or both of 133 or 143 must be as well. In fact, 133 = 19 × 7.

If the premise of the lemma does not hold, i.e., p is a composite number, its consequent may be either true or false. For example, in the case of p = 10, a = 4, b = 15, composite number 10 divides ab = 4 × 15 = 60, but 10 divides neither 4 nor 15.

This property is the key in the proof of the fundamental theorem of arithmetic. [note 2] 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:

Theorem  If is a prime number that divides the product and does not divide then it divides

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

Theorem  If an integer n divides the product ab of two integers, and is coprime with a, then n divides b.

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

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. [4] [5] [6] [7] [8]

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

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. [10] For this reason, the generalization of Euclid's lemma is sometimes referred to as Gauss's lemma, but some believe this usage is incorrect [11] 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 n divides ab and is coprime with a then it divides b.

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

Using Bézout's identity

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

Let a and n be coprime, and assume that n|ab. By Bézout's identity, there are r and s such that

Multiply both sides by b:

The first term on the left is divisible by n, and the second term is divisible by ab, which by hypothesis is divisible by n. Therefore their sum, b, is also divisible by n.

By induction

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

Suppose that and that n and a are coprime (that is, their greatest common divisor is 1). One has to prove that n divides b. Since there is an integer q such that Without loss of generality, one can suppose that n, q, a, and b are positive, since the divisibility relation is independent from the signs of the involved integers.

For proving this by strong induction, we suppose that the result has been proved for all positive lower values of ab.

There are three cases:

If n = a, coprimality implies n = 1, and n divides b trivially.

If n < a, one has

The positive integers an and n are coprime: their greatest common divisor d must divide their sum, and thus divides both n and a. It results that d = 1, by the coprimality hypothesis. So, the conclusion follows from the induction hypothesis, since 0 < (an) b < ab.

Similarly, if n > a one has

and the same argument shows that na and a are coprime. Therefore, one has 0 < a (bq) < ab, and the induction hypothesis implies that na divides bq; that is, for some integer. So, and, by dividing by na, one has Therefore, and by dividing by a, one gets the desired result.

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 Euclid (1956 , pp. 319–332).

Proposition 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. [note 3]
Proposition 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. [note 4]
Proposition 21
Numbers prime to one another are the least of those that have the same ratio with them. [note 5]
Proposition 29
Any prime number is prime to any number it does not measure. [note 6]
Proposition 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. [note 7]
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. [18]

See also

Footnotes

Notes

  1. It is also called Euclid's first theorem [1] [2] although that name more properly belongs to the side-angle-side condition for showing that triangles are congruent. [3]
  2. In general, to show that a domain is a unique factorization domain, it suffices to prove Euclid's lemma and the ascending chain condition on principal ideals (ACCP)
  3. If abcd, then adbc; and conversely. [13]
  4. If abcd, and a, b are the least numbers among those that have the same ratio, then cna, dnb, where n is some integer. [14]
  5. If abcd, and a, b are prime to one another, then a, b are the least numbers among those that have the same ratio. [15]
  6. If a is prime and does not measure b, then a, b are prime to one another. [16]
  7. If c, a prime number, measure ab, c measures either a or b. [17]

Citations

  1. Bajnok 2013, Theorem 14.5
  2. Joyner, Kreminski & Turisco 2004, Proposition 1.5.8, p. 25
  3. Martin 2012, p. 125
  4. Gauss 2001 , p. 14
  5. Hardy, Wright & Wiles 2008 , Theorem 3
  6. Ireland & Rosen 2010 , Proposition 1.1.1
  7. Landau 1999 , Theorem 15
  8. Riesel 1994 , Theorem A2.1
  9. Euclid 1994 , pp. 338–339
  10. Gauss 2001 , Article 19
  11. Weisstein, Eric W. "Euclid's Lemma". MathWorld .
  12. Hardy, Wright & Wiles 2008 , §2.10
  13. Euclid 1956, p. 319
  14. Euclid 1956, p. 321
  15. Euclid 1956, p. 323
  16. Euclid 1956, p. 331
  17. Euclid 1956, p. 332
  18. Euclid 1956 , pp. 331−332

Related Research Articles

In mathematics, Bézout's identity, named after Étienne Bézout who proved it for polynomials, is the following theorem:

In number theory, two integers a and b are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides a does not divide b, and vice versa. This is equivalent to their greatest common divisor (GCD) being 1. One says also ais prime tob or ais coprime withb.

<span class="mw-page-title-main">Chinese remainder theorem</span> Theorem for solving simultaneous congruences

In mathematics, the Chinese remainder theorem states that if one knows the remainders of the Euclidean division of an integer n by several integers, then one can determine uniquely the remainder of the division of n by the product of these integers, under the condition that the divisors are pairwise coprime.

<span class="mw-page-title-main">Euclidean algorithm</span> Algorithm for computing greatest common divisors

In mathematics, the Euclidean algorithm, or Euclid's algorithm, is an efficient method for computing the greatest common divisor (GCD) of two integers (numbers), the largest number that divides them both without a remainder. It is named after the ancient Greek mathematician Euclid, who first described it in his Elements . It is an example of an algorithm, a step-by-step procedure for performing a calculation according to well-defined rules, and is one of the oldest algorithms in common use. It can be used to reduce fractions to their simplest form, and is a part of many other number-theoretic and cryptographic calculations.

<span class="mw-page-title-main">Fundamental theorem of arithmetic</span> Integers have unique prime factorizations

In mathematics, the fundamental theorem of arithmetic, also called the unique factorization theorem and prime factorization theorem, states that every integer greater than 1 can be represented uniquely as a product of prime numbers, up to the order of the factors. For example,

<span class="mw-page-title-main">Pythagorean triple</span> Integer side lengths of a right triangle

A Pythagorean triple consists of three positive integers a, b, and c, such that a2 + b2 = c2. Such a triple is commonly written (a, b, c), and a well-known example is (3, 4, 5). If (a, b, c) is a Pythagorean triple, then so is (ka, kb, kc) for any positive integer k. A triangle whose sides form a Pythagorean triple is called a Pythagorean triangle and is a right triangle.

<span class="mw-page-title-main">Quadratic reciprocity</span> Gives conditions for the solvability of quadratic equations modulo prime numbers

In number theory, the law of quadratic reciprocity is a theorem about modular arithmetic that gives conditions for the solvability of quadratic equations modulo prime numbers. Due to its subtlety, it has many formulations, but the most standard statement is:

In algebra, the rational root theorem states a constraint on rational solutions of a polynomial equation

<span class="mw-page-title-main">Gaussian integer</span> Complex number whose real and imaginary parts are both integers

In number theory, a Gaussian integer is a complex number whose real and imaginary parts are both integers. The Gaussian integers, with ordinary addition and multiplication of complex numbers, form an integral domain, usually written as or

<i>p</i>-adic number Number system extending the rational numbers

In number theory, given a prime number p, the p-adic numbers form an extension of the rational numbers which is distinct from the real numbers, though with some similar properties; p-adic numbers can be written in a form similar to decimals, but with digits based on a prime number p rather than ten, and extending to the left rather than to the right.

In number theory, Fermat's little theorem states that if p is a prime number, then for any integer a, the number apa is an integer multiple of p. In the notation of modular arithmetic, this is expressed as

In number theory, Euler's theorem states that, if n and a are coprime positive integers, then is congruent to modulo n, where denotes Euler's totient function; that is

This article collects together a variety of proofs of Fermat's little theorem, which states that

In number theory, Dirichlet's theorem, also called the Dirichlet prime number theorem, states that for any two positive coprime integers a and d, there are infinitely many primes of the form a + nd, where n is also a positive integer. In other words, there are infinitely many primes that are congruent to a modulo d. The numbers of the form a + nd form an arithmetic progression

In number theory, an integer q is called a quadratic residue modulo n if it is congruent to a perfect square modulo n; i.e., if there exists an integer x such that:

In mathematics, a quadratic irrational number is an irrational number that is the solution to some quadratic equation with rational coefficients which is irreducible over the rational numbers. Since fractions in the coefficients of a quadratic equation can be cleared by multiplying both sides by their least common denominator, a quadratic irrational is an irrational root of some quadratic equation with integer coefficients. The quadratic irrational numbers, a subset of the complex numbers, are algebraic numbers of degree 2, and can therefore be expressed as

In mathematics, Eisenstein's criterion gives a sufficient condition for a polynomial with integer coefficients to be irreducible over the rational numbers – that is, for it to not be factorizable into the product of non-constant polynomials with rational coefficients.

In additive number theory, Fermat's theorem on sums of two squares states that an odd prime p can be expressed as:

In algebra, Gauss's lemma, named after Carl Friedrich Gauss, is a statement about polynomials over the integers, or, more generally, over a unique factorization domain. Gauss's lemma underlies all the theory of factorization and greatest common divisors of such polynomials.

Euclid's theorem is a fundamental statement in number theory that asserts that there are infinitely many prime numbers. It was first proven by Euclid in his work Elements. There are several proofs of the theorem.

References