I am a little bit confused about this question. Suppose we have function $f: \mathbb R \to \mathbb R$ by $ x \to x^2$.This is homomorphism because $\mathbb R$ is abelian.
I know that if $kerf=\{0\} \iff$ $f$ is $1-1$
Now, $kerf=\{ x \in \mathbb R : f(x) = 0_{\mathbb R}=0 \} $ In this case, we have just $0$ belongs to $kerf$. Therefore, $f$ is $1-1$ but we have already known that $y=f(x) $ is not one-to-one. So, my question is where is the mistake? I cant see