Given $u(x,y)=(x^3-3y^2x)/(x^2+y^2)$, $x,y\in \mathbb R$. Then, partial derivative of $u$ with respect to $x$ at $(0,0)$ i.e. $u_x(0,0)=?$
I calculated as follows: $u_x(0,0)=\lim\limits_{h\to 0}\dfrac{u(0+h,0)-u(0,0)}{h}=\dfrac{h^3/h^2}{h}=1$, and by another way I calculated as follows: Differentiating $u$ partially with respect to $x$, we have $u_x(x,y)=\dfrac{(x^2+y^2)(3x^2-3y^2)-(x^3-3y^2x)2x}{(x^2+y^2)^2}$, and then $u_x(0,0)=0$. Why are the two answers different?