Sets and Functions, Chapter 3 defined , and powers of real
numbers by recursion. It proved three formulas with
them:
Analysis rearranges such sums on every page. The
algebra chapters of this volume need the same sums with
terms in ,
in a field, in
and among polynomials. This section states the rules
once, for any commutative ring. It also teaches the one
computational method that turns a sum into two terms:
telescoping.
Sums and
powers in any commutative ring
The recursions for sums and products (Sets and Functions, Definition 3.3.1)
and for powers use only a , a , an addition and a
multiplication. So they run unchanged in any commutative
ring , as defined
in Number Systems (Number Systems: From to , Definition 2.3.1).
We index from .
For the empty sum is
, and so the recursion appends the last term; we
also write . Products are
defined in the same way, with the empty product . Sums and products
between other bounds, for
integers , are defined by shifting the index. Sets
and Functions made three remarks after defining
sums, and they hold in with the same
proofs:
- a sum may be taken over a finite list (the
finite-lists remark);
- the index may be shifted;
- the last term may be split off.
Powers. Let be a commutative ring
and . The
powers , for , are defined by
the recursion This is the recursion of Sets and
Functions, Section 3.3 (Sets and Functions, Definition 3.3.2),
stated there for real numbers. The recursion theorem of
that volume runs it just as well with values in . In particular and
.
This matches the of Number Systems: From to , Proposition 2.3.2
(d).
For example, , and . The next proposition proves such laws for
all exponents.
Proposition
1.1.1 (Laws of Powers in a Commutative
Ring)
Let be a
commutative ring (Number Systems: From to , Definition 2.3.1),
let , and
let .
- (a) .
- (b) .
- (c) .
- (d) If is a field and , then .
Idea. The definition of is a recursion on
, so every law is
proved by induction on , peeling off the last
factor with . Each inductive step rests on one
ingredient:
- for (a), associativity of multiplication, (F5);
- for (b), the law (a);
- for (c), associativity and commutativity of
multiplication, (F5), (F6);
- for (d), the fact that a field has no zero
divisors.
Proof. Each part is proved by
induction on ,
with , and fixed.
(a) For : . If , then by the recursion, the hypothesis and
associativity of multiplication.
(b) For : . If , then , by the
recursion, the hypothesis and (a).
(c) For : . If , then where the third equality regroups and reorders
the four factors.
(d) Let be a field and . For : , by the
definition of a field. If , then is a
product of two non-zero elements. So it is non-zero,
since a field has no zero divisors (Number Systems: From to , Lemma 4.1.1
(d)).
For
these are Sets and Functions, Proposition 3.3.4
(a)–(c). The proofs are the same inductions and use only
the ring axioms.
Natural multiples. The binomial
theorem of Section 1.2 has coefficients that are natural
numbers acting on ring elements. So we need the rules
for such multiples. Number Systems: From to , Section 2.4
defines, just before Number Systems: From to , Proposition 2.4.3,
for , the
multiples
by the recursion , . So is the sum of
copies of . A dot with a natural
number on its left always means this multiple.
For example, ,
and . The next lemma lists the rules in
general.
Lemma
1.1.2 (Natural Multiples in a Commutative
Ring)
Let be a
commutative ring, and .
- (a) .
- (b) .
- (c) .
- (d) .
- (e) .
Part (a) is Number Systems: From to , Proposition 2.4.3
(h), whose proof uses no order. Each of (b)–(d) is one
induction on the recursion for , and (e) is (c)
with .
↺Second readingThe
inductions for natural multiples
Proof. All inductions are on . Part (a) is Number Systems: From to , Proposition 2.4.3
(h).
(b) Induction on
. For both sides are
, since . If it holds
for , then , by commutativity and associativity of
addition. This is .
(c) Induction on
. For , , by Number Systems: From to , Proposition 2.3.2
(b) and commutativity of multiplication. If it holds for
, then . The second step is the distributive
law with commutativity, and the third is the induction
hypothesis.
(d) Induction on
. For both sides are
. If it holds for
, then, since
in , by (a), the induction hypothesis and the
recursion.
(e) By (c) with
in place of and in place of , , since . This proves the lemma.
In the dot
can be dropped. By (e), , and is the real
number (Number Systems: From to , Definition 4.2.1).
So ,
and from here on, in we write .
For two terms, the rules for rearranging a sum are
familiar: and . The next lemma proves such rules for any
number of terms.
Lemma
1.1.3 (Finite Sums in a Commutative
Ring)
Let be a
commutative ring, , , and let and be
sequences in .
- (a) .
- (b) .
- (c) for every .
- (d) Let , and suppose
for every
. Then
if , and
if .
- (e) .
- (f) (Splitting
off the first term.) .
In words: a finite sum may be split, multiplied and
negated termwise. A sum with one non-zero term is that
term. The first term may be split off, and the rest
re-indexed from .
By the finite-lists remark, the lemma applies to
finitely many terms as well.
Idea. A sum up to is the sum up to
plus one term. So
a rule that holds for one term, and survives adding one
more term, holds for all sums. Each such proof is an
induction on
whose step needs only the rules listed below:
- for (a), commutativity and associativity of
addition, (F1), (F2);
- for (b), the distributive law, (F9);
- for (f), associativity of addition.
Part (c) is (b) in disguise, since
(Lemma 1.1.2
(e)). Part (e) is an induction whose step is the
uniqueness of negatives.
↺Second readingProof
of the sum rules
Proof. Each part is an induction on
, splitting off
the last term at the step, except (c), which follows
from (b).
(a) For both sides are
. If (a)
holds for , then
splitting off the last term, By commutativity and associativity of
addition, this is , and that
is the right side for .
(b) For both sides are
. At the step,
by the distributive law. The induction
hypothesis rewrites the first term.
(c) By Lemma 1.1.2
(e), for every and . So (c) is (b) with
.
(d) For : if the sum is ; if , then , so the sum is
. Suppose
(d) holds for ,
and split off . If , the sum up to
is and (as ), so the
total is . If
, the sum
up to is (as ) and the total
is . If , both parts are .
(e) For both sides are
. Suppose (e)
holds for , and
write . By the four rules of
addition, . So by the uniqueness of negatives (Number Systems: From to , Proposition 2.3.2
(a)). By the induction hypothesis , and splitting off the last term gives
.
(f) For both sides are
. If (f)
holds for , then
The first step splits off the last term and
uses the induction hypothesis. The second uses
associativity of addition, and splits off the last term
of the sequence , whose term
at is
. This
proves the lemma.
Quick check. In , compute ,
and .
Solution. . The second sum has upper bound below
its lower bound, so it is the empty sum, . The product is the
empty product, .
Reindexing
and comparing
Two more tools are used constantly: reading a sum
backwards, and cutting it in two. Both are bookkeeping,
and both are proved once here. For three terms they say
Proposition
1.1.4 (Reindexing a Finite Sum)
Let be a
commutative ring, and .
- (a)
(Reversal.) .
- (b)
(Splitting.) For every integer with ,
Idea. For (b), fix and induct on : each step splits
off the last term of the whole sum and of the second
piece at once. For (a), induct on for all lists
at once. Split off the last term of the
reversed sum, which is , and apply the
hypothesis to the shorter list . Then
Lemma 1.1.3
(f) puts back
at the front.
↺Second readingProof
of the reindexing rules
Proof. By the finite-lists remark
we may extend the list to a sequence .
(b) If , the first sum on
the right is empty, and (b) reads , which is true. Let . We prove (b) for
every integer by induction with base (Sets and Functions, Theorem 3.2.1).
For the
second sum is ,
the empty sum, and (b) holds. Suppose (b) holds for
. We split off the
last term of the left side and of ,
which is allowed since . By the induction hypothesis and
associativity of addition,
(c) Induction on
, with the
statement “for every list in , ”. For both sides are
. Suppose the
statement holds for , and let . Splitting off the last term, whose index is
, Let for . Then for
. The
hypothesis, applied to the list , gives
.
So, by commutativity of addition and Lemma 1.1.3
(f), This proves the proposition.
Quick check. Split by (b)
at and at
. What are
the pieces?
Solution. At : . At : the empty sum , plus the whole sum
.
Reversal gives the oldest trick for sums.
Example
(Odd numbers by reversal)
Show that for every .
Solution. Call the sum . By reversal (Proposition 1.1.4
(a)), . Adding the two
expressions termwise (Lemma 1.1.3
(a)), A constant summed over indices gives . Indeed,
for the sum
is .
If , then by the recursion for
multiples. In
this is .
So , and . For : .
Reversal pairs the first term with the last, the
second with the second-to-last, and each pair has the
same sum .
In an ordered field, sums can also be compared. For
example, from and we get ; and . The next
proposition collects the comparisons that estimates
use.
Proposition
1.1.5 (Comparing Sums Termwise)
Let be an
ordered field, and for . All sums run over unless
bounds are shown.
- (a) If for every
, then ; if
moreover for some , the inequality is
strict.
- (b) If for every , then for every integer with , and for every .
- (c) If for every , then .
- (d) (Triangle
inequality for sums.) .
- (e) If for every and ,
then for
every .
Idea. Every part adds inequalities
one term at a time. Parts (a) and (d) are inductions
whose step adds one inequality (Number Systems: From to , Proposition 2.4.3
(b)). Part (b) splits the sum by Proposition 1.1.4
(b) and compares the tail with a list of zeros by (a).
Parts (c) and (e) are (a) and (b) applied to special
data.
Proof. By the finite-lists remark
we may extend the lists to sequences; in (a), extend
with for , so that the hypotheses still hold, and
in (d) extend with . Then the inductions below run over
all .
(a) Induction on
, proving , strictly if for some
. For this is the
hypothesis on . At the step, by adding the two inequalities. The
conclusion is strict if either inequality added is
strict: the first when , by the hypothesis, the second when .
(b) By Proposition 1.1.4
(b), . The
tail is if . Otherwise, shifted
to start at , it
is the sum of
zeros by (a), and that sum is (Lemma 1.1.3
(d)). Adding the tail to gives
the first claim. For the single term, split around twice. By the first
claim with ,
. Also : for it is the empty sum, and for it is the first
claim with in
place of and
. So the
total is .
(c) This is (a)
with , since by the constant sum computed in Example (Odd numbers by reversal).
(d) Induction on
. For both sides are
. At the
step, by the triangle inequality (Number Systems: From to , Proposition 4.1.3
(e)), then the induction hypothesis and adding
inequalities.
(e) For each
, by (b), so by antisymmetry (Number Systems: From to , Proposition 2.4.3
(i)).
Part (b) is the estimate drop non-negative
terms, which Section 1.2 uses to keep a few terms
of a binomial expansion; part (c) replaces each term
by the largest. For real terms a largest term
exists by Sets and Functions, Proposition 3.3.8
(the same induction works in any ordered field), which
supplies an for
(c).
Warning. A sum of products is not a
product of sums, and a sum of reciprocals is not the
reciprocal of the sum. With and , while ; and .
What is true of products of sums is that
they multiply out, every term with every term. With two
terms in each factor, the four products can be grouped by rows or by
columns. The general form of that statement exchanges
two sums.
Proposition
1.1.6 (Double Sums over a Rectangle)
Let be a
commutative ring, and for , . Then In particular, for ,
Idea. Induct on the number of rows
. Adding the row
adds one
sum over to the
left side. On the right it adds, termwise, one entry to
each inner sum, and Lemma 1.1.3
(a) says these agree.
↺Second readingProof
of the double-sum rule
Proof. Induction on . For , a sum over is its one
term, so both sides are .
Suppose the rule holds for and every array.
Splitting off the last term, the induction hypothesis,
and Lemma 1.1.3
(a) give the last step splitting off the last term of
each inner sum. For the product form, let . By commutativity of multiplication and Lemma 1.1.3
(b), . By
(b) again, for each . This proves the
proposition.
The analysis volumes need the same exchange for
infinite sums: Integration, Series, and Function
Spaces, Chapter 5 studies double series, where the
exchange can fail and needs a hypothesis. For finite
sums nothing can go wrong.
Telescoping
Logic and Proof met the sum guessed from the values , and proved the guess by induction (Logic and Proof, Example (Prove more to prove less)).
Induction confirms a value once someone has guessed it.
We want a way to find the value
instead, and this sum shows how.
Idea (Scratch work). We want a
closed form for . A sum we can always evaluate
is one where each term is a difference of consecutive
values, : then neighbors cancel. The denominator
is a product of two consecutive factors , , which suggests
.
Check: Written out, the sum is , and every inner fraction
appears once with each sign.
| for |
a closed form for |
| (by Number Systems: From to , Lemma 4.1.1
(c)) |
|
| every with is cancelled by
the next term |
: needs a theorem that does the
cancelling |
The dots in the written-out sum hide the cancelling.
The next theorem proves that it works, once and for all
sums of this shape.
Theorem
1.1.7 (Telescoping Sums and Products)
Let be a
commutative ring, and .
- (a) .
- (b) If is a field and every
, then
.
Proof. By the finite-lists remark
we may extend to a sequence ; for
(b) we extend with for , so that every .
(a) Induction on
. For the sum is its one
term . If
the sum up to is
, then
the sum up to
is .
(b) The same
induction with products. For the product is
. At
the step, , since .
Example
(A telescoping sum)
Find for with Theorem 1.1.7.
Solution. Shift the index to start
at , with : the sum is
. Let . The computation above gives
.
By Theorem 1.1.7
(a) with in
place of , the sum
is .
Example
(Method: telescoping)
How it goes. To find , write , or
, for
a sequence you
choose. Then the sum is the last minus the first (the
first minus the last for ) (Theorem 1.1.7).
To verify a guessed formula , check and for . Telescoping over then gives
.
When to use it. Quotients whose
denominator is a product of shifted factors; differences
of powers or roots; any sum whose partial sums you can
guess.
Common mistakes. A common mistake is
to use a difference , which skips a step. Such a sum leaves
two terms at each end, not one.
The first use is an identity about powers that this
volume needs again and again. For it is the school
identity . The proof below is the method with
.
Lemma
1.1.8 (Difference of Powers)
Let be a
commutative ring, let , and let with . Then In particular .
Idea. Multiply out: . Each term is a difference
of consecutive values of , so the sum telescopes, as in Example (Method: telescoping).
Proof. Let
for .
For , the distributive law and Number Systems: From to , Proposition 2.3.2
(c), with the factors regrouped, give since and by the recursion for
powers. By Lemma 1.1.3
(b), the product is therefore
. Since , Theorem 1.1.7
(a) with in
place of gives
. The particular case is , since for every (by induction,
and ).
With and
in , the lemma is Sets and Functions, Proposition 3.3.6
multiplied out: . Section 1.5 uses
it to compare roots.
Example
(The sum of the squares)
Find for .
Solution. The squares are not
differences of anything obvious. But they appear inside
a difference of cubes: expanding, . Sum this over . On the left, take
and shift the index to . Then Theorem 1.1.7
(a) gives ; for both sides below are . On the right, split
the sum termwise and take out the constants (Lemma 1.1.3
(a), (b)). The constant sum is , as in Example (Odd numbers by reversal).
The sum is by Sets and Functions, Proposition 3.3.5.
So Solve for the sum: So . Check at
: .
↺Second readingWhen
the cancellation skips
Change to . Each term still is a difference of two
values of , but
the cancellation now skips a step. Write . By Lemma 1.1.3
(a), the sum splits into two telescoping sums, one for
the sequence : Two terms survive at each end. For and
, the sum is
,
which is and not .
Quick check. Which makes telescope, as ?
Solution. The factors and differ by , so , and . So gives .
Telescoping products. Sets and
Functions, Section 3.3 computed . This is Theorem 1.1.7
(b) with , with the index shifted to run from to . Products that do
not telescope at once may split into two that do. For
every ,
, and a
product of products splits as a sum of sums does. So,
for , For : .
Exercises
A. Check your
understanding
Exercise
(A1)
- (a) Compute and
.
- (b) True or false,
with a reason: for all and all reals .
- (c) Rewrite with
the index starting at .
- (d) Which makes a
telescoping difference ?
Solution.
(a) , the
empty sum; .
(b) False. With
and every
term , the left
side is and the
right side .
(c) Shift by
, with : .
(d) , since .
B. Practice
Exercise
(B1: Telescoping computations)
Find, for , (a) ; (b) .
Solution.
- (a) Since , each term is with
. Shifting to start at and applying Theorem 1.1.7
(a) with in
place of , the sum
is
- (b) Since , each term is , a difference of consecutive values of . By Theorem 1.1.7
(a), after the same shift, the sum is . Check at : .
Exercise
(B2: Prove or disprove)
Prove or disprove, for all and all reals
, :
- (a) .
- (b) .
- (c) .
- (d) .
Solution.
(a) True. By Lemma 1.1.3
(a), the left side is . A constant summed over indices is , as in Example (Odd numbers by reversal).
(b) False. With
and : , but .
(c) True. Let
for . By reversal (Proposition 1.1.4
(a)), , and .
(d) False,
although it holds at , where both sides are . At the left side is
and the right side is . The correct value comes from a
telescope that skips: , so two terms
survive at each end, and At
this is .
Exercise
(B3: Name the method)
Say which method this is, then complete it.
Show that, for every ,
Exercise
(B4: Find the error)
Claim: for every and all in a commutative ring, .
Proof. With the sum is , and Theorem 1.1.7
(a) with in
place of gives
the last term minus the first, .
Find the wrong step. Is the claim true?
Solution. The shift is right; the
endpoint is wrong. The shifted sum is a telescoping sum
for , and Theorem 1.1.7
(a) with in
place of gives
. The proof read “the last
term” as , the
last index of the original sum, instead of . The claim
is false: with and , the left side is and the
right side .
C. Going deeper
Solution. Index from : the term is , so by Proposition 1.1.4
(b) with . Let
, the guessed value. Then
, and
for ,
By Theorem 1.1.7
(a), with and in place of , for . So and for both sides are . Check at : .
What a complete answer needs. (10
points) - 4: computes for and checks . - 3: applies Theorem 1.1.7
with the endpoints stated correctly, . - 3:
concludes the formula, with the term (or the case ) accounted for.
A proof by induction on earns the points for
the corresponding steps: the step computation for the
first 4, the base case and the inductive structure for
the next 3.
Slips that lose the step.
Telescoping to or to earns 0 for the step.