使f(x1)=g(x2)成立,只需函數(shù)y=f(x)的值域?yàn)楹瘮?shù)y=g(x)的值域的子集.
f(x)=x
2 |
3 |
①當(dāng)a=0時(shí),g(x)=2為常數(shù),不符合題意舍去;
②當(dāng)a>0時(shí),g(x)的值域?yàn)閇2-a,2+8a],要使[0,4]?[2-a,2+8a],
得2-a≤0且4≤2+8a,解得a≥2;
③當(dāng)a<0時(shí),g(x)的值域?yàn)閇2+8a,2-a],要使[0,4]?[2+8a,2-a],
得2+8a≤0且4≤2-a,解得a≤-2;
綜上所述,a的取值范圍為(-∞,-2]∪[2,+∞)
故答案為:(-∞,-2]∪[2,+∞).