Question
Mathematics Question on Functions
Let f,g:R→R be defined as: f(x)=∣x−1∣ and g(x)={ex, x+1,x≥0x≤0 Then the function f(g(x)) is
neither one-one nor onto.
one-one but not onto.
both one-one and onto.
onto but not one-one.
neither one-one nor onto.
Solution
To find f(g(x)), we first evaluate g(x) based on the value of x.
g(x)={ex, x+1,x≥0x≤0
The function f is defined as f(x)=∣x−1∣. Therefore, we have: f(g(x))=∣g(x)−1∣.
Case 1: When x≥0
f(g(x))=∣ex−1∣.
Case 2: When x≤0
f(g(x))=∣x+1−1∣=∣x∣=−x(since x≤0).
Analysis of f(g(x)) - For x≥0, f(g(x))=∣ex−1∣ is neither one-one nor onto because it cannot cover all values in the codomain (as it is non-negative). For x≤0, f(g(x))=−x is also neither one-one nor onto due to its behavior as a non-injective transformation on the interval.
Therefore, the function f(g(x)) is neither one-one nor onto.