问题 选择题 设函数f(x)=x,x≥0-x,x<0,若f(a)+f(-1)=2,则a=( )A.-3B.±3C.-1D.±1 答案 设a≥0,则f(a)+f(-1)=a+1=2,解得:a=1设a<0,则f(a)+f(-1)=-a+1=2解得:a=-1∴a=±1 故选D