Recall that the cokernel of $f$ is defined as the quotient $N/\operatorname{Im} f$. Since $f$ is surjective, we have $\operatorname{Im} f = N$. Thus, coker $f = N/N \cong \{0\}$.
Now, let's prove the converse: if coker $f = \{0\}$, then $f$ is surjective.
If
Show more…