Question
Question: How do you differentiate \({{\cos }^{2}}\left( {{x}^{2}} \right)\)?...
How do you differentiate cos2(x2)?
Solution
Now to differentiate the given function we will have to use chain rule of differentiation. Now first we will simplify the function cos2(x2) by using the identity cos2x=21+cos2x . Now we will differentiate the function using chain rule of differentiation which states dxd(f(g(x)))=f′(g(x)).g′(x) . Now we know that differentiation of cosx is −sinx and differentiation of xn is nxn−1 . Hence we will use these values to find the differentiation of the function.
Complete step-by-step answer:
Now the given function cos2(x2) is a composite function of the form f(g(x)) .
To differentiate the function we know we have to use chain rule of differentiation. Now we have no standard differentiation for the function cos2x . Hence first we will use trigonometric identities to simplify the function cos2x such that the obtained function can be easily differentiable.
Now we know that cos2x=2cos(2x)+1 .
Hence we have cos2x2=21+cos2x2
Now let us differentiate 21+cos2x2
Now according to chain rule we have f(x)=21+cosx and g(x)=2x2
Now we that f′(cx)=cf′(x) we can take 21 out of denominator Hence we have f′(x)=2−sinx.
Also since we know dxdxn=nxn−1 We have can write g′(x)=4x
Now hence we have f′(g(x))=2−sin(2x2) and g′(x)=4x
Now we know that according to chain rule we have differentiation of the function f(g(x))=f′(g(x))g′(x)
Now using chain rule we have differentiation of 21+cos2x2 is 2−sin2x2(4x)
But since we have cos2x=2cos(2x)+1 we can say that the differentiation of cos2x is −sin(2x2)(2x) .
Hence the given function is differentiated.
Note: Now note that while differentiation a composite function with the help of chain rule we have f′(g(x)).g′(x) and not f′(x).g′(x) . Hence remember to find the value of f′(g(x)) after differentiating the function f(x) . Also not to be confused between f(x).g(x) and f(g(x)) .