已知函数 f(x)={x2−4x+2,x2x,x≥alt;a ,其中 0<a<4. 若方程 f(f(x))=2 有且只有一个解,则 a 的取值范围是
Solution by Steps
step 1
Consider the piecewise function f(x) and the condition f(f(x))=2
step 2
For x < a, f(x)=x2−4x+2. For x≥a, f(x)=2x
step 3
To find the value of a such that f(f(x))=2 has exactly one solution, we need to analyze the behavior of f(x) and ensure it intersects the line y=2 at only one point
step 4
For x < a, set f(x)=2 to get x2−4x+2=2. Simplify to find the potential intersection points for x < a
step 5
Solving x2−4x=0 gives us x(x−4)=0, so x=0 or x=4. Since 0 < a < 4, we must have a > 0 to avoid multiple solutions
step 6
For x≥a, set f(x)=2 to get 2x=2. This implies x=1
step 7
Since x=1 is the only solution for x≥a, we must ensure that a≤1 to avoid additional solutions for x < a
step 8
Combining the conditions from steps 5 and 7, we find that the range for a is 0 < a \leq 1
Answer
0 < a \leq 1
Key Concept
Piecewise Function Intersection with a Constant
Explanation
To ensure the piecewise function f(x) intersects the line y=2 at only one point, we analyze the behavior of f(x) for x < a and x≥a and find the range of a that satisfies the condition.