1.1  Finite Sums

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 Z/nZ, in a field, in C 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.

1.1.1. 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 0, a 1, an addition and a multiplication. So they run unchanged in any commutative ring R, as defined in Number Systems (Number Systems: From N to R, Definition 2.3.1). We index from 0. For a0,a1,a2,⋯∈R the empty sum ∑k=0−1ak is 0, and ∑k=0nak:=∑k=0n−1ak+anfor every n∈N, so the recursion appends the last term; we also write a0+a1+⋯+an. Products ∏k=0nak are defined in the same way, with the empty product 1. Sums and products between other bounds, ∑k=mnak for integers m≤n+1, are defined by shifting the index. Sets and Functions made three remarks after defining sums, and they hold in R with the same proofs:

  • a sum may be taken over a finite list a0,…,an (the finite-lists remark);
  • the index may be shifted;
  • the last term may be split off.

Powers. Let R be a commutative ring and z∈R. The powers zn, for n∈N, are defined by the recursion z0:=1,zn+1:=znzfor every n∈N. 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 R. In particular z1=1⋅z=z and z2=z1z=zz. This matches the z2 of Number Systems: From N to R, Proposition 2.3.2 (d).

For example, z2z3=(zz)(zzz)=z5, and (z2)3=z2z2z2=z6. The next proposition proves such laws for all exponents.

Proposition 1.1.1 (Laws of Powers in a Commutative Ring)

Let R be a commutative ring (Number Systems: From N to R, Definition 2.3.1), let z,w∈R, and let m,n∈N.

  • (a) zm+n=zmzn.
  • (b) (zm)n=zmn.
  • (c) (zw)n=znwn.
  • (d) If R is a field and z≠0, then zn≠0.

Idea. The definition of zn is a recursion on n, so every law is proved by induction on n, peeling off the last factor with zn+1=znz. 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 n, with z, w and m fixed.

  • (a) For n=0: zm+0=zm=zm⋅1=zmz0. If zm+n=zmzn, then zm+(n+1)=z(m+n)+1=zm+nz=(zmzn)z=zm(znz)=zmzn+1, by the recursion, the hypothesis and associativity of multiplication.

  • (b) For n=0: (zm)0=1=z0=zm⋅0. If (zm)n=zmn, then (zm)n+1=(zm)nzm=zmnzm=zmn+m=zm(n+1), by the recursion, the hypothesis and (a).

  • (c) For n=0: (zw)0=1=1⋅1=z0w0. If (zw)n=znwn, then (zw)n+1=(zw)n(zw)=(znwn)(zw)=(znz)(wnw)=zn+1wn+1, where the third equality regroups and reorders the four factors.

  • (d) Let R be a field and z≠0. For n=0: z0=1≠0, by the definition of a field. If zn≠0, then zn+1=znz is a product of two non-zero elements. So it is non-zero, since a field has no zero divisors (Number Systems: From N to R, Lemma 4.1.1 (d)).

Uses: Logic and Proof, Axiom 4.2.1 (induction on n); Number Systems: From N to R, Corollary 1.4.3 (b) (induction on this ℕ); Number Systems: From N to R, Definition 2.3.1 (F5)–(F7), rules of multiplication.

For R=R 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 N to R, Section 2.4 defines, just before Number Systems: From N to R, Proposition 2.4.3, for a∈R, the multiples n⋅a by the recursion 0⋅a:=0, (n+1)⋅a:=n⋅a+a. So n⋅a is the sum of n copies of a. A dot with a natural number on its left always means this multiple.

For example, 2⋅a+3⋅a=(a+a)+(a+a+a)=5⋅a, and 2⋅(3⋅a)=6⋅a. The next lemma lists the rules in general.

Lemma 1.1.2 (Natural Multiples in a Commutative Ring)

Let R be a commutative ring, a,b∈R and m,k∈N.

  • (a) (m+k)⋅a=m⋅a+k⋅a.
  • (b) m⋅(a+b)=m⋅a+m⋅b.
  • (c) (m⋅a)b=m⋅(ab).
  • (d) (mk)⋅a=m⋅(k⋅a).
  • (e) m⋅a=(m⋅1)a.

