Lemma (direct sum of quotient modules)

Let $M_1, \ldots, M_k$ be modules, with submodules $N_i\leq M_i$ for each $i$. Then $$ \begin{align*} \bigoplus_{i=1}^k (M_i/N_i) \isom \left(\bigoplus_{i=1}^k M_i\right)/\left(\bigoplus_{i=1}^k N_i\right). \end{align*} $$

Proof