Primary decomposition of modules - uniqueness proof 
Let $M$ be $A$-module, $A$ commutative ring, and $N$ submodule and let
  $$N=Q_1\cap\dots\cap Q_r=Q'_1\cap \dots \cap Q'_s$$ be reduced primary decompositions of $N$. Then $r=s$. The set of primes belonging to $Q_1,\dots,Q_r$ and $Q'_1,\dots,Q'_r$ is the same.

It is part of theorem 3.2 in Chapter X of Lang's Algebra, and he said that proof follows from this theorem (3.5):

Let $A$ and $M$ be Noetherian. The associated primes of $M$ are precisely the primes belonging to the primary modules in a reduced primary decomposition of $0$ in $M$.

I don't see how it follow from this proof since we need both module and ring to be Noetherian in second theorem? Is there some direct proof for first statement (I tried to prove it myself but without success).
Just some definitions for clarity: 


*

*Submodule $Q$ of $M$ is primary if for every $a\in A$ function $a_{M/Q}:M\rightarrow M$, $a_{M/Q}(x)=ax$ is either injective or nilpotent. And set of all $a\in A$ for which that function is nilpotent is prime ideal which belongs to $Q$.

*Primary decomposition is reduced if primes that belong to different submodules in decompositions are distinct.



If $N=Q_1\cap\cdots\cap Q_n$ is a reduced primary decomposition, and $P_i=\sqrt{Q_i}$, then $\operatorname{Ass}(M/N)=\{P_1,\dots,P_n\}$.

We have an exact sequence $0\to M/N\to\bigoplus_{i=1}^n M/Q_i$. Then $\operatorname{Ass}(M/N)\subseteq\operatorname{Ass}(\bigoplus_{i=1}^n M/Q_i)$. But $\operatorname{Ass}(\bigoplus_{i=1}^n M/Q_i)=\bigcup_{i=1}^n\operatorname{Ass}(M/Q_i)=\{P_1,\dots,P_n\}$.
For the converse, pick up an $x_i\in\bigcap_{j\ne i}Q_j\setminus Q_i$. Now notice that the submodule $Ax_i$ of $M/N$ is isomorphic to the submodule $Ax_i$ of $M/Q_i$ and hence they have the same associated prime ideals. But on one hand $\operatorname{Ass}(Ax_i)\subseteq\operatorname{Ass}(M/N)$, and on the other hand $\operatorname{Ass}(Ax_i)\subseteq\operatorname{Ass}(M/Q_i)=\{P_i\}$. In order to conclude now that $P_i\in\operatorname{Ass}(M/N)$ we have to be sure that $\operatorname{Ass}(Ax_i)\neq\emptyset$, and this requires the assumption $A$ noetherian (no assumption on $M$ is needed!).
