If f:Z→Z is defined by f(x)={x2 if x even0 if x odd then f is
onto but not one to one
one to one but not onto
one to one and onto
neither one to one nor onto
f is not one – one as f(1) = f(3)
f is onto as Range = codomain
If f(x)={x, if whenx is rational0, if whenx is irrational;
g(x)={0, if whenx is rationalx, if whenx is irrational;
then(f−g) is