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

Exercise 1.2.3-10

not stated yet in Lean solution written

Rating05
KindK2, decide: say whether a claim holds from the written solution
SectionSection 1.2.3 of Volume 1. Companion chapter: Sums and products

The task

Decide whether the derivation of Eq. (14) is valid for n=−2n = -2.

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

Do not stop at the steps of the derivation. Test the formula itself for n=−2n = -2: compare the empty sum with the right side.

Solution

Show the solution

The answer is no, and this time the formula is also wrong. The step that splits off j=0j = 0 is invalid for n=−2n = -2 for the same reason as for n=−1n = -1 (Exercise 1.2.3-9).

The formula gives, for n=−2n = -2, a 1−x−11−x=a (x−1)/x1−x=−ax,a\,\frac{1 - x^{-1}}{1 - x} = a\,\frac{(x - 1)/x}{1 - x} = -\frac{a}{x}, for x≠0,1x \ne 0, 1. The left side is the empty sum, which is 00. The two sides differ unless a=0a = 0. So the formula fails for n=−2n = -2, and no derivation can be valid.

Check

Take a=1a = 1, x=2x = 2, n=−2n = -2. The formula gives (1−2−1)/(1−2)=−1/2(1 - 2^{-1})/(1 - 2) = -1/2. The sum ∑0≤j≤−22j\sum_{0 \le j \le -2} 2^j has no term, and its value is 00. For n=−1n = -1 the formula gives (1−1)/(1−2)=0(1 - 1)/(1 - 2) = 0, which agrees with the empty sum.

Remarks

The result is that Eq. (14) holds for n≥−1n \ge -1 and fails for n=−2n = -2 whenever a≠0a \ne 0. For n≤−3n \le -3 it fails too, except in special cases such as x=−1x = -1 with nn odd, where both sides are 00. The derivation of the text is valid only for n≥0n \ge 0.

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

In Lean

not stated yet The exercise is not stated in Lean yet.

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

Something is wrong? Report it.