0

How can I show $\phi:\mathbb{Z}_m \to \mathbb{Z}_n$ defined by

$$ \phi(k) = k\mod{n} $$

satisfies $\phi(k +_m l) = \phi(k)+_n \phi(l)$ when $n\mid m$.

I have tried using remainder terms but the solution gets messy as I have mod n's and m's and cant get rid of them.

Bernard
  • 175,478
math111
  • 326

1 Answers1

0

You know that $nq=m$ for some integer $q$.

Then you have that $m\in (n)$, in other words $m\equiv_{n}0$.

So if you have $a\equiv_{m}b$, this implies that $a-b\equiv_{m} 0$, and $a-b\equiv_{n} 0$, and therefore $a\equiv_{n}b$.

If you apply this same argument to $k+l\equiv_{m} k'+l'$, you will have that $k+l\equiv_{n} k'+l'$, and you will get your prove.