$M$ is an $R$-module and $N$, $P$, $Q$ are submodules of $M$.
If $Q\subset N $ then $N\cap(P+Q)=(N\cap P)+(N\cap Q)$. Why?
If we don't have the condition $Q\subset N $, is the equality $N\cap(P+Q)=(N\cap P)+(N\cap Q)$ true?
Please tell with example?
$M$ is an $R$-module and $N$, $P$, $Q$ are submodules of $M$.
If $Q\subset N $ then $N\cap(P+Q)=(N\cap P)+(N\cap Q)$. Why?
If we don't have the condition $Q\subset N $, is the equality $N\cap(P+Q)=(N\cap P)+(N\cap Q)$ true?
Please tell with example?
First the example: take two dimensional vector space over field $k$, $k^2$ with base $e_1$, $e_2$. Now if we set $N:=(e_1+e_2)$, $P=(e_1)$ and $Q=(e_2)$ equality does not hold.
The proof assuming that $Q\subset N$:
"$\subset$" Take any $x\in N\cap(P+Q)$ then $N\ni x=p+q$ for some $p\in P$ and $q\in Q$. We know that $Q\subset N$ so $q\in N$ and $p=x-q\in N$. This is what we wanted to show $p\in N\cap P$ and $q\in N\cap Q$ so $x=p+q\in N\cap P+N\cap Q$.
"$\supset$" Take $x\in N\cap P+N\cap Q$ then $x=p+q$ for some $p\in N\cap P$ and $q\in N\cap Q$. Obviously $x= p+q\in N$ and $x= p+q\in P+Q$ and we are done.