I try to understand André Caldas' answer of the proof of $(\mathbb{Z}/m\mathbb{Z}) \otimes_\mathbb{Z} (\mathbb{Z} / n \mathbb{Z}) \cong \mathbb{Z}/ \gcd(m,n)\mathbb{Z}$:
In his answer, he defines a map $$ \begin{array}{rlrl} g: & \mathbb{Z} & \rightarrow & (\mathbb{Z}/m\mathbb{Z}) \otimes_\mathbb{Z} (\mathbb{Z} / n \mathbb{Z}) \\ & z & \to & z (1 \otimes 1) \end{array} $$ whose kernel contains the ideal generated by $\gcd(m,n)$. Now I would like to elaborate why $\mathrm{ker}(g) \subset \langle \mathrm{gcd}(m,n) \rangle$.
My approach:
- Since $\langle \mathrm{gcd}(m,n) \rangle \subset \mathrm{ker}(g)$, the map $g$ factors through a map $$\bar{g}: \mathbb{Z}/\gcd(m,n)\mathbb{Z} \to (\mathbb{Z}/m\mathbb{Z}) \otimes_\mathbb{Z} (\mathbb{Z} / n \mathbb{Z}).$$ If I would be able to show that this is an isomorphism, then $\mathrm{ker}(g) \subset \langle \mathrm{gcd}(m,n) \rangle$ follows.
- In the same post, it is claimed that
$$
f: (\mathbb{Z}/m\mathbb{Z}) \otimes_\mathbb{Z} (\mathbb{Z} / n \mathbb{Z} )\to \mathbb{Z}/\gcd(m,n)\mathbb{Z}
$$
defined by $f(a \otimes b) = ab \mod \gcd(m,n)$ is the inverse map of $\bar{g}$ and I am trying to understand why this is the case.
Now I am not sure how much I have to do to show the well-definedness of this map.
I think one has to show that if $a,a',b,b' \in \mathbb{Z}$ such that $a = a'$ in $\mathbb{Z}/m\mathbb{Z}$ and $b = b'$ in $\mathbb{Z}/n\mathbb{Z}$, it must be $f(a \otimes b) = f(a' \otimes b')$. But do we have to also check the criteria from the tensor product because the tensor product can also be defined through a quotient? For instance, do I have to check if $f((a+a')\otimes b - a \otimes b - a' \otimes b) = 0$ too?
I would like to mention that although the universal property is nice, I would like to find an explanation without it since this problem was given to us before we learned about the universal property.
Could you please help me with this problem too? Thank you very much!