This is one of the problems I have been solving in Velleman's How to prove book:
Find the reflexive, symmetric and transitive closures of the following relations:
$D_r = \{(x,y) \in \mathbb{R} \times \mathbb{R} \mid |x - y| = r\}$, for any positive real number $r$.
Now I have solved the reflexive and symmetric part. But I'm stuck with the transitive closure part. How to approach the problem? (Note that the book hasn't covered induction yet, so I would like to know a simpler way of solving it.)
A way to approach it is to consider constructing the transitive closure in stages - what relation is formed if we take the set of $(x,y)$ such that either $(x,y) \in D_r$ or there is some $z$ such that $(x,z),(z,y) \in D_r$? Then what happens if you include longer chains like this?
Slightly more detailed hint (but still only hinting):