JEE Main 2019 · 10 Jan · Shift II

JEE Main 2019 Mathematics question on Sets Relations and Functions

Let NN be the set of natural numbers and two functions ff and gg be defined as f,g:N⟶Nf, g: N \longrightarrow N such that
f(n)={n+12if n is oddn2if n is evenf(n) = \begin{cases} \dfrac{n+1}{2} & \text{if } n \text{ is odd} \\ \dfrac{n}{2} & \text{if } n \text{ is even} \end{cases}
and g(n)=n−(−1)ng(n) = n - (-1)^n. Then, fogfog is
  1. A.
    onto but not one-one
  2. B.
    both one-one and onto
  3. C.
    one-one but not onto
  4. D.
    neither one-one nor onto
Show answer

Correct option: B

[JEE Main 2019 · 10 Jan · Shift II]

Practise Sets Relations and Functions the way it is asked

A timed set of real JEE Main Sets Relations and Functions questions, graded as the exam grades. No sign-up.

Start a Sets Relations and Functions test

More: all JEE Main Sets Relations and Functions questions · JEE Main 2019 · Mathematics chapter list