Solveeit Logo

Question

Question: How do you find the derivative of \({\cos ^2}\left( {3x} \right)\) ?...

How do you find the derivative of cos2(3x){\cos ^2}\left( {3x} \right) ?

Explanation

Solution

In order to find the derivative of the given expression, we use the chain rule method. We substitute cos(3x)=u\cos \left( {3x} \right) = u, and differentiate both sides with respect to xx . Then we take y=u2y = {u^2} and differentiate both sides with respect to uu. We multiply both of them to get our required answer.

Complete step-by-step solution:
The given expression is cos2(3x){\cos ^2}\left( {3x} \right)
Now, we need to differentiate the above given expression. In order to do so, we follow the chain rule.
The chain rule is as follows: dydx=dydu×dudx....(A)\dfrac{{dy}}{{dx}} = \dfrac{{dy}}{{du}} \times \dfrac{{du}}{{dx}}....\left( {\text{A}} \right)
Let us call this as equation (A)
Let us takecos(3x)=u\cos \left( {3x} \right) = u. Now let us differentiate both the sides with respect to xx
dudx=3sin(3x)\Rightarrow \dfrac{{du}}{{dx}} = - 3\sin \left( {3x} \right)
As we know that the differentiation of ddxcosx=sinx\dfrac{d}{{dx}}\cos x = - \sin x
Now let us take y=u2y = {u^2}
On differentiating both sides with respect to uu, we get:
dydu=2u\Rightarrow \dfrac{{dy}}{{du}} = 2u
Now, as we know that u=cos(3x)u = \cos \left( {3x} \right)
Therefore placing this value in 2u2u
Therefore, 2u=2cos(3x)2u = 2\cos \left( {3x} \right)
Now, if we look back at equation (A), we find that:
dydx=dydu×dudx\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{dy}}{{du}} \times \dfrac{{du}}{{dx}}
Thus, dydx=2u×(3sin(3x))\dfrac{{dy}}{{dx}} = 2u \times \left( { - 3\sin \left( {3x} \right)} \right)
  dydx=(2cos(3x))×(3sin(3x))\Rightarrow \;\dfrac{{dy}}{{dx}} = \left( {2\cos \left( {3x} \right)} \right) \times \left( { - 3\sin \left( {3x} \right)} \right)
On further simplifying, we get:
  dydx=6cos(3x)sin(3x)\Rightarrow \;\dfrac{{dy}}{{dx}} = - 6\cos \left( {3x} \right)\sin \left( {3x} \right)

Therefore 6cos(3x)sin(3x)- 6\cos \left( {3x} \right)\sin \left( {3x} \right) is the required answer.

Note: Derivatives are a fundamental tool of Calculus, which is a branch of Mathematics. Derivation or differentiation is a way of finding the instantaneous rate of change of a function based on one of its variables.
We can find the derivative of trigonometric functions, logarithmic functions, etc using different formulas.
The inverse of differentiation is integration.
While differentiation means to break down a function into parts, integration means to add up the infinitesimal parts to give a whole function.
Some common formulas of differentiation are:
d(xn)dx=nxn1\dfrac{{d\left( {{x^n}} \right)}}{{dx}} = n{x^{n - 1}}
d(logx)dx=1x\dfrac{{d\left( {\log x} \right)}}{{dx}} = \dfrac{1}{x}
ddx(f(x)g(x))=f(x)ddx(g(x))+g(x)ddx(f(x))\dfrac{d}{{dx}}\left( {f\left( x \right)g\left( x \right)} \right) = f\left( x \right)\dfrac{d}{{dx}}\left( {g\left( x \right)} \right) + g\left( x \right)\dfrac{d}{{dx}}\left( {f\left( x \right)} \right)