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

Exercise 1.2.3-22

not stated yet in Lean solution written

Rating20
Markersrecommended
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.3 of Volume 1. Companion chapter: Sums and products

The task

State the product forms of Eqs. (5), (7), (8) and (11).

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

In each rule the sum becomes a product, the sum of two terms becomes a product of two terms, and a sum of two sums becomes a product of two products. Keep to finite products, where only commutativity and associativity of the multiplication are used.

Solution

Show the solution

Let RR, SS be relations that hold for finitely many integers.

Change of variable, (5). If pp takes each wanted value exactly once, then ∏R(i)ai=∏R(j)aj=∏R(p(j))ap(j).\prod_{R(i)} a_i = \prod_{R(j)} a_j = \prod_{R(p(j))} a_{p(j)}.

Interchange, (7). ∏R(i)∏S(j)aij=∏S(j)∏R(i)aij.\prod_{R(i)} \prod_{S(j)} a_{ij} = \prod_{S(j)} \prod_{R(i)} a_{ij}.

Product of terms, (8). The analog of the sum of two terms is the product of two terms: ∏R(i)(bici)=(∏R(i)bi)(∏R(i)ci).\prod_{R(i)} (b_i c_i) = \Bigl(\prod_{R(i)} b_i\Bigr)\Bigl(\prod_{R(i)} c_i\Bigr).

Domain, (11). (∏R(j)aj)(∏S(j)aj)=(∏R(j) or S(j)aj)(∏R(j) and S(j)aj).\Bigl(\prod_{R(j)} a_j\Bigr)\Bigl(\prod_{S(j)} a_j\Bigr) = \Bigl(\prod_{R(j) \text{ or } S(j)} a_j\Bigr)\Bigl(\prod_{R(j) \text{ and } S(j)} a_j\Bigr).

Why they hold. Each factor aja_j appears the same number of times on both sides, and a product of finitely many numbers does not depend on the order or the grouping. The proof is the same as for sums, with 00 replaced by 11 and ++ by ×\times. The empty product is 11 (Exercise 1.2.3-23), which makes the rule (11) true also when the two relations exclude each other.

For infinite products the rules need conditions on convergence that this section does not give.

Check

Let aj=j+1a_j = j + 1, R={1,2,3}R = \{1, 2, 3\}, S={3,4}S = \{3, 4\}. The left side of (11) is (2⋅3⋅4)(4⋅5)=24⋅20=480(2 \cdot 3 \cdot 4)(4 \cdot 5) = 24 \cdot 20 = 480. The union is {1,2,3,4}\{1, 2, 3, 4\} with the product 2⋅3⋅4⋅5=1202 \cdot 3 \cdot 4 \cdot 5 = 120, the intersection is {3}\{3\} with the product 44, and 120⋅4=480120 \cdot 4 = 480.

Remarks

Exercise 1.2.3-24 relates the product to the sum through the logarithm, and Exercise 1.2.3-26 uses these rules.

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.