I am currently studying for an abstract algebra final exam. I am trying to disprove the statement "Consider the homomorphism $f: R \rightarrow S$ where R and S are rings. Prove/Disprove: If $a \in R$ is not a unit in $R$, then $s = f(a)$ is NOT a unit in S.
I know this is false because taking $f:\mathbb{Z}_6 \rightarrow \mathbb{Z}_3$,
then f looks like $f([a]_6) = [a]_3$. Then if we let $a = 4$, a is not a unit in $\mathbb{Z}_6$ because it's a zero divisor. However, $a$ IS a unit in $\mathbb{Z}_3$, because $[4]_3 = [1]$, which is a unit.
My trouble is coming in where proving $f:\mathbb{Z}_6 \rightarrow \mathbb{Z}_3$ is indeed a homomorphism.
Here is my attempt:
Let $a, b \in R$. So $a = 6n + r_1$ and $b = 6m + r_2$ for $n, m, r_1, r_2 \in \mathbb{Z}$. So
$f([a]_6 + [b]_6) = f(a) + f(b)$
$f([6n + r_1 + 6m + r_2]_6) = [6n + r_1]_3 + [6m + r_2]_3$
After this line, I'm not exactly sure how to convert the elements in $\mathbb{Z}_6$ to look like elements in $\mathbb{Z}_3$.
If anyone could help me out that would be greatly appreciated.
Remember to also check that $f$ is well-defined upto choice of representative. Here is how I would write the proof:
Fix $a + 6\mathbb{Z}, b + 6\mathbb{Z} \in \mathbb{Z}/6\mathbb{Z}$. Then,
$$ \begin{align} f((a + 6\mathbb{Z}) + (b + 6\mathbb{Z})) &= f((a + b) + 6\mathbb{Z}) \\ &= (a + b) + 3\mathbb{Z} \\ &= (a + 3\mathbb{Z}) + (b + 3\mathbb{Z}) \\ &= f(a + 6\mathbb{Z}) + f(b + 6\mathbb{Z}) \end{align} $$
You can similarly show that $1$ goes to $1$ and that multiplication is preserved (although the latter follows from the fact that addition is preserved).