Skip to content
ihateDesmos

Taylor series calculator

Type a function, choose a centre and a degree, and get its Taylor polynomial with exact coefficients. One click graphs it against the original, so you can see where the approximation holds.

Taylor
Result
−15040x7+1120x5−16x3+x

Degree 7 about x = 0

Graph the function and its polynomial

How to use it

  1. 1
    Type a function of x, like e^x or ln(1 + x).
  2. 2
    Choose the centre (use 0 for a Maclaurin series) and the highest degree.
  3. 3
    Press Find the series, then graph the polynomial alongside the function.

The Taylor series formula

A Taylor series writes a function as a polynomial built from its derivatives at one point, a:

f(x) = f(a) + f'(a)(x - a) + f''(a)/2! (x - a)^2 + f'''(a)/3! (x - a)^3 + ...

Each extra term makes the polynomial match one more derivative at a, so it hugs the function more closely. A Maclaurin series is simply a Taylor series centred at a = 0.

Common Maclaurin series

FunctionSeriesValid for
eˣ1 + x + x²/2! + x³/3! + …All x
sin xx − x³/3! + x⁵/5! − …All x
cos x1 − x²/2! + x⁴/4! − …All x
ln(1 + x)x − x²/2 + x³/3 − …−1 < x ≤ 1
1/(1 − x)1 + x + x² + x³ + …|x| < 1
arctan xx − x³/3 + x⁵/5 − …|x| ≤ 1

How good is the approximation?

Near the centre, the polynomial is excellent; further away, it can drift or fail entirely. For ln(1 + x), the series only converges for −1 < x ≤ 1, so no number of terms will help at x = 3. Graphing both makes this easy to see. It is also why small-angle approximations like sin x ≈ x work: they keep only the first term of the series.

Frequently asked questions

What is the difference between Taylor and Maclaurin series?
A Maclaurin series is a Taylor series centred at 0. Every Maclaurin series is a Taylor series.
How many terms do I need?
It depends on how accurate you need to be and how far from the centre you are. Graph a few degrees against the function to see.
What is the highest degree this calculator supports?
20. Higher-degree polynomials exist, but rarely add anything near the centre.
What is a Taylor series used for?
Calculators use them and similar polynomials to evaluate functions like sin and eˣ. They also simplify physics problems and help evaluate limits and integrals.

Related tools and guides

Try the taylor series calculator

It opens instantly, with no account and nothing to install.

Open the calculator