Lably
Skip to content

Euclid's lemma

On prime factors of integer products

  • 5 min read
  • 3 chapters

Related on Lably

Through Algebra, Prime number and Euclid

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.

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 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. 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 p is a prime number that divides the product ab and does not divide a, then it divides b.

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.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Topics in mathematics