Processing math: 100%

Relations in Sets

Relations in Sets
Introduction to Relation
Domain and Range
Null Relation and Universal Relation

A relation in two sets may be defined as the collection (set) of ordered pairs. A relation R (denoted by R) from a non-empty set A to another non-empty set B is nothing but the subset of the cartesian product A×B. A relation R:AB is mathematically defined as R={(a,b):aRb,aA,bB}, i.e., the set of first components of the ordered pairs belong to first set and they are called the domain of the relation. The set of second components of the ordered pairs belong to second set and they are called the range of the relation.
A relation basically tells us how two sets are related to each other. (aRb) here stands for 'a is related to b'
Let us now get it with an example, suppose we have two sets as,
A = {Virat Kohli, Christiano Ronaldo, Sania Mirza}
and B= {cricket, football, wimbledon}.
Now, if we find the cartesian product of the two sets, then
A×B = {(Virat Kohli, cricket), (Virat Kohli, football), (Virat Kohli, wimbledon), (Ronaldo, cricket), (Christiano Ronaldo, football), (Christiano Ronaldo, wimbledon), (Sania Mirza, cricket), (Sania Mirza, football), (Sania Mirza, wimbledon)}
Now, if we define a relation R:AB between the two sets where aRb if a plays b then
R = {(Virat Kohli, cricket),(Christiano Ronaldo, football), (Sania Mirza, wimbledon)}; which is undoubtedly a subset of A×B, that's why we say RA×B. But for usual case, we should better use  RA×B because sometimes a relation becomes exactly equal to the cartesian products of its sets. Let us move ahead with another example, for two sets A = {Sourav Ganguly, MS Dhoni, Virat Kohli} and B = {India}, we get
P×Q = {(Sourav Ganguly, India), (MS Dhoni, India), (Virat Kohli, India)}
and now if we define a relation  pRq=p was a cricket team captain of  q, then
R = {(Sourav Ganguly, India), (MS Dhoni, India), (Virat Kohli, India)} ; which is exactly equal to the cartesian product of the two sets P and Q, i.e.,  R=P×Q, such a relation is called Universal Relation. It is the largest relation of all.

Now do you remember null set [Click here], a set containing no element was termed as a null set. So don't you think that there may be a relation too which does not contain any ordered pair? If you do, you're right. There is a type of relation which is empty, i.e.,  R=ϕ and is therefore termed as Null Relation or Empty Relation. Null relation is the smallest relation of all the relations. If  R=ϕ is a null relation then either of the domain or the range of the relation is a null set.
Example: if A = {1, 2, 3, 4} and
R = { (a,b):|ab|100,a,bA}
i.e., no such two elements exist in the set A of which difference is 100 or more than 100.

Representation of Relation
Let us consider two sets A= {2, 3, 4, 5} and B = {3, 6, 7, 10}, and a relation R:aRb can be represented in various ways as follows-
1. Set builder method or Rule method
R = { (x,y):x completely divides  y where  xA and  yB}
2. Tabuler method or Roster method
R = {(2, 6), (2, 10), (3, 3), (3, 6), (5, 10)}
3. Graphical method
In this method, we plot all the ordered pairs in cartesian co-ordinate plane and each ordered pair gives us a point.
4. Arrow Diagram method
In this method, we connect all the elements of the domain to their corresponding ranges according to the relation with the help of arrows.
5. Arrow Pappygram method
In this method, element from domain is connected to an element which is belonging to the range.
6. Matrix Table method
In this method, for all the ordered pairs existing in the relation we assign 1 and otherwise 0. so, the set of ordered pairs for which we get 1, constitutes the relation. Note that number of 1 in the table must be equal to the number of elements in the relation R.
 x|y 3 6 7 10
2 0 1 0 1
3 1 1 0 0
4 0 0 0 0
5 0 0 0 1


Types of Relation

Inverse relation: If aRb is a relation then another relation bSa is called the inverse of the relation R if S = {(b,a):(a,b)R}. In this case, S is denoted by R1.
Here,  d(R)=r(R1) and  r(R)=d(R1)
Example: if R = {(1, 2), (3, 4), (5, 6), (7, 8)}, then
R1= {(2, 1), (4, 3), (6, 5), (8, 7)}


Identity relation: If A is a set, then a relation on A is called the identity relation if every element of A is related to itself, i.e., aRa = {(a,a): for all aA}. Identity relation is usually denoted by IA or simply by I. In identity relation, d(R)=r(R).
Example: if A = {a, b, c, d} then
I = {(a, a), (b, b), (c, c), (d, d)}


Constant relation: A relation R:AB is said to be constant relation if all the elements of the domain are related to only one element of B. Here, range of the relation is a singleton set.
Example: Let, A = {x:xN,x<11}
  = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
