Skip to content

Taylor series in use: limits, integrals and error control

Use known Maclaurin series to find limits, integrate functions with no elementary antiderivative, sum numerical series, and choose the right error bound for a stated tolerance.

It opens on

The limit of (eˣ − 1 − x)/x² as x → 0 is 0/0, and the values near 0 look like 0.5. Can a series show why, and can the same series find an area that no antiderivative gives?

Why it matters

Engineers and scientists replace sin, exp and ln by a few series terms and need to know how many terms keep the error small.

Good to know first

  • Lagrange error bound: |f(x) − Pₙ(x)| ≤ max|f⁽ⁿ⁺¹⁾|·|x − a|ⁿ⁺¹/(n + 1)!
  • Alternating series error bound: for a convergent alternating series the error is at most the first omitted term
  • Finding Taylor or Maclaurin series for a function: the series of eˣ, sin x, cos x and 1/(1 − x)
  • The binomial series: (1 + x)ᵏ = Σ C(k, n)xⁿ for |x| < 1
  • Power series: radius and interval of convergence in depth: a series may be used only inside its interval of convergence

Step by step

  1. Limits and sums from a known series

    Evaluate a 0/0 limit by cancelling leading terms of Maclaurin series, and sum a numerical series by recognising it.

    Divide by x²: (eˣ − 1 − x)/x² = 1/2 + x/6 + ..., the curve's height near the open circle.

    A common mix-up

    Plugging x = 0 into the formula decides the limit.

    In fact: At x = 0 the quotient is 0/0, and only the leading terms of the series reveal the height 1/2.

  2. An integral with no antiderivative

    Integrate a series term by term over [0, 1] and stop at a chosen tolerance using the alternating bound.

    Integrate each power from 0 to 1: ∫₀¹ x²ⁿ dx = 1/(2n + 1), so the n-th term is (−1)ⁿ/(n!(2n + 1)).

    A common mix-up

    Integrating gives Σ(−1)ⁿ/n!

    In fact: Each power x²ⁿ is itself integrated and divided by 2n + 1; the area is 0.7468, not 0.368.

  3. Choosing the error bound

    Choose between the alternating bound and Taylor's inequality, and pick n for a given tolerance.

    For exp(0.5) every derivative is eˣ, at most exp(0.5) < 2 on [0, 0.5] (since e < 4), so M = 2.

    A common mix-up

    The error is at most the next term, for any series.

    In fact: That holds only when terms alternate and decrease; for exp(0.5) the next term 0.00026 is below the true error 0.00028.

Try it

Find the limit as x → 0 of (cos x − 1 + x²/2)/x⁴.Answer

1/24

Hint: Cos x = 1 − x²/2 + x⁴/24 − ...

Estimate the integral of exp(−x²) from x = 0 to x = 0.5 within 0.0001.Answer

0.4613 (four terms: 0.5 − 0.04167 + 0.003125 − 0.000186, error below 0.00001) (hint: the n-th term is (−1)ⁿ(0.5)²ⁿ⁺¹/(n!(2n + 1)))

Find n so that Pₙ(0.3) approximates sin 0.3 within 0.00005, justifying M.Answer

n = 4, M = 1 because |sin| and |cos| are at most 1: bound 0.3⁵/5! = 0.00002025

Hint: n = 3 gives 0.0003375, too big

At x = 0 the quotient (eˣ − 1 − x)/x² is 0/0, called an indeterminate form. What do values at 0.1 and 0.01 suggest?Answer

Near 0.5: 0.517 and 0.5017.

What is the term for n = 2?Answer

1/10, since ∫₀¹ x⁴/2 dx = 1/10.

Taylor series in use: limits, integrals and error control

30 minutes every month. No card.