I have to decide, if $f:\mathbb{R}^2\to\mathbb{R}$, $f(x,y)=\begin{cases} xy\frac{x^2-y^2}{x^2+y^2}\space\text{if}\, (x,y)\neq (0,0)\\ 0\space\text{else}\end{cases}$
is continuous or not.
I sketched the function with wolframalpha, and it looks continuous at $(0,0)$, hence I want to prove it. Obviously we just have to take a closer look at what happens at $(0,0)$.
I tried to involve polar coordinates, because $f$ looks like it could help. But I am not that familiar with polar coordinates, and would like to get some feedback:
$x=r\sin(\varphi), y=r\cos(\varphi)$ with $r\in\mathbb{R}$ and $-2\pi\leq\varphi\leq 2\pi$.
Then:
$r^2\sin(\varphi)\cos(\varphi)\frac{r^2(\sin(\varphi)^2-\cos(\varphi)^2)}{r^2(\sin(\varphi)^2+\cos(\varphi)^2)}=r^2\sin(\varphi)\cos(\varphi)\frac{r^2(\sin(\varphi)^2-\cos(\varphi)^2)}{r^2\cdot 1}\\=r^2\sin(\varphi)\cos(\varphi)\cdot (\sin(\varphi)^2-\cos(\varphi)^2)$
Using addition theorems such as $\sin(x)\cos(x)=\frac12\sin(2x)$ and $\sin(x)^2-\cos(x)^2=-\cos(2x)$
This simplifies to:
$=-\frac{r^2}{4}\sin(4\varphi)$
But how to proceed from here? Do I use $\epsilon$-$\delta$-criterion as always?
Talking just about the use of polar coordinates (no matter if it is useful or not), have I done it correct so far, in formal terms?
Thanks in advance for your comments/answers.
$|\sin 4\phi| <\le 1\\ d((x,y),(0,0)) = r$
$r<\delta \implies |f(x,y)|<\frac {r^2}{4}$
let $\delta = \sqrt {4\epsilon}$
$\forall \epsilon>0, \exists \delta >0: \ d((x,y),(0,0)) < \delta \implies d(f(x,y),(0,0)) \le \epsilon$