I have the function $f:\Bbb Z_{8}\rightarrow \Bbb Z_4$ without any particular expression associated.
- How many surjective functions $f:\Bbb Z_{8}\rightarrow \Bbb Z_4$?
- How many of them are a homomorphism of rings? What are they?
For the first question, I reasoned as follows. The elements of $\Bbb Z_8 $ are 0,1,2,3,4,5,6,7 and the elements of $\Bbb Z_4$ are 0,1,2,3,4. So if I calculate the preimage of each element in $\Bbb Z_4$ I obtain two elements of codomain for each. For example for $[0]_4$ I have $[0]_8, [4]_8$. Is it a good approach?
For the second question, I'm a bit confused. I need to provide and count how many possible expressions are there such that the function is a ring homomorphism?
There exist two Ring Homomorphisms which are: f(a) = 0 (the trivial map) and f(a) = a (Identity map)
I hope this is helpful, let me know if you need proper explaination to the approach.
Edit : We use 2 properties of homomorphism: P1)Homomorphic image of idempotent is idempotent. P2)Order of 'f(a)' divides order of 'a'. Basically, we try to find images of the idempotents in Z8. Aim: Find all possible images of '1' (an idempotent in Z8). Collect all the idempotents in Z4 i.e. 0 & 1. So, these can be the only "possible" images of 1 in Z4(by P1). Now we find their orders in Z4 which are 1 & 4 respectively. By P2 order of f(1) must divide order of 1(in Z8) which is 8. Choose all those idempotents in Z4 whose order divides 8.Here, 0 & 1both satisfy the required condition.Therefore 1->0,1 & so a->0,a (ofc under operation mod4)