当x≤-1时,y=x 2 +1≥2,且有x=- , 此时反函数为y=- (x≥2). 当x>-1时,y=-x+1<2, 且有x=-y+1,此时反函数为y=-x+1(x<2). ∴f(x)的反函数f -1 (x)=