Question: Is there a difference between the symmetric closure of the transitive closure of a relation R and the transitive closure of the symmetric closure of R?
Answer: Yes, (R+)s ≠ (Rs)+ where Rs is the symmetric closure of R.
(R+)s
- Take R = {(0,1)}
- R+ = {(0,1)}
- (R+)s = {(0,1),(1,0)}
(Rs)+
- Take R = {(0,1)}
- Rs = {(0,1),(1,0)}
- (Rs)+ = {(0,1),(1,0),(1,1),(0,0)}