Let f be the function defined for all (x,y) as follows:
$f(x,y)= \begin{cases} \frac{xy(x^2-y^2)}{x^2+y^2}, &\text{if }(x,y)\ne(0,0)\\ 0, &\text{if }(x,y)=(0,0) \end{cases}$
What is the value of $\frac{\partial^2(f)}{\partial x\partial y}$ at $(0,0)$?
My work so far has been,
if we do the normal calculation, $\partial f/\partial x= \dfrac{x^4y-y^5+4x^2*y^3}{(x^2+y^2)^2}$
and then differentiate the result with respect to y, and we got,
$\dfrac{x^6+13x^4*y^2+27x^2*y^4-9y^6}{(x^2+y^2)^3}$
but I don't know how to proceed.
Before going this way, I am thinking of polar coordinates: $x=r\cos a$, $y=r\sin a$, then
$f(x,y) = f(r\cos a, r\sin a) = 1/2 \sin(4a)*r^2$
and $\frac{\partial f}{\partial x} = \frac{\partial f}{\partial r} \cdot \frac{\partial r}{\partial x} = 4r\sin(a)\cos(2a) = g$, and then differential this result with respect to y = rsin(a), I got $\partial g/\partial y = \partial g/\partial r \cdot \partial r/\partial y=4\cos(2a)$, so when when r, a goes to 0, the result should be 4? The solution says -1. Any ideas?
Back to the definitions! Let us abbreviate $\partial/\partial z$ by $\partial_z$ and $\partial^2/(\partial z\partial t)$ by $\partial^2_{zt}$, then $\partial^2_{xy}f=\partial_xg$ where $g=\partial_yf$, that is, $$\partial^2_{xy}f(0,0)=\partial_xg(0,0)=\lim_{x\to0}\frac{g(x,0)-g(0,0)}x.$$ Likewise, for every $x$, $$g(x,0)=\partial_yf(x,0)=\lim_{y\to0}\frac{f(x,y)-f(x,0)}y.$$ Now the task is to check that the limits in the RHS above exist and to identify them. First, $f(x,0)=0$ for every $x$ hence, for every $y\ne0$, the ratio in the second limit is $$\frac{f(x,y)}y=\frac{x(x^2-y^2)}{x^2+y^2},$$ with limit when $y\to0$, for every $x$, $$g(x,0)=x.$$ Thus, the second derivative exists and is $$\partial^2_{xy}f(0,0)=+1.$$ Exercise: Apply this to the second derivative $\partial^2_{yx}f$ to show that $\partial^2_{yx}f(0,0)$ exists and $$\partial^2_{yx}f(0,0)=-1.$$