Question:

f(x) = ln(cosx)

I need to find the derivative.

I'm unsure where to start. I tried the chain rule, and I get stuck, as follows:

$\displaystyle \frac {1}{x} (cosx)^0 (-sinx)$

$\displaystyle \frac {-sinx}{x}$

The answer is supposed to be -tanx