How many distinct ring homomorphisms are there from Z to Z? From Z x Z to Z?
I'm a little lost as to what this question is asking. So far I'm guessing all ring homomorphisms from Z to Z would be of form $$x\rightarrow ax$$ But I'm kind of lost conceptually on how to think about this. Any help greatly appreciated.
For see all rings homomorphism $f:\Bbb Z\rightarrow \Bbb Z$ you can remember that $f$ is also a abelian group homomorphism and $\Bbb Z$ is a cyclic group. Then there exists only two homomorphism, the identity and $f(x)=-x$ and they are also ring homomorphism.
On other hand, if $f:\Bbb Z\times \Bbb Z\rightarrow \Bbb Z$ is a ring homomorphism such that $f(a,b)=1$. And considered $f(1,0)=m$, $f(0,1)=n$. I assume that you definition of ring homomorphism consider that $f(1)=1$. So how many different values or a and b you have?