A finite sum adds one contribution for each index in a finite set. Most summation errors come from changing that index set, losing a boundary term, or counting some contributions twice. This chapter develops techniques around those three checks. Sequences and Series supplies the arithmetic and geometric examples.
Read the index set before manipulating the formula
For a finite set and real or complex numbers , the notation
means to add the indexed contributions. Equal values at different indices still contribute separately. For an integer range , there are terms from through . We interpret a range with no admissible indices as an empty sum, whose value is .
The index is a bound variable: renaming it changes nothing if every occurrence bound by that sum is renamed consistently. An index outside the sum may remain a free parameter. In a nested sum, use distinct names for independent indices.
For example,
Here varies, while is fixed. A sum indexed by a finite set can be reordered because addition is associative and commutative. These statements do not automatically extend to infinite series.
Linearity and reindexing
For constants and the same finite index set ,
This follows by distributing and regrouping finitely many terms. The factors must be independent of the index being summed. A quantity may be constant for an inner sum but vary in an outer one.
Reindexing requires a bijection between the old and new index sets. If is bijective, then
Every original contribution appears exactly once. For , setting gives
Both the bounds and the summand change. Reversing a range instead uses , sending to . This is the mechanism behind pairing the first and last terms of an arithmetic sum.
Telescoping: preserve the endpoints
Adjacent differences cancel:
Write out the first and last few terms to see which survive. At , both sides are zero. A useful example, for , is
so
The cancellation works because the decomposition creates matching interior terms. It does not permit deleting unrelated terms merely because they look similar.
Summation by parts
The discrete product difference can be written as
Sum this equality for . The left side telescopes. With and , rearrangement yields
This identity holds for . The shifted factor is essential; replacing it by changes the identity. Like integration by parts, the technique transfers a difference from one factor to the other, sometimes leaving an easier sum.
For example, put and . Let
For , summation by parts gives . Substituting the geometric formula gives
At , use instead. At the sum is empty. Zeroth powers here denote the constant term, including when .
Multiple sums are sums over tuples
A rectangular double sum visits each pair in once:
Both index sets must be finite here. If , distributivity gives
This factorization relies on the rectangular domain and the separated factors. It is generally wrong over a triangular region such as .
For a triangle, describe the same pairs using the other outer index:
On the left, fix and range from to . On the right, fix and range from to . Both describe . With , each side counts pairs, not .
An extra index creates extra multiplicity even if the summand does not mention it. For ,
There are identical copies of the double sum. An unused index cannot simply be erased.
Exercises
Rewrite the following sum with an index starting at zero, then evaluate it:
Show solution
Set . The bounds become , and the summand becomes . The five terms are , giving . Keeping after changing the bounds would change the sum.
Write the sum over in two nested orders, with the innermost sum first ranging over , then over .
Show solution
The two expressions are
Both contain exactly . Listing the tuples verifies the bounds directly.
Assume are nonzero. Is the product below always ?
Show solution
No. Its expansion includes all pairs, not just the diagonal :
For and , the product is , whereas . Renaming a bound index is valid only when it does not merge previously independent indices.
Derive the summation-by-parts identity above directly from the product difference. Check it for .
Show solution
Summing the product difference cancels all intermediate products, leaving . Subtract the sum containing to isolate the other sum. At , the right side reduces to
which is precisely the single term on the left. This also checks the placement of the shift.
For real numbers , put . Evaluate the sum of all for , and simplify the sum of their squares.
Show solution
Since and , the unsquared terms cancel in pairs. For the squares, paired terms are equal, so
There are off-diagonal pairs. Define
Expanding each square and factoring the rectangular sums gives from each of the two square terms and from the cross term. Hence
and therefore
This is Lagrange’s identity. Its nonnegative right side implies the real Cauchy–Schwarz inequality; see Inequalities. Restricting a sum to requires grouping entire symmetric pairs, not simply deleting a diagonal and changing two independent bounds.
Does finite cancellation alone justify changing the order of an infinite double series? What remains true about the square partial sums of the antisymmetric array above?
Discussion guide
Every square partial sum over is zero, so that particular sequence of partial sums has limit zero. This does not establish existence or equality of iterated infinite sums: those use a different limiting procedure. Absolute convergence of a double series is a sufficient condition for freely reordering its terms. Conditional convergence requires more care. Continue with Infinite Series before extending finite reindexing rules to infinite sums.
Comments