Re: Euclidean Algorithm - a simple question
- From: Bill Dubuque <wgd@xxxxxxxxxxxxxxxxxxxx>
- Date: 30 Mar 2008 17:04:15 -0500
Arturo Magidin <magidin@xxxxxxxxxxxxxxxxx> wrote:
Oliver Mertens <oliver_mertens@xxxxxxxxxxxxx> wrote:
Let [x] denotes the integral part of x. Now, consider 1 < x < y.
Then we can write y = [y/x] x + r, where r denotes the remainder
when we >divide y by x. I'd like to show that gcd(x, y) = gcd(x, r).
So: you know that if m divides both y and x, then it divides r, so
it divides both x and r, hence divides gcd(x,r). So, gcd(x,y)|gcd(x,r).
Now you want to show that if m divides both x and r, then it divides y.
Well, y = [y/x]x + r, right? More generally: if m divides a and b, then
it divides ax+by for any x and y. So, gcd(a,b) = gcd(a,b+qa) for all q.
Indeed:, if x divides a and b, then it divides a and b+qa, so
gcd(a,b)|gcd(a,b+qa); by the same argument,
gcd(a,b+qa)|gcd(a,(b+qa)+(-q)a) = gcd(a,b). QED
The ESSENCE is much clearer when presented as follows.
One easily proves that gcd(x, qx+r) = gcd(x, r)
If d divides x then: d divides qx+r iff d divides r
which obviously implies that {x, qx+r} and {x, r}
have the same set of common divisors d, hence they
have the same greatest common divisor. QED
ALTERNATIVELY, in terms of ideals or Z-modules:
y = qx+r -> xZ + yZ = xZ + (qx+r)Z = xZ + rZ
If you don't know ideal theory you can read the above
as saying that {x,y} and {x,r} have the same set of
integer linear combinations, i.e. xZ + yZ = xZ + rZ,
hence the same gcd (= smallest elt > 0 in such a set).
--Bill Dubuque
.
- References:
- Euclidean Algorithm - a simple question
- From: Oliver Mertens
- Re: Euclidean Algorithm - a simple question
- From: Arturo Magidin
- Euclidean Algorithm - a simple question
- Prev by Date: Re: math : inaccessible cardinal
- Next by Date: Re: Evaluating the limit
- Previous by thread: Re: Euclidean Algorithm - a simple question
- Next by thread: Re: Euclidean Algorithm - a simple question
- Index(es):
Relevant Pages
|
Loading