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

Answer

f: Z → 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

Similar questions

The probability distribution function oif a random variable X is given by
$X_i$ 0 1 2
$P_i$ $3c^3$ $4c - 10c^2$ $5c - 1$
Where $c > 0$
Find: $P(X < 2).$
Evaluate the following:
$\sec^{-1}\Big(\sec\frac{7\pi}{3}\Big)$
Prove that $\tan ^{-1} \frac{2}{3}=\frac{1}{2} \tan ^{-1} \frac{12}{5}$
Find the angle between two vectors $\vec a $ and $\vec b$ with magnitudes 1 and 2 respectively and when $\vec{a} \cdot \vec{b}=1$.
Determine the order and degree of the following differential equations. state also whether they are linear or non linear.
$\sqrt{1+\Big(\frac{\text{dy}}{\text{dx}}\Big)^2}=\Big(\text{c}\frac{\text{d}^2\text{y}}{\text{dx}^2}\Big)^{\frac{1}{3}}$
The equations of a line are given by $\frac{4-\text{x}}{3}=\frac{\text{y}+3}{3}=\frac{\text{z}+2}{6}.$ Write the direction cosines of a line parallel to this line.
Evaluate the following integrals:
$\int\frac{1}{1+\text{x}-\text{x}^2}\text{dx}$
For what value of $\lambda$ are the vectors $\vec{\text{a}}$ and $\vec{\text{b}}$ perpendicular to each other if
$\vec{\text{a}}=\lambda\hat{\text{i}}+2\hat{\text{j}}+\hat{\text{k}}$ and $\vec{\text{b}}=5\hat{\text{i}}-9\hat{\text{j}}+2\hat{\text{k}}$
Use product $\left[\begin{array}{ccc} {1} & {1} & {2} \\ {0} & {2} & {3} \\ {3} & {2} & {4} \end{array}\right]\left[\begin{array}{ccc} {2} & {0} & {1} \\ {9} & {2} & {3} \\ {6} & {1} & {2} \end{array}\right]$to solve the system of equations $x – y + 2z = 1, 2y – 3z = 1, 3x – 2y + 4z = 2$
If f, g : R → R be two functions defined as f(x) = |x| + x and g(x) = |x| – x, $\forall\ \text{x}\in\text{R}.$ Then find fog and gof. Hence find fog(-3), fog(5) and gof(-2).