Power series can be treated almost exactly like polynomials: you can differentiate them term by term, integrate them term by term, and substitute into them. These moves let you build new series from old ones without computing a single high-order derivative, and they let you approximate integrals that have no elementary antiderivative.
Differentiating and integrating term by term
Calculus with power series
If f(x)=n=0∑∞cn(x−a)n has radius of convergence R>0, then on ∣x−a∣<R:
The geometric series 1−x1=∑xn is the starting point for a whole family of series.
Substitution. Replace x by −x: 1+x1=1−x+x2−x3+⋯. Replace x by −x2: 1+x21=1−x2+x4−x6+⋯. Both hold for ∣x∣<1.
Integration. Integrate 1+x1 from 0 to x:
ln(1+x)=x−2x2+3x3−4x4+⋯=n=1∑∞n(−1)n+1xn.
Integrate 1+x21 from 0 to x:
arctanx=x−3x3+5x5−⋯=n=0∑∞2n+1(−1)nx2n+1.
The radius stays 1, but now the endpoints behave differently: the ln(1+x) series converges at x=1 (giving ln2=1−21+31−⋯), and the arctangent series converges at both x=±1.
ln(1 + x) with partial sums of its series. Inside −1 < x ≤ 1 the partial sums close in on the curve; past x = 1 they swing away.Open in grapher →
Differentiation. Differentiate 1−x1=∑xn:
(1−x)21=1+2x+3x2+4x3+⋯=n=1∑∞nxn−1,∣x∣<1.
Common mistake
When you integrate a series to get a specific function, find the constant of integration. For ln(1+x) it's 0 because ln1=0; for other functions it might not be. Also keep track of the index: after differentiating, the n=0 term (a constant) disappears, so the sum usually starts at n=1.
Other operations
A few more moves round out your toolkit.
Multiplying by a power of x shifts every exponent: x2ex=x2+x3+2!x4+⋯. The radius doesn't change.
Adding or subtracting two series term by term works on the interval where both converge: ex+e−x=2+x2+12x4+⋯, since the odd powers cancel.
Substituting cx or xk changes the radius: the series for 1−4x1 converges when ∣4x∣<1, so its radius is 41, not 1.
Approximating integrals
Some integrals, like ∫01e−x2dx or ∫01sin(x2)dx, have no elementary antiderivative. Replace the integrand by its series, integrate term by term, and you get a numerical series you can sum as accurately as you like. If the result is alternating, the alternating series error bound tells you how good the approximation is.
The same approach defines important functions. The antiderivative of e−x2 used throughout probability has no formula in terms of familiar functions, but its series, x−3x3+10x5−⋯, converges for every x and can be evaluated to any accuracy.
Worked examples
Worked example: Approximating a nonelementary integral
Use the first two nonzero terms of a series to approximate ∫01sin(x2)dx, and bound the error.
Solution. Substitute x2 into the sine series: sin(x2)=x2−3!x6+5!x10−⋯. Integrate term by term:
The first two terms give 31−421=4213≈0.3095. The series alternates with decreasing terms, so the error is at most the next term, 13201≈0.00076.
Worked example: Summing a series by differentiating
Find the exact sum of n=1∑∞3nn.
Solution. From above, n=1∑∞nxn−1=(1−x)21, so multiplying by x gives n=1∑∞nxn=(1−x)2x for ∣x∣<1. At x=31:
n=1∑∞3nn=(2/3)21/3=4/91/3=43.
Worked example: A limit using series
Find x→0limx2ex−1−x.
Solution. Replace ex with its series:
x2ex−1−x=x22x2+6x3+⋯=21+6x+⋯⟶21.
Worked example: A function defined by a series
Let f(x)=n=1∑∞n⋅2nxn. Find the radius of convergence of the series for f′(x), and write f′(x) as a familiar function.
Solution. Differentiating term by term, f′(x)=n=1∑∞2nxn−1=21n=1∑∞(2x)n−1. This is geometric with ratio 2x, so it converges for ∣x∣<2, and R=2 (the same as for f). Its sum is
f′(x)=1−x/21/2=2−x1.
Tip
To find a series for a function, look for a way to reach it from a known series: substitute, multiply by a power of x, differentiate, or integrate. Computing derivatives with the Taylor formula is a last resort.
Practice
Practice 1
What is the coefficient of x8 in the Maclaurin series for 1+x21?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 2
Find the exact sum of n=1∑∞2nn.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 3
Use the first two nonzero terms of the Maclaurin series for sin(x2) to approximate ∫01sin(x2)dx. Give an exact fraction.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 4
What is the coefficient of x5 in the Maclaurin series for 1−3xx?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 5
The Maclaurin series for ln(1+x) can be obtained by which process?
Practice 6
Find the radius of convergence of the Maclaurin series for arctan(2x).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 7
Let f(x)=n=0∑∞n+1xn. Find f(4)(0).
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Practice 8
Use series to find x→0limx3sinx−x.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.