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
b. Draw the arrow diagram of R
c. Find the inverse relation R-1of R
d. Determine the domain
and range of R
Sloution:
A={1,2,3,4}; B={x,y,z}; R={(1,y), (1,z), (3,y), (4,x), (4,z)}
a) If R is a relation from A to B and x1,...,xm is an ordering of the elements of A and y1,...,yn is an ordering of the elements of B, the matrix MR of R is obtained by defining MRij =1 if xiRyj and 0 otherwise. So,
MR="\\begin{vmatrix}\n 0 &1&1 \\\\\n 0 &0&0\\\\\n0&1&0\\\\\n1&0&1\n\\end{vmatrix}"
b) 1------x,y; 2------; 3-------y; 4---------x,z.
c) We just need to change places of elements: R-1={(y,1), (z,1), (y,3), (x,4), (z,4)}.
d) R={(1,y), (1,z), (3,y), (4,x), (4,z)}, so: X:1, 1, 3, 4, 4; Domain: {1,3,4}; Y: y, z, x; Range: {y,z,x}.
Comments
Leave a comment