Question
Question: How do you differentiate \(y = {\left( {\cos 7x} \right)^x}\)?...
How do you differentiate y=(cos7x)x?
Solution
First of all we will take logarithmic function on both the sides and then we will differentiate the function. Then, we will modify so that we have only dy/dx on the left and rest on right.
Complete step by step solution:
We are given that we are required to find the differentiation of y=(cos7x)x.
Taking logarithmic function on both the sides of above equation, we will then obtain the following equation with us:-
⇒logy=log(cos7x)x
Simplifying the above equation, we get the following equation with us:-
⇒logy=xlog(cos7x)
Differentiating both the sides of above equation with respect to x, we will obtain the following equation with us:-
\Rightarrow \dfrac{1}{y}\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left\\{ {x\log \left( {\cos 7x} \right)} \right\\}
Now, we will use the chain rule for differentiation and then get the following equation with us:-
⇒y1dxdy=log(cos7x)+cos7xx(7sin7x)
Taking y from division in the left hand side to multiplication in the right hand side, we will obtain the following equation with us:-
⇒dxdy=ylog(cos7x)+cos7x7xysin7x
Putting the value of y from the given equation, we will then obtain the following equation with us:-
⇒dxdy=(cos7x)xlog(cos7x)+7x(cos7x)xcos7xsin7x
The equation mentioned above can be written in the form of the following equation as well:-
⇒dxdy=(cos7x)xlog(cos7x)+7xtan7x(cos7x)x
Re – writing the above equation by arranging its terms, we will then obtain the following equation with us:-
\Rightarrow \dfrac{{dy}}{{dx}} = {\left( {\cos 7x} \right)^x}\left\\{ {\log \left( {\cos 7x} \right) + 7x\tan 7x} \right\\}
Thus, we have the required answer.
Note:
The students must note the following facts and commit them to the memory which were used in the solution given above:-
- dxd(logx)=x1
- The differentiation of logarithmic function gives us the inverse function.
- If we are given two functions u and v in the form u.v, then its differentiation is given by the following expression: (uv)′=u′v+uv′
- This is known as the chain rule of differentiation as we mentioned in the solution given above.
- dxd(sinx)=cosx
- This implies that the differentiation of sine of any angle gives us the cosine of the same angle.