If $f: Z \rightarrow N$ is defined by $f(n) = \begin{cases} 2n, & \text{if } n > 0 \\ 1, & \text{if } n = 0 \\ -2n-1, & \text{if } n < 0 \end{cases}$,then the function $f$ is:

  • A
    one-one but not onto
  • B
    onto but not one-one
  • C
    both one-one and onto
  • D
    neither one-one nor onto

Explore More

Similar Questions

Let $A=\{1,2,3\}, \,B=\{4,5,6,7\}$ and let $f=\{(1,4),\,(2,5),\,(3,6)\}$ be a function from $A$ to $B$. Show that $f$ is one-one.

Let $f: R \rightarrow R$ be defined by $f(x) = x^{2} - \frac{x^{2}}{1+x^{2}}$ for all $x \in R$. Then,

If $f: \{1, 2, 3, 4\} \to \{1, 2, 3, 4\}$ is a function such that $|f(\alpha) - \alpha| \leqslant 1$ for all $\alpha \in \{1, 2, 3, 4\}$,then the total number of such functions is:

Let a function $f: (0, \infty) \to (0, \infty)$ be defined by $f(x) = |1 - \frac{1}{x}|$. Then $f$ is

The function $f: N-\{1\} \rightarrow N$ defined by $f(n) = \text{the highest prime factor of } n$ is:

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo