Solveeit Logo

Question

Mathematics Question on Functions

Let f,g:RRf, g: \mathbb{R} \rightarrow \mathbb{R} be defined as: f(x)=x1f(x) = |x - 1| and g(x)={ex,x0 x+1,x0g(x) = \begin{cases} e^x, & x \geq 0 \\\ x + 1, & x \leq 0 \end{cases} Then the function f(g(x))f(g(x)) is

A

neither one-one nor onto.

B

one-one but not onto.

C

both one-one and onto.

D

onto but not one-one.

Answer

neither one-one nor onto.

Explanation

Solution

To find f(g(x))f(g(x)), we first evaluate g(x)g(x) based on the value of xx.

g(x)={ex,x0 x+1,x0g(x) = \begin{cases} e^x, & x \geq 0 \\\ x + 1, & x \leq 0 \end{cases}

The function ff is defined as f(x)=x1f(x) = |x - 1|. Therefore, we have: f(g(x))=g(x)1.f(g(x)) = |g(x) - 1|.

Case 1: When x0x \geq 0

f(g(x))=ex1.f(g(x)) = |e^x - 1|.

Case 2: When x0x \leq 0

f(g(x))=x+11=x=x(since x0).f(g(x)) = |x + 1 - 1| = |x| = -x \quad \text{(since $ x \leq 0 $)}.

Analysis of f(g(x))f(g(x)) - For x0x \geq 0, f(g(x))=ex1f(g(x)) = |e^x - 1| is neither one-one nor onto because it cannot cover all values in the codomain (as it is non-negative). For x0x \leq 0, f(g(x))=xf(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))f(g(x)) is neither one-one nor onto.