And a relation xRy is defined as follows,
R = {(x,y):x=2n+1A,y=1}
  = {(1, 1), (3, 1), (5, 1), (7, 1), (9, 1)}
Here, d(R) = {1, 3, 5, 7, 9} and r(R) = {1},
We can see that the range of the relation is a singleton set and all the elements of the domain are related to the element of the range set.


Equality of relations: Two relations R and S are said to be equal if d(R)=d(S) and R(x)=S(x) for all xd  (domain).


Binary Relations and their types

For a non-empty set A = {1,2,3}, any subset of A×A is called Binary relation on the set A itself. It is because, all the elements of A in such case is related to the some elements which are again belonging to the set A.

Reflexive relation
Let A be a set and aRa is a relation, then R is called a reflexive relation if (a,a)R for all aA. In other words, R is reflexive if we have aRa for all aA. Here, R is not reflexive if there is at least one element aA, such that (a,a)R.
Example:
Let A ={1,2,3}, and a relation R defined on A is such that
R = {(1,1), (2,2), (3,3), (3,2), (2,1)}
Now the relation R is said to be reflexive, because
 (1,1)R,(2,2)R,(3,3)R

Every identity relation on a non-empty set is a reflexive relation but the converse is not true.
Explanation:
Let us consider an identity relation on the set A = {1,2,3} is such that
I = {(1,1), (2,2), (3,3)}
Here,  (1,1)I,(2,2)I,(3,3)I
I is reflexive.
Now, let us take a reflexive relation R defined on the set A is such that
R = {(1,1), (2,2), (3,3), (3,2), (2,1)}
Here,  (3,2),(2,1)R
This is why the relation R is not an identity relation.


In an identity relation all the elements of the set are supposed to be related to themselves only and nothing other than that should be existed. In the other hand, in a reflexive relation all the elements of the set are supposed to be related to themselves and existance of anything else doesn't restrict the relation to be a reflexive relation.


Symmetric relation
Let R be a relation on set A, then R is said to be a symmetric relation if (a,b)R(b,a)R. In a symmetric relation bRa whenever we have aRb for a,bA.
Example:
Let A ={1,2,3}, and a relation R defined on A is such that
R = {(1,2), (2,2), (2,3), (3,2), (2,1)}
Now the relation R is said to be symmetric, because
for  (1,2)R(2,1)R
for  (2,2)R(2,2)R
for  (2,3)R(3,2)R



Transitive relation
Let R be a relation on a set A, then R is said to be a transitive relation on A, if  (a,b)R and  (b,c)R(a,c)R for  (a,b,c)A. Thus, in a transitive relation R on A, if aRb and bRc then aRc for a,b,cA.
Example:
Let A ={1,2}, and a relation R defined on A is such that
R = {(1, 1), (1, 2), (2, 1), (2, 2)}
Now the relation R is said to be transitive, because
for  (1,1)R and  (1,2)R(1,2)R
for  (1,2)R and  (2,1)R(1,1)R
for  (2,1)R and  (2,2)R(2,2)R

Let us take another example
Let A = {1, 2, 3}, then identity relation R on A is such that
R = {(1, 1),(2, 2), (3,3)} is also transitive, because
for  (1,1)R(1,a)RaA
for  (2,2)R(2,a)RaA
for  (3,3)R(3,a)RaA



Anti-symmetric relation
Let R be a relation on a set A, then R is said to be an anti-symmetric relation if  (a,b)R and  (b,a)Ra=b. In other words, if ab then possibly a is related to b or possibly b is related to a, but never both.
Example:
Let A ={1,2}, and a relation R defined on A is such that
R = {(1, 2)}
Now the relation R is said to be anti-symmetric, because
for  (1,2)R and  (2,1)R12



Equivalence relation
A relation R on a set A is said to be an equivalence relation on A, iff R is simultaneously
  • reflexive, i.e.,  (a,a)R for all aA
  • symmetric, i.e.,  (a,b)R(b,a)R for all a,bA
  • transitive, i.e.,  (a,b)R and  (b,c)R(a,c)R for all a,b,cA
Example:
Let A = {a, b, c}, and a relation R defined on A is such that
R = {(a, a), (a, b), (a, c), (b, a), (b, b), (b, c), (c, a), (c, b), (c, c)}
Now the relation R is said to be an equivalence relation, because
since  (a,a),(b,b),(c,c)R
R is reflexive.
Now, for  (a,b)R(b,a)R
for  (b,c)R(c,b)R
for  (a,c)R(c,a)R
R is symmetric.
Again, for  (a,b)R and  (b,a)R(a,a)R
for  (b,c)R and  (c,a)R(b,a)R
for  (a,c)R and  (c,a)R(a,a)R
R is transitive.


Symbols used:
→ there exists
→ there does not exist
→ for all
N.B.:
We've taken same examples repeatedly for simplicity which gives us the ability to focus more on core concepts.

Post a Comment

Previous Post Next Post