Let $\phi: G_1 \rightarrow G_2$ be a group homomorphism. Let $K$ = {$g$ | $f(g) = e_2$}, where $e_2$ is the identity element of $G_2$. Let $R$ be the equivalence relation s.t. $aRb$ if $f(a) = f(b)$ for some map $f: X \rightarrow Y$. Show that $g_1 R g_2$ if and only if $g_1 ^{-1} g_2 \in K$.
How do I show that this is true? We start with $\phi(g_1$) = $\phi(g_2$), right? But how does that relate to $K$? What I have so far is:
If $g_1 ^{-1} g_2 \in K$, then $\phi(g_1 ^{-1} g_2)$ = $e_2$. By the homomorphic property, $\phi(g_1 ^{-1} g_2)$ = $\phi(g_1 ^{-1}$)$\phi(g_2)$ = $e_2$. But this is where I get stuck.
Any help would be great. Thank you.
If you want to show it yourself, the trick is seeing that $\phi(g^n) = \phi(g)^n$ (for $n\in\mathbb Z$, and importantly for $n = -1$).
I've included both proofs below:
$f(a) = f(b)\implies b^{-1}a\in K$
$b^{-1}a\in K\implies f(a) = f(b)$
For a proof of $\phi(g^n) = \phi(g)^n$, see below: