I'm trying to find the derivative of $$f(x) = \cos(x)^{1/x}.$$
Would it be a good idea to see it as a composition of functions to use the chain rule? Not seeing a clear path to a solution.
I'm trying to find the derivative of $$f(x) = \cos(x)^{1/x}.$$
Would it be a good idea to see it as a composition of functions to use the chain rule? Not seeing a clear path to a solution.
$$\left((\cos{x})^{\frac{1}{x}}\right)'=\left(e^{\frac{\ln\cos{x}}{x}}\right)'=e^{\frac{\ln\cos{x}}{x}}\left(\frac{\ln\cos{x}}{x}\right)'=(\cos{x})^{\frac{1}{x}}\left(-\frac{\sin{x}}{x\cos{x}}-\frac{\ln\cos{x}}{x^2}\right).$$