what is x^2(1/x)+1

is it 1/(x^2+1)

What you have written is the same as x+1