$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

Let $E = \{ 1, 2, 3, 4 \} $ and $F = \{ 1, 2 \} $. Then the number of onto functions from $E$ to $F$ is

If $f: R \rightarrow R$ is defined as $f(x)=x^2-2x-3$,then $f$ is

The number of functions $f:[0,1] \rightarrow [0,1]$ satisfying $|f(x)-f(y)|=|x-y|$ for all $x, y \in [0,1]$ is

Let $R$ be the set of real numbers and $f: R \rightarrow R$ be defined by $f(x) = \frac{\{x\}}{1+[x]^2}$,where $[x]$ is the greatest integer less than or equal to $x$,and $\{x\} = x-[x]$. Which of the following statements are true?
$I.$ The range of $f$ is a closed interval.
$II.$ $f$ is continuous on $R$.
$III.$ $f$ is one-one on $R$.

Let $f: R \rightarrow R$ be defined as $f(x)=x^{4}$. Choose the correct answer.

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