Intermediate Calculus
§2 Remainders and Power Series
15 min read
Walkthrough
Remainders
An infinite series represents a sum that never ends:
Because we cannot add terms forever, we must stop at some finite cutoff index . This splits the series into two parts:
- The partial sum , which is our calculated approximation.
- The remainder , which is the leftover tail we omitted.
A common point of confusion is what the index represents. The subscript marks the last included index, not the total count of terms. If the series starts at , the partial sum contains four terms (), and the remainder starts at index .
To know whether an approximation is reliable, we need to bound the size of this discarded remainder.
Estimating the remainder
How we estimate depends on the behavior of the terms.
Integral estimate
For a convergent series and an integer , suppose for and is continuous, positive, and nonincreasing on . Then we can trap the omitted tail between areas under :
- Starting the integral at places the curve beneath the rectangles, giving a lower bound.
- Starting the integral at shifts the reference frame so the curve stays above the rectangles, giving an upper bound.
If you are asked to guarantee that the error remains below a chosen tolerance , focus on the upper bound: find an index such that . Because is smaller than this integral, your error is guaranteed to be less than .
Alternating-series estimate
For an alternating series whose magnitudes are nonincreasing and approach , the Alternating Series Estimation Theorem bounds the truncation error by the first omitted magnitude:
To estimate the true sum to a specific precision, calculate and check whether the window rounds unambiguously to your target decimal place.
Power series
A power series extends a polynomial to infinitely many terms and is centered at a constant :
At the center , every term with becomes zero, leaving only . Therefore, every power series converges at its center.
For other values of , convergence depends on how far is from the center. This behavior is captured by the radius of convergence, :
- The series converges absolutely when .
- The series diverges when .
Interval of convergence
To find the complete set of -values where the series converges:
- Use the Ratio Test—or the Root Test when it fits better—to determine the interior condition .
- Rewrite that condition as the open interval .
- When is finite, test each endpoint individually by substituting and into the original series. The test used to find the radius is generally inconclusive at the boundary, so a different numerical-series test decides whether each endpoint is included.
Operations on power series
Inside the open interval of convergence, power series can be treated like polynomials:
- Algebraic substitutions: A rational function can often be reshaped into to use the geometric series formula for .
- Calculus term by term: You can differentiate and integrate a power series term by term. The radius of convergence remains unchanged, though endpoint behavior must be re-evaluated.
For example, differentiating term by term returns the same series, and its value at is . These are the defining properties behind the familiar Maclaurin series for .
Partial sums and remainders
A series contains infinitely many terms, but in practice we can only add finitely many. That limitation raises two practical questions:
- If we truncate a series, how large can the omitted part be?
- If the terms depend on an input variable , for which values of does the series converge?
While some series evaluate to a known closed form, such as
other closely related series have no simple exact formula:
Error estimates allow us to quantify how closely a finite computation approximates the true infinite sum.
Example:
Consider an infinite series written term by term from an initial index :
If we stop after the term with index , we obtain the partial sum
The difference between the total sum and this finite approximation is the remainder :
Because is already included inside , the first missing term in the remainder is .
Because this series begins at , the partial sum contains four terms. The subscript denotes the last included index, not the total number of terms added.
More generally, stopping at index produces
and leaves the remainder
The remainder is the signed leftover between the true sum and the approximation. The error size is its absolute value, . When every term is positive, , so the remainder and the error size coincide. For alternating series, can be positive or negative, requiring us to bound .
Integral remainder bounds
Integral remainder estimate
When the terms of a series are generated by a continuous function,
we can bound the remainder geometrically using areas under the curve. For this comparison to hold, must satisfy three conditions:
- continuous, ensuring the graph has no jumps or breaks;
- positive, ensuring the area lies entirely above the -axis;
- decreasing, ensuring successive terms shrink in size.
The following diagram illustrates these comparisons for , starting from :
Lower bound for
With , the first four rectangles are already included in . The remainder starts at .
From onward, the curve lies below the tail rectangles. Its area is therefore a lower estimate of the tail.
Upper bound for
The gray rectangles stay in place for context. The first tail rectangle is still , but placing it over makes the curve sit above it.
Starting the area at puts the curve above the same tail rectangles, so this area is an upper estimate.
To see where the bounds come from, compare an individual term —represented by a rectangle of width and height —with the area under over unit intervals:
-
Comparing to the unit interval to the right gives
-
Comparing to the unit interval to the left gives
Returning to the diagram, the remainder tail starts at :
Summing the single-rectangle inequalities from to yields the integral remainder estimate:
The difference in limits reflects the boundary between the included and omitted terms:
-
Integrating from places the curve below the tail rectangles, producing an area strictly smaller than the remainder:
-
Integrating from shifts the reference frame so the curve stays above those same rectangles, producing an area larger than the remainder:
Here, lower bound denotes a value smaller than . The integral starting farther right covers less total area, which is why forms the lower bound and forms the upper bound.
Choosing for a target error tolerance
Let (epsilon) be the largest error we are willing to allow. We do not need to compute directly; it suffices to choose an index that forces the upper bound below :
Because is bounded above by this integral, satisfying this inequality guarantees
Evaluating the improper integral and solving the inequality for gives a sufficient cutoff that guarantees the requested error tolerance.
Alternating series remainder estimate
An alternating series has terms that alternate in sign:
If the positive magnitudes decrease monotonically toward zero,
the series converges by the Alternating Series Test. Successive partial sums oscillate around the true sum , each step bringing the approximation closer. Consequently, the truncation error is bounded by the magnitude of the first omitted term:
This result is the Alternating Series Estimation Theorem.
Example: rounding to two decimal places
Consider the alternating series
Evaluating the partial sum through index gives
The first omitted term corresponds to :
By the estimation theorem, the true sum lies within of :
Because both the upper and lower bounds round to , the estimate
is guaranteed correct to two decimal places.
Stopping one term earlier at would not provide enough precision:
This error interval spans from roughly to , which contains values rounding to as well as values rounding to . Thus, is necessary to determine the second decimal place unambiguously.
Power series
A polynomial terminates after a finite degree:
A power series extends this concept to infinitely many terms:
More generally, a power series can be centered at any real number :
In this expression:
- is the independent variable;
- is a constant called the center;
- is the coefficient of the th power.
At the center , every term with vanishes, leaving only . Therefore, every power series converges at its center.
Radius and interval of convergence
For values of , convergence depends on the distance from the center. For any power series, exactly one of three cases occurs:
- The series converges only at the center .
- The series converges for all real numbers .
- There exists a real number , called the radius of convergence, such that the series converges absolutely when and diverges when :
When is finite, the condition does not specify whether convergence holds at the boundary points and . Testing these endpoints individually determines the complete interval of convergence.
General procedure for finding the interval
To find the full set of values where a power series converges:
- Identify the center .
- Apply the ratio test (or root test) to find the condition that ensures absolute convergence.
- Rewrite as the open interval .
- Substitute each endpoint, and , into the original series to obtain numerical series.
- Test each endpoint series separately, including an endpoint in the interval if and only if its series converges.
Example: finding the interval of convergence
Find the interval of convergence for
The center is . At , every term equals , so the series converges.
To determine convergence for , use the Ratio Test. Recall that for a series , the Ratio Test evaluates the limit of consecutive term ratios:
- if the limit is strictly less than , the series converges absolutely;
- if the limit is strictly greater than , the series diverges;
- if the limit is equal to , the test is inconclusive and another test must be used.
Applying this to the terms
the ratio becomes
The series converges absolutely when this limit is strictly less than :
which simplifies to
The radius of convergence is . Now test the boundary points and :
-
At , the series becomes
which converges by the Alternating Series Test. Because the corresponding series of absolute values diverges, this convergence is conditionally convergent. The point is included in the interval.
-
At , the series becomes
which is the divergent harmonic series. The point is excluded.
Combining the interior and the valid endpoint gives the interval of convergence:
The bracket at denotes inclusion, while the parenthesis at denotes exclusion.
Power series from the geometric series
Many power series can be constructed directly from the geometric series formula without applying the ratio test from scratch:
To find a power series for a rational function, rearrange the algebraic expression into the form , identify the expression acting as , and substitute it into the summation.
Example: finding a series for
Find a power series representation for
First, factor the denominator to match the geometric template :
Here, the variable expression is
Substituting into the geometric expansion:
This geometric representation is valid whenever :
At the endpoints , the terms do not approach zero, so the series diverges there. The interval of convergence is
Because the variable appears as , every odd power has coefficient zero. For instance, the term involving corresponds to , which is .
Differentiating and integrating power series
Inside its open interval of convergence, a power series can be differentiated or integrated term by term, just like a polynomial.
If
differentiating each term gives
Reindexing the sum so that the exponent begins at yields the equivalent form:
Similarly, integrating term by term introduces an arbitrary constant :
Term-by-term differentiation and integration preserve the original radius of convergence . However, behavior at the endpoints can change, so endpoints must be re-evaluated after differentiating or integrating.
Differentiating the geometric series
Starting from the standard geometric series,
differentiating both sides with respect to gives:
The exponential series
Consider the series
Differentiating term by term:
The function satisfies the differential equation with initial condition . The unique function satisfying these conditions is the natural exponential function, establishing the identity
for all real numbers .
0 reads
Last edited