Proving that a relation $R$ is transitive iff $R \circ R \subset R$.

2.4k Views Asked by At

Problem: Let $R$ be a relation over $X$, i.e. let $R = \left\{ (x,y) \in X \times X \mid x \in X \wedge y \in X \right\}$. Prove that $R$ is transitive if and only if $R \circ R \subset R$.

Attempt at proof: I proved one direction already. This is what I did: Suppose $R$ is transitive. Let $q \in R \circ R$ be arbitrary. Then $q = (x,y) \in X \times X$. By definition of composition there then exists a $z \in X$ such that $(x,z) \in R$ and $(z,y) \in R$. From transitivity it then follows that $(x,y) \in R$. Since $q$ was arbitrary, this proves that $R \circ R \subset R$.

Now, suppose that $R \circ R \subset R$. Let $(x,y) \in R$. Now, I don't know how to proceed since I don't know how to use my assumption this time. Any help?

2

There are 2 best solutions below

1
On BEST ANSWER

The second part should rather start "Now, suppose that $R\circ R\subseteq R$. Let $(x,y)\in R$ and $(y,z)\in R$." Then you want to show that $ (x,z)\in R$.

0
On

It is really interesting the following case:

When $R \subseteq A\times A$ is transitive, $R \circ R \subseteq R$.

Proof.

Let $(a, c) \in R \circ R$, by definition, $\exists b \in A$ s.t. $(a, b) \in R$ and $(b, c) \in R$ which implies, due to the transitive of $R$, that $(a, c) \in R$.

When $R \subseteq A\times A$ is reflexive, $R \subseteq R \circ R$.

Proof.

Let $(a, b) \in R$, since $R$ is reflexive, $(a, a) \in R$. So it $\exists a \in A$, due to reflexive property of $R$, such that $(a, a) \in R$ and $(a, b) \in R$, then $(a, b) \in R\circ R$.

So we can say that for $R \subseteq A\times A$, if $R$ is reflexive and transive then $R\circ R = R$.

Will the implication be given?