5.49 Determine which of the following are functions with the given domains X and codomains Y. For those that are functions, determine which are injective, surjective, or bijective:
(a) X=Y=Z and f = {(x, -3x) | x ∈ X}.
(b) X=[-1,0], Y = [-1,1], and f = {(x, y) ∈ X Y | x^2 + y^2 = 1}.
(c) X=[-1,1], Y = [-1,0], and f = {(x, y) ∈ X Y | x^2 + y^2 = 1}.
(d) X=[-1,0], Y = [-1,0], and f = {(x, y) ∈ X Y | x^2 + y^2 = 1}.
(e) X=Y=N and f = {(m, n + 1) ∈ N N | m has exactly n distinct prime factors}.
For example, (80, 3) ∈ f because 80 = 2^4 · 5 has two distinct prime factors.
(f) Y = {1, 2, 3, 4}, X = P(Y), and f = {(x, y) ∈ X Y | the smallest element of x is y}.
For example, ({1, 2, 4}, 1) ∈ f.