Part (a) is Number Systems: From N to R, Proposition 2.4.3 (h), whose proof uses no order. Each of (b)–(d) is one induction on the recursion for m⋅a, and (e) is (c) with a=1.

Second readingThe inductions for natural multiples

Proof. All inductions are on m∈N. Part (a) is Number Systems: From N to R, Proposition 2.4.3 (h).

  • (b) Induction on m. For m=0 both sides are 0, since 0+0=0. If it holds for m, then (m+1)⋅(a+b)=(m⋅a+m⋅b)+(a+b)=(m⋅a+a)+(m⋅b+b), by commutativity and associativity of addition. This is (m+1)⋅a+(m+1)⋅b.

  • (c) Induction on m. For m=0, (0⋅a)b=0b=0=0⋅(ab), by Number Systems: From N to R, Proposition 2.3.2 (b) and commutativity of multiplication. If it holds for m, then ((m+1)⋅a)b=(m⋅a+a)b=(m⋅a)b+ab=m⋅(ab)+ab=(m+1)⋅(ab). The second step is the distributive law with commutativity, and the third is the induction hypothesis.

  • (d) Induction on m. For m=0 both sides are 0. If it holds for m, then, since (m+1)k=mk+k in N, ((m+1)k)⋅a=(mk+k)⋅a=(mk)⋅a+k⋅a=m⋅(k⋅a)+k⋅a=(m+1)⋅(k⋅a), by (a), the induction hypothesis and the recursion.

  • (e) By (c) with 1 in place of a and a in place of b, (m⋅1)a=m⋅(1a)=m⋅a, since 1a=a1=a. This proves the lemma.

Uses: Logic and Proof, Axiom 4.2.1 (induction on m); Number Systems: From N to R, Corollary 1.4.3 (b) (induction on this ℕ); Number Systems: From N to R, Definition 2.3.1 (F1)–(F3), (F6), (F7), (F9), ring rules.

In R the dot can be dropped. By (e), n⋅a=(n⋅1)a, and n⋅1 is the real number n (Number Systems: From N to R, Definition 4.2.1). So n⋅a=na, and from here on, in R we write na.

For two terms, the rules for rearranging a sum are familiar: (a0+b0)+(a1+b1)=(a0+a1)+(b0+b1) and c(a0+a1)=ca0+ca1. The next lemma proves such rules for any number of terms.

Lemma 1.1.3 (Finite Sums in a Commutative Ring)

Let R be a commutative ring, n∈N, c∈R, and let (ak)k∈N and (bk)k∈N be sequences in R.

  • (a) ∑k=0n(ak+bk)=∑k=0nak+∑k=0nbk.
  • (b) c∑k=0nak=∑k=0ncak.
  • (c) ∑k=0nm⋅ak=m⋅∑k=0nak for every m∈N.
  • (d) Let j∈N, and suppose ak=0 for every k≠j. Then ∑k=0nak=aj if j≤n, and ∑k=0nak=0 if j>n.
  • (e) −∑k=0nak=∑k=0n(−ak).
  • (f) (Splitting off the first term.) ∑k=0n+1ak=a0+∑k=0nak+1.

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 0. By the finite-lists remark, the lemma applies to finitely many terms a0,…,an as well.

