To determine the number of values of x for which f(f(x))=5, we need to analyze the given piecewise function:
f(x)={x2−4if x≥−4x+3otherwise
We'll consider each case separately.
### Case 1: x≥−4
For x≥−4, f(x)=x2−4. We need to find y such that:
f(y)=5
So,
y2−4=5⟹y2=9⟹y=±3
However, since x≥−4, both solutions y=3 and y=−3 are valid because they are within the domain x≥−4. Hence, y=3 and y=−3.
Next, we need f(x) such that:
f(x)=3orf(x)=−3
#### Subcase 1.1: f(x)=3
x2−4=3⟹x2=7⟹x=±√7
Since x≥−4, both solutions x=√7 and x=−√7 are valid.
#### Subcase 1.2: f(x)=−3
x2−4=−3⟹x2=1⟹x=±1
Both solutions x=1 and x=−1 are valid since x≥−4.
### Case 2: x<−4
For x<−4, f(x)=x+3. We need to find y such that:
f(y)=5
So,
y+3=5⟹y=2
However, since x<−4, the solution y=2 does not fall within this domain. Therefore, there are no solutions from this case.
### Conclusion
Summarizing the valid solutions from both subcases under x≥−4, we have:
- f(x)=3: x=√7,−√7
- f(x)=−3: x=1,−1
Thus, we find a total of 4 values of x:
x=√7,−√7,1,−1
Therefore, the number of values of x for which f(f(x))=5 is 4.