I've decided to study some number theory in my free time this summer, and have started reading Marcus' "Number Fields" and working through the exercises, but I've got myself stuck on one. This is the problem:
For $R$ an integral domain, prove that two ideals $A$ and $B$ of $R$ are isomorphic as $R$-modules if and only if $\alpha A = \beta B$ for some $\alpha,\beta \in R$.
If $\alpha A = \beta B$, then showing that the map $A \rightarrow B$ defined by $x \mapsto y$ if $\alpha x = \beta y$ is an isomorphism is easy, but I'm having trouble showing the reverse implication. Anyone care to give me a hint?