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 R be a relation from X to Y and R be a relation from Y to Z
The composition R R is the relation from X to Z given by
R R fx; z X Z : for some y Y; x; y R and y; z Rg:
Then we have:
Theorem Choose orderings of X Y and Z Let M be the adjacency matrix
of R and M be the adjacency matrix of R with respect to these orderings. Then
the adjacency matrix of the relation RR is obtained by replacing each nonzero
entry in MM by the number
Let X fa; b; cg Y f; ; ; g and Z f; ; g Let
R fa; ; a; ; b; ; b; ; c; ; c; g X Y
R f; ; ; ; ; ; ; ; ; g Y Z:
a Compute the adjacency matrices M associated with R and M associated
with R
b Use the theorem above to compute the adjacency matrix for the relation
R R
c Use your answer to part b to write R R as a subset of X Z
d Write down the adjacency matrix M associated with R R
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
