Let $H\leq G$. Show that $H$ is normal iff $xHx^{-1}=H\space \forall x\in G$.
My textbook defines normal subgroup of $G$ as kernel of some homomorphism which has $G$ as domain.
I showed that if $H$ is normal, than $xHx^{-1}=H$ holds. Suppose $f$ is some homomorphism from $G$ with $H$ in the kernel. Consider $h\in H$. Then $f(xhx^{-1})=f(x)f(h)f(x^{-1})=f(x)f(x)^{-1}=e'$. So $xhx^{-1}$ lies in the kernel and $xHx^{-1}=H$.
Can you give me idea how to show that if $xHx^{-1}=H$ then $H$ is a kernel of some homomorphism from $G$?