I have following function:
$$f(x)=x^2\cdot\left({\sin{\frac 1 x}}\right)^2$$
I want to find the limit of the function for $x\rightarrow0^\pm$. First I analyze $\frac 1 x$:
- $\frac {1}{x}\rightarrow +\infty$ for $x\rightarrow0^+$
but the $\sin$ of infinity does not exist. Then I use the comparison theorem (I don't know how it's called in English) and conclude that, because
$$\left|{x^2\left({\sin{\frac 1 x}}\right)}^2 \right| \le \frac{1}{x^2}\rightarrow0^+$$
therefore the initial function tends to $0$. Is this reasoning correct? Are there better ways?