What is the derivative of $\log \left( \cos x \right)$?
Answer
594k+ views
Hint: We solve this problem by using the chain rule of differentiation and some standard formulas of differentiation.
(i) The chain rule of differentiation is given as
$\dfrac{d}{dx}\left( f\left( g\left( x \right) \right) \right)={f}'\left( g\left( x \right) \right)\times {g}'\left( x \right)$
(ii) The derivative of cosine function is given as,
$\dfrac{d}{dx}\left( \cos x \right)=-\sin x$
(iii) The derivative of logarithm function is given as,
$\dfrac{d}{dx}\left( \log x \right)=\dfrac{1}{x}$
By using the above three formulas we can find the required value.
Complete step by step solution:
Let us assume the given function as,
$\Rightarrow y=\log \left( \cos x \right)$
Now, let us assume two functions $f\left( x \right),g\left( x \right)$ as,
$\begin{align}
& \Rightarrow f\left( x \right)=\log x \\
& \Rightarrow g\left( x \right)=\cos x \\
\end{align}$
Here, we can reframe the given equation as,
$\Rightarrow y=f\left( g\left( x \right) \right)$
Now, let us differentiate both sides with respect to $'x'$ then we get,
$\Rightarrow \dfrac{dy}{dx}=\dfrac{d}{dx}\left( f\left( g\left( x \right) \right) \right)$
We know that the chain rule of differentiation is given as
$\dfrac{d}{dx}\left( f\left( g\left( x \right) \right) \right)={f}'\left( g\left( x \right) \right)\times {g}'\left( x \right)$
By using the chain rule to above reframed equation then we get,
\[\Rightarrow \dfrac{dy}{dx}={f}'\left( g\left( x \right) \right)\times {g}'\left( x \right)............equation(i)\]
Now, let us take the first function $f\left( x \right)$ and by differentiating it with respect to $'x'$ then we get,
\[\Rightarrow {f}'\left( x \right)=\dfrac{d}{dx}\left( \log x \right)\]
We know that the derivative of logarithm function is given as,
$\dfrac{d}{dx}\left( \log x \right)=\dfrac{1}{x}$
By using this rule in above differentiation then we get,
$\Rightarrow {f}'\left( x \right)=\dfrac{1}{x}$
Now, by replacing $'x'$ by $\left( \cos x \right)$ in above equation then we get,
$\begin{align}
& \Rightarrow {f}'\left( g\left( x \right) \right)=\dfrac{1}{\left( \cos x \right)} \\
& \Rightarrow {f}'\left( g\left( x \right) \right)=\dfrac{1}{\left( \cos x \right)} \\
\end{align}$
Now, let us take the second function that is $g\left( x \right)$ and by differentiating it with respect to $'x'$ then we get,
$\Rightarrow {g}'\left( x \right)=\dfrac{d}{dx}\left( \cos x \right)$
We know that the derivative of cosine function is given as,
$\dfrac{d}{dx}\left( \cos x \right)=-\sin x$
By using the above formula in the ${g}'\left( x \right)$ then we get,
$\Rightarrow {g}'\left( x \right)=-\sin x$
Now, let us take equation (i) and substitute the required values then we get,
$\begin{align}
& \Rightarrow \dfrac{dy}{dx}=\left[ \dfrac{1}{\left( \cos x \right)} \right]\times \left[ -\sin x \right] \\
& \Rightarrow \dfrac{dy}{dx}={-\tan x} \\
\end{align}$
Therefore, the derivative of given equation can be written as,
$\therefore \dfrac{dy}{dx}={-\tan x}$
Note: The common mistake that can be done in this question of taking the formula of the differentiation. The chain rule is applied when the given equation includes one function inside the second equation and it is given as,
$\dfrac{d}{dx}\left( f\left( g\left( x \right) \right) \right)={f}'\left( g\left( x \right) \right)\times {g}'\left( x \right)$
But students may do mistake without taking the differentiation of second function and take the formula as,
$\dfrac{d}{dx}\left( f\left( g\left( x \right) \right) \right)={f}'\left( g\left( x \right) \right)$
This gives the wrong answer. So, we need to take care of formulas to get the required answer correctly.
Also the derivative of logarithm function should be taken as,
$\dfrac{d}{dx}\left( \log x \right)=\dfrac{1}{x}$
(i) The chain rule of differentiation is given as
$\dfrac{d}{dx}\left( f\left( g\left( x \right) \right) \right)={f}'\left( g\left( x \right) \right)\times {g}'\left( x \right)$
(ii) The derivative of cosine function is given as,
$\dfrac{d}{dx}\left( \cos x \right)=-\sin x$
(iii) The derivative of logarithm function is given as,
$\dfrac{d}{dx}\left( \log x \right)=\dfrac{1}{x}$
By using the above three formulas we can find the required value.
Complete step by step solution:
Let us assume the given function as,
$\Rightarrow y=\log \left( \cos x \right)$
Now, let us assume two functions $f\left( x \right),g\left( x \right)$ as,
$\begin{align}
& \Rightarrow f\left( x \right)=\log x \\
& \Rightarrow g\left( x \right)=\cos x \\
\end{align}$
Here, we can reframe the given equation as,
$\Rightarrow y=f\left( g\left( x \right) \right)$
Now, let us differentiate both sides with respect to $'x'$ then we get,
$\Rightarrow \dfrac{dy}{dx}=\dfrac{d}{dx}\left( f\left( g\left( x \right) \right) \right)$
We know that the chain rule of differentiation is given as
$\dfrac{d}{dx}\left( f\left( g\left( x \right) \right) \right)={f}'\left( g\left( x \right) \right)\times {g}'\left( x \right)$
By using the chain rule to above reframed equation then we get,
\[\Rightarrow \dfrac{dy}{dx}={f}'\left( g\left( x \right) \right)\times {g}'\left( x \right)............equation(i)\]
Now, let us take the first function $f\left( x \right)$ and by differentiating it with respect to $'x'$ then we get,
\[\Rightarrow {f}'\left( x \right)=\dfrac{d}{dx}\left( \log x \right)\]
We know that the derivative of logarithm function is given as,
$\dfrac{d}{dx}\left( \log x \right)=\dfrac{1}{x}$
By using this rule in above differentiation then we get,
$\Rightarrow {f}'\left( x \right)=\dfrac{1}{x}$
Now, by replacing $'x'$ by $\left( \cos x \right)$ in above equation then we get,
$\begin{align}
& \Rightarrow {f}'\left( g\left( x \right) \right)=\dfrac{1}{\left( \cos x \right)} \\
& \Rightarrow {f}'\left( g\left( x \right) \right)=\dfrac{1}{\left( \cos x \right)} \\
\end{align}$
Now, let us take the second function that is $g\left( x \right)$ and by differentiating it with respect to $'x'$ then we get,
$\Rightarrow {g}'\left( x \right)=\dfrac{d}{dx}\left( \cos x \right)$
We know that the derivative of cosine function is given as,
$\dfrac{d}{dx}\left( \cos x \right)=-\sin x$
By using the above formula in the ${g}'\left( x \right)$ then we get,
$\Rightarrow {g}'\left( x \right)=-\sin x$
Now, let us take equation (i) and substitute the required values then we get,
$\begin{align}
& \Rightarrow \dfrac{dy}{dx}=\left[ \dfrac{1}{\left( \cos x \right)} \right]\times \left[ -\sin x \right] \\
& \Rightarrow \dfrac{dy}{dx}={-\tan x} \\
\end{align}$
Therefore, the derivative of given equation can be written as,
$\therefore \dfrac{dy}{dx}={-\tan x}$
Note: The common mistake that can be done in this question of taking the formula of the differentiation. The chain rule is applied when the given equation includes one function inside the second equation and it is given as,
$\dfrac{d}{dx}\left( f\left( g\left( x \right) \right) \right)={f}'\left( g\left( x \right) \right)\times {g}'\left( x \right)$
But students may do mistake without taking the differentiation of second function and take the formula as,
$\dfrac{d}{dx}\left( f\left( g\left( x \right) \right) \right)={f}'\left( g\left( x \right) \right)$
This gives the wrong answer. So, we need to take care of formulas to get the required answer correctly.
Also the derivative of logarithm function should be taken as,
$\dfrac{d}{dx}\left( \log x \right)=\dfrac{1}{x}$
Recently Updated Pages
Which of the following graphs shows the variation of class 12 physics CBSE

Draw a labelled diagram of the human male reproductive class 12 biology CBSE

Describe the experiment to compare the emf of two cells class 12 physics CBSE

What is standard hydrogen electrode

What is conventional current and electric current class 12 physics CBSE

2Bromopentane is treated with an alcoholic KOH solution class 12 chemistry CBSE

Trending doubts
Draw a labelled sketch of the human eye class 12 physics CBSE

Which are the Top 10 Largest Countries of the World?

A member of Simon commission later became Prime Minister class 12 social science CBSE

Draw ray diagrams each showing i myopic eye and ii class 12 physics CBSE

Give one example of a reptile that is viviparous class 12 biology CBSE

Which is the correct genotypic ratio of mendel dihybrid class 12 biology CBSE

