Relations
Relations
Whenever sets are being discussed, the relationship between the elements of
the sets is the next thing that comes up. Relations may exist between objects
of the same set or between objects of two or more sets.
Generally an n-ary relation R between sets A1,…, and An is a subset of the n-ary
product A1×⋯×An. The minimum cardinality of a relation R is Zero and
maximum is n2 in this case.
For two distinct sets, A and B, having cardinalities m and n respectively, the
maximum cardinality of a relation R from A to B is mn.
If there are two sets A and B, and relation R have order pair (x, y), then −
Examples
Let, A={1,2,9}
and B={1,3,7}
Dom(R) = {1,3},Ran(R)={1,3}
Dom(R) = {1,2},Ran(R)={3,7}
Dom(R) = {2,9},Ran(R)={1,3,7}
on set S={1,2,3}
Types of Relations
Example − If R={(1,2),(2,3)}
on set X={a,b}
is reflexive.
A relation R on set A is called Symmetric if xRy implies yRx, ∀x∈A and ∀y∈A
is symmetric.
.
on set A={1,2,3}
is transitive.