Question
Question: How do you find the Maclaurin series of \[f\left( x \right)=\cos \left( x \right)\]?...
How do you find the Maclaurin series of f(x)=cos(x)?
Solution
In this problem, we have to find the Maclaurin series for f(x) using the definition of a Maclaurin series, of f(x)=cos(x). We can now derive the Maclaurin series from an infinite series. We can write the infinite series, we can then find the first derivative, second derivative, third derivative, fourth and fifth derivative of the given function. We can substitute the derivatives in the infinite function to get the final answer.
Complete step-by-step solution:
We can now derive the Maclaurin series from an infinite series. We can write the infinite series.
⇒f(x)=f(0)+f′(0)x+2!f′′(0)x2+3!f′′′(0)x3+....+n!fn(0)xn ……. (1)
We know that the given function is,
f(x)=cos(x)
We can now find the first term of the infinite series (1) from the above function,
⇒f(0)=cos(0)=1…… (2)
We can now find the first derivative of f(x)=cos(x) , we get