Let $R$ be a ring and $M$ an $R$-module.
Suppose I know that
$$
M/A \cong M / B
$$
as $R$-modules and $A,B$ are submodules of $M$ such that $A \subseteq B$.
Is it then the case that $A = B$?
I was trying to figure out details of the accepted solution of Proving that the tensor product is right exact
We have
$$A\otimes_R M\xrightarrow{\alpha\otimes Id}B\otimes_R M\xrightarrow{\beta\otimes Id}C\otimes_R M\rightarrow 0$$
and from the solution it follows that: let
$D$ be the image of $\alpha \otimes \operatorname{Id}$ then $(B \otimes M)/D \to C \otimes M$
is an isomorphism (assuming we have already shown $\beta \otimes \operatorname{Id}$ is surjective). It follows that
$(B \otimes M)/D \cong (B \otimes M)/\ker (\beta \otimes \operatorname{Id})$, but I was wondering how I can show that $D = \ker (\beta \otimes \operatorname{Id})$ in fact equal assuming $D \subseteq \ker (\beta \otimes \operatorname{Id})$.... thank you