19.07.2014 Views

Contents - Student subdomain for University of Bath

Contents - Student subdomain for University of Bath

Contents - Student subdomain for University of Bath

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.3. GREATEST COMMON DIVISORS 43<br />

2.3 Greatest Common Divisors<br />

The following definition is valid whenever we have a concept <strong>of</strong> division.<br />

Definition 25 h is said to be a greatest common divisor, or g.c.d., <strong>of</strong> f and g<br />

if, and only if:<br />

1. h divides both f and g;<br />

2. if h ′ divides both f and g, then h ′ divides h.<br />

This definition clearly extends to any number <strong>of</strong> arguments. The g.c.d. is normally<br />

written gcd(f, g).<br />

Note that we have defined a g.c.d, whereas it is more common to talk <strong>of</strong> the<br />

g.c.d. However, ‘a’ is correct. We normally say that 2 is the g.c.d. <strong>of</strong> 4 and 6,<br />

but in fact −2 is equally a g.c.d. <strong>of</strong> 4 and 6.<br />

Proposition 12 If h and h ′ are greatest common divisors <strong>of</strong> a and b, they are<br />

associates (definition 11).<br />

Greatest common divisors need not exist. For example, let us consider the set<br />

<strong>of</strong> all integers with √ −5. 2 clearly divides both 6 and and 2 + 2 √ −5. However,<br />

so does 1 + √ −5 (6 = (1 + √ −5)(1 − √ −5)), yet there is no multiple <strong>of</strong> both 2<br />

and 1 + √ −5 which divides both.<br />

Definition 26 An integral domain (definition 9) in which any two elements<br />

have a greatest common divisor is known 22 as a g.c.d. domain.<br />

If R is a g.c.d. domain, then the elements <strong>of</strong> the field <strong>of</strong> fractions (definition 14)<br />

can be simplified by cancelling a g.c.d. between numerator and denominator,<br />

<strong>of</strong>ten called “reducing to lowest terms”. While this simplifies fractions, it does<br />

not guarantee that they are normal or canonical. One might think that 0 1<br />

0<br />

was the unique representation <strong>of</strong> zero required <strong>for</strong> normality, but what <strong>of</strong><br />

−1 ?<br />

Equally −1<br />

2 = 1<br />

−2<br />

, and in general we have to remove the ambiguity caused by<br />

units. In the case <strong>of</strong> rational numbers, we do this automatically by making the<br />

denominator positive, but the general case is more difficult [DT90].<br />

Definition 27 h is said to be a least common multiple, or l.c.m., <strong>of</strong> f and g<br />

if, and only if:<br />

1. both f and g divide h ;<br />

2. if both f and g divide h ′ , then h divides h ′ .<br />

This definition clearly extends to any number <strong>of</strong> arguments. The l.c.m. is<br />

normally written lcm(f, g).<br />

22 Normally known as a unique factorisation domain, but, while the existence <strong>of</strong> greatest<br />

common divisors is equivalent to the existence <strong>of</strong> unique factorisation, the ability to compute<br />

greatest common divisors is not equivalent to the ability to compute unique factorisations<br />

[FS56, DGT91], and hence we wish to distinguish the two.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!