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

If $f(x)=e^x$ and $h(x)=(f \circ f)(x)$, then $\frac{h^{\prime}(x)}{h(x)}=$

If $f(x) = \begin{cases} \sin x, & x \ne n\pi, n \in \mathbb{Z} \\ 2, & \text{otherwise} \end{cases}$ and $g(x) = \begin{cases} x^2 + 1, & x \ne 0, 2 \\ 4, & x = 0 \\ 5, & x = 2 \end{cases}$,then $\lim_{x \to 0} g(f(x))$ is

If $f(x) = \frac{(\tan 1^{\circ}) x + \log_{e}(123)}{x \log_{e}(1234) - (\tan 1^{\circ})}$,$x > 0$,then the least value of $f(f(x)) + f(f(4/x))$ is $...........$.

Consider functions $f: A \rightarrow B$ and $g: B \rightarrow C$ $(A, B, C \subseteq \mathbb{R})$ such that $(g \circ f)^{-1}$ exists. Then:

Let the functions $f: R \rightarrow R$ and $g: R \rightarrow R$ be defined as $f(x) = \begin{cases} x+2, & x < 0 \\ x^2, & x \geq 0 \end{cases}$ and $g(x) = \begin{cases} x^3, & x < 1 \\ 3x-2, & x \geq 1 \end{cases}$. Then,the number of points in $R$ where $(f \circ g)(x)$ is $NOT$ differentiable is equal to

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