Let $N$ be the set of natural numbers and two functions $f$ and $g$ be defined as $f, g : N \to N$ such that $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}$ and $g(n) = n - (-1)^n$. Then $fog$ is

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

Explore More

Similar Questions

$f: R \rightarrow R$ and $g:[0, \infty) \rightarrow R$ are defined by $f(x)=x^2$ and $g(x)=\sqrt{x}$. Which one of the following is not true?

If $f(x)=2x^{2}+bx+c$,$f(0)=3$ and $f(2)=1$,then $(f \circ f)(1)=$

For $x \in R, x \neq 0,$ let $f_0(x) = \frac{1}{1 - x}$ and $f_{n + 1}(x) = f_0(f_n(x)),$ $n = 0, 1, 2, ....$ Then the value of $f_{100}(3) + f_1\left( \frac{2}{3} \right) + f_2\left( \frac{3}{2} \right)$ is equal to

If $f:R \to R$ and $g:R \to R$ are given by $f(x) = |x|$ and $g(x) = |x|$ for each $x \in R$,then $\{ x \in R : g(f(x)) \le f(g(x)) \} = $

$f: R - \left(-\frac{3}{5}\right) \rightarrow R$ is defined by $f(x) = \frac{3x-2}{5x+3}$,then $f \circ f(1)$ 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