Answer
452.7k+ views
Hint: In order to solve this question we will use a technique called logarithmic differentiation. Also we have to use product rules. Thus, we get our desired answer.
Complete step-by-step answer:
Now given function is,
${\left( {\cos x} \right)^x}$
And we have to find its derivative.
And we will find its derivative by using a technique called logarithmic differentiation.
Logarithmic differentiation- In calculus, logarithmic differentiation or differentiation by taking logarithms is a method used to differentiate functions by employing the logarithmic derivative of function $f$,
$
{\left( {\ln f} \right)^\prime } = \dfrac{{f'}}{f} \\
\Rightarrow f' = f \times {\left( {\ln f} \right)^\prime } \\
$
Now let $y = {\left( {\cos x} \right)^x}$
Now taking log both sides we get,
$\ln \left( y \right) = \ln {\left( {\cos x} \right)^x}$
Or we can write the above equation as,
$\ln \left( y \right) = x\ln \left( {\cos x} \right)$ (By law of logarithms.)
Now differentiate both sides we get,
$\dfrac{{d\left( {\ln \left( y \right)} \right)}}{{dx}} = \dfrac{{d\left( {x\ln \left( {\cos x} \right)} \right)}}{{dx}}$
Now applying the product rule we get,
$\dfrac{{dy}}{{dx}} \times \dfrac{{d\left( {\ln \left( y \right)} \right)}}{{dy}} = \ln \left( {\cos x} \right) \times \dfrac{{dx}}{{dx}} + x\dfrac{{d\left( {\ln \left( {\cos x} \right)} \right)}}{{dx}}$ -----(1)
Now we know that
$\dfrac{{d\left( {\ln \left( y \right)} \right)}}{d} = \dfrac{1}{y}$ ------(2)
Now put (2) in (1) we get,
$\dfrac{{dy}}{{dx}} \times \dfrac{1}{y} = \ln \left( {\cos x} \right) + x\dfrac{{d\left( {\ln \left( {\cos x} \right)} \right)}}{{dx}}$ ----(3) $\left( {\because \dfrac{{dx}}{{dx}} = 1} \right)$
Also,
$
\dfrac{{d\left( {\ln \left( {\cos x} \right)} \right)}}{{dx}} = \dfrac{{d\left( {\ln \left( {\cos x} \right)} \right)}}{{d\left( {\cos x} \right)}} \times \dfrac{{d\left( {\cos x} \right)}}{{dx}} \\
= \dfrac{1}{{\cos x}} \times - \sin x \\
$
$ = \dfrac{{ - \sin x}}{{\cos x}}$ -----(4)
Putting the value of (4) in (3) we get,
$\dfrac{{dy}}{{dx}} \times \dfrac{1}{y} = \ln \left( {\cos x} \right) - \dfrac{{x\sin x}}{{\cos x}}$
Or $\dfrac{{dy}}{{dx}} = y\left( {\ln \left( {\cos x} \right) - \dfrac{{x\sin x}}{{\cos x}}} \right)$
Or $\dfrac{{dy}}{{dx}} = {\left( {\cos x} \right)^x}\left( {\ln \left( {\cos x} \right) - \dfrac{{x\sin x}}{{\cos x}}} \right)$
Thus, the required answer is ${\left( {\cos x} \right)^x}\left( {\ln \left( {\cos x} \right) - \dfrac{{x\sin x}}{{\cos x}}} \right)$ .
Note: Whenever we face such types of questions the key concept is that take logarithm function both sides and then solve the equation formed. Like, in this question we simply assume a variable which is equal to the given function then we take logarithmic function both sides and then we solve the equation formed and thus we get our answer.
Complete step-by-step answer:
Now given function is,
${\left( {\cos x} \right)^x}$
And we have to find its derivative.
And we will find its derivative by using a technique called logarithmic differentiation.
Logarithmic differentiation- In calculus, logarithmic differentiation or differentiation by taking logarithms is a method used to differentiate functions by employing the logarithmic derivative of function $f$,
$
{\left( {\ln f} \right)^\prime } = \dfrac{{f'}}{f} \\
\Rightarrow f' = f \times {\left( {\ln f} \right)^\prime } \\
$
Now let $y = {\left( {\cos x} \right)^x}$
Now taking log both sides we get,
$\ln \left( y \right) = \ln {\left( {\cos x} \right)^x}$
Or we can write the above equation as,
$\ln \left( y \right) = x\ln \left( {\cos x} \right)$ (By law of logarithms.)
Now differentiate both sides we get,
$\dfrac{{d\left( {\ln \left( y \right)} \right)}}{{dx}} = \dfrac{{d\left( {x\ln \left( {\cos x} \right)} \right)}}{{dx}}$
Now applying the product rule we get,
$\dfrac{{dy}}{{dx}} \times \dfrac{{d\left( {\ln \left( y \right)} \right)}}{{dy}} = \ln \left( {\cos x} \right) \times \dfrac{{dx}}{{dx}} + x\dfrac{{d\left( {\ln \left( {\cos x} \right)} \right)}}{{dx}}$ -----(1)
Now we know that
$\dfrac{{d\left( {\ln \left( y \right)} \right)}}{d} = \dfrac{1}{y}$ ------(2)
Now put (2) in (1) we get,
$\dfrac{{dy}}{{dx}} \times \dfrac{1}{y} = \ln \left( {\cos x} \right) + x\dfrac{{d\left( {\ln \left( {\cos x} \right)} \right)}}{{dx}}$ ----(3) $\left( {\because \dfrac{{dx}}{{dx}} = 1} \right)$
Also,
$
\dfrac{{d\left( {\ln \left( {\cos x} \right)} \right)}}{{dx}} = \dfrac{{d\left( {\ln \left( {\cos x} \right)} \right)}}{{d\left( {\cos x} \right)}} \times \dfrac{{d\left( {\cos x} \right)}}{{dx}} \\
= \dfrac{1}{{\cos x}} \times - \sin x \\
$
$ = \dfrac{{ - \sin x}}{{\cos x}}$ -----(4)
Putting the value of (4) in (3) we get,
$\dfrac{{dy}}{{dx}} \times \dfrac{1}{y} = \ln \left( {\cos x} \right) - \dfrac{{x\sin x}}{{\cos x}}$
Or $\dfrac{{dy}}{{dx}} = y\left( {\ln \left( {\cos x} \right) - \dfrac{{x\sin x}}{{\cos x}}} \right)$
Or $\dfrac{{dy}}{{dx}} = {\left( {\cos x} \right)^x}\left( {\ln \left( {\cos x} \right) - \dfrac{{x\sin x}}{{\cos x}}} \right)$
Thus, the required answer is ${\left( {\cos x} \right)^x}\left( {\ln \left( {\cos x} \right) - \dfrac{{x\sin x}}{{\cos x}}} \right)$ .
Note: Whenever we face such types of questions the key concept is that take logarithm function both sides and then solve the equation formed. Like, in this question we simply assume a variable which is equal to the given function then we take logarithmic function both sides and then we solve the equation formed and thus we get our answer.
Recently Updated Pages
Let X and Y be the sets of all positive divisors of class 11 maths CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Let x and y be 2 real numbers which satisfy the equations class 11 maths CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Let x 4log 2sqrt 9k 1 + 7 and y dfrac132log 2sqrt5 class 11 maths CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Let x22ax+b20 and x22bx+a20 be two equations Then the class 11 maths CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Let x1x2xn be in an AP of x1 + x4 + x9 + x11 + x20-class-11-maths-CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Let x1x2x3 and x4 be four nonzero real numbers satisfying class 11 maths CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Trending doubts
Write a letter to the principal requesting him to grant class 10 english CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Change the following sentences into negative and interrogative class 10 english CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Fill in the blanks A 1 lakh ten thousand B 1 million class 9 maths CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
The Equation xxx + 2 is Satisfied when x is Equal to Class 10 Maths
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Fill the blanks with proper collective nouns 1 A of class 10 english CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
What is the past tense of read class 10 english CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
One cusec is equal to how many liters class 8 maths CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Give 10 examples of Material nouns Abstract nouns Common class 10 english CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)
Select the word that is correctly spelled a Twelveth class 10 english CBSE
![arrow-right](/cdn/images/seo-templates/arrow-right.png)