The transitive closure of the relation {(0,1), (1,2), (2,2), (3,4), (5,3), (5,4)} on the set {1, 2, 3, 4, 5} is _______

The transitive closure of the relation {(0,1), (1,2), (2,2), (3,4), (5,3), (5,4)} on the set {1, 2, 3, 4, 5} is _______
A. {(0,1), (1,2), (2,2), (3,4)}
B. {(0,0), (1,1), (2,2), (3,3), (4,4), (5,5)}
C. {(0,1), (1,1), (2,2), (5,3), (5,4)}
D. {(0,1), (0,2), (1,2), (2,2), (3,4), (5,3), (5,4)}
 
Answer: d
Explanation: Let R be a relation on a set A. The connectivity relation on R* consists of pairs (a,b) such that there is a path of length at least one from a to b in R. Mathematically, R* = R$^{1}$ ∪ R$^{2}$ ∪ R$^{3}$ ∪ … ∪ R$^{n}$. Hence the answer is {(0,1), (0,2), (1,2), (2,2), (3,4), (5,3), (5,4)}.
 

Tìm kiếm

Back
Top