(i) Define $f:R^2 →R$ by $$f(x,y)= \frac {xy} {x^2+y^2}$$ when $(x,y) \ne (0,0)$ $$f(x,y)= 0 $$ when $(x,y)=(0,0)$ Prove f is continuous away from $(0, 0)$ but not continuous at $(0,0)$.
(ii) Let $f:\mathbb{R} \to \mathbb R$ be defined by $f(x)=\sin(x)$ when $x \in \mathbb Q$ and $0$ otherwise. At which values of $x \in \mathbb R$ is the function continuous?
For part (i), I just have to show that when $x$ and $y$ both go to $0$, then the function does not approach $0$ but rather infinity? f is continuous away from $(0,0)$, does that mean I have to show f is continuous at all other points? If so, do I simply say $x^2+y^2$ does not equal $0$ at all other points thus continuous?
For part (ii), I am not entirely sure on how to find the points.
A real function $f$ is continuous at $(a,b)\in\Bbb{R}^2$ if $\lim_{(x,y)\to(a,b)}f(x,y)=f(a,b)$. To show that $f$ is continuous away from $(0,0)$ you should show that it is continuous at every point except (perhaps) the origin.
For the second question, again check the definitions. For which $c\in\Bbb{R}$ do you have $\lim_{x\to c}f(x)=f(c)$? Here's a hint: Every real number is the limit of a sequence of rational numbers.