JEE Main
Functions PYQJEE Main 2019 (Online) 10th January Evening Slot
MCQ+4 / -12019
Let N be the set of natural numbers and two functions f and g be defined as f, g : N N such that
f(n) = ;
and g(n) = n ( 1)n.
Then fog is -
f(n) =
and g(n) = n
Then fog is -
Solution
Correct option: B
Step 1
The function
Step 2
Now apply
Step 3
For example,
Step 4
Every natural number is attained as an output by suitable odd/even inputs, so the function is onto.
Step 5
Therefore,
