Show that the following map is a group homomorphism and find its kernel. State whether the mapping is injective or surjective.
$\phi : \mathbb{Z} \to (\{1,-1\},{\times})$ by $\phi(a) = (-1)^{a}$
$\phi(a+b) = (-1)^{(a+b)} = (-1)^{a} (-1)^{b} = \phi(a) \phi(b) $
I do not understand why the book says the kernel is $= 2\mathbb{Z}$?
How is this the identity element in the mapping?
And how to identify whether this is surjective or injective?