I am asked to show, that
$f(x,y)=\begin{cases} xy\frac{x^2-y^2}{x^2+y^2}\space\text{for}\, (x,y)\neq (0,0)\\ 0\space\text{for}\, (x,y)=(0,0)\end{cases}$
is everywhere two times partial differentiable, but it is still $D_1D_2f(0,0)\neq D_2D_1 f(0,0)$
But this does not make much sense in my opinion. Since $f(0,0)=0$ hence it should be equal?
I calculated $\frac{\partial^2 f(x,y)}{\partial x\partial y}$ and $\frac{\partial^2 f(x,y)}{\partial y\partial x}$ and I got in both cases the same result (for $(x,y)\neq (0,0)$) which is:
$\frac{x^6+9x^4y^2-9x^2y^4-y^6}{(x^2+y^2)^3}$
Wolframalpha says, that this is correct.
So is there a mistake in the task? Or do I not understand it?
Also, when I want to show, that $f$ is everywhere two times partial differentiable. Is it enough to calculate $\frac{\partial^2 f}{\partial^2 x}$ and $\frac{\partial^2 f}{\partial^2 y}$ and not needed to go by the definition, since we know, that this function is differentiable as a function in $\mathbb{R}$?
What do you think? Thanks in advance.