Solveeit Logo

Question

Question: What is the derivative of \({{\cos }^{3}}\left( x \right)\) ?...

What is the derivative of cos3(x){{\cos }^{3}}\left( x \right) ?

Explanation

Solution

To differentiate a complicated function f(g(x))f\left( g\left( x \right) \right) , we must use the Chain Rule of differentiation, which says
d(f(g(x)))dx=d(f(g(x)))d(g(x))×d(g(x))dx\dfrac{d\left( f\left( g\left( x \right) \right) \right)}{dx}=\dfrac{d\left( f\left( g\left( x \right) \right) \right)}{d\left( g\left( x \right) \right)}\times \dfrac{d\left( g\left( x \right) \right)}{dx}
We should also use the identities d(xn)dx=nxn1\dfrac{d\left( {{x}^{n}} \right)}{dx}=n{{x}^{n-1}} and d(cosx)dx=sinx\dfrac{d\left( \cos x \right)}{dx}=-\sin x , to get the final result.

Complete step by step solution:
In our question, we need to find the derivative of cos3(x){{\cos }^{3}}\left( x \right) .
Here, nothing is specified, so we should assume that differentiation is to be done with respect to x.
This implies that we need to find d(cos3x)dx\dfrac{d\left( {{\cos }^{3}}x \right)}{dx} .
We know that a complicated function like f(g(x))f\left( g\left( x \right) \right) can be differentiated using the Chain Rule of Differentiation. According to the Chain Rule of Differentiation,
d(f(g(x)))dx=d(f(g(x)))d(g(x))×d(g(x))dx\dfrac{d\left( f\left( g\left( x \right) \right) \right)}{dx}=\dfrac{d\left( f\left( g\left( x \right) \right) \right)}{d\left( g\left( x \right) \right)}\times \dfrac{d\left( g\left( x \right) \right)}{dx}
Thus, we can write
d(cos3x)dx=d(cos3x)d(cosx)×d(cosx)dx...(i)\dfrac{d\left( {{\cos }^{3}}x \right)}{dx}=\dfrac{d\left( {{\cos }^{3}}x \right)}{d\left( \cos x \right)}\times \dfrac{d\left( \cos x \right)}{dx}...\left( i \right)
Now, let us calculate d(cos3x)d(cosx) and d(cosx)dx\dfrac{d\left( {{\cos }^{3}}x \right)}{d\left( \cos x \right)}\text{ and }\dfrac{d\left( \cos x \right)}{dx} separately.
For this, we should assume y=cosxy=\cos x .
Thus, we have
d(cos3x)d(cosx)=d(y3)dy...(ii)\dfrac{d\left( {{\cos }^{3}}x \right)}{d\left( \cos x \right)}=\dfrac{d\left( {{y}^{3}} \right)}{dy}...\left( ii \right)
We know the identity d(xn)dx=nxn1\dfrac{d\left( {{x}^{n}} \right)}{dx}=n{{x}^{n-1}}
So, it is very clear that,
d(y3)dy=3y2\dfrac{d\left( {{y}^{3}} \right)}{dy}=3{{y}^{2}}
Using this value into the RHS of equation (ii), we get
d(cos3x)d(cosx)=3y2\dfrac{d\left( {{\cos }^{3}}x \right)}{d\left( \cos x \right)}=3{{y}^{2}}
Putting the value of y=cosxy=\cos x , we get
d(cos3x)d(cosx)=3cos2x...(iii)\dfrac{d\left( {{\cos }^{3}}x \right)}{d\left( \cos x \right)}=3{{\cos }^{2}}x...\left( iii \right)
Now, we will evaluate the second part of equation (i), i.e., d(cosx)dx\dfrac{d\left( \cos x \right)}{dx} .
We know that the differentiation of cosx is sinx\cos x\text{ is }-\sin x , which is same as
d(cosx)dx=sinx...(iv)\dfrac{d\left( \cos x \right)}{dx}=-\sin x...\left( iv \right)
Substituting the values from equation (iii) and equation (iv) into equation (i), we get
d(cos3x)dx=3cos2x×(sinx)\dfrac{d\left( {{\cos }^{3}}x \right)}{dx}=3{{\cos }^{2}}x\times \left( -\sin x \right)
Rearranging the terms in RHS, we get
d(cos3x)dx=3sinxcos2x\Rightarrow \dfrac{d\left( {{\cos }^{3}}x \right)}{dx}=-3\sin x{{\cos }^{2}}x
Hence, the derivative of cos3(x){{\cos }^{3}}\left( x \right) is 3sinxcos2x-3\sin x{{\cos }^{2}}x .

Note: We must remember that Chain Rule has a high probability of error. So, we must take utmost care while using this concept and must not skip any step in between. We must also remember all formulae of derivatives by heart, as without them, we will not be able to solve the problems based on this concept.