打错了?f(x)=1/(x^2+1)
g(x)=f(1/x)=1/[(1/x)^2+1]=1/[(x^2+1)/x^2]=x^2/(x^2+1)
f(x)+g(x)=(x^2+1)/(x^2+1)=1
得证