Question
Question: Find the \({n^{th}}\) derivative of \({\cos ^2}x\)...
Find the nth derivative of cos2x
Solution
This is a calculus problem, involving the use of trigonometric functions and their properties. We can solve this using the pattern recognition method wherein we will be differentiating the given function successively first. Afterwards, we can substitute values and solve problems.
Complete answer: The first order derivative is as follows:
y1=dxd(cos2x)
We know cos(2x)=2cos2x−1
Thus, cos2x=21+cos(2x)
Substituting this value,
y1=dxd(21+cos2x) y1=21dxd(1)+21(cos2x)
Now, let 2x=u and substitute this value in the above equation:
y1=0+21dud(cosu)dxd(2x) y1=−sin2x
Since we now have an initial function of cosine, let us do the conversion.
We know that −sinx=sin(−x)
And sinx=cos(2π−x)
Therefore,
y1=sin(−2x) y1=cos(2π+2x)
Let us go for the second derivative now:
y1=dxdcos(2π+2x)
Let us assume that 2π+2x=v
Therefore,
y2=dvdcosvdxd(2π+2x) y2=dvdcosv[dxd(2π)+dxd2x] y2=−sin(2π+2x)[0+2] y2=−2sin(2π+2x) y2=2sin(−[2π+2x])
We now convert the functions into cosines again:
y2=2cos(2π+2π+2x) y2=2cos(22π+2x)
We here notice a pattern:
yn=ncos(2nπ+2x)
This is the nth derivative of the given function.
Hence, the nth derivative of cos2x is ncos(2nπ+2x)
Note:
This is a very simple problem where you have to take the derivative of the given function again and again and notice the pattern and then generalise it in the context of n . You can compute the third, fourth, fifth and so on derivatives also to verify the answer. However you need not show more than two or three derivatives as it will consume a lot of time.