设实数a=0,且函数f(x)=a(x^2+1)-[2x+(1/a)]有最小值-1.求a的值