JEE Main 2019 (10 Jan Shift 2) Mathematics: Sets, Relations & Functions

Multiple choice, one correct option Memory based Sets, Relations & Functions

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

  1. (1)

    onto but not one-one

  2. (2)

    Both one-one and onto

  3. (3)

    One-one but not onto

  4. (4)

    Neither one-one nor onto

Show answer

Option (1) is correct.

Key from source paper

See the step-by-step solution in EdLoop

The worked solution is in the EdLoop app, free on Android, with every other Sets, Relations & Functions question from 2002 to 2026.

Mathematics Sets, Relations & Functions question from JEE Main 2019 (10 Jan Shift 2) (JEE Main exam). Memory-based papers are reconstructed from candidates' memory by coaching institutes.

All JEE Main Sets, Relations & Functions PYQs (321 questions)