Euclid's lemma: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Michael Underwood
No edit summary
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{subpages}}
In [[number theory]], '''Euclid's lemma''', named after the ancient Greek geometer and number theorist [[Euclid]] of [[Alexandria]], states that if a [[prime number]] ''p'' is a [[divisor]] of the [[multiplication|product]] of two [[integer]]s, ''ab'', then either ''p'' is a divisor of ''a'' or ''p'' is a divisor of ''b'' (or both).
In [[number theory]], '''Euclid's lemma''', named after the ancient Greek geometer and number theorist [[Euclid]] of [[Alexandria]], states that if a [[prime number]] ''p'' is a [[divisor]] of the [[multiplication|product]] of two [[integer]]s, ''ab'', then either ''p'' is a divisor of ''a'' or ''p'' is a divisor of ''b'' (or both).


Euclid's lemma is used in the proof of the [[unique factorization theorem]], which states that a number cannot have more than one prime factorization.
Euclid's lemma is used in the proof of the [[unique factorization theorem]], which states that a number cannot have more than one prime factorization.


==Proof of the lemma==
==Proof==
In order to prove Euclid's lemma we will first prove another, unnamed, lemma that will become useful later.
This additional lemma is
 
'''Lemma 1:''' Suppose ''p'' and ''q'' are [[relatively prime]] integers and that ''p''|''kq'' for some integer ''k''.  Then ''p''|''k''.
 
'''Proof:''' Because ''p'' and ''q'' are relatively prime, the [[Euclidean Algorithm]] tells us that
there exist integers ''r'' and ''s'' such that 1=gcd(''p'',''q'')=''rp''+''sq''.
Next, since ''p''|''kq'' there exists some integer ''n'' such that ''np=kq''.  Now write
: ''k''=(''rp''+''sq'')''k'' = ''rpk'' + ''s''(''kq'') = ''rpk'' + ''snp'' = ''p''(''rk''+''sn'').
Since ''rk''+''sn'' is an integer, this shows that ''p''|''k'' as desired.
 
Now we can prove Euclid's lemma.
Let ''a'', ''b'', ''p'' <math>\in\mathbb{Z}</math> with ''p'' prime, and
Let ''a'', ''b'', ''p'' <math>\in\mathbb{Z}</math> with ''p'' prime, and
suppose that ''p'' is a divisor of ''ab'', ''p''|''ab''.
suppose that ''p'' is a divisor of ''ab'', ''p''|''ab''.
Then there exists an [[integer]] ''n'' such that
Now let ''g''=gcd(''a'',''p'')Since ''p'' is prime and ''g'' divides it, then either ''g''=''p'' or ''g''=1.
''ab=pn''.  But this means that the fraction
In the first case, ''p'' divides ''a'' by the definition of the gcd, so we are done.
:<math>\frac{ab}{p}=n</math>
In the second case we have that ''a'' and ''p'' are relatively prime and that ''p''|''ba'' so by the Lemma 1,
must be an integer as well.
''p'' divides ''b''.
Now, since ''p'' is prime the [[greatest common divisor]] of ''p'' and ''a'' is either 1 or ''p''.
Thus in either case ''p'' divides (at least) one of ''a'' and ''b''.
If it is ''p'' then the proof is complete since ''p''|''a'', so suppose that ''p'' does not divide ''a''.
Note that it is of course possible for ''p'' to divide both ''a'' and ''b'', the simplest example of which is
In this case we write
the case ''a''=''b''=''p''.
:<math>a\frac{b}{p}=n\ ,</math>
and since gcd(''a'',''p'')=1 and ''n'' is an integer, ''b/p'' must also be an integer, say ''m''.
But then ''b=mp'' so ''p'' divides ''b''.


Therefore in either case we have ''p'' dividing (at least) one of ''a'' and ''b'', and the proof is complete.


[[category:Mathematics Workgroup]]
[[category:Mathematics Workgroup]][[Category:Suggestion Bot Tag]]

Latest revision as of 06:00, 14 August 2024

This article is developing and not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.

In number theory, Euclid's lemma, named after the ancient Greek geometer and number theorist Euclid of Alexandria, states that if a prime number p is a divisor of the product of two integers, ab, then either p is a divisor of a or p is a divisor of b (or both).

Euclid's lemma is used in the proof of the unique factorization theorem, which states that a number cannot have more than one prime factorization.

Proof

In order to prove Euclid's lemma we will first prove another, unnamed, lemma that will become useful later. This additional lemma is

Lemma 1: Suppose p and q are relatively prime integers and that p|kq for some integer k. Then p|k.

Proof: Because p and q are relatively prime, the Euclidean Algorithm tells us that there exist integers r and s such that 1=gcd(p,q)=rp+sq. Next, since p|kq there exists some integer n such that np=kq. Now write

k=(rp+sq)k = rpk + s(kq) = rpk + snp = p(rk+sn).

Since rk+sn is an integer, this shows that p|k as desired.

Now we can prove Euclid's lemma. Let a, b, p with p prime, and suppose that p is a divisor of ab, p|ab. Now let g=gcd(a,p). Since p is prime and g divides it, then either g=p or g=1. In the first case, p divides a by the definition of the gcd, so we are done. In the second case we have that a and p are relatively prime and that p|ba so by the Lemma 1, p divides b. Thus in either case p divides (at least) one of a and b. Note that it is of course possible for p to divide both a and b, the simplest example of which is the case a=b=p.