Question
Question: How do you write the Maclaurin Series for \[\cos {{\left( x \right)}^{2}}?\]...
How do you write the Maclaurin Series for cos(x)2?
Solution
We are asked to find the Maclaurin Series for cos(x)2. We will learn what is Maclaurin series and we will learn how to write it. Then using the expansion form of the Maclaurin series f(x)=∑n!fn(0)xn we will find the derivative of f(x) at x = 0. In our function, cos2(x) we will first simplify it using cos2x=21+cos2x and then we will find the various derivatives. Once we have the derivative then we will compare and form the required series.
Complete step by step answer:
We are given a function cos(x)2 and it is nothing but cos2x. We have to find the Maclaurin Series of cos2x. To start solving our problem we will understand what does this series mean and how it is formed. Now, Maclaurin Series is a special type of Taylor series expansion which is just expanded about x = 0. As we know Taylor Series of any function say f(x) is given as
f(x)=f(a)+f′(a)+2!f′′(a).....
Or
f(x)=n=0∑n=∞n!fn(a)(x−a)n
where a is the point of expansion.
Since in Maclaurin, the point of expansion is zero only. So Maclaurin series will be given as
f(x)=n=0∑n=∞n!fn(0)xn
where fn(0) means the derivative of the function at 0.
Now, we have the function defined as cos2(x) and as it is a 2-degree function, its derivative will be lengthy and we will convert it into linear. We know cos2x=21+cos2x and so by definition of Maclaurin Series, we need to find the derivative of our function cos2x=21+cos2x around x = 0. So, we will find the first 4 derivatives of f(x)=21+cos2x.
First derivative
f′(x)=dxd(21+cos2x)
⇒f′(x)=20+2[−sin2x]
⇒f′(x)=−sin2x
At x = 0, we have
⇒f′(0)=−sin(2×0)
⇒f′(0)=−sin0
⇒f′(0)=0
Second derivative
f′(x)=−sin(2x)
f′′(x)=−[cos2x].2
⇒f′′(x)=−2cos2x
At x = 0, we have,
⇒f′′(x)=−2(cos0)
⇒f′′(x)=−2
Now, similarly the third derivative at x = 0, we will get,
f′′′(x)=4sin2x
⇒f′′′(0)=0
Lastly, the fourth derivative of f(x) at x = 0
f′′′′(x)=8cos2x
⇒f′′′′(0)=8
Now, we will observe that the odd derivatives are all zero and all even derivatives are 2 to the power of one less than the order of the derivative with the alternating positive and negative sign.
So, putting these values in f(x) we get,
f(x)=f(0)+1!f′(0)x+2!f′′(0)x2.....
⇒f(x)=21+cos(0)+1!0(x)+2!−2x2+3!0x3+4!8x4....
So,
⇒cos2x=1−2!−2x2+4!8x4−6!32x6....
Hence our Maclaurin Series is given as
cos2x=1−2!−2x2+4!8x4−6!32x6....
In summation form, we get,
cos2x=1+k=1∑∞(−1)k(2k)!22k−1.x2k
Note: While going for finding the derivative, remember that we have to find the multiple derivatives that are first order, second order, third order and more. So, it is crucial to change the given function to the simplest form. Else our calculation becomes lengthy and mistakes will occur, so we need to be cautious.