设函数f(x)=ax+1/x,曲线y=f(x)在点(1,f(1))处的切线平行于y轴,(1)求f(x)的解析式,(2)证