15.12.2012 Views

Why Read This Book? - Index of

Why Read This Book? - Index of

Why Read This Book? - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.5 Divisibility and Prime Numbers 61<br />

(D1) g | a and g | b.<br />

(D2) If h is any positive integer such that h | a and h | b, then h | g also.<br />

Pro<strong>of</strong>. Let a and b be nonzero integers, and define<br />

S ={ma + nb : m, n ∈ Z,ma+ nb > 0} (2.16)<br />

That is, S is the set <strong>of</strong> all positive integer linear combinations <strong>of</strong> a and b. First, S is<br />

not empty, for depending on the signs <strong>of</strong> a and b, we may let m, n =±1 to produce<br />

some positive value <strong>of</strong> ma + nb. By the WOP, S contains a smallest element g,<br />

which may be written in the form g = m0a + n0b for some integers m0 and n0.By<br />

Exercise 2.5.8, g has properties D1–D2, and if g1 and g2 are both positive integers<br />

that have properties D1–D2, then g1 = g2.<br />

EXERCISE 2.5.8 Let g = m0a + n0b be the smallest element <strong>of</strong> S as defined in<br />

Eq. (2.16). Show the following to complete the pro<strong>of</strong> <strong>of</strong> Theorem 2.5.7.<br />

(a) g | a. (The pro<strong>of</strong> that g | b is identical.) 18,19<br />

(b) If h is any positive integer with the properties that h | a and h | b, then it<br />

must be that h | g.<br />

(c) If g1 and g2 are positive integers with properties D1–D2, then g1 = g2. 20<br />

The pro<strong>of</strong> <strong>of</strong> Theorem 2.5.7 yields a serendipity about gcd(a, b), in that it can<br />

be written as an integer linear combination <strong>of</strong> a and b, and the smallest such positive<br />

expression is in fact the gcd. <strong>This</strong> can be particularly helpful if gcd(a, b) = 1,<br />

in which case we say that a and b are relatively prime. Immediately, we can see<br />

that if a and b are relatively prime, then there exist integers m and n such that<br />

ma + nb = 1. Furthermore, if it is possible to find an integer linear combination<br />

<strong>of</strong> a and b that equals 1, then clearly this linear combination is the smallest such<br />

positive linear combination. Thus a and b are relatively prime.<br />

EXERCISE 2.5.9 Show that 14 and 33 are relatively prime by determining<br />

integers m and n such that 14m + 33n = 1.<br />

Now we are ready to define prime numbers and investigate a few <strong>of</strong> their<br />

important properties. A positive integer p is defined to be prime if it has precisely<br />

two distinct positive integer divisors. If this is true, then these divisors must be<br />

1 and p. Note that this definition excludes 1 from being prime.<br />

Theorem 2.5.10 Suppose a is a nonzero integer and p is prime. Then either a<br />

and p are relatively prime or p | a.<br />

18 Apply the division algorithm to a and g and show that r>0 is impossible.<br />

19 To suppose r>0 leads to a contradiction because it produces an element <strong>of</strong> S that is smaller than g.<br />

20 Theorem 2.5.5 should come in handy.

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

Saved successfully!

Ooh no, something went wrong!