$$\lim_{x\to\infty} x \sin\left(\frac{1}{x}\right) = ?$$
Not a long ago I saw this function, and I was curious, what limit it has, when $x$ approaches $\infty$? Some of my friends said fast that it must approach $\infty$, since $\sin$ is a bounded function, and $x$ goes to infinity, therefore infinity * bounded must be infinity. Some others said that $\sin(\frac{1}{x})$ is $0$, since $\frac{1}{x}$ is $0$, when $x \rightarrow \infty$.
So, the first possible solution should be $\infty$, but here is an other one. Let $y=\frac{1}{x}$. If $x \rightarrow \infty$, then $y \rightarrow 0$. Using that:
$$\lim_{x\to\infty} x \sin\left(\frac{1}{x}\right) = \lim_{y\to 0} \frac {1}{y} \sin(y) = \lim_{y\to 0} \frac{\sin(y)}{y} = 1$$
Here is a proof that, $\lim_{y\to 0} \frac{\sin(y)}{y} = 1$: Proof
So here we have $2$ completely different solutions for the same task, which both seem "logical". Is any of them correct, or if not, what should be the solution? Is this convergent, or divergent? Any help appreciated!