Let $f:G\to G$ be a homomorphism such that $f\circ f = f$. Prove that if $im(f)$ is normal in $G$, then $G = \ker(f) \times{\rm im}(f)$. Hint: If $x\in G$, then $x = [xf(x^{-1})]f(x)$.
My first try:
We know ${\rm im}(f)\in G$. Let $g\in G$ but $g\not\in {\rm im}(f)$.
Let $x\in {\rm im}(f)$. Since ${\rm im}(f)$ is normal in $G$, we know:
$$gxg^{-1} = x$$
Applying $f$ to both sides, we get:
$f(gxg^{-1}) = f(x)$ and since $f$ is a homomorphism, we know:
$$f(gxg^{-1}) = f(g)f(x)f(g^{-1})$$
So $f(g)f(x)f(g^{-1}) = f(x)$.
I need to some how prove that $f(g) = e$, so that $g\in \ker(f)$, does anyone know what to do next, or if this method will even work?
The hint shows that $\rm{im}f\cdot\rm{ker}f=G$, and follows from the homomorphism property.
It remains to show $\rm{im}f\cap\rm{ker}f=\{e\}$. Let $h\in\rm{im}f\cap\rm{ker}f$. Then $h=f(g)=f\circ f(g)=f(h)=e$.
Since both the image and the kernel of $f$ are normal, we have the result.