Is a surjective maps from a projective module to another projective module bijection? Let $M$ and $N$ be projective $A$-modules. If we know that $f: M \to N$ is surjective and $g: N \to M$ is surjective, can we conclude that $M$ is isomorphic to $N$? More generally, if $M$ and $N$ are not necessarily projective, can we conclude that $M$ is isomorphic to $N$? 
I am asking this question because it seems that in the first four lines of page 30 of the book elements of representation theory of associative algebras volumn 1 (see the picture below), it is said that g is a surjective map $P'$ to $P(M)$ and g' is a surjective map from $P(M)$ to $P'$ imply that g is a bijection. Thank you very much.


As noted in the comments and the answer by Bob, this does not hold in general. What holds in general is that if you have a surjective map (i.e. epimorphism) $f:M\to P$. Then $P$ is a direct summand of $M$.
However, there are some general assumptions in the book you are reading. One that is crucial here is that $A$ is finite dimensional and the modules, they are talking about are finite dimensional. And this implies that if you have surjective maps $f:M\to N$ and $g:N\to M$, then $\dim M=\dim N$. And furthermore $$\dim M=\dim \operatorname{ker} f + \dim\operatorname{im} f=\dim \operatorname{ker} f+ \dim M.$$
Hence $f$ is also injective and hence an isomorphism.
This can be a made a bit more general: It holds whenever $M$ and $N$ are of finite length.
