You are currently viewing What is the derivative of ln(cos(x))?
derivative of ln(cos(x))

What is the derivative of ln(cos(x))?

The derivative of \ln(\cos(x)) is -\tan(x). We will see here how we can find that.

Solution. Let h(x) = \ln(\cos(x)), f(u) = \ln(u) and g(x) = \cos(x). Then we apply the chain rule, i.e.,
\begin{align*}
h'(x) = f'(g(x))g'(x).
\end{align*}
We do know that \frac{d}{dx}\cos(x) = -\sin(x) and that \frac{d}{du} \ln(u) = \frac{1}{u}. So we get
\begin{align*}
f'(u) = \frac{1}{u} \quad \text{and} \quad g'(x) = -\sin(x).
\end{align*}
In conclusion, we get:
\begin{align*}
h'(x) &= f'(g(x))g'(x) \\
&= \frac{1}{\cos(x)}\cdot (-\sin(x)) \\
&= \frac{-\sin(x)}{\cos(x)} \\
&= -\tan(x).
\end{align*}
So the derivative of \ln(\cos(x)) is -\tan(x).

Leave a Reply