问题 填空题 已知函数f(x)=-x2+1 ,x<1log2x ,x≥1,若f(a)=1,则a=______. 答案 当a<1时,f(a)=-a2+1=1,解得a=0当a≥1时,f(a)=log2a=1,即a=21=2综上可得,若f(a)=1,则a=0或2.故答案为0或2.