I'm a little confused about the following exercise in A-M:
Let $f:A\to B$ be a homomorphism of rings and let $S$ be a multiplicatively closed subset of $A$. Let $T=f(S)$. Show that $S^{-1}B$ and $T^{-1}B$ are isomorphic as $S^{-1}A$-modules.
You would think the isomorphism is between $\frac{b}{s}\to \frac{b}{f(s)}$, but why is this an isomorphism. Doesn't that imply that f is injective? Why is this map invertible? Sorry if this is an obvious question, but why should these two rings be isomorphic intuitively?