Prove that the ring $(\Bbb Z_n, +_n, \cdot_n)$ is a commutative ring with unity.
I know how to prove this for a particular integer $n=5, 6 ,7$ etc but I don't know how to prove it for the general case $n$.
Prove that the ring $(\Bbb Z_n, +_n, \cdot_n)$ is a commutative ring with unity.
I know how to prove this for a particular integer $n=5, 6 ,7$ etc but I don't know how to prove it for the general case $n$.
Since you want to avoid thinking about $\mathbb{Z}_n$ as a quotient ring, write $\mathbb{Z}_n=\{[a]\mid a\in\mathbb{Z}\}$, where $$[a]=\{b\in\mathbb{Z}\mid a\equiv b \mbox{ (mod n) }\}$$ is the congruence class of $a$. Then, addition and multiplication are defined by $$[a]+[b]=[a+b]\;\;\mbox{ and }\;\;[a][b]=[ab].$$ We now have enough to prove that $\mathbb{Z}_n$ is a commutative ring (the ring structure being inherited from $\mathbb{Z}$). For example, associativity of addition can be proved as follows: $$ \begin{align} ([a]+[b])+[c]&=[a+b]+[c]\\&=[(a+b)+c]\\&=[a+(b+c)]\\&=[a]+[b+c]\\&=[a]+([b]+[c]). \end{align} $$ All the other axioms can be proved in the same manner.
Note that $R=\Bbb Z/n\Bbb Z$ is a quotient of the ring $\Bbb Z$, so if you let
$$\phi_n:\Bbb Z\to R$$
be the usual "mod n" map, then each element of $R$ is of the form $\phi_n(k)$ for some integer, $k$. But then
$$\phi(k_1)+\phi_n(k_2)=\phi_n(k_1+k_2)=\phi_n(k_2+k_1)=\phi_n(k_2)+\phi_n(k_1)$$
showing R is commutative because $\phi_n$ is a ring homomorphism. Similarly we can see that $phi_n(1)$ multiplies all elements of $R$ and preserves them as
$$\phi_n(1)\cdot\phi_n(k)=\phi_n(1\cdot k) = \phi_n(k)$$
The basic idea is that $R$ inherits almost all of its structure from $\Bbb Z$ which you already know a lot about, and homomorphisms preserve ring operations.
I feel like there is no way around looking at the integers modulo $n$ as a quotient ring of $\mathbb Z$. That is, it is a quotient ring of the form $\mathbb Z/I$ where $I=(n)=\{nz\mid z\in \mathbb Z\}$.
In fact, I don't think there's any reason not to prove that $R/I$ has a ring structure for any ideal $I$ in the ring $R$. The main requirement is to prove that the set of cosets $R/I=\{r+I\mid r\in R\}$ has two well-defined operations that make it a ring, namely:
$$ r+I+s+I=(r+s)+I $$
and
$$ (r+I)(s+I)=rs+I $$