Euclid's Lemma for Prime Divisors/Proof 3

From ProofWiki
Jump to navigation Jump to search


Let $p$ be a prime number.

Let $a$ and $b$ be integers such that:

$p \divides a b$

where $\divides$ means is a divisor of.

Then $p \divides a$ or $p \divides b$.

In the words of Euclid:

If two numbers by multiplying one another make some number, and any prime number measure the product, it will also measure one of the original numbers.

(The Elements: Book $\text{VII}$: Proposition $30$)


Let $p \divides a b$.

Suppose $p \nmid a$.

Then by Proposition $29$ of Book $\text{VII} $: Prime not Divisor implies Coprime:

$p \perp a$

As $p \divides a b$, it follows by definition of divisor:

$\exists e \in \Z: e p = a b$

So by Proposition $19$ of Book $\text{VII} $: Relation of Ratios to Products‎:

$p : a = b : e$

But as $p \perp a$, by:

Proposition $21$ of Book $\text{VII} $: Coprime Numbers form Fraction in Lowest Terms


Proposition $20$ of Book $\text{VII} $: Ratios of Fractions in Lowest Terms

it follows that:

$p \divides b$

Similarly, if $p \perp b$ then $p \divides a$.

Hence the result.


Historical Note

This theorem is Proposition $30$ of Book $\text{VII}$ of Euclid's The Elements.