9.1 Power Series and Functions
Series whose terms contain $x$ — where they converge, how wide that interval is, and how the geometric series turns fractions into infinite polynomials.
Polynomials are the friendliest functions in mathematics: we can evaluate them with nothing but addition and multiplication, and we can differentiate and integrate them in our heads. In Chapter 8 we met a sum that looks like a polynomial with infinitely many terms, $$1+x+x^2+x^3+\cdots=\sum_{n=0}^{\infty}x^n,$$ and found that this geometric series converges to $\dfrac{1}{1-x}$ whenever $|x|\lt 1$. So the function $\dfrac{1}{1-x}$ is an infinite polynomial — at least for $x$ between $-1$ and $1$.
This section takes that observation seriously. We define power series, discover that the set of $x$ for which one converges is always an interval centred at a point $a$, learn to find that interval with the ratio test, and then use the geometric series to write many other functions as power series. These skills are the foundation for everything in the rest of the chapter.
What Is a Power Series?
Convention: we take $(x-a)^0=1$ even when $x=a$, so the first term is always $c_0$.
For each fixed number $x$, a power series is an ordinary series of numbers, which may converge or diverge. Where it converges, its sum defines a function $$f(x)=\sum_{n=0}^{\infty}c_n(x-a)^n,$$ whose domain is the set of all $x$ for which the series converges. One value is always in that domain: at $x=a$ every term after the first is $0$, so the series converges to $c_0$. The interesting question is what happens away from the centre.
Some coefficients may be zero. For instance $\displaystyle\sum_{n=0}^{\infty}\frac{(-1)^nx^{2n}}{4^n}=1-\frac{x^2}{4}+\frac{x^4}{16}-\cdots$ is a power series centred at $0$ with $c_1=c_3=c_5=\cdots=0$; and $\displaystyle\sum_{n=1}^{\infty}\frac{(2x-1)^n}{n^2}=\sum_{n=1}^{\infty}\frac{2^n}{n^2}\left(x-\tfrac12\right)^n$ is a power series centred at $a=\tfrac12$ — factor the coefficient of $x$ out of the bracket to see the centre.
Convergence of a Power Series
Suppose a power series centred at $a$ converges at some point $x=b\ne a$. Then its terms $c_n(b-a)^n$ tend to $0$, so they are bounded: $|c_n(b-a)^n|\le M$ for every $n$. For any $x$ closer to the centre, $|x-a|\lt|b-a|$, we get $$|c_n(x-a)^n|=|c_n(b-a)^n|\left|\frac{x-a}{b-a}\right|^n\le M\rho^n,\qquad \rho=\left|\frac{x-a}{b-a}\right|\lt 1,$$ so by comparison with a convergent geometric series the power series converges absolutely at $x$. Convergence at one point forces convergence at every point nearer the centre. Pushing this idea to its conclusion gives the central fact about power series.
- The series converges only at $x=a$.
- The series converges absolutely for every real number $x$.
- There is a real number $R\gt 0$ such that the series converges absolutely when $|x-a|\lt R$ and diverges when $|x-a|\gt R$. At the two points $x=a-R$ and $x=a+R$ the series may converge absolutely, converge conditionally, or diverge — the theorem says nothing about them.
- Ratio test on the terms. With $a_n=c_n(x-a)^n$, compute $L(x)=\displaystyle\lim_{n\to\infty}\left|\frac{a_{n+1}}{a_n}\right|$. Treat $x$ as a fixed number while taking the limit.
- Solve $L(x)\lt 1$. Usually $L(x)=|x-a|/R$ for some $R$, which gives the radius. If $L(x)=0$ for every $x$ then $R=\infty$; if $L(x)=\infty$ for every $x\ne a$ then $R=0$.
- Check each endpoint separately. At $x=a\pm R$ the ratio test gives $L=1$ and is silent. Substitute each endpoint into the series to get a series of numbers and test it with the divergence test, a $p$-series, comparison, or the alternating series test.
- Write the interval, using square brackets only at endpoints where the series converges.
If every $c_n\ne0$ and $\displaystyle\lim_{n\to\infty}\left|\frac{c_{n+1}}{c_n}\right|=\ell$ exists, step 1 gives $L(x)=\ell\,|x-a|$, so $R=1/\ell$ (with $R=\infty$ when $\ell=0$ and $R=0$ when $\ell=\infty$). When some coefficients are zero — for example a series with only even powers — use the ratio of consecutive non-zero terms instead.
1. Skipping the endpoints. The ratio test is always inconclusive at $|x-a|=R$. Examples 2 and 3 show that the endpoints really can behave differently — one in, one out, or both in.
2. Confusing $R$ with the length of the interval. $R$ is the distance from the centre to an endpoint; the interval has length $2R$.
3. Reading the radius off $|2x-1|\lt 1$ as $R=1$. Rewrite it as $|x-\tfrac12|\lt\tfrac12$ first.
4. Forgetting the centre always works. Even when $R=0$ the series converges at $x=a$.
Representing Functions as Power Series
Turning a function into a power series is useful because power series are so easy to compute with. Our master key is the geometric series.
The identity in Theorem 9.2 holds for every $x$ with $|x|\lt 1$, so we may replace $x$ by any expression $u$ and get $\dfrac{1}{1-u}=\sum u^n$ wherever $|u|\lt 1$. Together with multiplying by constants and powers of $x$ this produces a whole family of series.
- Make the shape $\dfrac{1}{1-u}$. Factor out constants so the denominator reads $1-(\text{something})$: e.g. $\dfrac{1}{2-x}=\dfrac12\cdot\dfrac{1}{1-x/2}$ and $\dfrac{1}{1+x^2}=\dfrac{1}{1-(-x^2)}$.
- Substitute $u$ into $\sum u^n$ and simplify each term.
- Multiply by any factor left over ($x^k$, a constant) term by term.
- Interval: the series converges exactly when $|u|\lt 1$; solve that inequality for $x$. Multiplying by $x^k$ or a constant does not change it.
Exercises
- 1 $\displaystyle\sum_{n=0}^{\infty}\frac{x^n}{3^n}$
- 2 $\displaystyle\sum_{n=1}^{\infty}\frac{x^n}{n}$
- 3 $\displaystyle\sum_{n=1}^{\infty}\frac{(-1)^nx^n}{\sqrt n}$
- 4 $\displaystyle\sum_{n=1}^{\infty}n\,x^n$
- 5 $\displaystyle\sum_{n=1}^{\infty}\frac{x^n}{n^2}$
- 6 $\displaystyle\sum_{n=0}^{\infty}n!\,(x-3)^n$
- 7 $\displaystyle\sum_{n=0}^{\infty}\frac{2^nx^n}{n!}$
- 8 $\displaystyle\sum_{n=1}^{\infty}\frac{(x-1)^n}{n\,2^n}$
- 9 $\displaystyle\sum_{n=1}^{\infty}\frac{(3x-2)^n}{n}$
- 10 $\displaystyle\sum_{n=1}^{\infty}\frac{n\,(x+2)^n}{5^n}$
- 11 $\displaystyle\sum_{n=0}^{\infty}\frac{x^{2n}}{4^n}$
- 12 $\displaystyle\sum_{n=0}^{\infty}\frac{(-1)^nx^{2n+1}}{(2n+1)!}$
- 13 $\displaystyle\sum_{n=2}^{\infty}\frac{x^n}{n\ln n}$
- 14 $\displaystyle\sum_{n=1}^{\infty}\frac{x^n}{n^n}$ (hint: root test)
- 1 $\dfrac{1}{1+x}$
- 2 $\dfrac{1}{1-x^2}$
- 3 $\dfrac{2}{3-x}$
- 4 $\dfrac{1}{1+4x^2}$
- 5 $\dfrac{x}{1-x}$
- 6 $\dfrac{x^2}{1+x^3}$
- 7 $\dfrac{1}{5+x}$
- 8 $\dfrac{3}{1+2x}$
- 9 $\dfrac{1}{x}$, centred at $a=2$
- 10 $\dfrac{x}{4+x^2}$
- 11 $\dfrac{1}{(1-x)(1-2x)}$ (use partial fractions first)
- 1 A power series $\sum c_nx^n$ converges at $x=4$ and diverges at $x=-6$. What can you say about its behaviour at $x=-3$?
- 2 …at $x=7$?
- 3 …at $x=5$?
- 4 …at $x=-4$?
- 5 Give an example of a power series centred at $0$ whose interval of convergence is exactly $(-2,2]$.
- 6 Applied — repeated medication. A patient takes $100$ mg of a drug every $12$ hours, and a fraction $r$ ($0\lt r\lt 1$) of the drug in the body remains just before the next dose. The amount just after a very large number of doses is $A(r)=\sum_{n=0}^{\infty}100\,r^n$. Find a closed form for $A(r)$, say why the series converges, and evaluate it for $r=0.25$.
- 7 In part 6 with $r=0.25$, the amount just after the $k$-th dose is $100\left(1+r+\cdots+r^{k-1}\right)$. After how many doses is it within $1$ mg of the long-run value?
- 8 Applied — how many terms? A small processor approximates $\dfrac{1}{1-x}$ by $1+x+x^2+\cdots+x^N$. Using Theorem 9.2, find the smallest $N$ that makes the error less than $10^{-6}$ at $x=0.2$.
- 9 Show that if $\sum c_nx^n$ has radius of convergence $R$ (with $0\lt R\lt\infty$), then $\sum c_nx^{2n}$ has radius of convergence $\sqrt R$.
Research question. When a patient takes the same tablet at regular intervals, how much drug builds up in the body, and how quickly is the “steady state” reached?
Why it matters. Hospital pharmacists and dosing guidelines around the world rely on this calculation to keep antibiotics, anti-epileptics and heart medicines above the effective level but below the toxic one.
What to do.
- Model: a dose $D$ is given every $\tau$ hours and the drug has half-life $h$ hours, so a fraction $r=\left(\tfrac12\right)^{\tau/h}$ of the drug remains when the next dose is due. Explain why the amount just after the $(k+1)$-th dose is $D\left(1+r+r^2+\cdots+r^k\right)$.
- Show that the long-run peak amount is the value of the power series $\sum_{n\ge0}Dr^n=\dfrac{D}{1-r}$, and justify convergence. Show that the long-run trough (just before a dose) is $\dfrac{Dr}{1-r}$.
- Sample case: $D=500$ mg, $h=6$ h, $\tau=8$ h. Compute $r$, the steady peak and the steady trough.
- Use Theorem 9.2 to find how many doses are needed before the peak reaches $95\%$ of its long-run value. Confirm with a spreadsheet that lists the first $10$ peaks.
Tools: Calculator, spreadsheet
Hand in: A half-page note with your formulas, the three numbers from step 3, the dose count from step 4, and one limitation of the model (for example, absorption is not instantaneous).
Going further. Find the dosing interval $\tau$ that keeps the steady trough above $250$ mg with $D=500$ mg, or explore a “loading dose” that reaches the steady state immediately.
🧪 Self-check quiz
Q1. What are the centre and radius of convergence of $\displaystyle\sum_{n=0}^{\infty}\frac{(x-3)^n}{2^n}$?
Q2. Every power series $\sum c_n(x-a)^n$ is guaranteed to converge…
Q3. The ratio test applied to a power series gives the condition $\dfrac{|x+1|}{4}\lt 1$. Before the endpoints are checked, the series is known to converge on
Q4. Which is a power series for $\dfrac{1}{1+x}$, valid for $|x|\lt 1$?
Q5. The interval of convergence of $\displaystyle\sum_{n=1}^{\infty}\frac{x^n}{n}$ is