# Math Help - Differentiating functions with natural logs

1. ## Differentiating functions with natural logs

Can anyone explain to me how to do this problem?

y=ln(cos(4x))

2. Welcome to the Math Help Forum!

The function $y=\ln\cos (4x)$ may be differentiated by applying the Chain Rule twice, knowing that

\begin{aligned}
\frac{d}{dx}\ln x&=\frac{1}{x}\\
\frac{d}{dx}\cos x&=-\sin x\\
\frac{d}{dx}(kx)&=k.
\end{aligned}

For reference, the Chain Rule states that

$\frac{d}{dx}f(g(x))=f'(g(x))g'(x).$

3. Originally Posted by iheartphysics01
Can anyone explain to me how to do this problem?

y=ln(cos(4x))
Sure!

$\frac{d}{dx}[\ln{u}]=\frac{u'}{u}$

In your problem, let $u=\cos(4x)$. This implies $u'=-4\sin{(4x)}$

So...

$\frac{d}{dx}[\ln{u}]=\frac{u'}{u}=\frac{-4\sin(4x)}{\cos(4x)}=-4\tan(4x)$

4. ok thanks so much!
i will probably be using this forum a lot!