Question
$f : Z \rightarrow Z$ given by $f(x) = x^2$

Answer

$f : Z \rightarrow Z$ is given by,
$f(x) = x^2$
It is seen that for $f(= 1) = f(1) = 1,$ but $-1\neq1.$
$\therefore f$ is not injective.
Now$, -2\in\text{Z}.$
But, there does not exist any element $\text{x}\in\text{Z}$ such that $f(x) = x^2 = -2$.
$\therefore f$ is not surjective.
Hence, function $f$ is neither injective but not surjective.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free