Taylor Series
4.1 Taylor polynomials
Polynomials are the nicest functions there are. You can evaluate one with a finite number of additions and multiplications, you can differentiate and integrate one in your head, and the results are polynomials again. Almost nothing else is that well behaved, which raises an obvious question: given some function that is not a polynomial, can we find a polynomial that behaves nearly the same?
The motivating problem is embarrassingly concrete. Recall that is defined as the inverse of , and is itself defined by an integral. So how does one actually evaluate ? (If the answer is "use a calculator", then we simply ask how the calculator does it.)
One approach is to set , so that we must solve , i.e. the integral equation
guessing a value of and checking it with Riemann sums. This is clearly a hopeless way to go about it.
A far better idea is one you have already met: approximate locally by a linear function, using the fact that the tangent line hugs the graph near the point of contact. For the tangent at is
so near , giving . The thing to notice is why was the right line: it is the unique degree- polynomial whose value and gradient at match those of ,
That immediately suggests how to do better. Ask for a degree- polynomial matching the value, gradient and concavity of at :
Differentiating, and , so evaluating at gives , and . Hence
and , which is noticeably better. Continuing with a cubic and matching one more derivative gives a better approximation again.
Basically, each extra derivative you force to agree buys you one more order of contact with the graph, and the approximation hugs the curve over a wider interval. Running this argument for a general degree gives the pattern: if then , so matching forces . There is nothing special about the point , so we make the general definition.
Note
Definition
Suppose is times differentiable at . The th Taylor polynomial of about is
When it is also called the th Maclaurin polynomial of .
The factor of is not decoration; it is exactly what cancels the produced by differentiating down to a constant times. Forgetting it is the single most common slip in this section.
Example. Find the th Maclaurin polynomial of .
Every derivative of is , so for every . Therefore
which is exactly the pattern we found by hand above.
Example. Find the Maclaurin polynomials of .
The derivatives cycle with period four, which is what makes this one clean:
and then it repeats. So every even-index coefficient vanishes and the odd ones alternate in sign:
Therefore the Maclaurin polynomials of contain only odd powers. Notice this had to happen; is an odd function, and the Taylor polynomial about of an odd function contains only odd powers, while that of an even function contains only even powers. Checking this parity is a free sanity check on any Maclaurin computation.
Example. Find the th Maclaurin polynomial of .
Differentiating repeatedly,
and in general for , so . Dividing by leaves just , and since ,
Therefore the coefficients decay only like , not like . Keep this contrast with in mind — it is the whole reason the next section exists. The factorial in the denominator of the exponential's coefficients crushes the terms very fast; a mere does not, and we will see that pays for this with a much smaller range of usefulness.
Example. Find the Taylor polynomial of degree for about , and use it to estimate .
Here we expand about rather than , because is a perfect square close to . Differentiating,
So
using and . Putting ,
The true value is , so we are right to seven decimal places. Therefore . Choosing the centre well is most of the battle: expanding about would have been useless here, since is not even differentiable at .
4.2 Taylor's theorem
All of the last section was optimism. We produced polynomials that agree with to high order at a single point and then cheerfully evaluated them somewhere else, with no guarantee whatsoever about how wrong the answer might be.
Suppose a calculator with a ten-digit display uses Taylor polynomials to compute . What degree should it use so that every displayed digit is correct? And crucially — is there a way to answer that without already knowing the decimal expansion of ? If we had to know the answer to bound the error, the whole enterprise would be circular.
Two cautionary examples show how badly intuition can fail here. For , the Maclaurin polynomials approximate well once reaches about or — even though is nowhere near , and even though the intermediate polynomials are wildly wrong there. But for , the Maclaurin polynomials approximate beautifully on roughly , tolerably on , and to the right of they are useless — and worse, the higher-degree polynomials are further from there than the lower-degree ones. So "take more terms" is not a universally safe strategy, and we need something rigorous.
What we want is an exact expression for the difference . Remarkably, repeated integration by parts delivers one. Suppose has continuous derivatives on an open interval containing , and fix . Start from the fundamental theorem of calculus,
Now evaluate that same integral by parts, with the deliberately odd choice (any antiderivative of will do, and this one is engineered to vanish at ):
so
Comparing and ,
where the first two terms are exactly and the integral is exactly the error. Integrating by parts again with and gives
and now the pattern is clear. After steps we have plus a single leftover integral.
Note
Theorem (Taylor's theorem)
Suppose has continuous derivatives on an open interval containing . Then for each ,
where is the th Taylor polynomial of about and the remainder term is
So the error in is exactly — no approximation, no hand-waving. The catch is that this integral is usually impossible to evaluate, since it involves the very function we could not handle in the first place. Fortunately there is a much more usable form.
Note
Corollary (Lagrange formula for the remainder)
Suppose has continuous derivatives on an open interval containing . Then for each ,
for some real number between and .
Basically, the remainder looks exactly like "the next term of the Taylor polynomial", except that the derivative is evaluated at some mystery point instead of at . In almost every problem it is impossible to find exactly — and you never need to. You only need to know where lives, namely between and , which is enough to bound and hence bound the error. That is the entire technique of this section.
Notice that Taylor's theorem with Lagrange remainder generalises the mean value theorem: taking gives , i.e.
for some between and , which is the MVT exactly.
Example. Let . Using the second Taylor polynomial about , estimate and find an upper bound for the error.
The second Taylor polynomial is
so . For the error, apply the Lagrange formula with , noting :
Therefore with error at most .
That bound is quite crude, because throws away everything we know about where is. Using instead the sharper inequality for , we get , and hence
(The true error is about , so even this is conservative.) Any valid bound on over the relevant interval gives a valid error bound; the tighter your bound on the derivative, the tighter your answer, and marks are usually given for a correct bound rather than the tightest one.
Example. A calculator with a ten-digit display uses a Maclaurin polynomial to estimate . What degree polynomial guarantees that every displayed digit is correct?
Let . By Taylor's theorem, with
for some between and . To be sure of ten displayed digits it suffices that
Now bound the remainder without ever computing :
Since whenever , a very crude conclusion is , which already gives . But we can do better by not throwing the factorial away. Testing values:
Therefore is the first degree that works, and the calculator should display the first ten digits of . Notice that at no point did we use the decimal expansion of — which was exactly the requirement, and is what makes error bounds genuinely useful rather than circular.
4.2.1 Classifying stationary points
Taylor's theorem also repairs a gap you may have noticed in the second derivative test. The function has a stationary point at , but , so the second derivative test is silent — even though it is obvious from the formula that is a minimum. The fix is to keep differentiating until something is non-zero.
Note
Corollary
Suppose is times differentiable at , that , and that
where . Then
(i) is a local minimum point if is even and ;
(ii) is a local maximum point if is even and ;
(iii) is a horizontal point of inflexion if is odd.
Sketch proof. Assume additionally that exists near and is continuous at . Taylor's theorem with Lagrange remainder gives
for some between and , since every middle term vanishes by hypothesis. For case (i): if is even then for ; and since with continuous at , we have for all (and hence ) sufficiently close to . Combining, near , so is a local minimum. Cases (ii) and (iii) go the same way.
Basically, near the function looks exactly like , so the shape of the stationary point is decided entirely by the parity of and the sign of that constant — an even power sits on one side of its vertex, an odd power passes straight through.
Example. You are given that is a stationary point of
Classify it.
Differentiating and evaluating at gives
so the corollary applies with . Since is even and , we are in case (ii). Therefore is a local maximum point of . Note how useless the ordinary second derivative test was here; it would have reported and stopped.
4.2.2 Some questions arising from Taylor's theorem
Return to the calculator problem. We showed
with
That bound plainly shrinks to nothing as grows, so it seems reasonable to expect , and letting in suggests the striking identity
an infinite sum equalling an exact value. But every word of that sentence needs justification, which sets the agenda for the rest of the chapter:
- What does as actually mean? More generally, given a list of numbers , how do we pin down the limiting behaviour of ? This is Section 4.3.
- What does an infinite sum mean, and how do we tell whether one converges to a real number or diverges? This is Sections 4.4 and 4.5.
- For which does , and when the infinite series converges, does it converge to itself? The picture warns that the answer is not always yes. This is Sections 4.6 to 4.8.
4.3 Sequences
A sequence is a real-valued function defined on (a subset of) the natural numbers. So with is a sequence; but for sequences we traditionally write rather than , and denote the whole object by or .
Example. The Fibonacci sequence is defined recursively by , and , giving . Not every sequence comes with a formula for .
4.3.1 Describing the limiting behaviour of sequences
Our objective is to describe what does as . There are two broad outcomes: either approaches a finite number , in which case is convergent and we write ; or it does not, in which case is divergent. Divergent sequences subdivide:
- if , the sequence diverges to infinity;
- if , it diverges to negative infinity;
- if has no limit but stays bounded, it is boundedly divergent;
- if none of the above, it is unboundedly divergent.
Example. Describe the behaviour of each sequence as .
(a) ; (b) ; (c) ; (d) .
(a) , so diverges to infinity.
(b) The terms run , which is bounded but has no limit; so is boundedly divergent.
(c) Dividing top and bottom by ,
so converges to .
(d) The terms run , which is unbounded, and the even terms head to while the odd terms head to . Therefore is unboundedly divergent.
Note
Definition (formal limit of a sequence)
Suppose is a sequence of real numbers and . We write if, for every positive number , there is a number such that
Basically, draw any horizontal band of half-width around the height , however thin; the definition says the sequence eventually enters that band and never leaves. The crucial logical order is that comes first and is allowed to depend on it — a thinner band is allowed to need a longer wait.
4.3.2 Techniques for calculating limits of sequences
Most of the machinery you learned for limits of functions transfers directly.
Note
Proposition (limit laws)
Suppose and both exist. Then
Every one of these requires the individual limits to exist first. Writing when one factor diverges is meaningless, and is where marks go missing.
Example. Let . Find the limiting behaviour of .
This is an form, so the limit laws do not apply directly; we rationalise, exactly as we would for the corresponding function limit:
Since , the limit laws now apply and . Therefore converges to . (Numerically, , which agrees.)
Note
Proposition
Suppose and is continuous at . Then .
Note
Proposition
Suppose is a sequence and is a function defined on some interval with for every integer . If then .
This last one is what lets us use l'Hôpital's rule on sequences, which is otherwise illegal — you cannot differentiate a function of a discrete variable. The implication only runs one way. If the function limit fails to exist, the sequence limit may still exist perfectly well; for instance has no limit as , but for every integer , so .
Example. Let . Find .
Set , which is the corresponding function. This is a indeterminate form, so take logarithms:
which is a form as . By l'Hôpital's rule,
Since is continuous, , and hence by the function-to-sequence proposition, . Therefore . (Checking, , against )
Note
Proposition (the pinching theorem for sequences)
Suppose , and are sequences with for all sufficiently large , and that
Then .
Example. Find .
We cannot say anything sensible about itself, but we do not need to; we only need that it is trapped. Since for all ,
for all , and both outer sequences tend to . Therefore by the pinching theorem the limit is . Whenever a bounded but wildly behaved factor is divided by something growing, reach for pinching; trying to compute the oscillating part is a trap.
It is worth having a feel for the relative speeds at which standard sequences grow, since a great many limits are settled by nothing more than knowing which of two expressions wins:
where means the left-hand side is eventually negligible compared with the right. In particular for every fixed , which is precisely the fact that makes the exponential's remainder term vanish.
Note
Definition
A sequence is increasing if for all , decreasing if for all , and monotonic if it is one or the other. It is bounded if there is some with for all .
Note
Theorem (monotone convergence)
If is a bounded monotonic sequence of real numbers, then it converges.
Basically, an increasing sequence with a ceiling has nowhere to go but up towards some limit; it cannot oscillate, because it is monotonic, and it cannot escape, because it is bounded. This is the one convergence result that does not require you to know the limit in advance, which makes it invaluable for recursively defined sequences where no formula for exists.
4.3.3 [X] Suprema and infima
The monotone convergence theorem rests on a deep property of that we should state properly.
Note
Definition
Suppose is a sequence of real numbers. A number is an upper bound if for all , and a lower bound if for all . The least upper bound (or supremum) is the smallest such , and the greatest lower bound (or infimum) is the largest such .
Note
Fact (the least upper bound axiom)
Every non-empty set of real numbers that is bounded above has a least upper bound in .
This is an axiom of the real numbers, not a theorem — and it is exactly what lacks. The rationals less than are bounded above but have no least rational upper bound, which is precisely the hole that was built to fill.
Example. Find the greatest lower bound and least upper bound of where .
The terms are , all positive and all at most . The least upper bound is , and it is attained at . The greatest lower bound is : every , so is a lower bound; and no positive number can be a lower bound, since once . Therefore and . Notice the infimum is not attained — a supremum or infimum need not be a member of the sequence, which is exactly why "maximum" and "supremum" are different words.
Given this axiom, the monotone convergence theorem is nearly immediate for an increasing bounded sequence: let be the least upper bound of . For any , is not an upper bound, so some ; and since the sequence increases and is capped by , every has , giving .
4.4 Infinite series
We can now say what an infinite sum means. The idea is the only sensible one available: add up finitely many terms, and see whether those running totals settle down.
Note
Definition
Suppose is a sequence of real numbers. For each , the th partial sum is
If the sequence of partial sums converges to a real number , we say the series converges (or is summable) with sum , and write . Otherwise the series diverges.
A series is not a sum; it is the limit of a sequence of sums. Every question about series is secretly a question about the sequence , and keeping that in mind resolves most of the confusion in this topic.
Example. Determine whether the geometric series converges, and find its sum when it does.
The partial sums have a closed form. For ,
Now if , and diverges if or ; while for we have . Therefore
This is the single most useful series in the course, both in its own right and as the comparison against which other series are judged.
Example. Evaluate .
Partial fractions (see Section 2.4) give , so the partial sums telescope:
since every interior term cancels with its neighbour. Hence . Therefore . Geometric and telescoping series are essentially the only ones whose exact sum you can find by hand; for everything else the realistic goal is deciding convergence, not evaluating.
Note
Proposition
Suppose and are convergent series. Then
Proof. Apply the corresponding limit laws to the sequences of partial sums, noting that the th partial sum of is exactly where are those of and .
It is worth recording one structural remark. While every term contributes to the value of a convergent series, only the tail matters for the question of convergence: the first hundred, thousand or billion terms are irrelevant to whether the series converges, since changing finitely many terms changes every partial sum past a point by the same fixed constant. This is why the tests below are all allowed to say "for all sufficiently large ".
4.5 Tests for series convergence
4.5.1 Some preliminary results on series summation
Since exact sums are almost never available, we need tests that decide convergence from the shape of alone. The first one is free.
4.5.2 The th term divergence test
Note
Theorem
If converges, then as .
Proof. Suppose converges to , and let be the th partial sum, so and also (it is the same sequence shifted). Then
Note
Theorem (the th term test for divergence)
If as , then diverges.
This is just the contrapositive of the previous theorem, and it is the cheapest test there is — always try it first. But the converse is emphatically false: does NOT imply that converges. The harmonic series below is the standard counterexample, and mis-using this test in the wrong direction is the most common error in the entire chapter.
Example. Determine whether converges.
Looking at the terms,
as . Therefore the series diverges by the th term test. Intuitively we are adding infinitely many numbers each close to , so the partial sums grow without bound.
4.5.3 The integral test
Note
Theorem (the integral test)
Suppose is a series with positive terms, and is a positive integrable function, decreasing on , with for each positive integer . Then converges if and only if converges.
Basically, the terms are the areas of rectangles of width and height , and those rectangles can be lined up to sit just under or just over the graph of . Sliding them one way gives , and the other way gives ; so the sum and the integral are trapped within one term of each other and must live or die together. The hypotheses matter — must be positive and decreasing, or the rectangle picture collapses.
Example. For which does the -series converge?
Take , which is positive and decreasing on when . For ,
which converges (to ) exactly when , i.e. . For ,
For the terms do not even tend to . Therefore
Note
Proposition (convergence of -series)
The series converges if and diverges if .
The case deserves its own name: is the harmonic series, and it diverges even though its terms tend to . It does so extraordinarily slowly — the partial sums grow like , so summing the first hundred thousand terms gives only about — which is exactly why the th term test cannot possibly be a test for convergence.
4.5.4 The comparison test
Note
Theorem (the comparison test)
Suppose and are positive sequences with for every .
(i) If converges, then converges.
(ii) If diverges, then diverges.
Proof. The partial sums of a positive series are increasing. In case (i), they are also bounded above by , so they converge by monotone convergence. Case (ii) is the contrapositive of (i) with the roles swapped.
Basically, a smaller positive series cannot escape past a convergent one, and a bigger one cannot stay below a divergent one. Get the direction right: bounding your series above by a convergent one proves convergence, and below by a divergent one proves divergence. The other two combinations tell you nothing at all.
Example. Determine whether converges.
For we have , so
and converges as a -series with . Therefore the series converges by comparison.
Example. Determine whether converges.
Since for all , we have , and diverges as the harmonic series. Therefore the series diverges by comparison. Notice the direction: we bounded below by something divergent.
4.5.5 [X] The limit form of the comparison test
Finding an exact inequality is often fiddly, and there is a version that only needs the terms to be of the same order.
Note
Theorem (limit comparison test)
Suppose and are positive sequences and
where . Then and either both converge or both diverge.
Example. Determine whether converges.
For large the terms behave like , so compare with :
which is finite and non-zero. Since converges, the given series converges. For any ratio of polynomials, just compare with and the limit test settles it instantly — here , giving the we used.
4.5.6 The ratio test
Note
Theorem (the ratio test)
Suppose is a series with positive terms and that
Then the series converges if , diverges if , and the test gives no information if .
Basically, the ratio test asks whether the series is eventually behaving like a geometric series of ratio ; if it shrinks by a factor bounded below at each step, the tail is dominated by a convergent geometric series.
The case really does give no information, and saying "the series diverges because " is simply wrong. Both (divergent) and (convergent) have , so the test cannot distinguish them; when you must switch to another test. As a rule of thumb, the ratio test is powerful when factorials or th powers are present and useless for ratios of polynomials.
Example. Determine whether converges.
Here , so
as . Since , the series converges by the ratio test. (Indeed we will see in Section 4.6 that its sum is .)
Example. Determine whether converges.
Computing the ratio,
by the limit computed earlier. Since , the series converges. Notice how the earlier sequence limit did real work here; the limit turns up constantly in ratio-test calculations.
4.5.7 Leibniz' test for alternating series
All the tests so far demanded positive terms. Series whose signs alternate behave quite differently, and much more forgivingly.
Note
Theorem (alternating series test)
Suppose satisfies
(a) ;
(b) for all (the sequence is non-increasing); and
(c) .
Then the alternating series converges.
Moreover, the error in stopping after terms is at most the first omitted term: .
Basically, the partial sums leapfrog back and forth over the eventual limit, each step shorter than the last, so they close in on it like a spiral — and because each step overshoots, the true sum is always trapped between two consecutive partial sums. That is where the beautifully simple error bound comes from.
All three hypotheses are needed, and (b) is the one people forget to check. A sequence can tend to without being monotonic, and the test then does not apply.
Example. Show that the alternating harmonic series converges, and estimate its sum to within .
Take . Then ; ; and . All three hypotheses hold, so the series converges by the alternating series test. For the estimate, we need , i.e. ; so summing the first terms is guaranteed to be within . Therefore the series converges, and its sum is in fact (which we will prove in Section 4.8). Compare this with the harmonic series , which diverges: putting alternating signs on exactly the same terms turns a divergent series into a convergent one. The cancellation is doing all the work.
4.5.8 Absolute and conditional convergence
That last observation demands a name for the distinction.
Note
Definition
A series is absolutely convergent if converges. It is conditionally convergent if it converges but diverges.
Note
Theorem
If a series is absolutely convergent then it converges.
Proof. Suppose converges. For each we have , so
By the comparison test, converges, since does. Hence
is a difference of two convergent series, and therefore converges.
The converse fails: the alternating harmonic series converges, but taking absolute values gives the harmonic series, which diverges. So it is conditionally convergent, not absolutely convergent.
Basically, absolute convergence means the series converges because the terms are small, while conditional convergence means it converges because of cancellation. That distinction is not academic, as the following astonishing fact shows.
Note
Theorem (rearrangement)
Suppose is an infinite series.
(i) If it converges absolutely, then every rearrangement converges absolutely to the same sum.
(ii) If it converges conditionally, then for any real number there is a rearrangement of the series converging to ; and there are rearrangements diverging to .
Part (ii) is genuinely disturbing and worth pausing on: for a conditionally convergent series, "the sum" depends on the order of addition. The alternating harmonic series sums to , but its terms can be reordered to sum to , or to , or to diverge. The reason is that its positive terms alone () and its negative terms alone both diverge, so by taking positive terms until you overshoot your target, then negative ones until you undershoot, and repeating, you can steer the partial sums anywhere you like. Absolute convergence is what licenses you to treat an infinite sum like a finite one, and it is exactly the hypothesis the power series manipulations of Section 4.8 will rely on.
To finish the section, here is the order to attack a convergence question in — reaching for these in the wrong order is what makes series problems feel harder than they are:
| Step | Ask | If it works |
|---|---|---|
| Does ? | Diverges, by the th term test. Costs one line. | |
| Is it geometric or telescoping? | Sum it exactly. | |
| Is it a -series, or a ratio of polynomials? | Use the -test or limit comparison with . | |
| Are there factorials or th powers? | Ratio test. | |
| Do the signs alternate? | Check absolute convergence first, then Leibniz. | |
| Is for a nice decreasing you can integrate? | Integral test. | |
| Otherwise | Comparison, after guessing the dominant behaviour of . |
4.6 Taylor series
We now have everything needed to answer the questions raised in Section 4.2.2. Taylor's theorem gave us a finite polynomial plus a remainder; the natural move is to let the degree run to infinity and see what survives.
Note
Definition
Suppose has derivatives of all orders at . The Taylor series of about is the infinite series
When it is also called the Maclaurin series of .
Note carefully what this definition does not claim. It says nothing about whether the series converges, and nothing about whether — if it does converge — it converges to . Writing down a Taylor series requires only that all the derivatives exist at the single point ; it is a completely separate question whether that series has anything to do with elsewhere. The bridge between the two is the remainder.
Note
Corollary
Suppose has derivatives of all orders at and lies in the domain of . Let be the remainder term. If
then
Proof. By Taylor's theorem, for every , so . But is exactly the th partial sum of the Taylor series. Letting , the partial sums converge to , which by the definition of a convergent series says precisely that the Taylor series converges to .
Basically, showing that a function equals its Taylor series is exactly the same job as showing the remainder dies, and the remainder is bounded using the Lagrange formula exactly as in Section 4.2. When this happens we say is represented by its Taylor series.
Example. Show that is represented by its Maclaurin series for every .
Here for all , so the Lagrange formula gives
for some between and . Since lies between and we have , so setting (a constant, once is fixed),
as , because for any fixed . By the pinching theorem, . Therefore
Notice that depends on but not on , which is exactly what makes the argument work — the factorial in the denominator eventually outruns any fixed constant times , no matter how enormous is.
Similar arguments (occasionally needing the integral form of the remainder rather than the Lagrange form) establish the standard library. These are worth memorising; nearly every power series question in the course is solved by manipulating one of them rather than by differentiating from scratch.
Note
Theorem (standard Maclaurin series)
The following hold whenever lies in the stated interval, and the series diverges outside it.
| Function | Maclaurin series | Valid for |
|---|---|---|
Notice the pattern in the intervals. The three built from (namely , and likewise ) are valid on all of , because their coefficients carry factorials. The three built from the geometric series (, , ) are confined to roughly , because their coefficients only decay like . This is exactly the contrast we noticed back in Section 4.1, and it is also why the graphs of the Taylor polynomials of went haywire past .
It does not follow that every infinitely differentiable function is represented by its Taylor series. The standard counterexample is
which is infinitely differentiable everywhere and has for every — the function is so flat at the origin that every derivative is crushed to zero there. Its Maclaurin series is therefore identically , which converges everywhere but equals only at . So the series exists, and converges, and is still useless. This is precisely why the remainder corollary is stated as a hypothesis to be checked rather than a triviality.
Example. Find the Maclaurin series of and state where it is valid.
Rather than differentiate repeatedly (which rapidly becomes horrible), substitute for in the exponential series:
Since the exponential series is valid for all real arguments, and is real for every real , this is valid for all . Substitution into a known series is almost always faster than differentiating, and it is the intended method — computing directly here would take a page.
Example. Find the Taylor series of about .
Force the expression into the shape :
The geometric series requires , i.e. , i.e. . Therefore
Notice the interval stops exactly at , where the function blows up. The interval of validity is very often explained by the nearest bad point of the function, and checking that your interval is symmetric about and stops somewhere sensible is a good way to catch errors.
4.7 Power series
Taylor series are a special case of a more general object, in which we forget where the coefficients came from.
Note
Definition
A power series about is a series of the form
where the are real constants. A power series about has the form .
A power series is not a number; it is a function of , defined at exactly those for which the series converges. So the first question about any power series is: where does it converge? Notice that always works, since every term after the first vanishes there, so the set of such is never empty.
Example. For which does converge?
This is geometric with ratio , so it converges exactly when , i.e. , and diverges otherwise. Its sum on that interval is .
4.7.1 Radius of convergence
That example converged on an interval symmetric about the centre, and this turns out to be the universal behaviour.
Note
Definition
If a power series converges at all points of the interval — equivalently, for — then is the radius of convergence and is the open interval of convergence. If the series converges for all real , the radius of convergence is infinite.
The word "radius" looks odd for an interval; it comes from replacing by a complex variable , where the condition describes an open disc in the Argand plane and really is its radius.
Note
Theorem
Suppose is a sequence of real numbers with
for some real number . Then the power series
(i) converges absolutely whenever , and
(ii) diverges whenever .
Proof sketch. Apply the ratio test to . The ratio of consecutive terms is
which is less than exactly when and greater than exactly when .
Note the theorem says nothing about the endpoints , where the ratio-test limit is exactly and the test is silent. Those two points must always be checked separately by substituting them in and testing the resulting numerical series, and they genuinely can behave differently from each other. In practice: find the open interval with the ratio test first, then test the two endpoints by hand, then read off the radius.
Example. Find the radius and interval of convergence of .
Applying the ratio test to the absolute values,
so the series converges absolutely for and diverges for ; the radius of convergence is and the open interval is . Now the endpoints:
- At : the series becomes , the harmonic series, which diverges.
- At : the series becomes , which converges by the alternating series test.
Therefore the interval of convergence is and the radius of convergence is . Notice the two endpoints behaved differently, which is exactly why each must be checked individually.
Example. Find the radius of convergence of .
Here
for every . So the series diverges for all and converges only at . Therefore the radius of convergence is . A radius of is a genuine possibility and does not mean you made a mistake — this series defines no function at all.
Example. Find the radius of convergence of .
Here
for every , so the series converges absolutely for all real and the radius of convergence is infinite. Therefore , which we already knew, since this series is .
4.7.2 [X] Convergence of power series at endpoints
The endpoint behaviour can be delicate, and all four combinations of open and closed occur.
Example. Determine the interval of convergence of each of the following.
(a) ; (b) ; (c) .
Each has radius by the ratio test, since in every case the ratio tends to . The endpoints differ:
(a) At we get , convergent as a -series with ; at we get , which converges absolutely. So the interval is , closed at both ends.
(b) At the terms do not tend to , so both endpoints diverge by the th term test. The interval is , open at both ends.
(c) At we get the divergent harmonic series; at we get the convergent alternating harmonic series. The interval is , half-open.
Therefore all three shapes occur even among these very similar-looking series. The size of the coefficients decides everything: is small enough to survive both endpoints, survives only where cancellation helps, and survives neither.
4.8 Manipulation of power series
Inside its open interval of convergence, a power series behaves as beautifully as one could hope — you may differentiate and integrate it term by term, exactly as if it were a polynomial. This is the payoff for all the work on absolute convergence, and it is far from obvious; infinite sums of functions do not in general commute with limits.
Note
Theorem
Suppose and are defined on an interval by
both convergent on . Then for ,
Moreover, if on then for every .
That last sentence is the uniqueness of power series and is used constantly: if you obtain a power series representation of by any legitimate route, it must be the Taylor series, so there is no need to compute a single derivative. It also justifies "equating coefficients", which is how power series are used to solve differential equations.
Note
Theorem (term-by-term differentiation and integration)
Suppose is defined on the open interval of convergence by , with radius of convergence . Then is differentiable on , and for ,
and both of these new series have the same radius of convergence .
Basically, on the inside of its interval a power series is a polynomial for all practical purposes. The radius is unchanged, but the endpoint behaviour can change — differentiating tends to destroy endpoint convergence and integrating tends to create it, since the coefficients get multiplied or divided by .
Applying the differentiation theorem repeatedly shows that has derivatives of all orders on , and setting in the th derivative kills every term except one, leaving . So we recover:
Note
Corollary
If on an open interval about , then ; that is, the series is necessarily the Taylor series of about .
Example. Find the Maclaurin series of by integrating a geometric series, and hence obtain a series for .
Start from the geometric series with in place of :
Since , integrating term by term gives
and putting gives . Therefore
which is the entry in the standard table. At the endpoint the series converges by the alternating series test (it is not covered by the theorem, but a finer argument shows it does converge to ), giving the famous
This is a beautiful formula and a terrible way to compute ; the error after terms is about , so getting six decimal places would take around a million terms. Summing terms gives , correct to only five places.
Example. Find the Maclaurin series of by integration.
Again from the geometric series,
and integrating term by term with fixing the constant,
which agrees with the direct differentiation we did in Section 4.1 — but took three lines instead of a page. Setting (again valid at this endpoint) gives
confirming the value of the alternating harmonic series claimed in Section 4.5.7.
Example. Evaluate to three decimal places.
The integrand has no elementary antiderivative, so none of the techniques of Integration Techniques can touch it — but its series can be integrated term by term. From the earlier example,
so integrating over ,
This is alternating with decreasing terms tending to , so by the Leibniz error bound stopping after a term leaves an error at most the size of the next one. Since , summing to the term and a little beyond suffices:
Therefore . This is how such integrals are actually computed in practice, and it is a genuinely important application — the same integral, suitably scaled, is the one behind the normal distribution tables in Introduction to Probability and Statistics.
Example. Find using series.
This is a form that would need three applications of l'Hôpital's rule. With series it is immediate:
so
as . Therefore the limit is . Series turn indeterminate limits into ordinary arithmetic on the leading terms, and are usually faster and less error-prone than repeated l'Hôpital.
4.8.1 [X] Proof of theorems in Section 4.8
The proofs of the manipulation theorems are more delicate than they look, and the reason is worth understanding even if the details are not examinable. The naive argument — "differentiate each term and add up" — assumes that
that is, that differentiation and the limit may be swapped. This is false in general for sequences of functions. What rescues the power series case is that convergence on any closed subinterval of the open interval of convergence is uniform — the rate of convergence can be bounded independently of — and uniform convergence is exactly the hypothesis under which limits and integrals may be exchanged. The differentiation result then follows by applying the integration result to . Uniform convergence is developed properly in second-year analysis.
To summarise the whole chapter: Taylor polynomials approximate a function near a point by matching derivatives, and Taylor's theorem quantifies the error exactly, with the Lagrange form of the remainder making that error boundable in practice without knowing the answer in advance. Pushing the degree to infinity produces the Taylor series, which represents the function precisely on the set where the remainder vanishes — and the machinery of sequences and series is what gives that statement meaning. Finally, on the interior of its interval of convergence a power series may be added, differentiated and integrated term by term, which is what makes series a practical computational tool rather than a curiosity: it lets you build new expansions from the standard table instead of differentiating, evaluate integrals that have no elementary antiderivative, and reduce nasty limits to arithmetic.