函数f(x)={x2+1(x大于等于0),-x2(x