Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1. A word in this alphabet is a finite sequence of letters,
not necessarily distinct. Two words are equal if and only if they have the
same number of letters and if the letters are the same and in the same order.
Consider all words of length /, where / > 1. How many words of length 7
have at least two repetitions of a fixed letter? How many have three such
repetitions? In how many words of length J do there occur two specified
distinct letters ?
(1.23) Exercise.
(a) Let A bea finite set, and let »(A) denote the number of elements
of A: thus »(A) is a nonnegative integer. Prove that
(A UB) = »(A) + »(B) — (A NB).§ 1. The algebra of sets 7
(b) Generalize this identity to »(A U BUC) and to »(AU BUCUD).
(c) A university registrar reported that the total enrollment in his
university was 10,000 students. Of these, he stated, 2521 were married,
6471 were men, 3115 were over 21 years of age, 1915 were married men,
1873 were married persons over 21 years of age, and 1302 were married
men over 21 years of age. Could this have been the case?
(d) Help the registrar. For a student body of 10,000 members, find
positive integers for the categories listed in (c) that are consistent with
the identity you found in (b).
(1.24) Exercise. Prove that in any Boolean ring we have the iden-
tities
(a) «+ x=0;
(b) xy = yx.
(1.25) Exercise. (a) Let B be the set of all positive integers that
divide 30. For x, y € B, let x V y be the least common multiple of x andy,
and let x*= 2. Prove that B is a Boolean algebra. Find an algebra of
sets that represents B as in (1.14).
(b) Generalize (a), replacing 30 by any square-free positive integer.
(c) Generalize (b) by considering the set B of all square-free positive
integers, defining x V y as the least common multiple of x and y, x Ay
as the greatest common divisor of x and y, and x ay as ane . Show
that B can be represented as a certain ring of sets but not as an algebra
of sets.
§ 2. Relations and functions
In this section we take up the concepts of relation and function,
familiar in several forms from elementary analysis. We adopt the currently
popular point of view that relations and functions are indistinguishable
from their graphs, i.e., they are sets of ordered pairs. As in the case of
sets, we content ourselves with a highly informal discussion of the subject.
(2.1) Definition. Let X and Y be sets. The Cartesian product of X
and Y is the set X > Y of all ordered pairs (x,y) such that x ¢X and
yey.
We write (x, y) = (u, v) if and only if x =u and y =v. Thus (1, 2)
+ (2, 1) while {1, 2} = {2, 1}.
(2.2) Definition. A relation is any set of ordered pairs. Thus a relation
is any set which is a subset of the Cartesian product of two sets. Observe
that @ is a relation.
(2.3) Definitions. Let / be any relation. We define the domain of f to
be the set dom/ = {x: (x, y) €f for some y} and we define the range of f
to be the set mg/ = {y: (x, y) €/ for some x}. The symbol /-1 denotes the
inverse of f: f= {(y, x): (x,y) Ef8 Chapter I. Set Theory and Algebra
(2.4) Definition. Let / and g be relations. We define the composition
[product, iterate are also used] of f and g to be the relation g of = {(x, 2):
for some y, (x,y) €f and (y, z) Eg}.
The composition of f and g may be void. In fact, go/+ @ if and
only if (rngf) N (domg) + 2.
(2.5) Definition. Let f and g be relations such that f Cg. Then we say
that gis an extension of f and that f is a restriction of g.
We now discuss some special kinds of relations that are needed in the
sequel. Wherever convenient, we will use the conventional notation x/y
to mean that (x, y) €f.
(2.6) Definition. Let X be a set. An equivalence relation on X is any
relation ~ C X > X such that, for all x, y, z in X we have:
(i) x~ x [reflexive];
(ii) x ~ y implies y ~ x [symmetric];
(iii) x ~'y and y ~ z imply x ~ z [transitive].
(2.7) Definitions. Let P be a set. A partial ordering on P is any
relation S C Px P satisfying
(i) «Sx [reflexive];
(ii) x Sy and y S$ x imply x=
(iii) x < y and y Sz imply x <
If S also satisfies
(iv) x, y € P implies x S y or y S x [trichctomy],
then < is called a Linear [also called simple, complete, or total] ordering on P.
If x = y and x + y, we write x < y. The expression x 2 y means y <= x
and x > y means y < x.
If < is a linear ordering such that
(v) 2 + ACP implies there exists an element a €A such that
a a
if b — a€ P; the expressions a < b and b = a have obvious meanings.
(5.11) Theorem. Let F be an ordered field. For all a,b€F, we have
aze if p2N(ze).
We now define (x,,). Write N(y ¢) as m, and let
Kame Hayy =,§ 5. Construction of the real and complex number fields 41
and "
x,=5- if pam.
We have 4%
(Xn Gn) = (Ay, Ga, - 0 Am Wd...)
and hence
(Xn@n — Ui) = (@ — 1, ag — 1, - +) Qa — 1,0, 0, .. 4)
Thus it is obvious that (x,4, — 1(q)) € %. To complete the proof, we need
only show that (z,) €6. If p,q = N(-y e), then we have
1 1
lta — dl = la, —@,
oe
oe 4 al -
1 | 1
ap)" |g] Me
For arbitrary positive @€ F, it is now obvious that
pq max{ (3 ¢).u(S*)}
implies that
Ixy —x,|