Question
f: Z → Z given by f(x) = x2

Answer

f: Z → Z is given by,
f(x) = x2
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) = x2 = -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

Similar questions

If $\begin{bmatrix}1&0\\\text{y}&5\end{bmatrix}+2\begin{bmatrix}\text{x}&0\\1&-2\end{bmatrix}=\text{I},$ where I is 2×2 unit matrix. Find x and y.
If A and B are square matrices of the same order, explain, why in general:
(A − B)2 ≠ A2 − 2AB + B2
Prove that the operation * on the set $\text{M}=\Bigg\{\begin{bmatrix}\text{a} & 0 \\0 & \text{b} \end{bmatrix};\text{ a, b}\in\text{R}-\{0\}\Bigg\}$ defined by A * B = AB is a binary operation.
Write matrix satisfying $\text{A}+\begin{bmatrix}2&3\\-1&4\end{bmatrix}=\begin{bmatrix}3&-6\\-3&8\end{bmatrix}.$
If f : C → C is defined by f(x) = x4, write f-1(1).
Write the value of $\tan^{-1}\Big(\frac{1}{\text{x}}\Big)$ for x < 0 in terms of $\cot^{-1}\text{x}.$
If $\vec{\text{c}}$ is a unit vector perpendicular to the vectors $\vec{\text{a}}$ and $\vec{\text{b}},$ write another unit vector perpendicular to $\vec{\text{a}}$ and $\vec{\text{b}}.$
Find the cosine of the angle between the vectors $4\hat{\text{i}}-3\hat{\text{j}}+3\hat{\text{k}}$ and $2\hat{\text{i}}-\hat{\text{j}}-\hat{\text{k}}.$
Let $\text{A}=\begin{bmatrix}2&4\\3&2\end{bmatrix},\text{B}=\begin{bmatrix}1&3\\-2&5\end{bmatrix}$ and $\text{C}=\begin{bmatrix}-2&5\\3&4\end{bmatrix}.$ Find each of the following:
$2\text{A}-3\text{B}$
If $\text{A}=\begin{bmatrix}2&3\\5&7\end{bmatrix},\text{ B}=\begin{bmatrix}-1&0&2\\3&4&1\end{bmatrix},\text{C}=\begin{bmatrix}-1&2&3\\2&1&0\end{bmatrix},$ find
A + B and B + C