Maclaurin Series Calculator

Type a function and an order to find its Maclaurin polynomial.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

The highest power to keep, a whole number from 0 to 20.

Try

Result

You enteredT5[sin⁡x] about x=0T_{5}\left[\sin x\right] \text{ about } x = 0

x−x36+x5120\displaystyle x - \frac{x^{3}}{6} + \frac{x^{5}}{120}

Next term

0\displaystyle 0
Show the work
  1. Maclaurin series

    The Maclaurin series is the Taylor series about a=0a = 0: each coefficient is the kk-th derivative at 0 divided by k!k!.

    Using ∑k=0∞f(k)(0)k! xk\sum_{k=0}^{\infty} \frac{f^{(k)}(0)}{k!}\,x^k

  2. Function value

    Evaluate ff at x=0x = 0.

    f(0)(x)=sin⁡xf(0)(0)=0f(0)(a)0!=0\begin{gathered} f^{(0)}(x) = \sin x \\ f^{(0)}\left(0\right) = 0 \\ \frac{f^{(0)}(a)}{0!} = 0 \end{gathered}
  3. Derivative of order 1

    Differentiate once more, evaluate at x=0x = 0 and divide by 1!=11! = 1.

    f(1)(x)=cos⁡xf(1)(0)=1f(1)(a)1!=1\begin{gathered} f^{(1)}(x) = \cos x \\ f^{(1)}\left(0\right) = 1 \\ \frac{f^{(1)}(a)}{1!} = 1 \end{gathered}
  4. Derivative of order 2

    Differentiate once more, evaluate at x=0x = 0 and divide by 2!=22! = 2.

    f(2)(x)=−sin⁡xf(2)(0)=0f(2)(a)2!=0\begin{gathered} f^{(2)}(x) = -\sin x \\ f^{(2)}\left(0\right) = 0 \\ \frac{f^{(2)}(a)}{2!} = 0 \end{gathered}
  5. Derivative of order 3

    Differentiate once more, evaluate at x=0x = 0 and divide by 3!=63! = 6.

    f(3)(x)=−cos⁡xf(3)(0)=−1f(3)(a)3!=−16\begin{gathered} f^{(3)}(x) = -\cos x \\ f^{(3)}\left(0\right) = -1 \\ \frac{f^{(3)}(a)}{3!} = -\frac{1}{6} \end{gathered}
  6. Derivative of order 4

    Differentiate once more, evaluate at x=0x = 0 and divide by 4!=244! = 24.

    f(4)(x)=sin⁡xf(4)(0)=0f(4)(a)4!=0\begin{gathered} f^{(4)}(x) = \sin x \\ f^{(4)}\left(0\right) = 0 \\ \frac{f^{(4)}(a)}{4!} = 0 \end{gathered}
  7. Derivative of order 5

    Differentiate once more, evaluate at x=0x = 0 and divide by 5!=1205! = 120.

    f(5)(x)=cos⁡xf(5)(0)=1f(5)(a)5!=1120\begin{gathered} f^{(5)}(x) = \cos x \\ f^{(5)}\left(0\right) = 1 \\ \frac{f^{(5)}(a)}{5!} = \frac{1}{120} \end{gathered}
  8. Assemble the polynomial

    Multiply each coefficient by xkx^k and add, leaving out the terms whose coefficient is 0.

    T5(x)=x−x36+x5120T_{5}(x) = x - \frac{x^{3}}{6} + \frac{x^{5}}{120}
  9. Result

    The Maclaurin polynomial of order 5 is x−x36+x5120x - \frac{x^{3}}{6} + \frac{x^{5}}{120}.

Drag to pan. Scroll or pinch to zoom. Arrow keys pan and + / − zoom when the graph has focus.
  • y = sin(x)
  • y = x - x^3/6 + x^5/120

Points on the graph

  • y = sin(x): zero (0, 0)
  • y = sin(x): maximum (1.570796, 1)
  • y = sin(x): minimum (-1.570796, -1)
  • y = x - x^3/6 + x^5/120: zero (0, 0)
  • y = x - x^3/6 + x^5/120: maximum (1.59245, 1.004741)
  • y = x - x^3/6 + x^5/120: minimum (-1.59245, -1.004741)
  • y = sin(x) and y = x - x^3/6 + x^5/120: intersection (-0.009, -0.009)
  • y = sin(x) and y = x - x^3/6 + x^5/120: intersection (0, 0)
  • y = sin(x) and y = x - x^3/6 + x^5/120: intersection (0.003, 0.003)

Worked examples