$A$ function $f$ from the set of natural numbers $\mathbb{N}$ to the set of integers $\mathbb{Z}$ is defined by $f(n) = \begin{cases} \frac{n-1}{2}, & \text{if } n \text{ is odd} \\ -\frac{n}{2}, & \text{if } n \text{ is even} \end{cases}$. The function $f$ is:

  • A
    One-one but not onto
  • B
    Onto but not one-one
  • C
    One-one and onto both
  • D
    Neither one-one nor onto

Explore More

Similar Questions

The function $f(x) = \frac{e^{2x} - 1}{e^{2x} + 1}$ is

Let $A$ be the set of all $3 \times 3$ scalar matrices with real entries. If $f: A \rightarrow R$ is defined by $f(M) = \operatorname{det}(M)$ for all $M \in A$,then $f$ is

The function $f: R \to R$ defined by $f(x) = x^2$ for all $x \in R$ is

The function $f(x) = x^{2} + bx + c$, where $b$ and $c$ are real constants, describes:

Let $f: N \rightarrow N$ be defined by $f(n) = \begin{cases} \frac{n+1}{2}; & \text{if } n \text{ is odd} \\ \frac{n}{2}; & \text{if } n \text{ is even} \end{cases}$. 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