I find a similar post, which is Describe all ring homomorphisms from Z×Z into Z.
I also know the difference between group and ring. But in this case, from ZxZ into Z, I'm so confused. The textbook I'm using has very few examples of group homomorphisms on Z.
How can I solve this problem? Thank you!