Question
Question: How do you find the derivative of \({{\cos }^{2}}\left( 2x \right)\)?...
How do you find the derivative of cos2(2x)?
Solution
The given function cos2(2x) is a composite function. We have to use the chain rule for the derivation. We derive the main function with respect to the secondary one. Then we take the derivation of the secondary function with respect to x. We take the multiplication of these two functions.
Complete step by step solution:
We differentiate the given function f(x)=cos2(2x) with respect to x using the chain rule.
Here we have a composite function where the main function is g(x)=cos2x and the other function is h(x)=2x.
We have goh(x)=g(2x)=cos2(2x). We take this as ours f(x)=cos2(2x).
We need to find the value of dxd[f(x)]=dxd[cos2(2x)]. We know f(x)=goh(x).
Differentiating f(x)=goh(x), we get
dxd[f(x)]=dxd[goh(x)]=d[h(x)]d[goh(x)]×dxd[h(x)]=g′[h(x)]h′(x).
The above-mentioned rule is the chain rule.
The chain rule allows us to differentiate with respect to the function h(x) instead of x and after that we need to take the differentiated form of h(x) with respect to x.
For the function f(x)=cos2(2x), we take differentiation of f(x)=cos2(2x) with respect to the function h(x)=2x instead of x and after that we need to take the differentiated form of h(x)=2x with respect to x.
We know the multiple angle formula of sin2x=2sinxcosx.
The differentiation of g(x)=cos2x is g′(x)=2cosxdxd(cosx)=−2sinxcosx=−sin2x and differentiation of h(x)=2x is h′(x)=2. We apply the formula of dxd(xn)=nxn−1.
⇒dxd[f(x)]=d[2x]d[cos2(2x)]×dxd[2x]
We place the values of the differentiations and get
⇒dxd[f(x)]=(−sin4x)[2]=−2sin4x
Therefore, the differentiation of cos2(2x) is −2sin(4x).
Note: We can also assume the secondary function as a new variable. For the given function cos2(2x), we assume z=2x. Then we use the chain rule in the form of
dxd[f(x)]=dxd[g(z)]=dzd[g(z)]×dxdz=g′(z)×z′.
We replace the value h(x)=z=2x.