<< Chapter < Page Chapter >> Page >

R = { 1,3 , 2,6 , 3,9 }

We can visualize the relation pictorially as shown in the figure.

Relation on self

Relation between elements of the same set

Domain of the relation

The domain represents the valid values of the first element of the ordered pairs in the relation. Clearly, the elements of domain of a relation belong to “from” set “A”. But, elements in the domain are only those which are valid for the relation. It means that domain does not consist of all elements of “from” set “A”. Thus, domain set is a subset of “from” set “A”.

Domain
The set of first elements of all ordered pairs in the relation “R” from set “A” to “B” is called the domain of relation “R”.

We can write the domain set of relation “R” from set “A” to set “B” in set builder form as :

Domain R = { x : x , y R }

Consider the example given earlier. The relation set is :

R = { 1,3 , 2,6 , 3,9 }

The domain according to definition is :

Domain R = { 1,2,3 }

Domain R A

Co-domain

In a relation “R” from set “A” to “B”, the set “B” is called co-domain.

Range of the relation

The range represents the valid values of the second element of the ordered pairs in the relation.

Range
The set of second elements of all ordered pairs in the relation “R” from set “A” to “B” is called the range of relation “R”.

We can write the range set of relation “R” from set “A” to set “B” in set builder form as :

Range R = { y : x , y R }

Consider the example given earlier. The relation set is :

R = { 1,3 , 2,6 , 3,9 }

The range according to definition is :

Range R = { 3,6,9 }

Clearly, the elements of range of a relation belong to “to” set “B”. But, elements in the range are only those which are valid for the relation. It means that range does not consist of all elements of “to” set “B”. Thus, range set is a subset of “to” set “B”.

Range R B

Example

Problem 2 : Let A = { 1,2,3,4,5 } and B = { 1,4,5 } . Let a relation from “A” to “B” is :

R = { x , y : x < y , x , y A X B }

Find R, Domain (R) and Range(R).

Solution : Let us find “y” for each value of “x”.

For x = 1, y = 4,5

F o r x = 2, y = 4,5

F o r x = 3, y = 4,5

F o r x = 4, y = 5

F o r x = 5, There is no value of “y” in set “B”

Hence,

R = { 1,4 , 1,5 , 2,4 , 2,5 , 3,4 , 3,5 , 4,5 }

Domain R = { 1,2,3,4 }

Range R = { 4,5 }

Numbers of relations

Between two sets, the Cartesian product set consists of all possible instances of relation as ordered pair. Here, we need to find the total possible relations that can be generated from these ordered pairs. We have seen that total numbers of ordered pairs in the Cartesian product of sets “A” and “B” is “pq”, where “p” and “q” are the numbers of elements in two sets respectively.

Now, relation is nothing but a subset of the Cartesian product. It means that total numbers of relation is equal to total numbers of possible subsets of the Cartesian product. Recall that the set formed from all possible subsets is called power set. The numbers of subsets in the power set is given by

n = 2 p q

Clearly, this number “n” denotes all possible relations (subsets) that can be generated from two finite sets. We should, however, be careful in interpreting this number as it also contains the mandatory empty set, which is not a meaningful set from the point of view of relation.

Inverse relation

Inverse relation of a given relation “R” from set “A” to set “B” is set of ordered pairs in which first and second elements exchanges their positions. The inverse set is defined in reference to a given relation. The inverse relation of a given relation “R” from “A” to “B” is denoted as “ R - 1 ”. Clearly,

R - 1 = { y , x : x , y R }

where,

R = { x , y : x , y A X B }

We should be careful to understand that “-1” is not a power, but a part of symbol to represent inverse relation with respect to a given relation. It is also clear that :

I f x , y R y , x R - 1 .

As the elements in the ordered pair of the relation exchanges positions, domain and range sets are exchanged across the sets.

Domain R - 1 = Range R

Range R - 1 = Domain R

Example

Problem 3 : Let A = { 1,2, . . , 10 } . A relation on “A” is defined as

R = { x , y : y = 3 x , w h e r e x , y A }

Find R - 1 , Domain ( R - 1 ) and Range ( R - 1 ).

Solution : In the earlier example, we determined the relation “R” as :

R = { 1,3 , 2,6 , 3,9 }

According to the definition of inverse set, the elements of the ordered pair in the relation set are exchanged :

R - 1 = { 3,1 , 6,2 , 9,3 }

Clearly, inverse relation can be represented in set builder form as :

R - 1 = { y , x : y = x / 3, w h e r e x , y A }

Now, the domain and range of R - 1 are :

D o m a i n R - 1 = { 3,6,2 }

Range R - 1 = 1,2,3

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Functions. OpenStax CNX. Sep 23, 2008 Download for free at http://cnx.org/content/col10464/1.64
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Functions' conversation and receive update notifications?

Ask