下列集合A到集合B的队员f是映射的是

问题描述:

下列集合A到集合B的队员f是映射的是
(A)A={-1,0,1},B={-1,0,1},f:A中的数平方
(B))A={0,1},B={-1,0,1},f:A中的数开方

(A)
f(x)= x^2
f(-1) = 1
f(0) = 0
f(1) = 1
f(x) ∈ B, for all x ∈ A
then f is a mapping :A->B
(B)
g(x) = √x
g(0) =0
g(1) = √1 =1
g(x) ∈ B, for all x ∈ A
then g is a mapping :A->B