Key Concepts and Formulas
- Composite Function f(g(x)): For two functions f and g, the composite function f(g(x)) is obtained by substituting the function g(x) into the function f(x). The domain of f(g(x)) consists of all x in the domain of g such that g(x) is in the domain of f.
- One-one (Injective) Function: A function h:A→B is one-one if for every x1,x2∈A, h(x1)=h(x2) implies x1=x2. Graphically, any horizontal line intersects the graph of a one-one function at most once.
- Onto (Surjective) Function: A function h:A→B is onto if for every y∈B, there exists at least one x∈A such that h(x)=y. This means the range of the function must be equal to its codomain.
Step-by-Step Solution
Step 1: Define the functions f(x) and g(x) in piecewise form.
We are given f(x)=∣x−1∣ and g(x)={ex,x+1,x≥0x≤0.
The function f(x)=∣x−1∣ can be written as:
f(x)={x−1,−(x−1),if x−1≥0⟹x≥1if x−1<0⟹x<1
So,
f(x)={x−1,1−x,if x≥1if x<1
The domain of f is R, and its range is [0,∞).
The function g(x) is already given in piecewise form:
g(x)={ex,x+1,if x≥0if x≤0
The domain of g is R.
Let's analyze the range of g(x):
- For x≥0, g(x)=ex. As x ranges from 0 to ∞, ex ranges from e0=1 to ∞. So, the range for this part is [1,∞).
- For x≤0, g(x)=x+1. As x ranges from −∞ to 0, x+1 ranges from −∞ to 1. So, the range for this part is (−∞,1].
Combining both parts, the range of g(x) is (−∞,1]∪[1,∞)=R.
Step 2: Determine the composite function f(g(x)).
The composite function f(g(x)) means we substitute g(x) into f(x). We need to consider the two cases for g(x) based on its definition and apply the definition of f accordingly.
Case 1: x≥0.
In this case, g(x)=ex.
Now we need to apply f to g(x)=ex. We must check whether g(x)≥1 or g(x)<1.
Since x≥0, ex≥e0=1.
So, for x≥0, g(x)=ex≥1.
Therefore, we use the first case of f(x), where f(y)=y−1 for y≥1.
Substituting y=g(x)=ex:
f(g(x))=f(ex)=ex−1, for x≥0.
Case 2: x≤0.
In this case, g(x)=x+1.
Now we need to apply f to g(x)=x+1. We must check whether g(x)≥1 or g(x)<1.
For x≤0, x+1≤0+1=1.
So, for x≤0, g(x)=x+1≤1.
This means we need to consider two sub-cases for g(x)=x+1: when g(x)≥1 and when g(x)<1.
However, we already established that for x≤0, g(x)≤1.
So, if g(x)=1, which happens when x+1=1⟹x=0, we use f(1)=1−1=0.
If g(x)<1, which happens when x+1<1⟹x<0, we use the second case of f(x), where f(y)=1−y for y<1.
Substituting y=g(x)=x+1:
f(g(x))=f(x+1)=1−(x+1)=1−x−1=−x, for x<0.
Let's combine these results. We need to be careful at x=0.
For x=0:
g(0)=e0=1 (using the x≥0 case for g).
f(g(0))=f(1)=∣1−1∣=0.
From Case 1 (x≥0), f(g(x))=ex−1. At x=0, this gives e0−1=1−1=0.
From Case 2 (x≤0), if we consider x=0, g(0)=0+1=1 (using the x≤0 case for g).
f(g(0))=f(1)=∣1−1∣=0.
If we use f(g(x))=−x for x<0, at x=0 this would give 0.
So, the composite function f(g(x)) is:
f(g(x))={ex−1,−x,if x≥0if x<0
Step 3: Check if f(g(x)) is one-one.
To check for one-one property, we see if distinct inputs map to distinct outputs.
Consider the interval x≥0, where f(g(x))=ex−1.
The function ex is strictly increasing for all x. Therefore, ex−1 is also strictly increasing for x≥0. This means that for any x1,x2≥0, if x1=x2, then ex1−1=ex2−1. So, the function is one-one on [0,∞).
Consider the interval x<0, where f(g(x))=−x.
The function −x is strictly decreasing for all x. Therefore, for any x1,x2<0, if x1=x2, then −x1=−x2. So, the function is one-one on (−∞,0).
Now we need to check if there are any overlaps in the outputs between the two intervals.
For x≥0, the range of f(g(x))=ex−1 is [e0−1,∞)=[0,∞).
For x<0, the range of f(g(x))=−x is (0,∞) (since x approaches 0 from the negative side, −x approaches 0 from the positive side, and as x→−∞, −x→∞).
Let's check if different inputs from different intervals can map to the same output.
Consider an output y.
If y≥0, we can find an x≥0 such that ex−1=y⟹ex=y+1⟹x=ln(y+1). This x is valid if y+1≥1⟹y≥0.
If y>0, we can find an x<0 such that −x=y⟹x=−y. This x is valid if −y<0⟹y>0.
Let's test some values.
If x1=1 (from x≥0), f(g(1))=e1−1=e−1.
If x2=−(e−1) (from x<0), f(g(−(e−1)))=−(−(e−1))=e−1.
Since 1=−(e−1) (as e−1≈1.718>0), but f(g(1))=f(g(−(e−1))), the function f(g(x)) is not one-one.
Step 4: Check if f(g(x)) is onto.
The codomain of f(g(x)) is R. We need to see if the range of f(g(x)) covers all real numbers.
From Step 3, we found the range of f(g(x)) for x≥0 is [0,∞).
And the range of f(g(x)) for x<0 is (0,∞).
The total range of f(g(x)) is the union of these two ranges: [0,∞)∪(0,∞)=[0,∞).
Since the range of f(g(x)) is [0,∞), and the codomain is R, the range is not equal to the codomain. Specifically, negative real numbers are not in the range of f(g(x)).
Therefore, the function f(g(x)) is not onto.
Step 5: Conclude the properties of f(g(x)).
We have determined that f(g(x)) is neither one-one nor onto.
This corresponds to option (A).
Common Mistakes & Tips
- Careful with piecewise function composition: When composing piecewise functions, ensure you correctly identify the conditions on the inner function's output that determine which piece of the outer function to apply.
- Check endpoints of intervals: Pay close attention to the values of the composite function at the boundaries of the piecewise intervals. This is crucial for determining continuity and the exact range.
- Range of g(x): Before composing, understanding the range of the inner function g(x) is helpful in determining the domain for the outer function f and subsequently the range of the composite function.
Summary
To find the composite function f(g(x)), we first defined both f(x) and g(x) in piecewise forms. We then substituted g(x) into f(x), considering the different definitions of g(x) and the conditions under which f(x) is defined. This resulted in a piecewise definition for f(g(x)). We then analyzed the one-one and onto properties of f(g(x)) by examining its behavior over its domain and determining its range. We found that f(g(x)) is not one-one because different inputs can lead to the same output, and it is not onto because its range does not cover all real numbers.
The final answer is \boxed{A}.