Given f(x)=∣x−1∣ and g(x)={ex,x+1,x≥0x≤0
We need to analyze f(g(x))=∣g(x)−1∣.
Case 1: x≥0
g(x)=ex≥1, so f(g(x))=∣ex−1∣=ex−1.
Case 2: x≤0
g(x)=x+1. When x=0, g(0)=1. When x<0, g(x)<1.
f(g(x))=∣x+1−1∣=∣x∣=−x (since x≤0).
So f(g(x))={ex−1,−x,x≥0x≤0
At x=0: e0−1=0 and −0=0. Continuous.
One-one check:
For x≥0: ex−1 is strictly increasing from 0 to ∞.
For x≤0: −x is strictly decreasing (as a function of x) from ∞ to 0.
Both parts give non-negative outputs, and both give value 0 at x=0. For any c>0, there are two values of x giving f(g(x))=c: one positive (from ex−1=c) and one negative (from −x=c, i.e., x=−c). So the function is not one-one.
Onto check:
The range of f(g(x)) is [0,∞), but the codomain is R. Negative values are never attained. So it is not onto.
The correct answer is Option (1): neither one-one nor onto.