Let f:R→R be defined as f(x)=x−1 and g:R−{1,−1}→R be defined as g(x)=x2−1x2.
Then the function fog is :
(A)one-one but not onto function
(B)onto but not one-one function
(C)both one-one and onto function
(D)neither one-one nor onto function✓ Correct
Answer: (D)
Solution
First compute f(g(x))=g(x)−1=x2−1x2−1=x2−1x2−(x2−1)=x2−11 for x=±1.
Since f(g(x))=x2−11 is an even function (f(g(−x))=f(g(x))), it is many-one (not one-one).
For the range: Let y=x2−11. Then y(x2−1)=1, so x2=y1+y. For real x, we need y1+y≥0, which gives y∈(−∞,−1]∪(0,∞). Since the range = codomain R, the function is not onto.
Therefore, f∘g is neither one-one nor onto.
JEE Main · 2022 · 26 Jun 2022 · Shift 2 · Single correct option