Let A = P({1, 2, 3, 4}). Let f, g and h be the following functions.
f : A → A defined by f(X) = X ∩ {1, 4}.
g : A → Z defined by g(X) = {-1 if x={} }, {the smallest amount of X if x=/={}}
the smallest element of X if X 6= {}.
h : {1, 2, 3, 4} → A defined by h(x) = {1, 2, 3, 4} − {x}.2. (i) Is f one-to-one?
(ii) Is g one-to-one?
(iii) Is h one-to-one?
My attempt: (i) f is one-to-one. If f(x1)=f(x2) for x{1}, x{2} in R. then x1 ∩ {1, 4}=x2 ∩ {1, 4}, which makes x1=x2.
(ii) g is not one to one, since g({1,2})=1, g({3,4})=3