1. For a function f : Z → Z, let R be the relation on Z given by xRy iff f(x) = f(y).
(a) Prove that R is an equivalence relation on Z.
(b) If for every x ? Z, the equivalence class of x, [x], contains exactly one element, what can be said about the function f?