Taylor Series Calculator

Expand a function as a Taylor series.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Enter a function, a centre and an order to get its Taylor polynomial. e^x about 0 to order 4 is 1 + x + 0.5x² + 0.16667x³ + 0.041667x⁴.

How to use

1
Step 1
Type the function.
2
Step 2
Enter the centre c (0 gives a Maclaurin series).
3
Step 3
Enter the order.
4
Step 4
Press Calculate.

How it works

The coefficient of (x − c)ⁿ is f⁽ⁿ⁾(c) ÷ n!. Adding more terms makes the polynomial hug the function over a wider range. The sin x series has only odd powers because its even derivatives vanish at 0.

f(x) ≈ Σ f⁽ⁿ⁾(c) ÷ n! · (x − c)ⁿ

Worked example

ln x around x = 1

Input
ln(x), centre 1, order 3
Output
(x−1) − 0.5(x−1)² + 0.3333(x−1)³
Walkthrough
Derivatives of ln x at 1 are 1, −1, 2. Dividing by n!: 1, −1/2, 2/6 = 1/3.

Limitations

  • Coefficients are decimals, not fractions: 1/6 is shown as 0.16666666666666666.
  • The function must be differentiable at the centre; ln x cannot be centred at 0.

Questions

What is the Taylor series of e^x?
1 + x + x²/2 + x³/6 + x⁴/24 + … about 0.
What is the Taylor series of sin x?
x − x³/6 + x⁵/120 − …, only odd powers.
What is a Maclaurin series?
A Taylor series centred at 0.

Features

  • Any centre and order
  • Derivative-based
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Differentiating polynomials example

    Khan Academy

    Worked polynomial derivatives to compare with calculator output.

    Watch on YouTube
  • Definite integrals intro

    Khan Academy

    Definite integral basics for area-under-curve calculators.

    Watch on YouTube
  • Calculus Volume 1

    OpenStax

    Free textbook chapters for limits, derivatives, and integrals.

  • Math is Fun

    Math is Fun

    Clear explainers that pair well with calculator-style tools.