If $M_1$ and $M_2$ are R-modules, $R$ commutative. Show that $M_1 \oplus M_2$ is flat $\iff M_1$ and $M_2$ are both flat
My try:
By definition an $R$-module $P$ is defined to be flat if the functor $-\otimes_R P$ is exact
$(\implies)$
Suppose $M_1 \oplus M_2$ is flat , ie $-\otimes_R (M_1 \oplus M_2)$ is exact, ie it preserve short exact sequences.
Let $0 \to M' \to M \to M'' \to 0$ be a s.e.s
then $0 \to M'\otimes_R (M_1 \oplus M_2) \to M\otimes_R (M_1 \oplus M_2) \to M''\otimes_R (M_1 \oplus M_2) \to 0$ is short exact
$\iff$
$0 \to (M'\otimes_R M_1)\oplus (M' \otimes_R M_2) \to (M\otimes_R M_1)\oplus (M \oplus M_2) \to (M''\otimes_R M_1)\oplus (M'' \otimes_R M_2) \to 0 \tag {*}$
is short exact
To prove that $M_1$ is short exact I would like to get
$0 \to (M'\otimes_R M_1) \to (M\otimes_R M_1) \to (M''\otimes_R M_1) \to 0$
and similarly for $M_2$.
However I don't know how to get rid of the second summands in (*) to get what I want.
I am stuck here
$(\impliedby)$:
Let $M_1, M_2 $ be short exact, ie $-\otimes_R M_1 , -\otimes_R M_2$ are exact, ie they preserve short exact sequences.
Let $0 \to M' \to M \to M'' \to 0$ be a s.e.s
then $0 \to M'\otimes_R M_1 \to M\otimes_R M_1 \to M''\otimes_R M_1 \to 0$
and $0 \to M'\otimes_R M_2 \to M\otimes_R M_2 \to M''\otimes_R M_2 \to 0$
are short exact
Then I read in many places that the sum of two short exact sequences is exact (although I would like a proof of this)So using this
$0 \to (M'\otimes_R M_1)\oplus (M' \oplus M_2) \to (M\otimes_R M_1)\oplus (M \oplus M_2) \to (M''\otimes_R M_1)\oplus (M'' \oplus M_2) \to 0 $
is short exact
which is the same as
$0 \to M'\otimes_R (M_1 \oplus M_2) \to M\otimes_R (M_1 \oplus M_2) \to M''\otimes_R (M_1 \oplus M_2) \to 0$ is short exact
is short exact. Therefore we have the thesis
1) How do I complete my argument in $(\implies)$ ? Or how would you prove it?
2) Is $(\impliedby)$ correct?