$f(x) = \sin\left(\frac{1}{x}\right)$
Compute $f'(-\frac{1}{x})$.
While this problem isn't particularly hard, I noticed desmos gave a different answer from me.
What I did was (to be safe), $f'(x)=-\frac{1}{x^2}\cos\left(\frac{1}{x}\right)$.
Therefore, $f'(-\frac{1}{x})=-\frac{1}{x^4}\cos\left(-x\right)=-\frac{1}{x^4}\cos\left(x\right)$.
Did I make a mistake in here? And if so where?
Checking back to the differentials, df/dv = df/dx * dx/dv. dx/dv = x^2, and df/dx = -1/x^2 cos(1/x). did i make a mistake somewhere in there, is that why desmos shows -cosx as the answer?
what is the correct answer?
Your derivative is wrong. $f'(x)=-\frac{1}{x^2}\cos\left(\frac{1}{x}\right)$ is correct.
Hence $f'(-\frac{1}{x})=-\frac{1}{(-\frac{1}{x})^2}\cos\left(\frac{1}{-\frac{1}{x}}\right)=-x^2 \cos(-x)=-x^2 \cos(x)$