Power series and the radius of convergence ·… | StemPy Lab
Course 15.3·Lesson 1 of 3
Power series and the radius of convergence
A power series is a polynomial that never ends. For each value of x it becomes an ordinary series of numbers, which may converge or diverge. The set of x where it converges is an interval around the centre. The ratio test gives the radius of that interval, and each end of the interval must be tested on its own.
about 35 min
Lesson 1 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
say what a power series is and what its centre and radius mean;
find the radius of convergence with the ratio test, and test both endpoints one by one;
write the interval of convergence, and build new power series from the geometric series by substitution.
A polynomial that never ends
You know that a polynomial such as 1+x+x2+x3 is easy to work with. What if we never stop adding? Take
1+x+x2+x3+⋯=n=0∑∞xn.
For a fixed number x this is a geometric series with first term 1 and ratio x. You met the rule in the first course: it converges when ∣x∣<1, and then its sum is 1−x1. When ∣x∣≥1 the terms do not shrink to zero, and it diverges.
At x=0.5 the sums of the first terms are 1.5, 1.75, 1.875, 1.9375, and they head for 2=1−0.51. At x=2 the sums are 3,7,15,31, and they grow without bound. So the same formula works for some x and fails for others.
Two graphs, one above the other, for x from -1.5 to 1.5, with the stretch from -1 to 1 shaded pale orange. In both, the blue curve is 1/(1 - x), which rises steeply towards the break at x = 1. In the upper graph a red curve for the sum of the first 5 terms follows the blue curve closely only for x between about -0.5 and 0.5 and then drifts below it. In the lower graph the red curve for the first 12 terms follows the blue curve over a wider stretch, up to about x = 0.8, and plunges far below it for x below -1.
What a power series is
A power series with centrea is a series of the form
n=0∑∞cn(x−a)n=c0+c1(x−a)+c2(x−a)2+⋯
The numbers c0,c1,c2,… are the coefficients. When a=0 the series is ∑cnxn. Every choice of x gives a series of numbers, so a power series is a function whose domain is the set of x where that series converges.
Every power series converges at its centre, because every term except c0 is zero there. The question is how far from the centre it goes on converging.
Three possible shapes
For a power series with centre a, exactly one of these happens.
It converges only at x=a. The radius is R=0.
It converges for every real x. The radius is R=∞.
There is a number R>0. The series converges absolutely when ∣x−a∣<R and diverges when ∣x−a∣>R.
The number R is the radius of convergence. The interval of convergence is the set of all x where the series converges. In the third case it contains the open interval (a−R,a+R). What happens at the two endpoints x=a−R and x=a+R is not decided by R. Each endpoint gives a different series of numbers, and you must test it yourself.
The four possible intervals are (a−R,a+R), [a−R,a+R), (a−R,a+R] and [a−R,a+R].
Four number lines, one under the other, each showing an interval of convergence. The first, for the sum of x^n over n, runs from -1 to 1 with a filled dot at -1 and an open circle at 1. The second, for the sum of x^n over n squared, runs from -1 to 1 with filled dots at both ends. The third, for the sum of n factorial x^n, shows only a filled dot at 0. The fourth, for the sum of x^n over n factorial, shows the whole line shaded with arrows at both ends.
Finding the radius with the ratio test
The ratio test says that a series ∑un converges absolutely when n→∞limunun+1<1 and diverges when this limit is greater than 1. Apply it to the terms un=cn(x−a)n:
The series converges when L∣x−a∣<1, that is, when ∣x−a∣<L1. So
R=n→∞limcn+1cn.
If L=0 the radius is ∞. If L=∞ the radius is 0. The test says nothing about the case L∣x−a∣=1, which is exactly the two endpoints.
Example 1: coefficients n1
Find the interval of convergence of n=1∑∞nxn.
Radius.cn+1cn=nn+1→1. So R=1.
Endpoint x=1. The series is ∑n1, the harmonic series. It diverges.
Endpoint x=−1. The series is ∑n(−1)n, the alternating harmonic series. It converges.
Interval.[−1,1).
Example 2: coefficients n21
Find the interval of convergence of n=1∑∞n2xn.
Radius.n2(n+1)2→1, so R=1.
Endpoints. At x=1 we get ∑n21, a convergent p-series. At x=−1 we get ∑n2(−1)n, which converges absolutely.
Interval.[−1,1].
Examples 1 and 2 have the same radius and different intervals. The radius alone never tells you about the ends.
Example 3 and Example 4: the two extremes
n=0∑∞n!xn. Here cn+1cn=n!(n+1)!=n+1→∞. So R=∞ and the series converges for every real x.
n=0∑∞n!xn. Here cn+1cn=n+11→0. So R=0 and the series converges only at x=0.
Example 5: a centre that is not zero
Find the interval of convergence of n=1∑∞n3n(x−2)n.
Radius. The coefficients are cn=n3n1. Then cn+1cn=n3n(n+1)3n+1=3⋅nn+1→3. So R=3, and the series converges at least for −1<x<5.
Right endpoint x=5. Then x−2=3, and the terms are n3n3n=n1. The harmonic series diverges.
Left endpoint x=−1. Then x−2=−3, and the terms are n3n(−3)n=n(−1)n. This alternating series converges.
Interval.[−1,5).
Series with gaps
Some series skip powers, such as n=1∑∞4nx2n. The formula R=lim∣cn/cn+1∣ no longer applies, because the powers of x go up by two. Apply the ratio test to the whole term instead:
unun+1=4n+1∣x∣2n∣x∣2n+24n=4∣x∣2.
The series converges when 4x2<1, that is, when ∣x∣<2. So R=2. At x=±2 every term equals 1, so the series diverges at both ends. The interval is (−2,2).
New series from the geometric series
Replace x in 1−x1=∑xn by another expression. The new series converges when the new expression has absolute value less than 1.
With x→−x2: 1+x21=n=0∑∞(−1)nx2n, for ∣x∣<1.
With x→2x: 1−2x1=n=0∑∞2nxn, for ∣2x∣<1, that is, ∣x∣<21.
Multiply by x: 1−x3x=n=0∑∞x3n+1, for ∣x∣<1.
Notice that 1+x21 is smooth for every real x, yet its series converges only for ∣x∣<1. The radius is limited by something you cannot see on the real line. It is 1 because the function is undefined at x=i and x=−i, which are one unit from the centre in the complex plane.
What other courses call this
AP Calculus BC says interval of convergence and radius of convergence, as here.
IB Mathematics HL uses the same two names.
A-Level books often ask for the range of values of x for which the expansion is valid. That means the interval of convergence, and the endpoints are usually not tested there.
Practise with new numbers
Try it in Python
The program adds the first thirty terms of ∑xn at four values of x and compares each total with 1−x1. It also prints the ratios of neighbouring coefficients for the series with cn=4nn.
Common mistakes
Forgetting the endpoints. The ratio test gives only R. The two ends need two separate tests.
Using the ratio test at the endpoints. At ∣x−a∣=R the ratio tends to 1, and the test is silent. Use the harmonic series, a p-series, or the alternating series test.
Turning the ratio upside down. The radius is lim∣cn/cn+1∣, with cn on top.
Using the coefficient formula for a series with gaps. Apply the ratio test to the whole term, including the power of x.
Calling the centre the radius. For (x−2)n the centre is 2, and the interval is built around it.
Remember these
A power series ∑cn(x−a)n always converges at x=a.
Its radius R is 0, a positive number, or ∞. Inside ∣x−a∣<R it converges absolutely. Outside it diverges.
R=lim∣cn/cn+1∣ when the powers go up by one. Otherwise use the ratio test on the whole term.
Test each endpoint as a series of numbers. The interval may be open, half open or closed.
Substituting into 1−x1 gives new series with new radii.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Find the radius and the interval of convergence of n=1∑∞n5nxn.
Find the radius of convergence of n=0∑∞(2n)!xn.
For ∣x∣<6, find the sum of n=0∑∞(6x)n at x=−2.
Find the interval of convergence of n=1∑∞n2(x+1)n.
Write 1−4x21 as a power series and give its radius of convergence.
References
OpenStax, Calculus Volume 2, Chapter 6, section 6.1 on power series and functions.
College Board, AP Calculus AB and BC Course and Exam Description, Unit 10, on the interval of convergence of a power series.
Enroll free in Power Series and Taylor Series
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.