Is the function $ f(x,y)=\frac{xy}{x^{2}+y^{2}}$ where $f(0,0)$ is defined to be $0$ continuous?

It is not continuous at $(0,0)$. Because $f(t,t)=1/2$ but $f(t,0)=0$, so if we approach to the origin along the line $y=x$ then $f(x,y)\to 1/2$ but if we approach to the origin along the x-axis then $f(x,y)\to 0$.


If you use polar coordinates

$$ f(r\cos(\theta), r\sin(\theta))= {\sin(\theta)\cos(\theta)}=\frac{\sin(2\theta)}{2}, $$

then, you can see that the limit has infinite number of values depending on the choice of theta which implies the limit does not exist. A related problem.


Well, If it were continuous then for ALL $\epsilon >0$, there exist $\delta>0$ such that if $||x-a||<\delta$ then $||f(x)-f(a)||<\epsilon$. So it is enough to show one counter example. For a specific epsilon, say $\epsilon =\frac{1}{4}$, then clearly $$||(\frac{\delta}{2}, \frac{\delta}{2})-(0,0)|| = ||(\frac{\delta}{2},\frac{\delta}{2})|| = \frac{\delta}{\sqrt{2}}<\delta$$

But $$||\frac{\frac{\delta}{2}\frac{\delta}{2}}{\frac{\delta^2}{4}{}\frac{\delta^2}{4}}- 0||=\frac{1}{2}>\frac{1}{4} = \epsilon$$ There you go you have a counter example here where we picked a specific epsilon and could not conclude $||f(x)-f(a)||<\epsilon$

The above answers are correct but you should be able to prove this using delta epsilon definition like I did. Note that the answers above say you approach the origin along y=x suggests the delta I pick for the proof. You see I picked $(\frac{\delta}{2}, \frac{\delta}{2})$ in the form of $(x,x)$ for my $(x,y)$ since I'm approaching the origin along y=x.