# Taylor and Maclaurin (Power) Series Calculator

## Find Taylor/Maclaurin series step by step

The calculator will find the Taylor (or power) series expansion of the given function around the given point, with steps shown. You can specify the order of the Taylor polynomial. If you want the Maclaurin polynomial, just set the point to $$$0$$$.

### Solution

**Your input: calculate the Taylor (Maclaurin) series of $$$\sin{\left(x \right)}$$$ up to $$$n=4$$$**

A Maclaurin series is given by $$$f\left(x\right)=\sum\limits_{k=0}^{\infty}\frac{f^{(k)}\left(a\right)}{k!}x^k$$$

In our case, $$$f\left(x\right) \approx P\left(x\right) = \sum\limits_{k=0}^{n}\frac{f^{(k)}\left(a\right)}{k!}x^k=\sum\limits_{k=0}^{4}\frac{f^{(k)}\left(a\right)}{k!}x^k$$$

So, what we need to do to get the desired polynomial is to calculate the derivatives, evaluate them at the given point, and plug the results into the given formula.

$$$f^{(0)}\left(x\right)=f\left(x\right)=\sin{\left(x \right)}$$$

Evaluate the function at the point: $$$f\left(0\right)=0$$$

Find the 1st derivative: $$$f^{(1)}\left(x\right)=\left(f^{(0)}\left(x\right)\right)^{\prime}=\left(\sin{\left(x \right)}\right)^{\prime}=\cos{\left(x \right)}$$$ (steps can be seen here).

Evaluate the 1st derivative at the given point: $$$\left(f\left(0\right)\right)^{\prime }=1$$$

Find the 2nd derivative: $$$f^{(2)}\left(x\right)=\left(f^{(1)}\left(x\right)\right)^{\prime}=\left(\cos{\left(x \right)}\right)^{\prime}=- \sin{\left(x \right)}$$$ (steps can be seen here).

Evaluate the 2nd derivative at the given point: $$$\left(f\left(0\right)\right)^{\prime \prime }=0$$$

Find the 3rd derivative: $$$f^{(3)}\left(x\right)=\left(f^{(2)}\left(x\right)\right)^{\prime}=\left(- \sin{\left(x \right)}\right)^{\prime}=- \cos{\left(x \right)}$$$ (steps can be seen here).

Evaluate the 3rd derivative at the given point: $$$\left(f\left(0\right)\right)^{\prime \prime \prime }=-1$$$

Find the 4th derivative: $$$f^{(4)}\left(x\right)=\left(f^{(3)}\left(x\right)\right)^{\prime}=\left(- \cos{\left(x \right)}\right)^{\prime}=\sin{\left(x \right)}$$$ (steps can be seen here).

Evaluate the 4th derivative at the given point: $$$\left(f\left(0\right)\right)^{\prime \prime \prime \prime }=0$$$

Now, use the calculated values to get a polynomial:

$$$f\left(x\right)\approx\frac{0}{0!}x^{0}+\frac{1}{1!}x^{1}+\frac{0}{2!}x^{2}+\frac{-1}{3!}x^{3}+\frac{0}{4!}x^{4}$$$

Finally, after simplifying we get the final answer:

$$$f\left(x\right)\approx P\left(x\right) = x- \frac{1}{6}x^{3}$$$

**Answer: the Taylor (Maclaurin) series of $$$\sin{\left(x \right)}$$$ up to $$$n=4$$$ is** $$$\sin{\left(x \right)}\approx P\left(x\right)=x- \frac{1}{6}x^{3}$$$