On the set $A = \{1, 2, 3\}$ we consider the relations $R = \{(1, 1), (1, 2), (2, 3)\}$ and $S = \{(1, 2), (2, 1), (3, 2)\}$. How many elements are there in the relation $R\circ S$?
Sorry my bad english ! My answer is $3$, precisely $\{(1,2),(2,1),(2,2)\}$ but this question answer is $4$. I don't know why, please help me . Thank you!
The answer is indeed $4$, since$$R\circ S=\bigl\{(1,3),(2,1),(2,2),(3,3)\bigr\}.$$For instance, $(2,1)\in R\circ S$, since $(2,1)\in S$ and $(1,1)\in R$.