Given A = {1, 2, 3, 4} and B = {x, y, z}, Let R be the following relation from A to B: R = {(1, y),(1, z),(3, y),(4, x),(4, z)} A. Determine the matrix of the relation.
Brittney Lord 2021-02-24Answered
Given A = {1, 2, 3, 4} and B = {x, y, z}, Let R be the following relation from A to B: R = {(1, y),(1, z),(3, y),(4, x),(4, z)} A. Determine the matrix of the relation.
Given:
A= {1,2,3,4}
B= {x,y,z}
R= {(1y,9), (1,z), (3,y), (4,x), (4,z)}
Since A contains 4 elements and B contains 3 elements, the relation R is represented by a 4 x 3-matrix.
The element in the ith row and jth column is 1 when R contains the ordered pair (i, a) with a=x when j= 1,a=y when j =2 and a =z when j =3.
All other elements in the matrix will be zero.
[0,0,0,1,1,0,1,0,1,0,0,1]