PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: High Entry average rating: No information on entry rating
[parent] existence and uniqueness of the gcd of two integers (Theorem)
Theorem 1   Given two integers, at least one different from zero, there exists a unique natural number satisfying the definition of the greatest common divisor.
Proof. Let $a,b\in\mathbb{Z}$ where at least one of $a,b$ is nonzero. First we show existence. Define $S=\{ma+nb:m,n\in\mathbb{Z}{ and }ma+nb>0\}$ Now clearly $S$ is a subset of natural numbers, and $S$ is also nonempty, for depending upon the signs of $a$ and $b$ we may take $m=n=\pm 1$ to have $ma+nb\in S$ So, by the well-ordering principle for natural numbers, $S$ has a smallest element which we denote $g$ Note that, by construction, $g=m_0a+n_0b$ for some $m_0,n_0\in\mathbb{Z}$ We will show that $g$ is a greatest common divisor of $a$ and $b$ Suppose first that $g\nmid a$ Then, by the division algorithm for integers, there exist unique $q,r\in\mathbb{Z}$ where $0\leq r< g$ such that $a=qg+r$ By assumption, $g\nmid a$ so we have \begin{equation*} 0<r=a-qg=a-q(m_0a+n_0b)=a-qm_0a-qn_0b=(1-qm_0)a-qn_0b<g\text{.} \end{equation*}But then $r$ is an element of $S$ strictly less than $g$ contrary to assumption. Thus it must be that $g\mid a$ Similarly it can be shown that $g\mid b$ Now suppose $h\in\mathbb{N}$ is a divisor of both $a$ and $b$ Then there exist $k,l\in\mathbb{Z}$ such that $a=kh$ and $b=lh$ and we have \begin{equation*} g=m_0a+n_0b=m_0kh+n_0lh=(m_0k+n_0l)h\text{,} \end{equation*}so $h\mid g$ Thus $g$ is a greatest common divisor of $a$ and $b$ To see that $g$ is unique, suppose that $g'\in\mathbb{N}$ is also a greatest common divisor of $a$ and $b$ Then we have $g'\mid g$ and $g\mid g'$ whence $g=\pm g'$ and since $g,g'>0$ $g=g'$ $ \qedsymbol$




"existence and uniqueness of the gcd of two integers" is owned by alozano. [ owner history (1) ]
(view preamble | get metadata)

View style:

See Also: greatest common divisor, divisibility in rings, division algorithm for integers, well-ordering principle for natural numbers

Keywords:  divisor, divisibility, gcd, greatest common divisor, division algorithm, well-ordering principle

This object's parent.
Log in to rate this entry.
(view current ratings)

Cross-references: divisor, strictly, division algorithm for integers, well-ordering principle for natural numbers, subset, greatest common divisor, natural number, integers

This is version 2 of existence and uniqueness of the gcd of two integers, born on 2006-12-20, modified 2006-12-20.
Object id is 8645, canonical name is ExistenceAndUniquenessOfTheGcdOfTwoIntegers.
Accessed 1240 times total.

Classification:
AMS MSC11-00 (Number theory :: General reference works )

Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | prove | add result | add corollary | add example | add (any)