Find the gradient of the curve $\displaystyle y = x^2 + \frac{1}{x}$ at the point (1,2)

$\displaystyle \frac{dy}{dx} = 2x+x^{-1}$

$\displaystyle =2(1) + (1)^{-1}$

$\displaystyle =2+1$

$\displaystyle = 3$

I've been told this is incorrect, where did I go wrong?