Given $\phi : \mathbb{Z}_{6} \rightarrow \mathbb{Z}_{36}$ and $\phi ([a]_{6})=[a]_{36}$, verify that $\phi$ is a well-defined function.
My understanding is that well-defined is the converse of injective. So given a function $f:A\rightarrow B$, $f$ is well-defined when for $a = b$ in $A$, then $f(a) = f(b)$ in $B$.
Attempting to apply this definition, this is where I end up:
Say $[a]_6 = [b]_6$
$\Rightarrow 6$ | $(a - b)$
$\Rightarrow 36$ | $6(a - b)$
$\Rightarrow 36$ | $(6a - 6b)$
So $[6a]_{36} = [6b]_{36}$
Which is not $\phi([a]_{6}) = \phi([b]_{6})$
Does this show that $\phi$ is not a well-defined function? If not, where am I going wrong?
$\phi$ is not well defined.
$[6]_6 = [12]_6$ because $6 | 12 - 6$ but $[6]_{36} \ne [12]_{36}$ since $36 \nmid 12 - 6$.