Mathematics for Computer Science
e9ck2Ar
e9ck2Ar
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
“mcs” — 2017/3/3 — 11:21 — page 34 — #42<br />
34<br />
Chapter 2<br />
The Well Ordering Principle<br />
Definition 2.4.2. A lower bound (respectively, upper bound) <strong>for</strong> a set S of real<br />
numbers is a number b such that b s (respectively, b s) <strong>for</strong> every s 2 S.<br />
Note that a lower or upper bound of set S is not required to be in the set.<br />
Corollary 2.4.3. Any set of integers with a lower bound is well ordered.<br />
Proof. A set of integers with a lower bound b 2 R will also have the integer n D<br />
bbc as a lower bound, where bbc, called the floor of b, is gotten by rounding down<br />
b to the nearest integer. So Theorem 2.4.1 implies the set is well ordered. <br />
Corollary 2.4.4. Any nonempty set of integers with an upper bound has a maximum<br />
element.<br />
Proof. Suppose a set S of integers has an upper bound b 2 R. Now multiply each<br />
element of S by -1; let’s call this new set of elements S. Now, of course, b is a<br />
lower bound of S. So S has a minimum element m by Corollary 2.4.3. But<br />
then it’s easy to see that m is the maximum element of S.<br />
<br />
2.4.1 A Different Well Ordered Set (Optional)<br />
Another example of a well ordered set of numbers is the set F of fractions that can<br />
be expressed in the <strong>for</strong>m n=.n C 1/:<br />
0<br />
1 ; 1 2 ; 2 3 ; 3 4 ; : : : ; n<br />
n C 1 ; : : : :<br />
The minimum element of any nonempty subset of F is simply the one with the<br />
minimum numerator when expressed in the <strong>for</strong>m n=.n C 1/.<br />
Now we can define a very different well ordered set by adding nonnegative integers<br />
to numbers in F. That is, we take all the numbers of the <strong>for</strong>m n C f where n is<br />
a nonnegative integer and f is a number in F. Let’s call this set of numbers—you<br />
guessed it—N C F. There is a simple recipe <strong>for</strong> finding the minimum number in<br />
any nonempty subset of N C F, which explains why this set is well ordered:<br />
Lemma 2.4.5. N C F is well ordered.<br />
Proof. Given any nonempty subset S of N C F, look at all the nonnegative integers<br />
n such that n C f is in S <strong>for</strong> some f 2 F. This is a nonempty set nonnegative<br />
integers, so by the WOP, there is a minimum one; call it n s .<br />
By definition of n s , there is some f 2 F such that n S C f is in the set S. So<br />
the set all fractions f such that n S C f 2 S is a nonempty subset of F, and since<br />
F is well ordered, this nonempty set contains a minimum element; call it f S . Now<br />
it easy to verify that n S C f S is the minimum element of S (Problem 2.19).