Taylor Series Formula

Taylor series is a representation of a function as an infinite sum of terms calculated from the function's derivatives at a single point: f(x) = Σ_(n=0)^∞ (f^(n)(a)/n!)(x-a)^n.

The Formula

f(x)=∑n=0∞f(n)(a)n!(x−a)n=f(a)+f′(a)(x−a)+f′′(a)2!(x−a)2+⋯

Ask yourself: Am I building an infinite polynomial whose successive derivatives at one center match the function's?

Quick example

ex=∑n=0∞xnn!=1+x+x22!+x33!+⋯
e1≈1+1+0.5+0.167+0.042+⋯=2.718…
Each term improves the approximation.

Notation

Tn(x) = Taylor polynomial of degree n. Rn(x) = remainder (error) term.

What this formula means

A representation of a function as an infinite sum of terms calculated from the function's derivatives at a single point: f(x)=∑n=0∞f(n)(a)n!(x−a)n
When a=0, it's called a Maclaurin series.

A Taylor series is like giving directions from one landmark: first where you are (the value), then which way you are heading (the slope), then how the road bends (the second derivative), and so on. Near the landmark a few instructions get you almost exactly there. Far away the errors add up, and for some functions no amount of detail reaches past a certain distance.

Formal view

f(x)=∑n=0∞f(n)(a)n!(x−a)n for ∣x−a∣<R (radius of convergence). Taylor's theorem with remainder: f(x)=Tn(x)+Rn(x) where Rn(x)=f(n+1)(c)(n+1)!(x−a)n+1 for some c between a and x (Lagrange form).

Worked examples

Example 1

easy
Find the Maclaurin series for ex up to the x4 term.
Show solution

Answer

ex=1+x+x22+x36+x424+⋯

First step

1.
The Taylor series formula is f(x)=∑n=0∞f(n)(0)n!xn. Compute the derivatives of ex at x=0.

Full solution

  1. 2.
    Since every derivative of ex is ex, we have f(n)(0)=e0=1 for all n.
  2. 3.
    Substitute into the formula: ex=∑n=0∞xnn!=1+x+x22!+x33!+⋯
Every derivative of ex is ex, so all coefficients are 1/n!. Converges for all x.

Example 2

hard
Find the Maclaurin series for ln⁡(1+x) and state the interval of convergence.

Example 3

medium
Approximate e0.2 using the Maclaurin series for ex through the x3 term.

Common mistakes

  • Forgetting the n! in the denominator - each coefficient is f(n)(a)n!, not just f(n)(a).
  • Assuming convergence everywhere - the series only represents f within its interval of convergence; check it.
  • Centering at the wrong point - use (x−a) powers about the center a; Maclaurin specifically means a=0.

Why this formula matters

Polynomials need only adding and multiplying, so a Taylor series turns e0.1, sin⁡0.2 or ∫01e−x2 dx into arithmetic. It is also the source of the standard shortcuts in science, such as sin⁡θ≈θ for small angles. Drop the n! or ignore where the series converges, though, and you get a polynomial that looks reasonable and is badly wrong.

Frequently asked questions

What is the Taylor Series formula?

A representation of a function as an infinite sum of terms calculated from the function's derivatives at a single point: f(x)=∑n=0∞f(n)(a)n!(x−a)n
When a=0, it's called a Maclaurin series.

How do you use the Taylor Series formula?

Use a Taylor series when a problem asks you to approximate a function near a point, asks for a Maclaurin or Taylor polynomial of a given degree, or needs a limit or integral with no easy antiderivative, such as ∫00.5e−x2 dx. If only the tangent line is wanted, stop after two terms. If the series is already given and the question is where it converges, treat it as a power series problem. If neighbouring terms have a constant ratio, sum it as a geometric series instead.

What do the symbols mean in the Taylor Series formula?

Tn(x) = Taylor polynomial of degree n. Rn(x) = remainder (error) term.

Why is the Taylor Series formula important in Math?

Polynomials need only adding and multiplying, so a Taylor series turns e0.1, sin⁡0.2 or ∫01e−x2 dx into arithmetic. It is also the source of the standard shortcuts in science, such as sin⁡θ≈θ for small angles. Drop the n! or ignore where the series converges, though, and you get a polynomial that looks reasonable and is badly wrong.

What do students get wrong about Taylor Series?

The procedure for taylor series is the easy part; the trap is forgetting the n! in the denominator. Asking "Am I building an infinite polynomial whose successive derivatives at one center match the function's?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Taylor Series formula?

Before studying the Taylor Series formula, you should understand: derivative, differentiation rules, infinite geometric series, convergence divergence.