Theory-Set & Relations PDF
Theory-Set & Relations PDF
Theory-Set & Relations PDF
COM
Example : If A = {2, 3, 5, 6} and B = {6, 5, 3, 2} . Then
Set Theory A = B, because each element of A is an element of B and vice-
Introduction versa.
(7) Universal set : A set that contains all sets in a given
A set is well defined class or collection of objects. context is called the universal set.
A set is often described in the following two ways. It should be noted that universal set is not unique. It may
(1) Roster method or Listing method : In this method a differ in problem to problem.
set is described by listing elements, separated by commas, within (8) Power set : If S is any set, then the family of all the
braces {}. The set of vowels of English alphabet may be described subsets of S is called the power set of S.
as {a, e, i, o, u}. The power set of S is denoted by P(S). Symbolically, P(S) =
(2) Set-builder method or Rule method : In this method, {T : T S}. Obviously and S are both elements of P(S).
a set is described by a characterizing property P(x) of its elements Example : Let S = {a, b, c}, then P(S) = { , {a}, {b},
x. In such a case the set is described by {x : P(x) holds} or {x |
{c}, {a, b}, {a, c}, {b, c}, {a, b, c}}.
P(x) holds}, which is read as ‘the set of all x such that P(x) holds’.
Power set of a given set is always non-empty.
The symbol ‘|’ or ‘:’ is read as ‘such that’.
(9) Subsets (Set inclusion) : Let A and B be two sets. If
The set A = {0, 1, 4, 9, 16,....} can be written as
every element of A is an element of B, then A is called a subset of
A = {x 2 | x Z} . B.
❑ Symbols If A is subset of B, we write A B, which is read as “A is a
subset of B” or “A is contained in B”.
Symbol Meaning Thus, A B a A a B.
Implies Proper and improper subsets : If A is a subset of B and
Belongs to A B, then A is a proper subset of B. We write this as A B .
AB A is a subset of B The null set is subset of every set and every set is subset of
Implies and is implied by
itself, i.e., A and A A for every set A. They are called
Does not belong to
improper subsets of A. Thus every non-empty set has two
s.t.(: or |) Such that
improper subsets. It should be noted that has only one subset
For every
which is improper.
There exists
iff If and only if All other subsets of A are called its proper subsets. Thus, if
& And A B, A B , A , then A is said to be proper subset of B.
a|b a is a divisor of b Example : Let A = {1, 2} . Then A has ; {1}, {2}, {1, 2} as
N Set of natural numbers its subsets out of which and {1, 2} are improper and {1} and
I or Z Set of integers {2} are proper subsets.
R Set of real numbers
C Set of complex numbers Venn-Euler diagrams
Q Set of rational numbers The combination of rectangles and circles are called Venn-
Types of sets Euler diagrams or simply Venn-diagrams.
If A and B are not equal but they have
(1) Null set or Empty set : The set which contains no element some common elements, then to represent U
at all is called the null set. This set is sometimes also called the ‘empty A and B we draw two intersecting circles. A
set’ or the ‘void set’. It is denoted by the symbol or {}. Two disjoints sets are represented by two
(2) Singleton set : A set consisting of a single element is non-intersecting circles.
called a singleton set. The set {5} is a singleton set.
(3) Finite set : A set is called a finite set if it is either void set
Operations on sets
or its elements can be listed (counted, labelled) by natural number (1) Union of sets : Let A and B be two sets. The union of A
1, 2, 3, … and the process of listing terminates at a certain natural and B is the set of all elements which are in U
number n (say). set A or in B. We denote the union of A and
Cardinal number of a finite set : The number n in the B by A B , which is usually read as “A AB
above definition is called the cardinal number or order of a finite union B”.
A B
set A and is denoted by n(A) or O(A). Symbolically,
(4) Infinite set : A set whose elements cannot be listed by A B = {x : x A or x B}.
the natural numbers 1, 2, 3, …., n, for any natural number n is (2) Intersection of sets : Let A and B be two sets. The
called an infinite set. intersection of A and B is the set of all those
(5) Equivalent set : Two finite sets A and B are equivalent U
elements that belong to both A and B.
if their cardinal numbers are same i.e. n(A) = n(B). The intersection of A and B is denoted AB
Example : A = {1, 3, 5, 7} ; B = {10, 12, 14, 16} are by A B (read as “A intersection B”).
A B
equivalent sets, [ O( A) = O(B) = 4] . Thus, A B = {x : x A and x B}.
(6) Equal set : Two sets A and B are said to be equal iff (3) Disjoint sets : Two sets A and B are said to be disjoint,
every element of A is an element of B and also every element of B if A B = . If A B , then A and B are said to be non-
is an element of A. Symbolically, A = B if x A x B. intersecting or non-overlapping sets.
Example : Sets {1, 2}; {3, 4} are disjoint sets.
STUDYPIVOT.COM
(4) Difference of sets : Let A and B be two sets. The (i) A B = B A (ii) A B = B A
difference of A and B written as A – B, is the set of all those (iii) AB = BA
elements of A which do not belong to B.
i.e., union, intersection and symmetric difference of two sets
U U are commutative.
A–B B–A
(iv) A − B B − A (v) A B B A
A B A B i.e., difference and cartesian product of two sets are not
commutative
Thus, A – B = {x : x A and x B}
Similarly, the difference B − A is the set of all those elements (4) Associative laws : If A, B and C are any three sets,
then
of B that do not belong to A i.e., B − A = {x B : x A} .
(i) (A B) C = A (B C) (ii) A (B C) = (A B) C
Example : Consider the sets A = {1, 2, 3} and B = {3, 4, 5} ,
(iii) ( AB)C = A(BC)
then A − B = {1, 2}; B − A = {4, 5} .
i.e., union, intersection and symmetric difference of two sets
(5) Symmetric difference of two sets : Let A and B be are associative.
two sets. The symmetric difference of sets A and B is the set
(iv) ( A − B) − C A − (B − C) (v)
( A − B) (B − A) and is denoted by AB . Thus, AB =
( A B) C A (B C)
( A − B) (B − A) = {x : x A B} .
i.e., difference and cartesian product of two sets are not
(6) Complement of a set : Let U be the universal set and associative.
let A be a set such that A U. Then, the complement of A with
(5) Distributive law : If A, B and C are any three sets, then
respect to U is denoted by A or Ac or C(A) or U – A and is
(i) A (B C) = (A B) (A C)
defined the set of all those elements of U which are not in A.
(ii) A (B C) = (A B) (A C)
Thus, A = {x U : x A}. U
A i.e., union and intersection are distributive over intersection
Clearly, x A x A A and union respectively.
Example : Consider U = {1, 2,......,10} (iii) A (B C) = ( A B) ( A C)
and A = {1, 3, 5, 7, 9} . (iv) A (B C) = ( A B) ( A C)
Composition of relations
Let R and S be two relations from sets A to B and B to C
respectively. Then we can define a relation SoR from A to C such
that (a, c) SoR b B such that (a, b) R and (b, c) S.
This relation is called the composition of R and S.
For example, if A = {1, 2, 3}, B = {a, b, c, d}, C={p, q, r,
s} be three sets such that R = {(1, a), (2, b), (1, c), (2, d)} is a
relation from A to B and S = {(a, s), (b, r), (c, r)} is a relation
from B to C. Then SoR is a relation from A to C given by SoR =
{(1, s) (2, r) (1, r)}
In this case RoS does not exist.
In general RoS SoR. Also (SoR)–1 = R–1oS–1.