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

A6 · Lesson 35 · Functions as power series

New series from old ones

You know one power series by heart: 11−x=1+x+x2+⋯. From that single series, with nothing but substitution, differentiation and integration, you can build series for ln⁡(1+x), tan−1⁡x, 1(1−x)2 and many more, without computing a single derivative from scratch. Inside its radius of convergence, a power series can be treated just like a polynomial: differentiated and integrated term by term.

  • The blue curve is ln⁡(1+x). The other is its series, x−x22+x33−⋯, cut off at degree N.
  • Raise N. Inside −1<x≤1 the polynomials close in. Beyond x=1 they swing further away with each term.
  • The readout compares the two at x0.

Predict

You know 11+t=1−t+t2−t3+⋯. What do you get by integrating both sides from 0 to x?

Name it

Term by term

If f(x)=∑cnxn with radius of convergence R>0, then for |x|<R

f′(x)=∑n=1∞ncnxn−1∫0xf(t)dt=∑n=0∞cnn+1xn+1

and both new series have the same radius R. (The endpoints can change: integrating can make an endpoint converge.)

The toolkit, built from 11−x

OperationResultRadius
Replace x by −x11+x=∑(−1)nxn1
Integrate thatln⁡(1+x)=∑n=1∞(−1)n+1xnn1
Replace x by −x211+x2=∑(−1)nx2n1
Integrate thattan−1⁡x=∑(−1)nx2n+12n+11
Differentiate 11−x1(1−x)2=∑n=0∞(n+1)xn1
Replace x by kx11−kx=∑knxn1/|k|

Multiplying a series by xk shifts every power up by k, which is how ∑nxn=x(1−x)2 comes from the derivative.

Why this matters

These series turn functions with no simple antiderivative into ones you can integrate term by term (lesson 44), and they're how libraries compute ln⁡ and tan−1⁡, after first shrinking the argument so the series converges fast.

Worked example

Estimate ln⁡1.1 with three terms of its series.

Show the solution
  1. Add three terms. ln⁡1.1≈0.1−0.012+0.0013=0.1−0.005+0.000333=0.095333
  2. Bound the error. The series alternates, so the error is less than the next term: 0.144=0.000025
  3. Compare. The true value is 0.095310, so the actual error, 0.000023, is inside the bound.

Answer ln⁡1.1≈0.095333, with an error under 0.000025; the true value is 0.095310.

Worked example

Find the power series of 11+4x2 and its radius of convergence.

Show the solution
  1. Substitute into the geometric series. Replace x in 11−x by −4x2: 11+4x2=∑(−4x2)n=1−4x2+16x4−64x6+⋯
  2. Find the radius. It converges when |4x2|<1, that is, |x|<12, so R=12.

Answer 11+4x2=1−4x2+16x4−64x6+⋯, with R=12.

Worked example

Find the power series for 1(1−x)2 and use it at x=0.1.

Show the solution
  1. Differentiate the geometric series term by term. ddx11−x=1(1−x)2=1+2x+3x2+⋯=∑(n+1)xn for |x|<1.
  2. Use it at x=0.1. 1+0.2+0.03+0.004+⋯=1.2346 matching 1/0.81.

Answer 1(1−x)2=∑(n+1)xn for |x|<1, and at x=0.1 it gives 1.2346.

Check

What is the coefficient of x3 in the series for 11+2x?

Check

Estimate ln⁡(1+0.2) with three terms of its series.

Check

Estimate tan−1⁡0.2 with two terms of its series.

Check

What is the coefficient of x5 in the series for 1(1−x)2?

Check

What is the radius of convergence of the series for 11+9x2?

Check

Which is the series for tan−1⁡x?

Check

Build series from the geometric series.

(a)

What does ∑n=0∞(n+1)0.2n sum to?

(b)

What does ∑n=0∞(−2x2)n sum to at x = 0.2?

Check

Get the series for tan−1⁡x from a geometric series.

Step 1

What is the derivative of tan−1⁡x?

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

How does integrating the series for 11+x2 give the series for tan−1⁡x?

Practice

Keep practicing

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