Let ƒ, g : R → R be defined as : ƒ(x) = |x – 1| and \(\rm g(x)=\left\{\begin{matrix}e^x,& x\ge0\\\ x+1, &x\le0\end{matrix}\right.\) Then the function f(g(x)) is
1
neither one-one nor onto.
2
one-one but not onto.
3
both one-one and onto.
4
onto but not one-one.