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

If $f: N \rightarrow Z$ is defined by $f(n)=\begin{cases} 2 & \text{if } n=3k, k \in Z \\ 10 & \text{if } n=3k+1, k \in Z \\ 0 & \text{if } n=3k+2, k \in Z \end{cases}$, then $\{n \in N: f(n)>2\}$ is equal to

If $A = \{x \mid x \in N, x \leq 5\}$ and $B = \{x \mid x \in Z, x^{2} - 5x + 6 = 0\}$,then the number of onto functions from $A$ to $B$ is:

Let $A = \{1, 2, 3, 4\}$ and $R : A \to A$ be the relation defined by $R = \{ (1, 1), (2, 3), (3, 4), (4, 2) \}$. The correct statement is

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

Let $A = \{x \in R : x \text{ is not a positive integer}\}$. Define a function $f : A \to R$ as $f(x) = \frac{2x}{x - 1}$. Then $f$ 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