Let's say we have a commutative ring $R$ with a unit and elements $a,b \in R$ which divide each other, e.g. $a | b$ and $b|a$. The question is now:
Does there exist an invertible element $\epsilon \in R^\times$ with $a \epsilon = b$ or are there counterexamples e.g. rings and elements as above, for which you can't find such an $\epsilon$?
This question arose from an exercise I gave to my students for commutative rings without unit (where there are plenty counterexamples, e.g. $R=\mathbb Z \times 2\mathbb Z$). Since we couldn't find counterexamples or a proof for unital rings I am asking here the question.
Stuff we already tried/figured out:
- It is quite clear, that in a counterexample $a$ and $b$ are zerodivisors.
- It is useless to consider cross-products of rings, since you can solve the problem pointwise.
- $\mathbb Z / n \mathbb Z$ are no counterexamples.