Relations Notes
Relations Notes
EXAMPLE
Let 𝐴 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}. Define a relation R from A to A by
𝑅 = {(𝑥, 𝑦): 𝑦 = 𝑥 2 + 1}. Write down the domain, co-domain and range of R.
Solution: By the definition of the relation, 𝑅 = {(1, 2), (2, 5), (3, 10)}.
Now, Domain = Set of 1st element of ordered pairs of R = {1, 2, 3}
Range = Set of 2nd elements of ordered pairs of R = {2, 5, 10}
Co-domain = Set A = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
• Number of Relations
Let A and B be two given non-empty finite sets having m and n elements
respectively. Then the number of possible relations that can be defined
from A to B is 2𝑚𝑛 .
Types of Relations:-
Definition Example
Empty/Void/Null Relation Let A = {2, 4, 6}, B = {7, 11}
A relation R from A to B is called an R= {(𝑎, 𝑏): 𝑎 ∈ 𝐴, 𝑏 ∈ 𝐵 𝑎𝑛𝑑 |𝑎 − 𝑏| 𝑖𝑠 𝑒𝑣𝑒𝑛}.
empty relation from A to B if 𝑹 = 𝝓. Here R is an empty relation.
• The void relations i.e.𝜙, and universal relation are respectively the
smallest and largest relations defined on the set A respectively. Also,
these are called Trivial Relations and relations other than these two
relations are called Non-Trivial Relations.
• The relations R = 𝜙 and R = A×A are the two extreme relations.
EXAMPLE
Write one example each on null, identity and universal relation for A = {1, 2, 3}
Solution:
Universal Relation: R = {(1, 1), (2, 2), (3, 3), (1, 2), (2, 1), (2, 3), (3, 2), (1, 3), (3, 1)}
Identity Relation: 𝐼𝐴 = {(1, 1), (2, 2), (3, 3)}
Null Relation: R = {(𝑥, 𝑦): 𝑦 = 𝑥 2 + 3, 𝑥, 𝑦 ∈ 𝐴}
• Reflexive Relation
• Symmetric Relation
• Transitive Relation
𝑛2 +𝑛
𝑛2 ( )
4. Number of relations which are not symmetric = 2 – 2 2
𝑛2 − 𝑛
( )
5. Number of relations which are both symmetric and reflexive is 2 2
𝑛(𝑛 + 1) 2 −𝑛
6. Number of relations which are symmetric but not reflexive is 2 2 − 2𝑛
𝑛2 −𝑛
𝑛
7. Number of antisymmetric relations = 2 . 3 2
𝑛2 −𝑛
8. Number of asymmetric relations = 3 2
9. Number of equivalence relations = Bell numbers (𝐵𝑛 )
𝑛
Equivalence Relation:-
A relation R on a given non-empty set A is said to be an equivalence, if
(i) R is reflexive.
(ii) R is symmetric.
(iii) R is transitive.
A relation R = {(1, 1), (2, 2), (3, 3)} ⊂ A× A is an equivalence relation over
A = {1, 2, 3}, whereas R = {(1, 1), (2, 2), (3, 3), (1, 3)} is not an equivalence
relation on A as it is not symmetric.
For example, Let A = {1, 2, 3};
R = {(1, 2), (1, 1), (2, 1), (2, 2), (3, 3)(1, 3), (3, 1), (3, 2), (2, 3)}
Here R is reflexive, symmetric and transitive.
So, R is an equivalence relation on A.
EXAMPLE
EXAMPLE
EXAMPLE
Try These: -
EXAMPLE
EXAMPLE
EXAMPLE
Practice Questions:-
1. Let A = {1, 2, 3, 4, 5, 6}
i) Given that the relation R = {(𝑎, 𝑏): 𝑎, 𝑏 ∈ 𝐴, 𝑏 − 𝑎 = 𝑘} is
reflexive. Then k = ___.
ii) Show that the relation 𝑅 = {(𝑎, 𝑏): 𝑎, 𝑏 ∈ 𝐴, |𝑏 − 𝑎| = 2} is
symmetric.
2. Let R be a relation on a set A = {1, 2, 3, 4, 5, 6} defined as
𝑅 = {(𝑥, 𝑦): 𝑦 = 2𝑥 − 1}
i) Write R in roster form and find its domain and range.
ii) Is R an equivalence relation? Justify.
3. Let R be a relation in the set {1,2,3} defined by R = {(1, 1), (1, 3), (3, 3)}.
Then the ordered pair to be added to R to make it a reflexive relation is
________.
4. Check whether the relation R defined in the set A = {1, 2, 3 ,......,14} given
by R = {(x, y) : 3x - y = 0} is reflexive, symmetric and transitive.
5. Which of the following relations on A = {1, 2, 3} is an equivalence
relation?
a) {(1, 1), (2, 2), (3, 3)}
b) {(1, 1), (2, 2), (3, 3), (1, 2)}
c) {(1, 1), (3, 3), (1, 3), (3, 1)}
d) None of these
6. 𝑅 = {(𝑥, 𝑦) ∶ 𝑥, 𝑦 ∈ 𝑍, (𝑥 − 𝑦) 𝑖𝑠 𝑎𝑛 𝑖𝑛𝑡𝑒𝑔𝑒𝑟}. Show that R is an
equivalence relation.
OR
If 𝑅 = {(𝑥, 𝑦): 𝑥, 𝑦 ∈ 𝑍, 𝑥 − 𝑦 ∈ 𝑍}, then the relation R is
a) reflexive but not transitive
b) reflexive but not symmetric
c) symmetric but not transitive
d) an equivalence relation
7. Let R be a relation on a set A = {1, 2, 3} , defined by
𝑅 = {(1, 1), (2, 2), (3, 3), (1, 3)}. Then, the ordered pair to be added to
R to make it the smallest equivalence relation is
(a) (2, 1)
(b) (3, 1)
(c) (1, 2)
(d) (1, 3)
17. Show that the relation Ron the set A of all the books in a library of a
college given by
R = {(𝑥, 𝑦) ∶ 𝑥 𝑎𝑛𝑑 𝑦 ℎ𝑎𝑣𝑒 𝑡ℎ𝑒 𝑠𝑎𝑚𝑒 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑝𝑎𝑔𝑒𝑠), is an
equivalence relation.
18. Show that the relation Ron the set A = {1, 2, 3, 4, 5} given by
𝑅 = {(𝑎, 𝑏): |𝑎 − 𝑏| 𝑖𝑠 𝑒𝑣𝑒𝑛), is an equivalence relation. Show that of
(1, 3, 5) are related to each other and all the elements of (2, 4) are
related to each other. But, no element of (1,3,5) is related to any
element of (2, 4).
19. Let n be a positive integer. Prove that the relation R on the set Z of all
integers numbers defined by (𝑥, 𝑦) ∈ 𝑅 ⇔ 𝑥 − 𝑦 𝑖𝑠 𝑑𝑖𝑣𝑖𝑠𝑖𝑏𝑙𝑒 𝑏𝑦 𝑛, is an
equivalence relation on Z.
20. Let A be the set of all students of a boys school. Show that the relation R
on A given by R = {(a, b) : a is sister of b} is empty relation and
R' = {(a, b) : the difference between the heights of a and b is less than 5
meters} is the universal relation.
Note:-
Antisymmetric Relations and Asymmetric Relations
Let A be any set. A relation R on set A is said to be antisymmetric relation iff
(𝑎, 𝑏) ∈ 𝑅 𝑎𝑛𝑑 (𝑏, 𝑎) ∈ 𝑅 ⇒ 𝑎 = 𝑏 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑎, 𝑏 ∈ 𝐴
It follows from this definition that if (a, b) ∈ R, but (b, a) ∉ R, then also R is
an asymmetric relation. Eg. If R is a relation on set A = {12, 6}, such that
R = {(x, y) : x>y}; then {12, 6} ∈ R implies 12 > 6, but {6, 12} ∉ R, since 6 is not
greater than 12.
➢ The identity relation on a set A is an antisymmetric relation.
➢ Asymmetric is the opposite of symmetric but not equal to
antisymmetric.
Congruence Modulo m
Let m be an arbitrary integer but fixed integer.
Two integers a and b are said to be congruence modulo m, if a - b is
divisible by m, and we write 𝑎 ≡ 𝑏 (𝑚𝑜𝑑 𝑚).
EXAMPLE
EXAMPLE
Given a non-empty set X, consider P (X) which is the set of all subsets of X. Define
a relation in P (X) as follows: For subsets A, B in P(X), A related to B if A is a subset
of B. Is R an equivalence relation on P (X)? Justify your answer.