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

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

If $f$ is an increasing function and $g$ is a decreasing function, and $fog$ is defined, then what kind of function is $fog$?

$f(x) = (20 - x^4)^{1/4}$ for $0 < x < \sqrt{5}$, then $f(f(1/2))$ is equal to

If $g(f(x)) = |\sin x|$ and $f(g(x)) = (\sin \sqrt{x})^2$,then

Let $S, T, U$ be three non-void sets and $f: S \rightarrow T, g: T \rightarrow U$ and the composed mapping $g \circ f: S \rightarrow U$ be defined. If $g \circ f$ is an injective mapping, then:

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