Transitivity in set relations

235 Views Asked by At

According to my book:

R = {(1,2), (2,3), (1,3), (2,1)} is not transitive because (1,1) and (2,2) are missing. I don't see why (1,1) & (2,2) would be relevant here since aRb and bRc => aRc has been fulfilled.

According to my book #2:

R = {(1,1), (2,2), (3,3)}

Is both symmetric and transitive. How is it transitive?

4

There are 4 best solutions below

0
On

The first relation is not transitive as you have 1R2 and 2R1 (and 2R1 and 1R2). If it were transitive you would have 1R1 (and 2R2). But you do not.

For the second relation. It is transitive, since the only relations are 1R1 and 2R2 and 3R3. So, the only couples xRy and yRZ are

  • 1R1 and 1R1, which needs 1R1 to complete the transitivity condition.
  • 2R2 and 2R2, which needs 2R2 to complete the transitivity condition.
  • 3R3 and 3R3, which needs 3R3 to complete the transitivity condition.

The key point is that a,b,c do not need to be (all) distinct.

0
On

First question: $1R2$ and $2R1$. Transivity would imply that $1R1$. Notice that $a$ and $c$ in the definition of transitivity don't have to be different.

Second question: $1R1$ and $1R1$, transivity implies that $1R1$. Ok. Same for $2$ and $3$. No counterexamples, so $R$ is transitive.

3
On

In the first relation, we have $(1, 2) \in R $ and $(2, 1)\in R$, hence, if the relation were transitive, we would need $(1, 1) \in R$.

In the second relation, it is trivially transitive, because transitivity fails only if there exist $a, b, c$ such that $(a, b) \in R$ and $(b, c) \in R$, and $(a, c) \notin R$. There is no such failure in relation $2$.

0
On

You are saying that $aRb\wedge bRc\Rightarrow aRc$ has been fullfilled. That is not true:

Here we have $1R2\wedge2R1$ but not $1R1$.

On your second question:

Can you find $a,b,c$ such that $aRb\wedge bRc$ and not $aRc$? No, you can't. Direct conclusion: $R$ is transitive.