Question
Question: Let the functions \(f\left( x \right)=-1+\left| x-1 \right|,-1\le x\le 3\) and \(g\left( x \right)=2...
Let the functions f(x)=−1+∣x−1∣,−1≤x≤3 and g(x)=2−∣x+1∣,−2≤x≤2 . Then (fog)(x)= :
- x+1
- −1−x
- x−1
x+1 if −2≤x≤−1−1−x if −1≤x≤0x−1 if 0≤x≤2
Solution
Here in this question we have been given that f(x)=−1+∣x−1∣,−1≤x≤3 and g(x)=2−∣x+1∣,−2≤x≤2 . We have been asked to evaluate the value of (fog)(x) which can be also represented as f(g(x)) .
Complete step-by-step solution:
Now we need to say that g(x) should lie between [−1,3] in the expression f(g(x)) .
Therefore −1≤g(x)≤3 can be further simplified and given as
−1≤2−∣x+1∣≤3⇒−3≤−∣x+1∣≤1⇒−1≤∣x+1∣≤3 .
Now by simplifying this further with two conditions that is when x<−1 and when x≥−1 .
When x≥−1 we will have −1≤x+1≤3 this can be further simplified as −2≤x≤2 . Hence we can say that one condition is −1≤x≤2 .
When x<−1 we will have −1≤−x−1≤3 this can be further simplified as −4≤x≤0 . Hence we can say that the other condition is −4≤x<−1 .
Therefore the valid domain is x∈[−4,2] .
Now by using definitions of both the functions we havef(g(x))=−1+∣1−∣x+1∣∣ .
Here initially we have 2 conditions when x≥−1 then f(g(x))=−1+∣−x∣ . Therefore here for x≥−1 we have f(g(x))=−1−x . By verifying the valid domain we can say that f(g(x))=−1−x for x∈[−1,0)and f(g(x))=−1+x for x∈[0,2] .
Now when we have x<−1 then f(g(x))=−1+∣2+x∣ . Therefore when −2≤x<−1 we will have f(g(x))=1+x .
Therefore we can conclude that when it is given that f(x)=−1+∣x−1∣,−1≤x≤3 and g(x)=2−∣x+1∣,−2≤x≤2 then the value of (fog)(x) is given as
x+1 if −2≤x≤−1−1−x if −1≤x≤0x−1 if 0≤x≤2 .
Hence we will mark the option “4” as correct.
Note: While answering questions of this type we should be sure with the valid domain. We should carefully evaluate the domain of the functions otherwise we may end up having a wrong conclusion. If someone had considered any one condition only in a hurry then they would end up marking the wrong options.