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:

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

Explore More

Similar Questions

$A$ mapping from $\mathbb{N}$ to $\mathbb{N}$ is defined as follows: $f: \mathbb{N} \rightarrow \mathbb{N}$ where $f(n) = (n+5)^2$ for all $n \in \mathbb{N}$ (where $\mathbb{N}$ is the set of natural numbers). Then:

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$

Which one of the following functions is a bijection?

If $f: R \to R$,then $f(x) = |x|$ is

Let $A$ and $B$ be non-empty sets in $\mathbb{R}$ and $f : A \to B$ be a bijective function.
Statement $1$ : $f$ is an onto function.
Statement $2$ : There exists a function $g : B \to A$ such that $f \circ g = I_B$.

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