Power Series, Taylor Expansion and the Remainder
What you will be able to do
Given a function, the learner can produce its Taylor polynomial from derivatives at a point, find the radius of convergence of a power series, bound the truncation error by the Lagrange remainder, and distinguish a series that converges from one that represents its function.
Orientation
Which series represents a given function
A convergence test answers whether a given series has a sum. This unit asks the question from the other side: given a function, which series represents it, and how far can a truncation of that series be trusted?
The derivative gave the best linear approximation to
Two questions have to be kept apart, and the unit turns on the difference.
Where does the series converge? A power series converges on an interval centred at its expansion point, whose half-width is found by the ratio test from the previous unit. The endpoints escape that test and are examined one at a time.
Does it converge to the function? This is a separate question with a separate answer, and it is not automatic. The remainder
The Lagrange remainder answers both practical needs at once: it bounds the error of a truncation in advance, so a polynomial can be trusted to a stated accuracy, and it is the quantity whose vanishing turns a Taylor polynomial into a representation.
Figure
e^x with its first three Maclaurin polynomials
The pattern is the one the remainder bound predicts. Each extra degree multiplies the error by roughly
What is local is the truncation, not the series. The Maclaurin series for
Definition
Why a radius, and why convergence is not representation
The canonical statement gives the power series, the Taylor coefficients and the remainder. What follows is why each is stated as it is.
Why a power series has a radius rather than an arbitrary domain. Applying the ratio test to
Why convergence of a Taylor series is not representation. The coefficients are built from
Derivation
Where the Taylor coefficients come from
Where the Taylor coefficients come from. Suppose
Setting
Differentiating term by term,
and setting
The pattern is clear: differentiating
The factorial is not a normalising convention; it is what the repeated differentiation produces.
What the argument assumes. It assumes
Checking the result. For
At
Theorem
Taylor's theorem with remainder
Statement. Let
and the remainder has the Lagrange form
for some
The equality is exact.
The usable bound. The point
Checking it bites. For
and the actual error is
Why
rather than merely that the series converges. The same argument works for
Where the argument fails. Consider
Every derivative at 0 is zero, so every Taylor coefficient vanishes and the Maclaurin series is identically 0. It converges everywhere, to the zero function. But
Nothing went wrong with the coefficients; the remainder simply does not tend to zero. This is the case that shows why "the series converges" and "the series represents
How the bound is used in practice. Given a required accuracy
Worked example
A Taylor expansion with an error bound chosen in advance
A Taylor expansion with an error bound: approximate
The Maclaurin series is
| bound | actual error | |
|---|---|---|
| 2 | ||
| 3 |
So
and
Here
Procedure
Finding a radius and bounding a truncation
For a power series. Apply the ratio test to
For a Taylor expansion.
- Compute derivatives at
until the pattern is clear. - Form
. - Bound
by on the interval between and . - Use
to choose for a required accuracy, before computing the polynomial. - To claim the series represents
, show as grows. Convergence of the series alone is not enough.
Checks. For a Taylor approximation, compare the actual error against the bound. The bound must be the larger, and if it is not, one of the two is wrong.
Example
The series worth knowing by heart
Three have infinite radius because of a factorial; three have radius 1 because their coefficients decay only polynomially. The factorial is the difference between a series that converges everywhere and one that converges on an interval, and reading which case applies is usually a one-line ratio test.
Non-example
Inferences a Taylor expansion does not support
A power series says nothing about its endpoints. For
A Taylor series may converge without representing the function. Let
Every derivative at 0 is zero, so every Maclaurin coefficient is zero and the series is identically 0. It converges for every
Nothing miscomputed: the coefficients are correct and the series converges. What fails is
A Taylor polynomial is local.
Comparison needs the inequality in the right direction. Bounding
Application
Where truncated series do the work
Computing transcendental functions. A processor evaluating
Integrals with no elementary antiderivative.
which converges for every
Solving differential equations. Where no closed-form solution exists, assuming
Approximation in physics and economics. Replacing
Moment generating functions. In probability,
Geometric series in finance and probability. The present value of a perpetuity paying
The role of the error bound. Every application above replaces an exact object with a finite sum. What makes that legitimate rather than hopeful is knowing how large the discarded tail can be. An approximation without a bound is a guess; with one, it is a computation to a stated tolerance.