Question: Let R 1 be a relation from X to Y and R 2 be a relation from Y to Z . The composition R 2

Let R1 be a relation from X to Y and R2 be a relation from Y to Z.
The composition R2 R1 is the relation from X to Z given by
R2 R1= f(x; z)2 X Z : for some y 2 Y; (x; y)2 R1 and (y; z)2 R2g:
Then we have:
Theorem 1. Choose orderings of X, Y and Z. Let M1 be the adjacency matrix
of R1 and M2 be the adjacency matrix of R2 with respect to these orderings. Then
the adjacency matrix of the relation R2R1 is obtained by replacing each non-zero
entry in M1M2 by the number 1.
Let X = fa; b; cg, Y = f1; 2; 3; 4g and Z = f; ; g. Let
R1= f(a; 1); (a; 2); (b; 3); (b; 4); (c; 1); (c; 4)g X Y
R2= f(1; ); (2; ); (2; ); (3; ); (4; )g Y Z:
(a) Compute the adjacency matrices M1 associated with R1 and M2 associated
with R2.
(b) Use the theorem above to compute the adjacency matrix for the relation
R2 R1.
(c) Use your answer to part (b) to write R2 R1 as a subset of X Z.
(d) Write down the adjacency matrix M3 associated with (R2 R1)1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!