Let $R$ be a commutative ring and $M,N$ be $R$-modules. Does $M \oplus N \cong M$ imply that $N = 0$?
I would think that $M \oplus N \cong M$ implies that $(M \oplus N)/M \cong M/M = 0$, but is that true? And if yes, how would the first isomorphism induce the second one? Sorry if this question has been answered before, I could not find an answer.
Edit: And what if $M$ is assumed to be finitely generated?