Idea. A sum up to n+1 is the sum up to n 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 n 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 m⋅a=(m⋅1)a (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 n, splitting off the last term at the step, except (c), which follows from (b).

  • (a) For n=0 both sides are a0+b0. If (a) holds for n, then splitting off the last term, ∑k=0n+1(ak+bk)=(∑k=0nak+∑k=0nbk)+(an+1+bn+1). By commutativity and associativity of addition, this is (∑k=0nak+an+1)+(∑k=0nbk+bn+1), and that is the right side for n+1.

  • (b) For n=0 both sides are ca0. At the step, c(∑k=0nak+an+1)=c∑k=0nak+can+1 by the distributive law. The induction hypothesis rewrites the first term.

  • (c) By Lemma 1.1.2 (e), m⋅ak=(m⋅1)ak for every k and m⋅∑k=0nak=(m⋅1)∑k=0nak. So (c) is (b) with c=m⋅1.

  • (d) For n=0: if j=0 the sum is a0=aj; if j>0, then 0≠j, so the sum is a0=0. Suppose (d) holds for n, and split off an+1. If j≤n, the sum up to n is aj and an+1=0 (as n+1≠j), so the total is aj. If j=n+1, the sum up to n is 0 (as j>n) and the total is 0+an+1=aj. If j>n+1, both parts are 0.

  • (e) For n=0 both sides are −a0. Suppose (e) holds for n, and write s:=∑k=0nak. By the four rules of addition, (s+an+1)+((−s)+(−an+1))=(s+(−s))+(an+1+(−an+1))=0. So −(s+an+1)=(−s)+(−an+1) by the uniqueness of negatives (Number Systems: From N to R, Proposition 2.3.2 (a)). By the induction hypothesis −s=∑k=0n(−ak), and splitting off the last term gives −∑k=0n+1ak=∑k=0n+1(−ak).

  • (f) For n=0 both sides are a0+a1. If (f) holds for n, then ∑k=0n+2ak=(a0+∑k=0nak+1)+an+2=a0+∑k=0n+1ak+1. 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 (ak+1)k, whose term at k=n+1 is an+2. This proves the lemma.

Uses: Logic and Proof, Axiom 4.2.1 (induction on n); Number Systems: From N to R, Definition 2.3.1 (F1)–(F4), (F9), ring rules.

Quick check. In R, compute ∑k=03(2k−1), ∑k=43k2 and ∏k=107.

Solution. ∑k=03(2k−1)=−1+1+3+5=8. The second sum has upper bound below its lower bound, so it is the empty sum, 0. The product is the empty product, 1.

1.1.2. 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 a0+a1+a2=a2+a1+a0anda0+a1+a2=a0+(a1+a2).

Proposition 1.1.4 (Reindexing a Finite Sum)

Let R be a commutative ring, n∈N and a0,…,an∈R.

  • (a) (Reversal.) ∑k=0nak=∑k=0nan−k.
  • (b) (Splitting.) For every integer m with −1≤m≤n, ∑k=0nak=∑k=0mak+∑k=m+1nak.

Idea. For (b), fix m and induct on n≥m: each step splits off the last term of the whole sum and of the second piece at once. For (a), induct on n for all lists at once. Split off the last term of the reversed sum, which is a0, and apply the hypothesis to the shorter list a1,…,an+1. Then Lemma 1.1.3 (f) puts a0 back at the front.

Second readingProof of the reindexing rules

Proof. By the finite-lists remark we may extend the list to a sequence (ak)k∈N.

  • (b) If m=−1, the first sum on the right is empty, and (b) reads ∑k=0nak=0+∑k=0nak, which is true. Let m≥0. We prove (b) for every integer n≥m by induction with base m (Sets and Functions, Theorem 3.2.1). For n=m the second sum is ∑k=m+1mak=0, the empty sum, and (b) holds. Suppose (b) holds for n. We split off the last term of the left side and of ∑k=m+1n+1ak, which is allowed since m+1≤n+1. By the induction hypothesis and associativity of addition, ∑k=0n+1ak=(∑k=0mak+∑k=m+1nak)+an+1=∑k=0mak+∑k=m+1n+1ak.

  • (c) Induction on n, with the statement “for every list a0,…,an in R, ∑k=0nak=∑k=0nan−k”. For n=0 both sides are a0. Suppose the statement holds for n, and let a0,…,an+1∈R. Splitting off the last term, whose index is (n+1)−(n+1)=0, ∑k=0n+1an+1−k=∑k=0nan+1−k+a0. Let cj:=aj+1 for 0≤j≤n. Then an+1−k=cn−k for 0≤k≤n. The hypothesis, applied to the list c0,…,cn, gives ∑k=0ncn−k=∑k=0nck=∑k=0nak+1. So, by commutativity of addition and Lemma 1.1.3 (f), ∑k=0n+1an+1−k=a0+∑k=0nak+1=∑k=0n+1ak. This proves the proposition.

Uses: Logic and Proof, Axiom 4.2.1 (induction on n); Number Systems: From N to R, Definition 2.3.1 (F1)–(F3), rules of addition.

Quick check. Split ∑k=05ak by (b) at m=2 and at m=−1. What are the pieces?

Solution. At m=2: (a0+a1+a2)+(a3+a4+a5). At m=−1: the empty sum 0, plus the whole sum ∑k=05ak.

Reversal gives the oldest trick for sums.

Example (Odd numbers by reversal)

Show that ∑k=0n(2k+1)=(n+1)2 for every n∈N.

Solution. Call the sum S. By reversal (Proposition 1.1.4 (a)), S=∑k=0n(2(n−k)+1). Adding the two expressions termwise (Lemma 1.1.3 (a)), 2S=∑k=0n((2k+1)+(2(n−k)+1))=∑k=0n(2n+2). A constant c summed over n+1 indices gives (n+1)⋅c. Indeed, for n=0 the sum is c=1⋅c. If ∑k=0nc=(n+1)⋅c, then ∑k=0n+1c=(n+1)⋅c+c=(n+2)⋅c by the recursion for multiples. In R this is (n+1)c. So 2S=(n+1)(2n+2)=2(n+1)2, and S=(n+1)2. For n=2: 1+3+5=9=32.

Reversal pairs the first term with the last, the second with the second-to-last, and each pair has the same sum 2n+2.

In an ordered field, sums can also be compared. For example, from 1≤2 and 3≤5 we get 1+3≤2+5; and |2+(−3)|=1≤5=|2|+|−3|. The next proposition collects the comparisons that estimates use.

Proposition 1.1.5 (Comparing Sums Termwise)

Let F be an ordered field, n∈N and ak,bk∈F for 0≤k≤n. All sums run over 0≤k≤n unless bounds are shown.

  • (a) If ak≤bk for every k, then ∑ak≤∑bk; if moreover aj<bj for some j, the inequality is strict.
  • (b) If ak≥0 for every k, then ∑k=0nak≥∑k=0mak for every integer m with −1≤m≤n, and ∑k=0nak≥aj for every j≤n.
  • (c) If ak≤M for every k, then ∑k=0nak≤(n+1)⋅M.
  • (d) (Triangle inequality for sums.) |∑k=0nak|≤∑k=0n|ak|.
  • (e) If ak≥0 for every k and ∑k=0nak=0, then ak=0 for every k.

Idea. Every part adds inequalities one term at a time. Parts (a) and (d) are inductions whose step adds one inequality (Number Systems: From N to R, 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 ak:=bk:=0 for k>n, so that the hypotheses still hold, and in (d) extend with ak:=0. Then the inductions below run over all n.

  • (a) Induction on n, proving ∑k=0nak≤∑k=0nbk, strictly if aj<bj for some j≤n. For n=0 this is the hypothesis on a0,b0. At the step, ∑k=0n+1ak=∑k=0nak+an+1≤∑k=0nbk+bn+1 by adding the two inequalities. The conclusion is strict if either inequality added is strict: the first when j≤n, by the hypothesis, the second when j=n+1.

  • (b) By Proposition 1.1.4 (b), ∑k=0nak=∑k=0mak+∑k=m+1nak. The tail is 0 if m=n. Otherwise, shifted to start at 0, it is ≥ the sum of zeros by (a), and that sum is 0 (Lemma 1.1.3 (d)). Adding the tail to ∑k=0mak gives the first claim. For the single term, split around j twice. By the first claim with m=j, ∑k=0nak≥∑k=0jak=∑k=0j−1ak+aj. Also ∑k=0j−1ak≥0: for j=0 it is the empty sum, and for j≥1 it is the first claim with j−1 in place of n and m=−1. So the total is ≥0+aj=aj.

  • (c) This is (a) with bk:=M, since ∑k=0nM=(n+1)⋅M by the constant sum computed in Example (Odd numbers by reversal).

  • (d) Induction on n. For n=0 both sides are |a0|. At the step, |∑k=0nak+an+1|≤|∑k=0nak|+|an+1|≤∑k=0n|ak|+|an+1|, by the triangle inequality (Number Systems: From N to R, Proposition 4.1.3 (e)), then the induction hypothesis and adding inequalities.

  • (e) For each j≤n, 0≤aj≤∑k=0nak=0 by (b), so aj=0 by antisymmetry (Number Systems: From N to R, Proposition 2.4.3 (i)).

Uses: Logic and Proof, Axiom 4.2.1 (induction on n); Number Systems: From N to R, Proposition 2.4.3 (b) (adding inequalities).

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 M 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 n=1 and a0=a1=b0=b1=1, ∑akbk=2 while (∑ak)(∑bk)=4; and 11+11=2≠12.

What is true of products of sums is that they multiply out, every term with every term. With two terms in each factor, (x0+x1)(y0+y1)=(x0y0+x0y1)+(x1y0+x1y1)=(x0y0+x1y0)+(x0y1+x1y1): 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 R be a commutative ring, m,n∈N and aij∈R for 0≤i≤m, 0≤j≤n. Then ∑i=0m∑j=0naij=∑j=0n∑i=0maij. In particular, for x0,…,xm,y0,…,yn∈R, (∑i=0mxi)(∑j=0nyj)=∑i=0m∑j=0nxiyj.

Idea. Induct on the number of rows m. Adding the row i=m+1 adds one sum over j 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 m. For m=0, a sum over 0≤i≤0 is its one term, so both sides are ∑j=0na0j. Suppose the rule holds for m and every array. Splitting off the last term, the induction hypothesis, and Lemma 1.1.3 (a) give ∑i=0m+1∑j=0naij=∑j=0n∑i=0maij+∑j=0nam+1,j=∑j=0n(∑i=0maij+am+1,j)=∑j=0n∑i=0m+1aij, the last step splitting off the last term of each inner sum. For the product form, let Y:=∑j=0nyj. By commutativity of multiplication and Lemma 1.1.3 (b), (∑ixi)Y=∑iYxi=∑ixiY. By (b) again, xiY=∑jxiyj for each i. This proves the proposition.

Uses: Number Systems: From N to R, Definition 2.3.1 (F6), commutativity of multiplication.

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.

1.1.3. Telescoping

Logic and Proof met the sum Sn=∑k=1n1k(k+1), guessed Sn=nn+1 from the values 12,23,34, 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 ∑k=1n1k(k+1). A sum we can always evaluate is one where each term is a difference of consecutive values, ak=bk−bk+1: then neighbors cancel. The denominator is a product of two consecutive factors k, k+1, which suggests bk=1k. Check: 1k−1k+1=(k+1)−kk(k+1)=1k(k+1). Written out, the sum is (1−12)+(12−13)+⋯+(1n−1n+1), and every inner fraction appears once with each sign.

We know We want
ak=1k(k+1) for 1≤k≤n a closed form for ∑k=1nak
ak=1k−1k+1 (by Number Systems: From N to R, Lemma 4.1.1 (c)) ∑k=1n(1k−1k+1)
every 1k+1 with k<n is cancelled by the next term 1−1n+1: 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 R be a commutative ring, n∈N and b0,…,bn+1∈R.

  • (a) ∑k=0n(bk+1−bk)=bn+1−b0.
  • (b) If R is a field and every bk≠0, then ∏k=0nbk+1bk=bn+1b0.

Proof. By the finite-lists remark we may extend b0,…,bn+1 to a sequence (bk)k∈N; for (b) we extend with bk:=1 for k>n+1, so that every bk≠0.

  • (a) Induction on n. For n=0 the sum is its one term b1−b0. If the sum up to n is bn+1−b0, then the sum up to n+1 is (bn+1−b0)+(bn+2−bn+1)=bn+2−b0.

  • (b) The same induction with products. For n=0 the product is b1b0. At the step, bn+1b0⋅bn+2bn+1=bn+2b0−1(bn+1bn+1−1)=bn+2b0, since bn+1bn+1−1=1.

Uses: Logic and Proof, Axiom 4.2.1 (induction on n); Number Systems: From N to R, Definition 2.3.1 (F1)–(F4) for sums, (F5)–(F8) for products.

Example (A telescoping sum)

Find ∑k=1n1k(k+1) for n≥1 with Theorem 1.1.7.

Solution. Shift the index to start at 0, with j=k−1: the sum is ∑j=0n−11(j+1)(j+2). Let bj:=−1j+1. The computation above gives 1(j+1)(j+2)=1j+1−1j+2=bj+1−bj. By Theorem 1.1.7 (a) with n−1 in place of n, the sum is bn−b0=1−1n+1=nn+1.

Example (Method: telescoping)

How it goes. To find ∑ak, write ak=bk+1−bk, or bk−bk+1, for a sequence b you choose. Then the sum is the last b minus the first (the first minus the last for bk−bk+1) (Theorem 1.1.7). To verify a guessed formula ∑k=0nak=F(n), check F(0)=a0 and F(k)−F(k−1)=ak for 1≤k≤n. Telescoping over 1≤k≤n then gives ∑k=0nak=a0+F(n)−F(0)=F(n).

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 bk+2−bk, 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 n=2 it is the school identity z2−w2=(z−w)(w+z). The proof below is the method with bk:=zkwn−k.

Lemma 1.1.8 (Difference of Powers)

Let R be a commutative ring, let z,w∈R, and let n∈N with n≥1. Then zn−wn=(z−w)∑k=0n−1zkwn−1−k. In particular zn−1=(z−1)(1+z+z2+⋯+zn−1).

Idea. Multiply out: (z−w)∑k=0n−1zkwn−1−k=∑k=0n−1(zk+1wn−1−k−zkwn−k). Each term is a difference of consecutive values of zkwn−k, so the sum telescopes, as in Example (Method: telescoping).

Proof. Let bk:=zkwn−k for 0≤k≤n. For 0≤k≤n−1, the distributive law and Number Systems: From N to R, Proposition 2.3.2 (c), with the factors regrouped, give (z−w)zkwn−1−k=(zzk)wn−1−k−zk(wwn−1−k)=bk+1−bk, since zzk=zk+1 and wwn−1−k=wn−k by the recursion for powers. By Lemma 1.1.3 (b), the product (z−w)∑k=0n−1zkwn−1−k is therefore ∑k=0n−1(bk+1−bk). Since n−1∈N, Theorem 1.1.7 (a) with n−1 in place of n gives bn−b0=znw0−z0wn=zn−wn. The particular case is w=1, since 1j=1 for every j∈N (by induction, 10=1 and 1j+1=1j⋅1=1).

Uses: Logic and Proof, Axiom 4.2.1 (induction on j); Number Systems: From N to R, Definition 2.3.1 (F5)–(F7), (F9), ring rules.

With z=r and w=1 in R, the lemma is Sets and Functions, Proposition 3.3.6 multiplied out: rn−1=(r−1)(1+r+⋯+rn−1). Section 1.5 uses it to compare roots.

Example (The sum of the squares)

Find ∑k=1nk2 for n∈N.

Solution. The squares are not differences of anything obvious. But they appear inside a difference of cubes: expanding, (k+1)3−k3=3k2+3k+1. Sum this over 1≤k≤n. On the left, take bj:=(j+1)3 and shift the index to j=k−1. Then Theorem 1.1.7 (a) gives bn−b0=(n+1)3−1; for n=0 both sides below are 0. On the right, split the sum termwise and take out the constants (Lemma 1.1.3 (a), (b)). The constant sum ∑k=1n1 is n, as in Example (Odd numbers by reversal). The sum ∑k=1nk is n(n+1)2 by Sets and Functions, Proposition 3.3.5. So (n+1)3−1=3∑k=1nk2+3n(n+1)2+n. Solve for the sum: 3∑k=1nk2=(n+1)3−(n+1)−3n(n+1)2=(n+1)(n2+2n−3n2)=n(n+1)(2n+1)2. So ∑k=1nk2=n(n+1)(2n+1)6. Check at n=3: 1+4+9=14=3⋅4⋅76.

Second readingWhen the cancellation skips

Change bk+1−bk to bk+2−bk. Each term still is a difference of two values of b, but the cancellation now skips a step. Write bk+2−bk=(bk+2−bk+1)+(bk+1−bk). By Lemma 1.1.3 (a), the sum splits into two telescoping sums, one for the sequence ck:=bk+1: ∑k=0n(bk+2−bk)=(bn+2−b1)+(bn+1−b0). Two terms survive at each end. For bk=1k+1 and n=1, the sum is (13−1)+(14−12)=−1112, which is b3+b2−b1−b0 and not b3−b0=−34.

Quick check. Which bk makes ak=1(2k−1)(2k+1) telescope, as ak=bk+1−bk?

Solution. The factors 2k−1 and 2k+1 differ by 2, so 12k−1−12k+1=2(2k−1)(2k+1), and ak=12(12k−1−12k+1). So bk:=−12(2k−1) gives bk+1−bk=−12(2k+1)+12(2k−1)=ak.

Telescoping products. Sets and Functions, Section 3.3 computed ∏k=1nk+1k=n+1. This is Theorem 1.1.7 (b) with bk:=k+1, with the index shifted to run from 0 to n−1. Products that do not telescope at once may split into two that do. For every k≠0, 1−1k2=k−1k⋅k+1k, and a product of products splits as a sum of sums does. So, for n≥2, ∏k=2n(1−1k2)=∏k=2nk−1k⋅∏k=2nk+1k=1n⋅n+12=n+12n. For n=3: 34⋅89=23=46.

Remark (Looking ahead). Chapter 4 uses these sums with terms in a field, and Chapter 9 proves the Cauchy–Schwarz inequality with them.

1.1.4. Exercises

A. Check your understanding

Exercise (A1)
  • (a) Compute ∑k=54k and ∏k=13(k+1).
  • (b) True or false, with a reason: ∑k=0nakbk=(∑k=0nak)(∑k=0nbk) for all n∈N and all reals ak,bk.
  • (c) Rewrite ∑k=26k2 with the index starting at 0.
  • (d) Which bk makes ak=2k+1 a telescoping difference bk+1−bk?

Solution.

  • (a) ∑k=54k=0, the empty sum; ∏k=13(k+1)=2⋅3⋅4=24.

  • (b) False. With n=1 and every term 1, the left side is 2 and the right side 4.

  • (c) Shift by 2, with j=k−2: ∑j=04(j+2)2.

  • (d) bk=k2, since (k+1)2−k2=2k+1.

B. Practice

Exercise (B1: Telescoping computations)

Find, for n≥1, (a) ∑k=1n1(2k−1)(2k+1); (b) ∑k=1nk⋅k!.

Solution.

  • (a) Since 12k−1−12k+1=2(2k−1)(2k+1), each term is ak=bk+1−bk with bk=−12(2k−1). Shifting to start at 0 and applying Theorem 1.1.7 (a) with n−1 in place of n, the sum is bn+1−b1=−12(2n+1)+12=12(1−12n+1)=n2n+1.
  • (b) Since (k+1)!=k!(k+1)=k⋅k!+k!, each term is k⋅k!=(k+1)!−k!, a difference of consecutive values of bk:=k!. By Theorem 1.1.7 (a), after the same shift, the sum is bn+1−b1=(n+1)!−1. Check at n=2: 1+4=5=6−1.
Exercise (B2: Prove or disprove)

Prove or disprove, for all n≥1 and all reals ak, bk:

  • (a) ∑k=1n(ak+1)=∑k=1nak+n.
  • (b) (∑k=1nak)2=∑k=1nak2.
  • (c) ∑k=0nan−kbk=∑k=0nakbn−k.
  • (d) ∑k=1n1k(k+2)=12(1−1n+2).

Solution.

  • (a) True. By Lemma 1.1.3 (a), the left side is ∑k=1nak+∑k=1n1. A constant 1 summed over n indices is n⋅1=n, as in Example (Odd numbers by reversal).

  • (b) False. With n=2 and a1=a2=1: (1+1)2=4, but 1+1=2.

  • (c) True. Let ck:=akbn−k for 0≤k≤n. By reversal (Proposition 1.1.4 (a)), ∑k=0nck=∑k=0ncn−k, and cn−k=an−kbn−(n−k)=an−kbk.

  • (d) False, although it holds at n=1, where both sides are 13. At n=2 the left side is 13+18=1124 and the right side is 12⋅34=38=924. The correct value comes from a telescope that skips: 1k(k+2)=12(1k−1k+2), so two terms survive at each end, and ∑k=1n1k(k+2)=12(32−1n+1−1n+2). At n=2 this is 12⋅1112=1124.

Exercise (B3: Name the method)

Say which method this is, then complete it. Show that, for every n∈N, ∑k=1n2k+1k2(k+1)2=1−1(n+1)2.

Solution. The method is telescoping (Example (Method: telescoping)), with bk:=1k2. By Number Systems: From N to R, Lemma 4.1.1 (c), 1k2−1(k+1)2=(k+1)2−k2k2(k+1)2=2k+1k2(k+1)2. So each term is bk−bk+1. By Theorem 1.1.7 (a), after shifting to start at 0 and with both signs reversed, the sum is b1−bn+1=1−1(n+1)2. For n=0 both sides are 0.

Exercise (B4: Find the error)

Claim: for every n≥1 and all b1,…,bn+1 in a commutative ring, ∑k=1n(bk+1−bk)=bn−b1.

Proof. With j=k−1 the sum is ∑j=0n−1(bj+2−bj+1), and Theorem 1.1.7 (a) with n−1 in place of n gives the last term minus the first, bn−b1.

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 cj:=bj+1, and Theorem 1.1.7 (a) with n−1 in place of n gives c(n−1)+1−c0=cn−c0=bn+1−b1. The proof read “the last term” as bn, the last index of the original sum, instead of cn=bn+1. The claim is false: with bk:=k and n=1, the left side is b2−b1=1 and the right side b1−b1=0.

C. Going deeper

Exercise (C1: The sum of the cubes)

Prove that ∑k=1nk3=(n(n+1)2)2 for every n∈N, by the verification form of Example (Method: telescoping).

Solution. Index from 0: the term k=0 is 03=0, so ∑k=0nk3=∑k=1nk3 by Proposition 1.1.4 (b) with m=0. Let F(k):=k2(k+1)24, the guessed value. Then F(0)=0=03, and for 1≤k≤n, F(k)−F(k−1)=k24((k+1)2−(k−1)2)=k24⋅4k=k3. By Theorem 1.1.7 (a), with bj:=F(j) and n−1 in place of n, ∑k=1n(F(k)−F(k−1))=F(n)−F(0) for n≥1. So ∑k=0nk3=03+∑k=1nk3=F(0)+F(n)−F(0)=F(n)=(n(n+1)2)2, and for n=0 both sides are 0. Check at n=3: 1+8+27=36=62.

What a complete answer needs. (10 points) - 4: computes F(k)−F(k−1)=k3 for 1≤k≤n and checks F(0). - 3: applies Theorem 1.1.7 with the endpoints stated correctly, F(n)−F(0). - 3: concludes the formula, with the term k=0 (or the case n=0) accounted for.

A proof by induction on n 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 F(n)−F(1) or to F(n+1)−F(0) earns 0 for the step.