Finding Zero Divisors and Units of Rings $\mathbb{Z}_n \times \mathbb{Z}_m$
How do I exactly find the zero divisors and units of a ring in the form of $\mathbb{Z}_n \times \mathbb{Z}_m$? For instance, how does one calculate zero divisors and units of $\mathbb{Z}_6 \times \mathbb{Z}_2$? I understand that a zero divisor is a non-zero element of $R$ such that $rs = 0$ for some other non-zero element $s$ in $R$. But I don't really quite understand how to apply that to a ring of the form $\mathbb{Z}_n \times \mathbb{Z}_m$. Also, the units of $\mathbb{Z}_6 \times \mathbb{Z}_2$ would be elements that send some element $s$ in $\mathbb{Z}_n \times \mathbb{Z}_m$ to the multiplicative identity, right? (which would be 1)? How do I apply these concepts to "product" rings? Thank you.
Solution 1:
Every element of the form $(x,y)$ with either $x$ or $y$ a zero divisor is a zero divisor.
Indeed, suppose $x$ is a zero divisor. Then $ax=0$ for some $a\ne0$, so $(a,0)(x,y)=(0,0)$. Similarly if $y$ is a zero divisor.
Conversely, if $(x,y)$ is a zero divisor, then either $x$ or $y$ is.
Indeed, if $(a,b)(x,y)=(0,0)$, with $(a,b)\ne(0,0)$, then either $a\ne0$ or $b\ne0$. If $a\ne0$, then $(a,0)(x,y)=(0,0)$ and similarly if $b\ne0$.
An element $(x,y)$ is a unit if and only if both $x$ and $y$ are units.
Since every element of $\mathbb{Z}_k$ is either a zero divisor or a unit, you should be able to finish.
Solution 2:
There are a few things to look for.
For any two rings $R,S$, and any two elements $r\in R, s\in S$, we have $(r,0)(0,s)=(0,0)$ in $R\times S$. Also, if $r_1,r_2\in R$ are non-zero elements such that $r_1r_2=0$, we have $(r_1,0)(r_2,0)=(0,0)$. Similarly for $s_1,s_2\in S$. You can even combine these three: $(r_1,0)(r_2,s)=(0,0)$, for instance.
As for units, if both $r\in R$ and $s\in S$ are invertible, then clearly $(r,s)$ is. If one of them, say $r$ is not a unit, then there is no $(r',s')\in R\times S$ such that $(r,s)(r',s')=(1,1)$, because $rr'$ cannot be $1$.