So far, our study of series has examined the question of “Is the sum of these infinite terms finite?,” i.e., “Does the series converge?” We now approach series from a different perspective: as a function. Given a value of \(x\text{,}\) we evaluate \(f(x)\) by finding the sum of a particular series that depends on \(x\) (assuming the series converges). We start this new approach to series with a definition.
Definition9.6.2.Power Series.
Let \(\{a_n\}\) be a sequence, let \(x\) be a variable, and let \(c\) be a real number.
This is a geometric series in \(x\) with \(r=x\text{.}\)
This series is centered at \(c=-1\text{.}\) Note how this series starts with \(n=1\text{.}\) We could rewrite this series starting at \(n=0\) with the understanding that \(a_0=0\text{,}\) and hence the first term is \(0\text{.}\)
We introduced power series as a type of function, where a value of \(x\) is given and the sum of a series is returned. Of course, not every series converges. For instance, in part 1 of Example 9.6.3, we recognized the series \(\ds \infser[0] x^n\) as a geometric series in \(x\text{.}\)Theorem 9.2.7 states that this series converges only when \(\abs{x}\lt 1\text{.}\)
This raises the question: “For what values of \(x\) will a given power series converge?,” which leads us to a theorem and definition.
Theorem9.6.4.Convergence of Power Series.
Let a power series \(\ds \infser[0] a_n(x-c)^n\) be given. Then one of the following is true:
The series converges only at \(x=c\text{.}\)
There is an \(R \gt 0\) such that the series converges for all \(x\) in \((c-R,c+R)\) and diverges for all \(x\lt c-R\) and \(x \gt c+R\text{.}\)
The series converges for all \(x\text{.}\)
The value of \(R\) is important when understanding a power series, hence it is given a name in the following definition. Also, note that part 2 of Theorem 9.6.4 makes a statement about the interval \((c-R,c+R)\text{,}\) but the not the endpoints of that interval. A series may/may not converge at these endpoints.
Definition9.6.6.Radius and Interval of Convergence.
The number \(R\) given in Theorem 9.6.4 is the radius of convergence of a given series. When a series converges for only \(x=c\text{,}\) we say the radius of convergence is 0, i.e., \(R=0\text{.}\) When a series converges for all \(x\text{,}\) we say the series has an infinite radius of convergence, i.e., \(R=\infty\text{.}\)
The interval of convergence is the set of all values of \(x\) for which the series converges.
To find the interval of convergence, we start by using the ratio test to find the radius of convergence \(R\text{.}\) If \(0\lt R\lt\infty\text{,}\) we know the series converges on \((c-R,c+R)\text{,}\) and it remains to check for convergence at the endpoints.
Given \(\infser[0] a_n(x-c)^n\) we apply the ratio test to \(\infser[0]\abs{a_n(x-c)^n}\) since the ratio test requires positive terms. We find
where \(L=\lim_{n\to\infty}\frac{\abs{a_{n+1}}}{\abs{a_n}}\text{.}\) It follows that the series converges absolutely (and therefore converges) for any \(x\) such that \(L\abs{x-c}\lt 1\text{;}\) that is, for \(x\) in \(\left(c-\frac1L,c+\frac1L\right)\text{.}\)
On the other hand, suppose for some \(x\) that \(L\abs{x-c}\gt 1\text{.}\) Then, for sufficiently large \(n\text{,}\)\(\abs{a_{n+1}}\gt \abs{a_n}\text{.}\) This means that the terms of \(\infser[0] a_n(x-c)^n\) are growing in absolute value, and therefore cannot converge to zero. This means that the series diverges, by Theorem 9.2.23.
From the above observations, it follows that \(R=\frac{1}{L}\) must be the radius of convergence.
Key Idea9.6.7.Determining the Radius and Interval of Convergence.
Given the power series \(\ds \infser[0] a_n(x-c)^n\text{,}\) apply the ratio test to the series \(\ds \infser[0]\abs{a_n (x_c)^n}\text{.}\) The result will be \(L\abs{x-c}\text{,}\) where \(\ds L=\lim_{n\to\infty}\frac{\abs{a_{n+1}}}{\abs{a_n}}\text{.}\)
If \(L=0\text{,}\) then the power series converges for every \(x\) by the ratio test, since \(L\abs{x-c}=0\lt 1\text{.}\)
If \(L=\infty\text{,}\) then power series converges only when \(x=c\text{.}\)
If \(0\lt L\lt \infty\text{,}\) then \(R=1/L\) is the radius of convergence: by the ratio test, the series converges when \(\abs{x-c}\lt R\text{.}\)
To determine the interval of convergence, plug the endpoints (\(x=c-R\) and \(x=c+R\)) into the power series, and test the resulting series for convergence. If the series converges, we include the endpoint. If it diverges, we exclude the endpoint.
Key Idea 9.6.7 allows us to find the radius of convergence \(R\) of a series by applying the Ratio Test (or any applicable test) to the absolute value of the terms of the series. We practice this in the following example.
Example9.6.8.Determining the radius and interval of convergence.
Find the radius and interval of convergence for each of the following series:
The Ratio Test shows us that regardless of the choice of \(x\text{,}\) the series converges. Therefore the radius of convergence is \(R=\infty\text{,}\) and the interval of convergence is \((-\infty,\infty)\text{.}\)
We apply the Ratio Test to the series \(\ds \infser \abs{(-1)^{n+1}\frac{x^n}{n}} = \infser \abs{\frac{x^n}{n}}\text{:}\)
The Ratio Test states a series converges if the limit of \(\abs{a_{n+1}/a_n} = L\lt 1\text{.}\) We found the limit above to be \(\abs{x}\text{;}\) therefore, the power series converges when \(\abs{x} \lt 1\text{,}\) or when \(x\) is in \((-1,1)\text{.}\) Thus the radius of convergence is \(R=1\text{.}\) To determine the interval of convergence, we need to check the endpoints of \((-1,1)\text{.}\) When \(x=-1\text{,}\) we have the opposite of the Harmonic Series:
The series diverges when \(x=-1\text{.}\) When \(x=1\text{,}\) we have the series \(\ds \infser (-1)^{n+1}\frac{(1)^n}{n}\text{,}\) which is the Alternating Harmonic Series, which converges. Therefore the interval of convergence is \((-1,1]\text{.}\)
We apply the Ratio Test to the series \(\ds\infser[0] \abs{2^n(x-3)^n}\text{:}\)
According to the Ratio Test, the series converges when \(\abs{2(x-3)}\lt 1 \implies \abs{x-3} \lt 1/2\text{.}\) The series is centered at 3, and \(x\) must be within \(1/2\) of 3 in order for the series to converge. Therefore the radius of convergence is \(R=1/2\text{,}\) and we know that the series converges absolutely for all \(x\) in \((3-1/2,3+1/2) = (2.5, 3.5)\text{.}\) We check for convergence at the endpoints to find the interval of convergence. When \(x=2.5\text{,}\) we have:
which diverges. A similar process shows that the series also diverges at \(x=3.5\text{.}\) Therefore the interval of convergence is \((2.5, 3.5)\text{.}\)
We apply the Ratio Test to \(\ds \infser[0] \abs{n!x^n}\text{:}\)
\begin{align*}
\lim_{n\to\infty} \frac{\abs{ (n+1)!x^{n+1}}}{\abs{n!x^n}} \amp = \lim_{n\to\infty} \abs{(n+1)x}\\
\amp = \infty\, \text{ for all \(x\), except \(x=0\). }
\end{align*}
The Ratio Test shows that the series diverges for all \(x\) except \(x=0\text{.}\) Therefore the radius of convergence is \(R=0\text{.}\)
where the domain of \(f\) is a subset of the interval of convergence of the power series. One can apply calculus techniques to such functions; in particular, we can find derivatives and antiderivatives.
Theorem9.6.9.Derivatives and Indefinite Integrals of Power Series Functions.
Let \(\ds f(x) = \infser[0] a_n(x-c)^n\) be a function defined by a power series, with radius of convergence \(R\text{.}\)
\(f(x)\) is continuous and differentiable on \((c-R,c+R)\text{.}\)
\(\ds \fp(x) = \infser a_n\cdot n\cdot (x-c)^{n-1}\text{,}\) with radius of convergence \(R\text{.}\)
\(\ds \int f(x)\, dx = C+\infser[0] a_n\frac{(x-c)^{n+1}}{n+1}\text{,}\) with radius of convergence \(R\text{.}\)
The theorem states that differentiation and integration do not change the radius of convergence. It does not state anything about the interval of convergence. They are not always the same.
Notice how the summation for \(\fp(x)\) starts with \(n=1\text{.}\) This is because the constant term \(a_0\) of \(f(x)\) becomes \(0\) through differentiation.
Differentiation and integration are simply calculated term-by-term using the Power Rules.
Example9.6.11.Derivatives and indefinite integrals of power series.
Let \(\ds f(x) = \infser[0] x^n\text{.}\) Find \(\fp(x)\) and \(\ds F(x) =\int f(x)\, dx\text{,}\) along with their respective intervals of convergence.
Solution1.
We find the derivative and indefinite integral of \(f(x)\text{,}\) following Theorem 9.6.9.
In Example 9.6.3, we recognized that \(\ds \infser[0] x^n\) is a geometric series in \(x\text{.}\) We know that such a geometric series converges when \(\abs{x}\lt 1\text{;}\) that is, the interval of convergence is \((-1,1)\text{.}\) To determine the interval of convergence of \(\fp(x)\text{,}\) we consider the endpoints of \((-1,1)\text{:}\)
\begin{equation*}
\fp(-1) = 1-2+3-4+\cdots, \text{ which diverges. }
\end{equation*}
\begin{equation*}
\fp(1) = 1+2+3+4+\cdots, \text{ which diverges. }
\end{equation*}
Therefore, the interval of convergence of \(\fp(x)\) is \((-1,1)\text{.}\)
\(\ds F(x) = \int f(x)\, dx = C+\infser[0] \frac{x^{n+1}}{n+1} = C+ x+\frac{x^2}{2}+\frac{x^3}3+\cdots\) To find the interval of convergence of \(F(x)\text{,}\) we again consider the endpoints of \((-1,1)\text{:}\)
The value of \(C\) is irrelevant; notice that the rest of the series is an Alternating Series that whose terms converge to 0. By the Alternating Series Test, this series converges. (In fact, we can recognize that the terms of the series after \(C\) are the opposite of the Alternating Harmonic Series. We can thus say that \(F(-1) = C-\ln(2)\text{.}\))
Notice that this summation is \(C\, +\) the Harmonic Series, which diverges. Since \(F\) converges for \(x=-1\) and diverges for \(x=1\text{,}\) the interval of convergence of \(F(x)\) is \([-1,1)\text{.}\)
Solution2.Video solution
The previous example showed how to take the derivative and indefinite integral of a power series without motivation for why we care about such operations. We may care for the sheer mathematical enjoyment “that we can”, which is motivation enough for many. However, we would be remiss to not recognize that we can learn a great deal from taking derivatives and indefinite integrals.
Recall that \(\ds f(x) = \infser[0] x^n\) in Example 9.6.11 is a geometric series. According to Theorem 9.2.7, this series converges to \(1/(1-x)\) when \(\abs{x}\lt 1\text{.}\) Thus we can say
We established in Example 9.6.11 that the series on the left converges at \(x=-1\text{;}\) substituting \(x=-1\) on both sides of the above equality gives
Important: We stated in Key Idea 9.2.20 (in Section 9.2) that the Alternating Harmonic Series converges to \(\ln(2)\text{,}\) and referred to this fact again in Example 9.5.6 of Section 9.5. However, we never gave an argument for why this was the case. The work above finally shows how we conclude that the Alternating Harmonic Series converges to \(\ln(2)\text{.}\)
We use this type of analysis in the next example.
Example9.6.12.Analyzing power series functions.
Let \(\ds f(x) = \infser[0] \frac{x^n}{n!}\text{.}\) Find \(\ds \fp(x)\) and \(\ds \int f(x)\, dx\text{,}\) and use these to analyze the behavior of \(f(x)\text{.}\)
Solution1.
We start by making two notes: first, in Example 9.6.8, we found the interval of convergence of this power series is \((-\infty,\infty)\text{.}\) Second, we will find it useful later to have a few terms of the series written out:
We found the derivative of \(f(x)\) is \(f(x)\text{.}\) The only functions for which this is true are of the form \(y=ce^x\) for some constant \(c\text{.}\) As \(f(0) = 1\) (see Equation (9.6.3)), \(c\) must be 1. Therefore we conclude that
The integral of \(f(x)\) differs from \(f(x)\) only by a constant, again indicating that \(f(x) = e^x\text{.}\)
Solution2.Video solution
Example 9.6.12 and the work following Example 9.6.11 established relationships between a power series function and “regular” functions that we have dealt with in the past. In general, given a power series function, it is difficult (if not impossible) to express the function in terms of elementary functions. We chose examples where things worked out nicely.
In this section’s last example, we show how to solve a simple differential equation with a power series.
Example9.6.13.Solving a differential equation with a power series.
Give the first 4 terms of the power series solution to \(y' = 2y\text{,}\) where \(y(0) = 1\text{.}\)
Solution.
The differential equation \(y' = 2y\) describes a function \(y=f(x)\) where the derivative of \(y\) is twice \(y\) and \(y(0)=1\text{.}\) This is a rather simple differential equation; with a bit of thought one should realize that if \(y=Ce^{2x}\text{,}\) then \(y' = 2Ce^{2x}\text{,}\) and hence \(y' = 2y\text{.}\) By letting \(C=1\) we satisfy the initial condition of \(y(0)=1\text{.}\)
Let’s ignore the fact that we already know the solution and find a power series function that satisfies the equation. The solution we seek will have the form
In Section 9.7, as we study Taylor Series, we will learn how to recognize this series as describing \(y=e^{2x}\text{.}\)
Our last example illustrates that it can be difficult to recognize an elementary function by its power series expansion. It is far easier to start with a known function, expressed in terms of elementary functions, and represent it as a power series function. One may wonder why we would bother doing so, as the latter function probably seems more complicated. In the next two sections, we show both how to do this and why such a process can be beneficial.
ExercisesExercises
Terms and Concepts
1.
We adopt the convention that \(x^0=\), regardless of the value of \(x\text{.}\)
2.
What is the difference between the radius of convergence and the interval of convergence?
3.
If the radius of convergence of \(\ds\infser[0] a_nx^n\) is 5, what is the radius of convergence of \(\ds\infser n\cdot a_nx^{n-1}\text{?}\)
4.
If the radius of convergence of \(\ds\infser[0] a_nx^n\) is 5, what is the radius of convergence of \(\ds\infser[0] (-1)^na_nx^n\text{?}\)
Problems
Exercise Group.
In the following exercises, write out the sum of the first 5 terms of the given power series.
5.
\(\ds\infser[0] 2^nx^n\)
6.
\(\ds\infser \frac{1}{n^2}x^n\)
7.
\(\ds\infser[0] \frac{1}{n!}x^n\)
8.
\(\ds\infser[0] \frac{(-1)^n}{(2n)!}x^{2n}\)
Exercise Group.
In the following exercises, a power series is given.
Find the radius of convergence.
Find the interval of convergence.
9.
\(\ds\infser[0] \frac{(-1)^{n+1}}{n!}x^{n}\)
10.
\(\ds\infser[0] nx^{n}\)
11.
\(\ds\infser \frac{(-1)^n(x-3)^{n}}{n}\)
12.
\(\ds\infser[0] \frac{(x+4)^{n}}{n!}\)
13.
\(\ds\infser[0] \frac{x^{n}}{2^n}\)
14.
\(\ds\infser[0] \frac{(-1)^n(x-5)^{n}}{10^n}\)
15.
\(\ds\infser[0] 5^n(x-1)^{n}\)
16.
\(\ds\infser[0] (-2)^nx^{n}\)
17.
\(\ds\infser[0] \sqrt{n}x^{n}\)
18.
\(\ds\infser[0] \frac{n}{3^n}x^{n}\)
19.
\(\ds\infser[0] \frac{3^n}{n!}(x-5)^{n}\)
20.
\(\ds\infser[0] (-1)^nn!(x-10)^{n}\)
21.
\(\ds\infser \frac{x^n}{n^2}\)
22.
\(\ds\infser \frac{(x+2)^n}{n^3}\)
23.
\(\ds\infser[0] n!\left(\frac x{10}\right)^n\)
24.
\(\ds\infser[0] n^2\left(\frac{x+4}{4}\right)^n\)
Exercise Group.
In the following exercises, a function \(\ds f(x) = \infser[0] a_nx^n\) is given.
Give a power series for \(\fp(x)\) and its interval of convergence.
Give a power series for \(\int f(x)\, dx\) and its interval of convergence.
25.
\(\ds\infser[0] nx^n\)
26.
\(\ds\infser \frac{x^n}{n}\)
27.
\(\ds\infser[0] \left(\frac{x}{2}\right)^n\)
28.
\(\ds\infser[0] (-3x)^n\)
29.
\(\ds\infser[0] \frac{(-1)^nx^{2n}}{(2n)!}\)
30.
\(\ds\infser[0] \frac{(-1)^nx^{n}}{n!}\)
Exercise Group.
In the following exercises, give the first 5 terms of the series that is a solution to the given differential equation.