A644 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A6 · Lesson 44 · Series at work

Integrating what has no antiderivative

The probability that Gaussian noise pushes a bit across the decision threshold, the bit error rate of every digital radio, comes from the integral of e−x2. That integral has no formula in terms of the functions you know; no amount of substitution or integration by parts will find one. But e−x2 has a power series, and a power series can be integrated one term at a time. That's how the error function is computed, and the same idea evaluates stubborn limits in one line.

  • The blue curve is the area ∫0be−x2dx as b grows, computed exactly. The other curve integrates the first N terms of the series for e−x2.
  • With 2 terms the series is good near 0 and wanders off past b≈0.7. Add terms and watch the good range grow.
  • Read off how many terms give 4 correct decimals at b=1.

Predict

The series for e−x2 is 1−x2+x42!−x63!+⋯. What is the series for ∫01e−x2dx?

Name it

Integrating with series

Inside the radius of convergence, integrate term by term:

∫0be−x2dx=∑n=0∞(−1)nb2n+1(2n+1)n!=b−b33+b510−b742+⋯

The series for e−x2 converges everywhere, so this works for every b, though large b needs many terms. Engineers use this through the error function, erf(b)=2π∫0be−x2dx, and the Gaussian tail Q(x) built from it (A11, S8).

Other integrals done this way: the sine integral ∫0bsin⁡xxdx (filter design and the Gibbs overshoot), and the Fresnel integrals ∫cos⁡(x2)dx (diffraction, B8).

When the series alternates, the alternating series bound gives the error for free.

Limits with series

Substitute series and the leading terms cancel, leaving the answer:

limx→0⁡sin⁡x−xx3=limx→0⁡(x−x36+x5120−⋯)−xx3=−16

This is often faster than L'Hôpital's rule, which here would need three rounds.

Recognizing series

Sometimes a series is a known function in disguise: ∑xnn!=ex, ∑(−1)nx2n(2n)!=cos⁡x, ∑(−1)n+1n=ln⁡2. Matching the pattern of the coefficients finds the sum.

Worked example

Estimate ∫01e−x2dx with five terms, and bound the error.

Show the solution
  1. Add five terms. 1−13+110−142+1216=1−0.333333+0.1−0.023810+0.004630=0.747487
  2. Bound the error. The series alternates, so the error is less than the next term: 111⋅5!=11320=0.00076
  3. Compare. The true value is 0.746824, off by 0.00066.

Answer five terms give 0.747487, with an error under 0.00076; the true value is 0.746824.

Worked example

Find limx→0⁡ex−1−xx2.

Show the solution
  1. Expand the numerator. ex−1−x=x22+x36+⋯
  2. Divide by x2. ex−1−xx2=12+x6+⋯ which tends to 12.

Answer the limit is 12.

Worked example

Estimate ∫00.5sin⁡xxdx with three terms of a series.

Show the solution
  1. Divide the sine series by x. sin⁡xx=1−x26+x4120−⋯
  2. Integrate term by term. The integral is x−x318+x5600, which at x=0.5 is 0.5−0.006944+0.000052=0.49311
  3. Bound the error. The series alternates, so the next term bounds the error: x735280≈2×10−7

Answer the integral is about 0.493 11, with an error below about 2×10−7.

Check

Estimate ∫00.5sin⁡xxdx with three terms of its series.

Check

Find limx→0⁡sin⁡(3x)−3xx3.

Check

Find limx→0⁡e3x−1−3xx2.

Check

Estimate ∫00.3e−x2dx with two terms.

Check

Estimate ∫00.5cos⁡(x2)dx with three terms.

Check

What is 1−x22!+x44!−x66!+⋯ at x = 2?

Check

Estimate ∫00.5sin⁡xxdx with series.

(a)

What do three terms give?

(b)

What bounds the error?

Check

Find limx→0⁡1−cos⁡xx2 with a series.

Step 1

Write 1−cos⁡x with two terms of its series.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

e−x2 has no antiderivative made of familiar functions. How can a series still find ∫01e−x2dx to any accuracy you want?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.