If I'm given a function, say the function $\text f(x,y)=\begin{cases} x\cdot \sin(\frac{1}{y}) + y\cdot \cos(\frac{1}{x}) & \text{if } x\neq 0 \space \text{ and }\space y\neq0 \\ 0 & \text{if } x= 0 \space \text{ or }\space y=0 \\ \end{cases}$
and want to check for continuity, I would at first look at the upper part of which I could say that it is a composition of continuous functions and therefore continuous. For the part defined for one variable being equal to zero, I would look at the limit of my function as $x$ or $y$ approach zero and try to check if that limit is equal to zero, but that's where it gets tricky for me. If, for example I let $y$ go to zero, I'd be left with a part containing an $x$ that isn't defined. Does that mean my limit doesn't exist and my function is not continuous? Thanks for any tips or help.
The conditions $x=0$ and $y=0$ represent the $y-$axis and $x-$axis respectively. We will first consider the limits at different points on the $x$ axis, excluding the point $(0,0)$:
$$\lim_{(x,y)\to(a,0)} \left[x\cdot\sin\left(\frac{1}{y}\right) + y\cdot \cos\left(\frac{1}{x}\right)\right]$$ for $a\neq0$. If we approach the point $(a,0)$ along a line $x-a=ky$ we get the limit
$$\lim_{y\to0}\left[(ky+a)\sin\left(\frac{1}{y}\right) + y\cdot \cos\left(\frac{1}{ky+a}\right)\right] = \text{undefined}$$
Analogously, you can show that the limits at points on the $y-$axis (excluding $(0,0)$ ) do not exist. Thus, we conclude that $f$ is not continuous in these points.
The function is continuous at $(0,0)$, as another answer shows.