Sets
Sets
Mathematical
Preliminaries
In this chapter we introduce the concepts of set theory and graph theory. Also,
we define strings and discuss the properties of stlings and operations on strings.
In the final section we deal with the principle of induction, which will be used
for proving many theorems throughout the book.
2.1
2.1.1
A set is a well-defined collection of objects, for example, the set of all students
in a college. Similarly. the collection of all books in a college library is also a
set. The individual objects are called members or elements of the set.
We use the capital letters A, B, C, ... for denoting sets. The small letters
a, b, c, ... are used to denote the elements of any set. When a is an element
of the set A. we write a E A. "\Then a is not an element of A, we write a rl. A.
http://engineeringbooks.net
l;!
37
= 1,
an+l
ai!
+ 3}
When the computational rule is clear from the context, we simply specify
the set by some initial elements. The previous set can be written as {1. 4, 7,
10, " .}.The four elements given suggest that the computational rule is:
a ll +l = all + 3.
I
=
= I
... , All)
of subsets of 5 is
II
called a partition if Ai n Ai = 0 (i
;;,t.
j) and 5 =
Ai (i.e. Al
i=l
U
A 2 U ...
All)'
2.1.2
A binary operation "' on a set 5 is a rule which assigns. to every ordered pair
(a, b) of elements from S. a unique element denoted by a " b.
Addition, for example, is a binary operation on the set Z of all integers.
n hroughout this book. Z denotes the set of all integers.)
Union is a binary operation on :r\ where A is any non empty set. We give
belO\v five postulates on binary operations.
Postulate 1: Closure. If a and b are in S. then a" b is in S.
http://engineeringbooks.net
38
~ No operation
~tulates 1,2
r-----'----,
Semigroup
Fig. 2.1
39
2.1.3
SETS WITH
Two
BINARY OPERATIONS
Sometimes we come across sets with two binary operations defined on them
(for example, in the case of numbers we have addition and multiplication). Let
5 be a set with two binary operations * and o. We give below 11 postulates
in the following way:
(i) Postulates 1-5 refer to * postulates.
(ii) Postulates 6. 7. 8. 10 are simply the postulates L 2. 3, 5 for the binary
operation o.
(iii) Postulate 9: If 5 under 8 satisfies the postulates 1-5 then for every x
in S. with x -j; e, there exists a unique element x' in 5 such that x' 0 x =
x 0 x' = e' , where e' is the identity element corresponding to o.
(iv) Postulate 11: Distributivil\'. For a. b. c. in 5
a 0 (b
* c) = (a
b)
* (a
c)
40
Oi) The set of all rational numbers (i.e. fractions which are of the form
alb. where a is any integer and b is an integer different from zero)
is a field. (The identity element W.r.t. multiplication is 1. The inverse
of alb, alb ;f:; 0 is bla.)
(iii) The set of all 2 x 2 matrices with matrix addition and matrix
multiplication is a ring with identity, but not a field.
(iv) The power set 24 (A ;f:; 0) is also a set with two binary operations
u and n. The postulates satisfied by u and n are 1, 2, 3, 5, 6, 7, 8,
10 and 11. The power set 2...1 is not a group or a ring or a field. But
it is an abelian monoid W.r.t. both the operations u and n.
Figure 2.2 illustrates the relation between the various algebraic systems we
have introduced. The interpretation is as given in Fig. 2.1. The numbers refer
to postulates. For example, an abelian group satisfying the postulates 6, 7 and
11 is a ring.
1-5
Ring
10
r--
10
Field
Fig. 2.2
2.1.4
1-11
RELATIONS