Let R br a realtion defined from the set A={1,2,3,4} to the set B={2,3,4,5}as a€A, b€B aRb <-> a+b=5
1. What are the orderd pairs in the relation R
2. Represent R with a matrix
1) Since 1+4=51+4=51+4=5 then (1,4)∈R\left( {1,4} \right) \in R(1,4)∈R .Similarly we get (2,3)∈R, (3,2)∈R(2,3) \in R,\,(3,2) \in R(2,3)∈R,(3,2)∈R .
Then R={(1,4), (2,3),(3,2)}R = \{ \left( {1,4} \right),\,(2,3),(3,2)\}R={(1,4),(2,3),(3,2)} .
Answer: R={(1,4), (2,3),(3,2)}R = \{ \left( {1,4} \right),\,(2,3),(3,2)\}R={(1,4),(2,3),(3,2)}
2) Let's build a matrix of relation.
If the elements are in a relationship, then write 1, otherwise - 0. We have:
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments