Skip to main content

Section 5.5 Power Series

A power series in \(x\) about a point \(x_0\) is a series of the form
\begin{equation*} \sum_{n=0}^{\infty} a_n(x-x_0)^n = a_0 + a_1(x-x_0) + a_2(x-x_0)^2 + \cdots \end{equation*}
The point \(x_0\) is called the center of the power series.
Power series can be regarded as a generalization of polynomials. Just as a polynomials, a power series \(\sum a_n(x-x_0)^n\) can be regarded as a function of \(x\text{.}\) However, for power series, one needs to take convergence into account. Certainly, a power series \(\sum a_n(x-x_0)^n\) always converges to its first term \(a_0\) at its center \(x=x_0\text{.}\) And because of this we say that a power series is convergent if it converges at some point other than its center.
We say that a convergent power series \(\sum a_n(x-x_0)^n\) represents a function \(f(x)\) on a set \(D\) if the power series converges to \(f(x)\) at every \(x \in D\text{.}\) The above example shows that \(\sum_{n=0}^{\infty} x^n\) represents \(\frac{1}{1-x}\) on \((-1,1)\text{.}\)

Example 5.52.

The power series
\begin{equation} \sum_{n=0}^{\infty} x^n = 1 + x+ x^2 + \cdots\tag{5.3} \end{equation}
is centered at zero. It is a geometric series when \(x\) is evaluated at a point. Hence, by Proposition 5.33, this power series represents the function \(\frac{1}{1-x}\) for \(x \in (-1,1)\text{.}\)

Example 5.53.

Consider the power series
\begin{equation} \sum_{n=0}^{\infty} \frac{x^{n+1}}{n+1} = x + \frac{x^2}{2} + \frac{x^3}{3} + \cdots\tag{5.4} \end{equation}
Since \(\frac{|x^{n+2}/(n+2)|}{|x^{n+1}/(n+1)|} = \frac{n+1}{n+2}|x| \to |x|\text{,}\) as \(n\to \infty\text{.}\) Therefore, according to the ratio test, the power series converges when \(|x| \lt 1\text{,}\) i.e. \(x \in (-1,1)\) and diverges when \(|x| \gt 1\text{.}\) When \(|x|=1\text{,}\) i.e. when \(x=\pm 1\text{,}\) the ratio test is inconclusive. We need further investigation to decide the convergence at those points.
When \(x = 1\text{,}\) the power series turns into the Harmonic Series
\begin{equation*} \sum_{n=0}^{\infty} \frac{1}{n+1} = 1+ \frac{1}{2} + \frac{1}{3} + \cdots \end{equation*}
and is divergent.
On the other hand, when \(x=-1\text{,}\) then the power series turns into the alternating series
\begin{equation*} \sum_{n=0}^{\infty} \frac{(-1)^{n+1}}{n+1} = 1- \frac{1}{2} + \frac{1}{3} - \cdots \end{equation*}
and is convergent by the alternating series test. And we conclude that power series \(\sum_{n=0}^{\infty} \frac{x^{n+1}}{n+1}\) converges on the interval \([-1,1)\text{.}\)

Example 5.54.

Consider the power series
\begin{equation} \sum_{n=0}^{\infty} \frac{x^n}{n!} = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots\tag{5.5} \end{equation}
Since \(\frac{|x^{n+1}/(n+1)!|}{|x^n/n!|} = |x|\frac{n!}{(n+1)!} = \frac{|x|}{n+1} \to 0\) for any fixed \(x\text{,}\) the power series converges for all real numbers. We will see that the function represented by this power series is the exponential function \(e^x\text{.}\)

Example 5.55.

Consider the power series
\begin{equation} \sum_{n=0}^{\infty} n!{x^n} = 1 + x + 2!{x^2} + 3!{x^3} + \cdots\tag{5.6} \end{equation}
Since \(\frac{|(n+1)!x^{n+1}|}{|n!x^n|} = (n+1)|x| \to +\infty\) for any fixed \(x \neq 0\text{,}\) the power series is divergent.
The following is the key result about convergence of power series

Remark 5.57.

  1. The \(0 \le R \le \infty\) appears in the theorem is called the radius of convergence of the power series . When \(R = \infty\text{,}\) the power series converges everywhere. When \(R = 0\text{,}\) the power series is divergent.
  2. We have not defined \(\limsup\) in this book. It is enough to say here that if either \(\lim |a_{n+1}|/|a_n|\text{,}\) or \(\lim |a_n|^{1/n}\) exists (the limit you find when applying ratio test or root test), then either of them equals to \(\limsup |a_n|^{1/n}\text{.}\)
  3. It follows from the theorem above that a power series converges on an interval. However, what type of interval, i.e. the convergence at the end points of the interval needs to be determine on a case-by-case bases as we have seen in Example 5.53. The interval on which the power series converges is called its interval of convergence.
  4. Often, we make a change of variable to center the power series at 0. This makes the statements of many results simpler to state.
Within the interval of convergence the function represented by a power series behaves nicely. This is the key reason why power series is a powerful tool in studying functions.

Remark 5.59.

  1. A function \(f\) is analytic at a point \(x_0\) in its domain if it is represented by some convergent power series with center at \(x_0\text{.}\) A function is analytic on a set \(D\) if if it analytic at every point in \(D\text{.}\) Most functions studied in a Calculus course are analytic on some open interval and hence can be studied via power series.
  2. The theorem above guarantees that an analytic function is both differentiable and possesses an anti-derivative. Moreover, both can be found easily---on a term-by-term basis. In fact, by repeat application of the theorem, we see that an analytic function has derivative of all orders.
  3. Suppose a function \(f(x)\) is analytic at \(x_0\text{,}\) i.e.
    \begin{equation*} f(x)=\sum_{n=0}^{\infty} a_n(x-x_0)^n =a_0 + a_1(x-x_0) + a_2(x-x_0)^2 + a_3(x-x_0)^3 + \cdots \end{equation*}
    on some open interval \(I\) containing \(x_0\text{.}\) Then \(a_0 = f(x_0)\text{.}\) Since, according to the theorem above,
    \begin{equation*} f'(x) = a_1 + 2a_2(x-x_0) + 3a_3(x-x_0)^2 + 4a_4(x-x_0)^2 + \cdots \end{equation*}
    \(a_1 = f'(x_0)\text{.}\) Differentiating one more time and set \(x=x_0\) yields \(2 a_2 = f''(x_0)\text{.}\) By repeat differentiation, we see that
    \begin{equation*} f^{(n)}(x) = n(n-1)(n-2)\cdots 1 a_n + \text{terms with factor} (x-x_0). \end{equation*}
    Thus, \(f^{(n)}(x_0) = n!a_n\text{.}\) In other words, \(a_n = \dfrac{f^{(n)}(x_0)}{n!}\text{.}\) This tells us that the coefficients \(a_n\)’s are completely determined by \(f\text{.}\) In other words, if \(f\) is analytic at \(x_0\) then it is represented by a unique power series, namely
    \begin{equation*} f(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(x_0)}{n!}(x-x_0)^n \end{equation*}
    on an open interval containing \(x_0\text{.}\) This series is called the Taylor series of \(f\) at \(x_0\text{.}\)
  4. Two things to keep in mind. The Taylor series of \(f\) at \(x_0\) exists if \(f\) is smooth (i.e. having derivatives of all orders) at \(x_0\text{.}\) However, 1) the Taylor series maybe divergent and 2) even if the Taylor series is convergent there is no guarantee that it represent \(f\) on any open interval containing \(x_0\text{.}\) In other words, a function being smooth at a point does not imply it is analytic at that point.
We often invoke the uniqueness to find the series that represents an analytic function instead of computing the coefficients by differentiation. Let us illustrate this by an example.

Example 5.60.

Let us show that \(\dfrac{1}{1+x^2} \) is analytic at \(0\) and find its power series representation. Recall that
\begin{equation*} \frac{1}{1-x} = 1 + x + x^2 + \cdots \end{equation*}
for all \(x\) with \(|x| \lt 1\text{.}\) We conclude that
\begin{align*} \frac{1}{1+x^2} = \frac{1}{1-(-x^2)} & = 1 + (-x^2) + (-x^2)^2 + \cdots\\ & = 1-x^2 + x^4 - \cdots = \sum_{n=0}^{\infty} (-1)^nx^{2n} \end{align*}
for all \(x\) with \(|(-x^2)| = |x|^2 \lt 1\text{,}\) i.e. with \(|x| \lt 1\text{.}\)
Now with the help of Theorem 5.58 we can find the representation of \(\arctan(x)\)

Example 5.61.

\begin{align*} \arctan(x) & = \int_0^x \frac{1}{1+t^2} dt = \int_0^x (1 - t^2 + t^4 - \cdots) dt\\ & = \int_0^{x} \sum_{n = 0}^{\infty} (-1)^{n} t^{2n} dt = \sum_{n=0}^{\infty} (-1)^n\frac{x^{2n+1}}{2n+1}\\ & = x - \frac{x^3}{3} + \frac{x^5}{5} - \cdots \end{align*}
for all \(|x| \lt 1\text{.}\)
Note that by the alternating series test, the power series converges at \(\pm 1\text{.}\) So by continuity, we have
\begin{equation*} \frac{\pi}{4} = \arctan(1) = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots \end{equation*}
This gives us a way to estimate \(\pi\text{.}\) Here is an explanation of this equality without using Calculus.

Example 5.62.

We have
\begin{equation*} \frac{1}{1+x} = \frac{1}{1-(-x)} = \sum_{n=0}^{\infty} (-1)^n x^n = 1-x + x^2 - x^3 + \ldots \end{equation*}
on \(|-x| = |x| \lt 1\text{.}\) By Theorem 5.58, we have
\begin{equation*} \ln(1+x) = \int_0^x \frac{1}{1+t} dt = \sum_{n=0}^{\infty} (-1)^n \frac{x^{n+1}}{n+1} = x - \frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4} + \ldots \end{equation*}
The series converges at \(x=1\) by the alternating series test and diverges to \(-\infty\) at \(x=-1\) by the \(p\)-test. So, we have
\begin{equation*} \ln(2) = \ln(1+1) = 1-\frac{1}{2} +\frac{1}{3} - \frac{1}{4} + \cdots \end{equation*}

Example 5.63.

Later we will show that for any \(x \in \mathbb{R}\)
\begin{equation*} \sin(x) = \sum_{n=0}^{\infty} (-1)^n \frac{x^{2n+1}}{(2n+1)!} = x-\frac{x^3}{3!} +\frac{x^5}{5} - \frac{x^7}{7!} + \cdots \end{equation*}
Thus, by Theorem 5.58 again, we have for any \(x \in \mathbb{R}\)
\begin{equation*} \cos{x} = \frac{d}{dx}\sin(x) = \sum_{n=0}^{\infty} (-1)^n \frac{x^{2n}}{(2n)!} = 1- \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \cdots \end{equation*}
Here is a geometric explanation of the analyticity of \(\sin(x)\) at \(0\text{.}\)
Next we show how to compute various power series expansions from the few known ones.

Example 5.64.

Let us find the power series expansion of \(\ln(x)\) at \(x=5\) That is, to find the coefficients \(c_n (n \ge 0)\) so that
\begin{equation*} \ln(x) = c_0 + c_1(x-5) + c_2(x-5)^2 + \cdots = \sum_{n=0}^\infty c_n(x-5)^n \end{equation*}
Since the power series expansions that we know are all about \(0\text{,}\) first let us translate the center from \(5\) to \(0\text{.}\) We achieve this by making the substitution \(x+5\text{:}\)
\begin{equation*} \ln(x+5) = \sum_{n=0}^\infty c_n(x+5 -5)^n = \sum_{n=0}^{\infty}c_nx^n \end{equation*}
So the task is now to find the power series expansion of \(\ln(x+5)\) about \(x=0\text{.}\) To do that we use a property of \(\ln(x)\) and write
\begin{equation*} \ln(x+5) = \ln(5(1+x/5)) = \ln(5)+\ln(1+x/5) \end{equation*}
Next, substituting \(x\) by \(x/5\) in the expansion of \(\ln(1+x)\text{,}\) we get for \(-1 \lt x/5 \le 1\text{,}\) i.e. \(-5 \lt x \le 5\text{:}\)
\begin{align*} \ln(x+5) & = \ln(5) + \ln(1+x/5) \\ & = \ln(5) + \sum_{n=0}^{\infty} (-1)^{n} \frac{(x/5)^{n+1}}{n+1}\\ & = \ln(5) + \sum_{n=0} \frac{(-1)^n x^{n+1}}{5^{n+1}(n+1)} \end{align*}
So substituting \(x\) by \(x-5\) into the above, we get for \(-5 \lt x-5 \le 5\text{,}\) i.e. for \(0 \lt x \le 10\text{:}\)
\begin{align*} \ln(x) & = \ln(5) + \sum_{n=0}^{\infty} \frac{(-1)^n}{5^{n+1}(n+1)}(x-5)^{n+1} \\ & = \ln(5) + \sum_{n=1}^{\infty} \frac{(-1)^{n-1}}{n5^n}(x-5)^n \end{align*}
That is \(c_0 = \ln(5)\) and \(c_n = (-1)^{n-1}/(n5^n)\) for \(n \ge 1\text{.}\)

Example 5.65.

To find the interval of converges of the power series
\begin{equation*} \sum_{n=1}^{\infty} \frac{8^n(x-5)^n}{n+5}, \end{equation*}
first note that the center of this power series is \(5\text{.}\) Note that the coefficient of \((x-5)^n\) is \(a_n = 8^n/(n+5)\text{.}\) We have \((n+5)^{1/n} \to 1\) as \(n \to \infty\) (see Exercise 5.7.4), so
\begin{equation*} |a_n|^{1/n} = 8/(n+5)^{1/n} \to 8 \end{equation*}
and hence the \(R\text{,}\) the radius of convergence is \(1/8\text{.}\) At the left endpoint \(x=5-1/8=39/8\text{,}\) the alternating series test applies and the power series is convergent. At the right endpoint \(x=5+1/8 = 41/8\text{,}\) the power series becomes \(\sum 1/(n+5)\text{.}\) By comparing it with the Harmonic series using the limit comparison test, we see that the series is divergent as well. Hence the interval of convergence of the power series is \([39/8, 41/8)\text{.}\)

Subsection 5.5.1 Applications to summing series

The theory of power series can be used to extend the types of infinite sums that we can compute. Suppose a function \(f(x)\) is represented by a power series \(\ds \sum_{n=0}^{\infty} a_n x^n\) on \(|x| \lt R\) with \(R \gt 0\text{.}\) Then according to Theorem 5.58,
\begin{align*} x\frac{d}{dx}f(x) & = x\frac{d}{dx}\sum_{n=0}^{\infty} a_n x^n\\ xf'(x) & = x\sum_{n=1}^{\infty} na_n x^{n-1} = \sum_{n=0}^{\infty} na_n x^n. \end{align*}
So the sum \(\sum_{n=0}^{\infty} na_n c^n\) is \(cf'(c)\) for \(|c| \lt R\text{.}\) By iterating the application of \(\ds x\dfrac{d}{dx}\text{,}\) we can compute the sum of \(\sum_{n=0}^{\infty} n^ka_n c^n \) for any \(|c| \lt R\text{.}\)
Here are a few concrete examples.

Example 5.66.

To compute \(\sum_{n=0}^{\infty} \frac{n}{3^n}\text{,}\) note that it is the value of \(\sum_{n=0}^{\infty} nx^n\) at \(x = 1/3\text{.}\) Since
\begin{equation*} \frac{1}{1-x} = \sum_{n=0}^\infty x^n \quad |x| \lt 1. \end{equation*}
It follows from the discussion above that for \(|x| \lt 1\text{,}\)
\begin{equation*} \sum_{n=0}^{\infty} nx^n = x\dfrac{d}{dx} \frac{1}{1-x} = \frac{x}{(1-x)^2}. \end{equation*}
Hence,
\begin{align*} \sum_{n=0}^{\infty} \frac{n}{3^n} & = \left. \frac{x}{(1-x)^2}\right|_{x=1/3} = \frac{1/3}{(1-1/3)^2} = \frac{3}{4}. \end{align*}

Example 5.67.

Let us compute \(\sum_{n=0}^{\infty} \frac{n^2}{n!}\text{.}\) Since \(e^x = \sum_{n=0}^{\infty} \frac{x^n}{n!}\) for all \(x \in \mathbb{R}\text{.}\) Applying \(x\dfrac{d}{dx}\) twice to both sides yields,
\begin{align*} \left( x\frac{d}{dx} \right)^2 e^x & = \left( x\frac{d}{dx} \right)^2 \sum_{n=0}^{\infty} \frac{x^n}{n!} \\ x\frac{d}{dx}(xe^x) & = x\frac{d}{dx} \sum_{n=0}^{\infty} \frac{nx^n}{n!}\\ (x^2 + x)e^x & = \sum_{n=0}^{\infty} \frac{n^2x^n}{n!} \end{align*}
Evaluate both sides at \(x=1\) and we get \(\sum_{n=0}^{\infty} \frac{n^2}{n!} = 2e.\)
It is easy to generalize the method in these examples to find the sum of series of the form \(\ds \sum_{n=0}^{\infty} \frac{P(n)}{b^n}\) or \(\ds \sum_{n=0}^{\infty} \frac{P(n)}{n!}\) where \(P(x)\) is a polynomial in \(x\) and \(b \gt 1\text{.}\) In Exercise 5.7.8, we present a slightly different ways of finding these sums.