(a) Let f:X→Y be a function. Show that the following statements are equivalent.
(i) f is injective.
(ii) For every subset A⊂X we have f−1(f(A))=A.
(iii) For every pair of subsets A,B⊂X we have f(A∩B)=f(A)∩f(B).
(b) Let f:X→X be an injection. Show that X=A∪B for some subsets A,B⊂X such that
n=1⋂∞fn(A)=∅ and f(B)=B
[Here fn denotes the n-fold composite of f with itself.]