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}$,for all $n \in N$ then $f$ is $\dots \dots \dots$

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

Explore More

Similar Questions

In each of the following cases,state whether the function is one-one,onto or bijective. Justify your answer. $f : R \rightarrow R$ defined by $f(x) = 1 + x^2$.

The function $f(x) = \sin (\log (x + \sqrt {x^2 + 1}))$ is

Let $A = \{x_1, x_2, \dots, x_7\}$ and $B = \{y_1, y_2, y_3\}$ be two sets containing seven and three distinct elements respectively. The total number of onto functions $f : A \to B$ such that there exist exactly three elements $x$ in $A$ with $f(x) = y_2$ is equal to:

Show that the function $f : R \rightarrow \{ x \in R : -1 < x < 1 \}$ defined by $f(x) = \frac{x}{1+|x|}$ for all $x \in R$ is a one-one and onto function.

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