I'm having some trouble intuitively understanding the following limit calculation:
$$ \lim_{x\to 0} x^2\sin\left(\frac{1}{x}\right) = 0 $$
$x^2$ obviously goes to $0$ when $x$ approaches zero but $\sin(\frac{1}{x})$ is undefined for x approaching zero. Is $x^2$ dominant in this case? what about the general case where you have a composition of differentiable and continuous functions where the limit of one of them is undefined. How do you approach that problem?
Thank you for your help in advance