Professional Documents
Culture Documents
1. Set:
Collection of well defined objects which are distinct and distinguishable. A collection is said to be well defined if each
and every element of the collection has some definition.
Notation of a set: Sets are denoted by capital letters like A, B, C or { } and the entries within the bracket are known
as elements of set.
Cardinal number of a set : Cardinal number of a set X is the number of elements of a set X and it is denoted by n(X)
e.g. X = {x1,x2,x3} n(X) =3
2. Representation of Sets
Listing Method / Roster Method / List form:
In this method a set is described by listing all the elements, separated by commas, within braces { }
Ex. X = {1, 2, 3, 4}
3. Type of Sets:
(i) Finite set :
A set X is called a finite set if its element can be listed by counting or labeling with the help of natural
numbers and the process terminates at a certain natural number n. i.e. n(X) = finite no. eg (a) A set of English
Alphabets (b) Set of soldiers in Indian Army
(c) X = {x : x Q, 0 x 0.0001}
e.g. {x : x N, 1 < x < 3}, {{}} : Set of null set, { } is a set containing alphabet .
A
B
U U
A B A B
A B
If A and B are two sets then the difference of A and B, is the set of all those elements of A which do not
belong to B.
U
A B
A–B
Thus, A – B = {x : x A and x B} or A – B = {x A ; x B}
Clearly x A – B x A and x B
It is represented through the Venn diagrams.
(iv) Symmetric difference of two sets :
Set of those elements which are obtained by taking the union of the difference of A & B
is (A – B) & the difference of B & A is (B – A), is known as the symmetric difference of two sets
A & B and it is denoted by (A B).
Thus A B = (A – B) (B – A)
Representation through the venn diagram is given in the fig.
A B
AB
Proof :
(i) A = {x : x A or x } = {x : x A} =A
(ii) A U = {x : x A and x U} = {x : x A} =A
(vii) Commutative Law :
For any set A and B, we have
(i) A B = B A and (ii) A B = B A
i.e. union and intersection are commutative.
(viii) Associative Law :
Principle of Inclusion and Exclusion: Let A, B are two arbitrary sets then n A B n A n B n A B .
Proof: Using Venn Diagram
U
A B’
A’ B
AB
It is clear that
|𝐴 ∪ 𝐵| = |𝐴 ∩ 𝐵′| + |𝐴 ∩ 𝐵| + |𝐴′ ∩ 𝐵|
= |𝐴| − |𝐴 ∩ 𝐵| + |𝐴 ∩ 𝐵| + |𝐵| − |𝐴 ∩ 𝐵|
= |𝐴| + |𝐵| − |𝐴 ∩ 𝐵|
A B
It is clear that
|𝐴| = |𝐴 ∩ 𝐵′ ∩ 𝐶′| + |𝐴 ∩ 𝐵 ∩ 𝐶′| + |𝐴 ∩ 𝐵′ ∩ 𝐶| + |𝐴 ∩ 𝐵 ∩ 𝐶|
Similarly |𝐵| = |𝐴 ∩ 𝐵 ∩ 𝐶′| + |𝐴′ ∩ 𝐵 ∩ 𝐶| + |𝐴′ ∩ 𝐵 ∩ 𝐶′| + |𝐴 ∩ 𝐵 ∩ 𝐶|
|𝐶| = |𝐴 ∩ 𝐵′ ∩ 𝐶| + |𝐴′ ∩ 𝐵 ∩ 𝐶| + |𝐴′ ∩ 𝐵′ ∩ 𝐶| + |𝐴 ∩ 𝐵 ∩ 𝐶|
Now,
|𝐴| + |𝐵| + |𝐶| = |𝐴 ∩ 𝐵′ ∩ 𝐶′| + |𝐴 ∩ 𝐵 ∩ 𝐶′| + |𝐴 ∩ 𝐵′ ∩ 𝐶| + |𝐴 ∩ 𝐵 ∩ 𝐶| + |𝐴 ∩ 𝐵 ∩ 𝐶′|
+|𝐴′ ∩ 𝐵 ∩ 𝐶| + |𝐴′ ∩ 𝐵 ∩ 𝐶′| + |𝐴 ∩ 𝐵 ∩ 𝐶| + |𝐴 ∩ 𝐵′ ∩ 𝐶|
+|𝐴′ ∩ 𝐵 ∩ 𝐶| + |𝐴′ ∩ 𝐵′ ∩ 𝐶| + |𝐴 ∩ 𝐵 ∩ 𝐶|
2. A computer company must hire 25 programmers to handle systems programming jobs and 40 for the
application programming. Of the hired persons, 10 will have to do the jobs of both types. Find how many
programmers must be hired?
3. In a survey of 60 people it was found that 25 read News week, 26 read Time and 26 read the magazine
Fortune. Also 9 read both News week and Fortune, 11 read News week and Time and 8 read both Time and
Fortune. If 8 read none of the three magazines, determine the number of people who read exactly on
magazine.
4. A survey on a sample of 25 new cars being sold at a local auto dealer was conducted to see which of three
popular options, air conditioning (A), radio (R) and power window (W), were already installed in a car. The
survey found 15 had air conditioning (A), 12 had radio (R), 11 had power windows (W), 5 had both air
conditioning (A) and power windows (W), 4 had R and W, 9 had A and R, 3 had all the three A, R and W.
find the number of cars that had
a. Only power windows (W)
b. Only air conditioning (A)
c. Only radio (R)
d. R and W
e. A and R but not W
f. Only one option
g. At least on option
h. None of the three
Partition of set: Let S be a set then the collection E1, E2 ,.....,En is called partition of a set S if
(i) E1 E2 ..... En S i.e. union of all subset is S and
(ii) Ei E j , i, j 1,2,.......,n i.e. the intersection of every pair of distinct subsets is the empty set.
Q. Define the cross partition and prove that cross partition is a partition.
Sol.
Cross Partition: Let X be a set and Pn A1, A2 ,.....,An and Pm B1, B2 ,.....,Bm be partitions of set X. then
the collection P Ai B j , i 1,2,...,n; j 1,2,....,m
of sets is called cross partition of X.
Now let, 𝑥 ∈ 𝑋, then by definition of partition
𝑥 ∈ 𝐴𝑖 and 𝑥 ∈ 𝐵𝑗 for some i and j
i.e. 𝑥 ∈ 𝐴𝑖 ∩ 𝐵𝑗
Thus ∪ 𝐴𝑖 ∩ 𝐵𝑗 = 𝑋
𝑖,𝑗
Now, we have to show that 𝐴𝑝 ∩ 𝐵𝑞 and 𝐴𝑝′ ∩ 𝐵𝑞′ are disjoint.
We will show this by contradiction. If possible, let they are not disjoint.
And 𝑦 ∈ (𝐴𝑝 ∩ 𝐵𝑞 ) ∩ (𝐴𝑝′ ∩ 𝐵𝑞′ )
⇒ 𝑦 ∈ (𝐴𝑝 ∩ 𝐵𝑞 ) 𝑎𝑛𝑑 𝑦 ∈ (𝐴𝑝′ ∩ 𝐵𝑞′ )
⇒ 𝑦 ∈ 𝐴𝑝 𝑎𝑛𝑑 𝑦 ∈ 𝐵𝑞 𝑎𝑛𝑑 𝑦 ∈ 𝐴𝑝′ 𝑎𝑛𝑑 𝑦 ∈ 𝐵𝑞′
⇒ 𝑦 ∈ 𝐴𝑝 𝑎𝑛𝑑 𝑦 ∈ 𝐴𝑝′ 𝑎𝑛𝑑 𝑦 ∈ 𝐵𝑞 𝑎𝑛𝑑 𝑦 ∈ 𝐵𝑞′
⇒ 𝑦 ∈ 𝐴𝑝 ∩ 𝐴𝑝′ 𝑎𝑛𝑑 𝑦 ∈ 𝐵𝑞 ∩ 𝐵𝑞′
But by definition of partition 𝐴𝑝 ∩ 𝐴𝑝′ = 𝛷 and 𝐵𝑞 ∩ 𝐵𝑞′ = 𝛷
So, our assumption is wrong. And 𝐴𝑝 ∩ 𝐵𝑞 and 𝐴𝑝′ ∩ 𝐵𝑞′ are disjoint.
i.e. P Ai B j , i 1,2,...,n; j 1,2,....,m is a prtition.
Relation
Ordered pair: If two elements ‘ a ’ and ‘b’ are written in specific order then collection is called ordered pair.
Ex. Find the numbers x and y if the ordered pairs (2x – 1, -5) and (x, y + 1) are equal.
Sol. As given, (2x – 1, -5) = (x, y + 1) ⇒ 2x – 1 = x and -5 = y + 1
⇒ x = 1 and y = -6
Cartesian product: The Cartesian product of two non empty sets A and B is the set of all ordered pairs ( a , b), where
a A, b B and is denoted by A B . Thus
A B a, b | a A, b B .
Ex. If 𝐴 = {1,2,3} and 𝐵 = {3,4,5,6} then
𝐴 × 𝐵 = {(1,3), (1,4), (1,5), (1,6), (2,3), (2,4), (2,5), (2,6), (3,3), (3,4), (3,5), (3,6)}
And
𝐵 × 𝐴 = {(3,1), (3,2), (3,3), (4,1), (4,2), (4,3), (5,1), (5,2), (5,3), (4,1), (4,2), (4,3)}
Observe that (1,3) ∈ 𝐴 × 𝐵 and (1,3) ∉ 𝐵 × 𝐴
i.e. 𝐴×𝐵 ≠𝐵×𝐴
Properties:
(i) A B C A B A C
Proof: Let, x, y A B C
x A and y B C
x A and y B or y C
x A and y B or x A and y C
x, y A B or x, y A C
x, y A B A C
i.e. A B C A B A C
(ii) A B C A B A C
(iii) A B C A B A C
(iv) A B C D A C B D
(v) A B and C D A C B D
Proof: Let, x, y A C
x A and y C
x A B and y C D
x B and y D
x, y B D
i.e. if A B and C D A C B D
Definition of relation: Let A and B be two sets. Then every subset of A B is a relation from A to B. i.e. the Relation
R A B .
Ex. If 𝐴 = {2,3,5,6} and ‘R’ means “divide” then find the relation.
Sol. If 𝐴 = {2,3,5,6} and aRb iff a divide b.
Since, 2 divide 2, 2 divide 6, 3 divide 3. 3 divide 6, 5 divide 5, 6 divide 6.
i.e. 2R2,2R6, 3R3, 3R6, 5R5, 6R6
i.e. 𝑅 = {(2,2), (2,6), (3,3), (3,6), (5,5), (6,6)}
Domain: Let R be the relation from set A to set B. Then the set of all first elements of the all ordered pair of R is
called domain of relation R. i.e.
Domain R = x; x, y R
Range: Let R be the relation from set A to set B. Then the set of all second elements of the all ordered pair of R is
called range of relation R. i.e.
Range R = y; x, y R
Ex. If 𝐴 = {1,2,3,4} and 𝐵 = {3,4,5} and a relation is defined from A to B by xRy iff x < y.
Sol. As given,
𝐴 × 𝐵 = {(1,3), (1,4), (1,5), (2,3), (2,4), (2,5), (3,3), (3,4), (3,5), (4,3), (4,4), (4,5)}
And 𝑅 = {(1,3), (1,4), (1,5), (2,3), (2,4), (2,5), (3,4), (3,5), (4,5)}
Domain of R = {1,2,3,4}
Range of R = {3,4,5}
Ex. If 𝐴 = {2,3,5,6} and ‘R’ means “divide” then find the relation.
Sol. If 𝐴 = {2,3,5,6} and aRb iff a divide b.
i.e. 𝑅 = {(2,2), (2,6), (3,3), (3,6), (5,5), (6,6)}
Domain of R = {2,3,5,6}
Range of R = {2,3,5,6}
Empty Relation: The null set or is called empty relation from set A to set B.
Universal Relation: The set A B is called universal relation from set A to set B.
Relation in a Set: Let A be any non-void set then any subset of A A is relation on a set A.
Identity Relation: Let A be any non-void set. Then the relation I A a, a ; a A on set A is called the identity
relation on set A. i.e. if every element of set A is related to itself only then the relation is called identity relation.
Ex. If 𝐴 = {2,3,5,6} and ‘R’ means “equal” then find the relation.
Sol. If 𝐴 = {2,3,5,6} and aRb iff a equal b.
i.e. 𝑅 = {(2,2), (3,3), (5,5), (6,6)} is identity relation.
Inverse Relation: Let A, B be two sets and let R be a relation from a set A to B. Then the inverse of R, denoted by
R–1, is a relation from B to A and is defined by R–1 = {(b, a): (a, b) R},
Clearly, (a, b) R (b, a) R–1
Also, Dom of R = Range of R–1
And Range of R = Dom of R–1
Ex. If 𝐴 = {1,2,3,4} and 𝐵 = {3,4,5} and a relation is defined from A to B by xRy iff x < y.
Sol. As given,
𝐴 × 𝐵 = {(1,3), (1,4), (1,5), (2,3), (2,4), (2,5), (3,3), (3,4), (3,5), (4,3), (4,4), (4,5)}
And 𝑅 = {(1,3), (1,4), (1,5), (2,3), (2,4), (2,5), (3,4), (3,5), (4,5)}
Domain of R = {1,2,3,4}
Range of R = {3,4,5}
Now, 𝐵 × 𝐴 = {(3,1), (4,1), (5,1), (3,2), (4,2), (5,2), (3,3), (4,3), (5,3), (3,4), (4,4), (5,4)}
−1
And 𝑅 = {(3,1), (4,1), (5,1), (3,2), (4,2), (5,2), (4,3), (5,3), (5,4)}
Domain of 𝑅 −1 = {3,4,5}
Range of 𝑅 −1 = {1,2,3,4}
Reflexive Relation: R : X Y is said to be reflexive iff x R x x X. i.e. every element in set X, must be a related
to itself therefore x X; (x, x) R then relation R is called as reflexive relation.
Note : All identity relations are reflexive but all reflexive relations are not identity.
Ex. If 𝐴 = {2,3,5,6} and ‘R’ means “divide” then find the relation.
Sol. If 𝐴 = {2,3,5,6} and aRb iff a divide b.
i.e. 𝑅 = {(2,2), (2,6), (3,3), (3,6), (5,5), (6,6)} is not identity relation but it is reflexive relation.
Symmetric Relation: R : X Y is said to be symmetric iff (x, y) R (y, x) R for all (x, y) R i.e. x R y
y R x for all (x, y) R.
e.g. perpendicularity of lines in a plane is symmetric relation.
Set of parallel lines with relation of parallel line relation. It is also symmetric.
Ex. If A be the set of members of a family and R means “is the brother of” and xRy means that x is brother of y
then xRy does not imply yRx, as y may be sister of x. Hence R is not symmetric.
Transitive Relation: R : X Y is transitive iff (x, y) R and (y, z) R (x, z) R for all (x, y) and (y, z) R.
i.e. x R y and y R z x R z. e.g. The relation “being sister of ” among the members of a family is always
transitive.
Ex. The relation ‘ > ’ defined on the set of natural numbers N is transitive because for x, y, z ∈ N,
If x > y and y > z then x > z
i.e. xRy and yRz xRz
Ex. The relation R of parallelism in the set of straight lines in a plane is a transitive relation because
x || y and y || z x || z
i.e. xRy and yRz xRz , x,y,z ∈ N
Note :
i. Every null relation is a symmetric and transitive relation.
ii. Every singleton relation is a transitive relation.
iii. Universal and identity relations are reflexive, symmetric as well as transitive.
iv. Relations >, <, || are transitive relations.
Equivalence Relation: A relation R from a set X to set Y (R : X Y) is said to be an equivalence relation iff it is
reflexive, symmetric as well as transitive. The equivalence relation is denoted by ~ .
e.g. Relation “is equal to” Equality, Similarity and congruence of triangles, parallelism of lines are equivalence
relation.
Ex. If R and S be two equivalence relations in a set A, then prove that 𝑅 ∩ 𝑆 is also an equivalence relation in A.
also prove R S 1 R 1 S 1
Sol. Given, R and S be two equivalence relations in a set A
i.e. 𝑅 ⊂ 𝐴 × 𝐴 and 𝑆 ⊂ 𝐴 × 𝐴
⟹𝑅∩𝑆 ⊂𝐴×𝐴
⟹ 𝑅 ∩ 𝑆 is also a relation in A.
Now, we will prove that it is equivalence relation.
Reflexive: Let 𝑎 ∈ 𝐴 then
(𝑎, 𝑎) ∈ 𝑅 and (𝑎, 𝑎) ∈ 𝑆, as R, S are reflexive
⇒ (𝑎, 𝑎) ∈ 𝑅 ∩ 𝑆, ∀𝑎 ∈ 𝐴
⇒ 𝑅 ∩ 𝑆 is reflexive.
Symmetric: Let (𝑎, 𝑏) ∈ 𝑅 ∩ 𝑆
⇒ (𝑎, 𝑏) ∈ 𝑅, (𝑎, 𝑏) ∈ 𝑆
⇒ (𝑏, 𝑎) ∈ 𝑅, (𝑏, 𝑎) ∈ 𝑆 as R, S are symmetric
⇒ (𝑏, 𝑎) ∈ 𝑅 ∩ 𝑆
⇒ 𝑅 ∩ 𝑆 is symmetric relation.
Transitive: Let (𝑎, 𝑏) ∈ 𝑅 ∩ 𝑆, (𝑏, 𝑐) ∈ 𝑅 ∩ 𝑆
⇒ (𝑎, 𝑏) ∈ 𝑅, (𝑎, 𝑏) ∈ 𝑆, (𝑏, 𝑐) ∈ 𝑅, (𝑏, 𝑐) ∈ 𝑆
⇒ (𝑎, 𝑏) ∈ 𝑅, (𝑏, 𝑐) ∈ 𝑅, 𝑎𝑛𝑑 (𝑎, 𝑏) ∈ 𝑆, (𝑏, 𝑐) ∈ 𝑆
⇒ (𝑎, 𝑐) ∈ 𝑅, 𝑎𝑛𝑑 (𝑎, 𝑐) ∈ 𝑆 as R, S are transitive
⇒ (𝑎, 𝑐) ∈ 𝑅 ∩ 𝑆
⇒ 𝑅 ∩ 𝑆 is transitive relation.
Hence, 𝑅 ∩ 𝑆 is equivalence relation.
To prove, (𝑅 ∩ 𝑆)−1 = 𝑅 −1 ∩ 𝑆 −1
Let (𝑎, 𝑏) ∈ (𝑅 ∩ 𝑆)−1
⇔ (𝑏, 𝑎) ∈ 𝑅 ∩ 𝑆
⇔ (𝑏, 𝑎) ∈ 𝑅, (𝑏, 𝑎) ∈ 𝑆
⇔ (𝑎, 𝑏) ∈ 𝑅 −1 , (𝑎, 𝑏) ∈ 𝑆 −1
⇔ (𝑎, 𝑏) ∈ 𝑅 −1 ∩ 𝑆 −1
Hence, (𝑅 ∩ 𝑆)−1 = 𝑅 −1 ∩ 𝑆 −1
Ex. Union of two equivalence relations is not necessarily an equivalence relation.
Sol. we will prove it by counter example
Let set 𝐴 = {1,2,3,4}
Suppose that 𝑅 = {(1,1), (2,2), (3,3), (4,4), (3,4), (4,3), (1,2), (2,1)}
𝑆 = {(1,1), (2,2), (3,3), (4,4), (2,3), (2,4), (3,2), (4,2)}
Since, R, S are reflexive, symmetric, transitive relations i.e. equivalence relations.
Now, 𝑅 ∪ 𝑆 = {(1,1), (2,2), (3,3), (4,4), (3,4), (4,3), (1,2), (2,1)(2,3), (2,4), (3,2), (4,2)}
Where, (1,2) ∈ 𝑅 ∪ 𝑆, (2,3) ∈ 𝑅 ∪ 𝑆 but (1,3) ∉ 𝑅 ∪ 𝑆
∴ 𝑅 ∪ 𝑆 is not transitive relation.
and 𝑅 ∪ 𝑆 is not equivalence relation.
Addition Modulo m:
If a and b are any two integers and m is a fixed positive integer then for mod m,
𝑎 + 𝑏 ≅ 𝑟(𝑚𝑜𝑑 𝑚), 0 ≤ 𝑟 < 𝑚
Where, r is the least non-negative remainder obtained on dividing 𝑎 + 𝑏 by m, 𝑎 + 𝑏 is the ordinary sum of a
and b. i.e. 𝑎 +𝑚 𝑏 = 𝑟, 0 ≤ 𝑟 < 𝑚
Ex. we know that 2 + 4 = 6 but 2 +6 4 = 0
And 1+4=5 but 1 +6 4 = 5
And 2+5=7 but 2 +6 5 = 1
And 3+6=9 but 3 +6 6 = 3
Multiplication Modulo m:
If a and b are any two integers and m is a fixed positive integer then for mod m,
𝑎 × 𝑏 ≅ 𝑟(𝑚𝑜𝑑 𝑚), 0 ≤ 𝑟 < 𝑚
Where, r is the least non-negative remainder obtained on dividing 𝑎 × 𝑏 by m, 𝑎 × 𝑏 is the ordinary product of
a and b. i.e. 𝑎 ×𝑚 𝑏 = 𝑟, 0 ≤ 𝑟 < 𝑚
Ex. we know that 2 × 4 = 8 but 2 ×6 4 = 2
And 1×4=4 but 1 ×6 4 = 4
And 2 × 5 = 10 but 2 ×6 5 = 4
And 3 × 6 = 18 but 3 ×6 6 = 0
Q. If I be set of integers and aRb a congruent to bmod n , n N . Prove that R is equivalence relation.
Sol. (i) Reflexive: Let 𝑎 ∈ 𝐼
Since, 𝑎 − 𝑎 = 0 = 0. 𝑛 is divisible by n
i.e. (𝑎, 𝑎) ∈ 𝑅, ∀𝑎 ∈ 𝐼
so, R is reflexive.
(ii) Symmetric: Let (𝑎, 𝑏) ∈ 𝑅
⇒ 𝑎 ≅ 𝑏(𝑚𝑜𝑑 𝑛)
⇒ 𝑎 − 𝑏 = 𝑛. 𝑘, 𝑘 ∈ 𝐼
⇒ 𝑏 − 𝑎 = 𝑛. (−𝑘), − 𝑘 ∈ 𝐼
⇒ (𝑏, 𝑎) ∈ 𝑅
⇒ 𝑅 is symmetric relation
(iii) Transitive: Let (𝑎, 𝑏) ∈ 𝑅, (𝑏, 𝑐) ∈ 𝑅
⇒ 𝑎 ≅ 𝑏(𝑚𝑜𝑑 𝑛), 𝑏 ≅ 𝑐(𝑚𝑜𝑑 𝑛)
⇒ 𝑎 − 𝑏 = 𝑛. 𝑘, 𝑏 − 𝑐 = 𝑛. 𝑝, 𝑘, 𝑝 ∈ 𝐼
⇒ 𝑎 − 𝑏 + 𝑏 − 𝑐 = 𝑛𝑘 + 𝑛𝑝
⇒ 𝑎 − 𝑐 = 𝑛(𝑘 + 𝑝) = 2𝑞, 𝑞 ∈ 𝐼
⇒ (𝑎, 𝑐) ∈ 𝑅
⇒ 𝑅 is transitive relation.
Hence, 𝑅 is equivalence relation.
Q. In the set of all triangles, show that the relation of congruency is and equivalence relation.
Q. If R is an equivalence relation on a set A, then prove that R-1 is also an equivalence relation on A.
Equivalence class: Let X be a set and R be an equivalence relation on set X, then the set of all those members y X ,
for which x R y, is called equivalence class of x and is denoted by [x] = y | x, y X , xRy .
Q. Let A be a set and R be an equivalence relation on set A. Let x and y be arbitrary elements in A. then
(i) x x
(ii) If y x then y x
(iii) y x x, y R
(iv) y x or y x i.e. two equivalence classes are disjoint or identical.
If n is a fixed positive integer, we can define a relation R n on A as a R n b it implies that there is a path of length
n from a to b .
If set A has n elements then we can define a relation R = R R R ...... R . This relation shows all pair
2 3 n
of elements which are related with any length of path.
Ex. Let A 1,2,3,4 and R 1,1, 2,2, 2,3, 3,2, 4,2, 4,4 then find R2 and R.
Graph of relation: The relation R can be sketched on a coordinate diagram.
Adjacency matrix of relation: Let A a1, a2 ,.....,am and B b1, b2 ,.....,bn R be the relation from set A to set B. then it
1, if ai , b j R
, where mij
can be represented by m n matrix M R mij
mn
0, if ai , b j R
.
Diagraph of a relation: Let R be a relation on a finite set A then R can be represented pictorially. In this representation
each element of the set is represented by a point and each ordered pair a, b is represented by an arc directed
from a to b . Such representation is called diagraph or directed graph.
An edge a, a is arc from a to a itself is called loop.
Indegree of a Vertex: If R be a relation on a set A and v A then indegree of v is the number of edges directed towards
v.
Outdegree of a vertex: If R be a relation on a set A and v A then outdegree of v is the number of edges going away
from v.
Anti symmetric relation: Let A be any set. A relation R on set A is said to be an antisymmetric relation iff (a, b) R
and (b, a) R a = b for all a, b A e.g. Relations “being subset of ”; “is greater than or equal to” and “identity
relation on any set A” are antisymmetric relations.
Ex. Let N be set of natural numbers and let R be the relation defined by “a divides b”, ∀𝑎, 𝑏 ∈ 𝑁. Then R is an anti-
symmetric relation as a divides b and b divides a a = b.
Ex. Let P be a family of sets, then the relation R on P defined by “A is a subset of B” is antisymmetric because ARB
and BRA 𝐴 ⊆ 𝐵 and 𝐵 ⊆ 𝐴
𝐴=𝐵
The necessary and sufficient condition that R is anti-symmetric is
𝑅 ∩ 𝑅 −1 = 𝜙.
Asymmetric relation: Let A be any set. A relation R on set A is said to be an asymmetric relation
if (a, b) R then (b, a) R.
Ex. The relation x < y is an asymmetric relation as if x < y, then y is not less than x.
Partial ordered relation and POSET
A relation R on a set A is partial ordered relation in A if R is reflexive, anti-symmetric, transitive. Then
structure (R, A) is called partial ordered set (POSET). This relation can present by the symbol ‘ ’.
Comparability of two elements:
Two elements a and b are said to be comparable if either a b or b a otherwise incomparable.
Ex. Division relation
Total order relation or linear order relation: A relation R defined on a set A is said to be a total order relation in A if R
is partial order relation and every pair of elements of A is comparable.
Hasse diagram
A partial ordering relation ‘ ’ on a set P can be represented by a diagram known as Hasse diagram or a
partially ordered set diagram of P, . In this diagram vertices are given by dots. This diagram is without loop
on vertices and without edges to preset transitive relation. We do not present arrows on edges but direction is
towards upside.
Note:
(1) lub {a, b} = a v b it is called “a join b”, glb {a, b} = a b it is called “a meet b”.
(2) 𝑎 ≤ 𝑎 ∨ 𝑏 and 𝑏 ≤ 𝑎 ∨ 𝑏 ⇒ 𝑎 ∨ 𝑏 is upper bound (ub) of 𝑎 & 𝑏.
(3) 𝑎 ∧ 𝑏 ≤ 𝑎 and 𝑎 ∧ 𝑏 ≤ 𝑏 ⇒ 𝑎 ∧ 𝑏 is lower bound (lb) of 𝑎 & 𝑏.
(4) If 𝑎 ≤ 𝑐, 𝑏 ≤ 𝑐 then 𝑐 is upper bound of 𝑎, 𝑏 ⇒ 𝑎 ∨ 𝑏 ≤ 𝑐, as 𝑎 ∨ 𝑏 is lub.
(5) If 𝑐 ≤ 𝑎, 𝑐 ≤ 𝑏 then 𝑐 is lower bound of 𝑎, 𝑏 ⇒ 𝑐 ≤ 𝑎 ∧ 𝑏, as 𝑎 ∧ 𝑏 is glb.
(6) from above, we have 𝑙𝑏 ≤ 𝑔𝑙𝑏 ≤ 𝑒𝑙𝑒𝑚𝑒𝑛𝑡𝑠 ≤ 𝑙𝑢𝑏 ≤ 𝑢𝑏
Q. Let N be the set of positive integers. A relation R is defined by x R y iff x divides y. Prove that (N, R) is a lattice
where meet and join are respectively defined by x y = HCF (x, y) and x y = LCM (x, y).
Q. The following are the Hasse diagrams of some posets, explain which are lattice or not?
(ii) To prove 𝑎 ≤ 𝑏 ⇔ 𝑎 ∨ 𝑏 = 𝑏
Let given
𝑎≤𝑏
Since,
𝑏 ≤ 𝑏 (reflexive)
⇒ 𝑏 is upper bound of 𝑎, 𝑏 and we know 𝑎 ∨ 𝑏 is lub
⇒ 𝑎∨𝑏 ≤𝑏 (lub ≤ ub) …(1)
Since,
𝑏 ≤𝑎∨𝑏 (elments ≤ lub) …(2)
Form (1), (2)
𝑎∨𝑏 =𝑏
Conversely, Let given
𝑎∨𝑏 =𝑏
Since,
𝑎 ≤𝑎∨𝑏 (elments ≤ lub) …(3)
⇒ 𝑎≤𝑏 (using given in (3))
Hence,
𝑎 ≤𝑏 ⇔𝑎∨𝑏 =𝑏
(2) since,
𝑎 ≤ 𝑎 ∨ (𝑎 ∧ 𝑏) (elments 𝑎 ≤ 𝑙𝑢𝑝 𝑜𝑓 𝑎, (𝑎 ∨ 𝑏))
Since,
𝑎 ≤ 𝑎, (𝑎 ∧ 𝑏) ≤ 𝑎 (lub of a and other element b ≤ elments a )
⇒ 𝑎 is ub of 𝑎, (𝑎 ∧ 𝑏)
⇒ 𝑎 ∨ (𝑎 ∧ 𝑏) ≤ 𝑎 (lub ≤ ub)
Hence,
𝑎 ∨ (𝑎 ∧ 𝑏) = 𝑎
(ix) 𝑎 ≤ 𝑏 and 𝑐 ≤ 𝑑 ⇒ 𝑎 ∧ 𝑐 ≤ 𝑏 ∧ 𝑑
Proof: Given,
𝑎 ≤ 𝑏, 𝑐 ≤ 𝑑
Since,
𝑎 ∧ 𝑐 ≤ 𝑎, 𝑎 ≤ 𝑏 (glb ≤ elments)
⇒𝑎∧𝑐 ≤𝑏 (Trasitivity) …(1)
Since,
𝑎 ∧ 𝑐 ≤ 𝑐, 𝑐 ≤ 𝑑 (glb ≤ elments)
⇒𝑎∧𝑐 ≤𝑑 (Trasitivity) …(2)
From (1), (2)
𝑎 ∧ 𝑐 is lb of 𝑏, 𝑑
⇒𝑎∧𝑐 ≤𝑏∧𝑑 (lb ≤ glb)
(xi) (𝑎 ∧ 𝑏) ∨ (𝑎 ∧ 𝑐) ≤ 𝑎 ∧ (𝑏 ∨ 𝑐)
Proof: Since,
𝑎∧𝑏 ≤𝑎 (glb ≤ elments) …(1)
And
𝑎 ∧ 𝑏 ≤ 𝑏, 𝑏 ≤ (𝑏 ∨ 𝑐) (elments b ≤ lub of b and other element c )
⇒ 𝑎 ∧ 𝑏 ≤ (𝑏 ∨ 𝑐) (Transitivity) …(2)
From (1), (2)
𝑎 ∧ 𝑏 is lb of two elements 𝑎, (𝑏 ∨ 𝑐)
⇒ 𝑎 ∧ 𝑏 ≤ 𝑎 ∧ (𝑏 ∨ 𝑐) …(3)
Similarly,
𝑎∧𝑐 ≤𝑎 (glb ≤ elments) …(4)
And
𝑎 ∧ 𝑐 ≤ 𝑐, 𝑐 ≤ (𝑏 ∨ 𝑐) (elments c ≤ lub of c and other element b )
⇒ 𝑎 ∧ 𝑐 ≤ (𝑏 ∨ 𝑐) (Transitivity) …(5)
From (1), (2)
𝑎 ∧ 𝑐 is lb of tow elements 𝑎, (𝑏 ∨ 𝑐)
⇒ 𝑎 ∧ 𝑐 ≤ 𝑎 ∧ (𝑏 ∨ 𝑐) …(6)
From (3), (6)
𝑎 ∧ (𝑏 ∨ 𝑐) is ub of 𝑎 ∧ 𝑏, 𝑎 ∧ 𝑐
⇒ (𝑎 ∧ 𝑏) ∨ (𝑎 ∧ 𝑐) ≤ 𝑎 ∧ (𝑏 ∨ 𝑐) (lub ≤ ub)
Bounded lattices: Let L, be a lattice. An element 1 is upper bound of L i.e. a 1, a L . Similarly an element 0 is
lower bound of L i.e. 0 a, a L . If such elements 1, 0 are exist in L then L is called bounded lattice. Where
1 is greatest and 0 is least element of lattice.
Ex. Structure (𝑃(𝑋), ≤) is a bounded lattice, where X is a finite set. Its greatest element is X and least element is
Φ. Where ≤ 𝑖𝑠 𝑒𝑞𝑢𝑎𝑙 𝑡𝑜 ⊆.
Ex. The Lattice (𝑍 + , /) is not bounded as 1 (greatest element) does not exist.
Ex. The Lattice (𝑍, ≤) is not bounded as 1 (greatest element) and 0 (least element) does not exist.
Theorem 2.21.5: Let L, be a lattice with 0 and 1 as lower and upper bounds, then a L
(i) a 1 = 1 and a 1 = a
(ii) a 0 = a and a 0 = 0
Proof: (i) Let 𝑎 ∈ 𝐿 and 1 is upper bound of L
Then
𝑎∨1≤1 …(1)
Also,
1≤𝑎∨1 (element ≤ lub) …(2)
From (1), (2)
𝑎∨1=1 H.P.
Again, since
𝑎∧1≤𝑎 (lub ≤ element) …(3)
We know
𝑎≤𝑎 (reflexive) …(4)
And
𝑎≤1 (1 is ub of L) …(5)
Form (4), (5)
a is lb of a , 1
⇒𝑎 ≤𝑎∧1 ( lb ≤ glb ) …(6)
From (3), (6)
𝑎∧1=𝑎 H.P.
Compliment of an element: Let L, be a bounded lattice, whose greatest and least elements are 1 and 0 respectively.
Then the element x is called compliment of an element a L if
a x 1 and a x 0 .
Theorem2.21.6: Let L, be a bounded distributive lattice, if an element a L has a compliment then it is unique.
Proof:
Complimented lattices: A bounded lattice L, is said to be complemented lattice if every element of L has at least
one compliment in L.
Range: if f : A B is define then set of elements of B which are associated to elements of A is called range.
Equal function: Two functions f and g are said to be equal function iff
(i) domain of f = domain of g
(ii) codomain of f = codomain of g
(iii) f(x) = g(x), x domain .
(vi) f x 4 x 2
Domain of f + g, fg
Let f : A R and g : B R be two functions. Then their sum f g and product fg can be defined as
f g x f x g x
And fg x f x .g x
Also dom f g dom fg dom f dom g
Ex. Let f x x 2 , x , and g x x 1, x 1, . Then obtain the sum and product of f and g also find their
domains.
One one (injective function): A function f : A B is called one-one if different elements of A has different images
in B. If x1 x2 f(x1) f(x2) or f(x1) = f (x2) x1 = x2 then function is one-one .
Ex. f x 2 x, x N
Many one function:
A function f : A B is called many- one, if two or more different elements of A have the same f-image in B.
Into function: A function f : A B is into if there exist atleast one element in B which is not the f-image of any element
in A. Therefore, atleast one element of B such that f –1 (y) = then function is into. In other words
Range of f co-domain of f
Onto function (Surjective function): A function f : A B is onto if the each element of B has its pre- image in A.
Therefore if f–1 (y) A, y B then function is onto.
In other words if Range of f = Co-domain of f.
Ex. f : I set of even integers, f x 2 x .
One one onto (Bijective function): A function f is said to be one-one onto if f is one-one and onto both.
Inverse of function: If f : A B be a one-one onto (bijection) function, then the mapping f –1: B A which associates
each element b B with element a A, such that f(a) = b, is called the inverse function of the function
f :A B.
f –1 : B A, f –1(b) = a f(a) = b.
In terms of ordered pairs inverse function is defined as - f –1 = {(b,a) | (a,b) f}
Theo. If f is one one onto function then f-1 is also one one onto.
Ex. Let f be a function defined from the set X to the set Y and let A, B be the subsets of Y, then
(i) f 1 A B f 1 A f 1 B
(ii) f 1 A B f 1 A f 1 B
Composition(Product) of function: Let f : A B, g : B C are two functions then composition of f, g denoted by gof
or gf is function from set A to set C.
Q. if f and g are two bijections f : A B, g : B C then the inverse of gof exists and gof 1 f 1og 1 .
one one onto proof
Null set(empty set), Finite set, infinite set, cardinality of set, countable set, countable finite set, countable infinite set,
uncountable set