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-7

Exercise 1.2.3-7

proved in Lean solution written

RatingHM23
MarkersHM (needs higher mathematics)
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 reflection j↦c−jj \mapsto c - j of the index, with cc an integer, does not change the value of a sum, also when the sum is infinite.

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

Use the definition of Eq. (3): the value is the sum of a limit over j≥0j \ge 0 and a limit over j<0j < 0. Put the finite windows −p≤j≤q-p \le j \le q in one notation.

Hint 2

The reflected sum over a window −n≤j≤m-n \le j \le m is the original sum over a window of the form c−m≤i≤c+nc - m \le i \le c + n. Both ends of the window move to infinity.

Hint 3

Show that each of the two limits of the new sum exists. Then the two windows together have the limit TT, which fixes the sum of the two limits.

Solution

Show the solution

Let aia_i be given, let RR be a relation, and put aj′=ac−ja'_j = a_{c-j} and R′(j)=R(c−j)R'(j) = R(c - j). The claim is ∑R′(j)aj′=∑R(i)ai\sum_{R'(j)} a'_j = \sum_{R(i)} a_i, both existing or both not existing.

Notation. For integers s≤ts \le t put W[s,t]=∑R(i), s≤i≤taiW[s, t] = \sum_{R(i),\, s \le i \le t} a_i, a finite sum. For p,q≥0p, q \ge 0 let Uq=W[0,q]U_q = W[0, q] and Vp=W[−p,−1]V_p = W[-p, -1]. The sum ∑R(i)ai\sum_{R(i)} a_i exists when Uq→UU_q \to U and Vp→VV_p \to V, and then it is T=U+VT = U + V. For s≤−1s \le -1 and t≥0t \ge 0, W[s,t]=V−s+UtW[s, t] = V_{-s} + U_t, so W[s,t]→TW[s,t] \to T when s→−∞s \to -\infty and t→∞t \to \infty independently.

The new sum. Its two partial sums are An=∑R′(j), 0≤j≤naj′A_n = \sum_{R'(j),\, 0 \le j \le n} a'_j and Bm=∑R′(j), −m≤j<0aj′B_m = \sum_{R'(j),\, -m \le j < 0} a'_j. The index i=c−ji = c - j runs over c−n≤i≤cc - n \le i \le c in AnA_n, and over c+1≤i≤c+mc + 1 \le i \le c + m in BmB_m. So An=W[c−n,c],Bm=W[c+1,c+m].A_n = W[c - n, c], \qquad B_m = W[c + 1, c + m].

Each of AnA_n and BmB_m has a limit. Take nn so large that c−n≤−1c - n \le -1. If c≥0c \ge 0, then W[c−n,c]=W[c−n,−1]+W[0,c]=Vn−c+W[0,c]W[c-n, c] = W[c-n, -1] + W[0, c] = V_{n-c} + W[0, c]. If c<0c < 0, then W[c−n,c]=W[c−n,−1]−W[c+1,−1]=Vn−c−W[c+1,−1]W[c - n, c] = W[c-n, -1] - W[c+1, -1] = V_{n-c} - W[c+1,-1] (for c=−1c = -1 the last sum is empty). In both cases An=Vn−c+KA_n = V_{n-c} + K with a constant KK that does not depend on nn, so An→V+KA_n \to V + K. In the same way, for mm large, Bm=W[c+1,c+m]B_m = W[c+1, c+m] equals Uc+mU_{c+m} plus a constant K′K', and Bm→U+K′B_m \to U + K'.

The value. Both limits of the new sum exist, so the new sum converges, and its value is lim⁡An+lim⁡Bm\lim A_n + \lim B_m. For all large nn and mm, An+Bm=W[c−n,c+m]A_n + B_m = W[c-n, c+m] by the splitting at cc. As n,m→∞n, m \to \infty the right side tends to TT, because both ends of the window move to infinity. So lim⁡An+lim⁡Bm=T\lim A_n + \lim B_m = T, and ∑R(c−j)ac−j=T=∑R(j)aj.\sum_{R(c-j)} a_{c-j} = T = \sum_{R(j)} a_j.

Conversely, if the original sum does not exist, the new one does not exist either. The same argument with the roles exchanged (the reflection is its own inverse, j↦c−jj \mapsto c - j applied twice) shows that the existence of the new sum forces the existence of the old one. □\square

Check

Take R(i)=R(i) = "i≥0i \ge 0", ai=2−ia_i = 2^{-i} and c=5c = 5. The old sum is ∑i≥02−i=2\sum_{i \ge 0} 2^{-i} = 2. The relation R(5−j)R(5 - j) is "j≤5j \le 5", and the new sum is ∑j≤52−(5−j)=∑i≥02−i=2\sum_{j \le 5} 2^{-(5-j)} = \sum_{i \ge 0} 2^{-i} = 2. A finite window of the new sum with jj from −30-30 to 55 covers i=5−ji = 5 - j from 00 to 3535 and gives 2−2−352 - 2^{-35}, close to 22.

Remarks

The same proof works for the shift j↦c+jj \mapsto c + j. For a general permutation pp of the indices the result can be false for series that converge only conditionally. The C1 chapter on Section 1.2.3 proves the shift and the reflection in the same way.

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.