The correct option is C f:{0,1,4}→{−2,−1,0,1,2}f(x)=−√x
{−1,0,1}→{0,1,2,3}f(x)=x2+3
f(−1)=4 doesn't belong to the codomain.
∴f is not a function.
{0,1,2}→{−2,−1,0,1,2}f(x)=√x
f(2)=√2 doesn't belong to the codomain.
∴f is not a function.
{0,1,4}→{−2,−1,0,1,2}f(x)=−√x
Now,
f(0)=0, f(1)=−1, f(4)=−2
The range of the function is subset of the codomain given, so it is a function by definition.
{−2,−1,0,1,2}→{−1,0,1}f(x)=−|x|
f(2)=−2 doesn't belong to the codomain.
∴f is not a function.