I am little confused as to what rule I use to find the derivative of $y=x\sin(1/x)$. Is it the Chain rule or a combination of the product rule and the chain rule? The answer is $\sin (2/x) - (2/x)\cos(2/x)$.
I do not have a clue how they got that answer. Can someone explain with steps?