taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Exercise · Volume 1 · 1.2.3-5

Exercise 1.2.3-5

proved in Lean solution written

RatingHM20
MarkersHM (needs higher mathematics), recommended
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.3 of Volume 1. Companion chapter: Sums and products

The task

Show that the distributive law, rule (a), holds for infinite sums when both factors converge.

The exact wording is in your copy of the book.

Hints

Open one hint at a time. Try the exercise again after each.

Hint 1

Recall Eq. (3): a sum over an infinite set converges when the limit over the indices j≥0j \ge 0 and the limit over the indices j<0j < 0 both exist.

Hint 2

Fix ii first. The inner sum has a constant factor aia_i. Show that a constant factor goes through the two limits, then use the same argument for the outer sum.

Solution

Show the solution

Let A=∑R(i)aiA = \sum_{R(i)} a_i and B=∑S(j)bjB = \sum_{S(j)} b_j be convergent. The claim is that ∑R(i)(∑S(j)aibj)\sum_{R(i)} \bigl(\sum_{S(j)} a_i b_j\bigr) exists and equals ABAB.

A constant factor. Let ∑S(j)bj=B\sum_{S(j)} b_j = B be convergent and let cc be a number. The partial sums for j≥0j \ge 0 are Uq=∑S(j),0≤j≤qbjU_q = \sum_{S(j), 0 \le j \le q} b_j and those for j<0j < 0 are Vp=∑S(j),−p≤j<0bjV_p = \sum_{S(j), -p \le j < 0} b_j. By the finite distributive law, the corresponding partial sums of c bjc\,b_j are cUqcU_q and cVpcV_p. If Uq→UU_q \to U and Vp→VV_p \to V, then cUq→cUcU_q \to cU and cVp→cVcV_p \to cV. So ∑S(j)c bj\sum_{S(j)} c\,b_j converges, and its value is cU+cV=cBcU + cV = cB.

The inner sums. For each fixed ii with R(i)R(i), the factor aia_i does not depend on jj. By the previous step, the inner sum ∑S(j)aibj\sum_{S(j)} a_i b_j converges and equals aiBa_i B.

The outer sum. The outer sum is ∑R(i)aiB\sum_{R(i)} a_i B. Here BB is a constant, so the same step, now applied to the terms aia_i and the factor BB, shows that the sum converges with the value (∑R(i)ai)B=AB\bigl(\sum_{R(i)} a_i\bigr) B = AB.

Hence (∑R(i)ai)(∑S(j)bj)=∑R(i)∑S(j)aibj\bigl(\sum_{R(i)} a_i\bigr)\bigl(\sum_{S(j)} b_j\bigr) = \sum_{R(i)} \sum_{S(j)} a_i b_j. □\square

The proof needs only convergence in the sense of Eq. (3). It needs no absolute convergence.

Check

Let R=S={j≥0}R = S = \{j \ge 0\}, ai=2−ia_i = 2^{-i}, bj=(−1)j3−jb_j = (-1)^j 3^{-j}. Then A=2A = 2 and B=1/(1+1/3)=3/4B = 1/(1 + 1/3) = 3/4. The product is 3/23/2. The iterated sum is ∑i2−i⋅34=34⋅2=32\sum_i 2^{-i} \cdot \frac34 = \frac34 \cdot 2 = \frac32.

Remarks

For the interchange of the order of two infinite sums the corresponding statement is false without extra conditions: see Exercise 1.2.3-8. The C1 chapter on Section 1.2.3 states Eq. (4) with the same scope.

This solution is checked, and a person has not reviewed it yet. The source.

In Lean

proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.