Let $M,N$ be $R$-modules; $A \subset M, B \subset N$ be their respective submodules. Show$\frac {M\oplus N}{ A\oplus B} \simeq \frac M A\oplus \frac N B$.
This is a book excercise I was working on, below is the proof I have been working on; I wanted to know if I made any mistakes.
Let $A'$ be a submodule where $A \oplus A'=M$ and $B'$ be a submodule where $B \oplus B'=N$.
LHS $\simeq \frac {A \oplus A' \oplus B \oplus B'}{A\oplus B} \simeq A' \oplus B'$
$\frac M A \simeq \frac {A \oplus A'}A \simeq A'$ and $\frac N B \simeq \frac {B \oplus B'}B \simeq B' \Rightarrow $ RHS $\simeq A' \oplus B'$
LHS=RHS
Your argument is wrong. In general you cannot find $A'$ such that $A\oplus A'=M$.
An example: $R=\mathbb{Z}$, $M=\mathbb{Z}$ and $A=2\mathbb{Z}$.
Consider the homomorphism $$ M\oplus N\to\frac{M}{A}\oplus\frac{N}{B}, \qquad (x,y)\mapsto (x+A,y+B) $$ What's the kernel? Is the homomorphism surjective?