I need to come up with two sets and functions called A, B that satisfy three conditions. The two functions are f: A ⇒ B and g: B ⇒ A. The three conditions are:
(i) Both functions must be onto.
(ii) f(g(x)) = x for all x in B
(iii) There exists y in A such that g(f(y)) ≠ y.
I'm thinking that the two sets should be the set of all positive integers and that only one of the functions should be one-to-one.