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

Exercise 1.2.3-30

proved in Lean solution written

RatingM23
MarkersM (mathematical), 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

Prove Binet's identity without induction.

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

Write each product of two sums as a double sum over jj and kk (rule (a)).

Hint 2

Subtract the first term on the right from the left side. The terms combine in pairs with the same ajbka_j b_k.

Hint 3

The array that is left is antisymmetric in (j,k)(j, k). Split it into the parts j<kj < k, j=kj = k and j>kj > k.

Solution

Show the solution

By rule (a), the two products on the left side and the first on the right are (∑jajxj)(∑kbkyk)=∑j,kajbkxjyk,(∑jajyj)(∑kbkxk)=∑j,kajbkyjxk,\Bigl(\sum_j a_j x_j\Bigr)\Bigl(\sum_k b_k y_k\Bigr) = \sum_{j, k} a_j b_k x_j y_k, \qquad \Bigl(\sum_j a_j y_j\Bigr)\Bigl(\sum_k b_k x_k\Bigr) = \sum_{j, k} a_j b_k y_j x_k, with 1≤j,k≤n1 \le j, k \le n. Subtract (Eq. (8)): L−R1=∑j,kajbk(xjyk−xkyj).L - R_1 = \sum_{j, k} a_j b_k (x_j y_k - x_k y_j). Write djk=xjyk−xkyjd_{jk} = x_j y_k - x_k y_j. It satisfies dkj=−djkd_{kj} = -d_{jk} and djj=0d_{jj} = 0. Split the pairs by rule (d) into j<kj < k, j=kj = k and j>kj > k: L−R1=∑j<kajbkdjk+∑jajbjdjj+∑j>kajbkdjk.L - R_1 = \sum_{j<k} a_j b_k d_{jk} + \sum_{j} a_j b_j d_{jj} + \sum_{j>k} a_j b_k d_{jk}. The middle sum is 00. In the last sum rename j↔kj \leftrightarrow k (rule (b)): ∑j>kajbkdjk=∑k>jakbjdkj=−∑j<kakbjdjk\sum_{j>k} a_j b_k d_{jk} = \sum_{k>j} a_k b_j d_{kj} = -\sum_{j<k} a_k b_j d_{jk}. Join the first and the last sums: L−R1=∑j<k(ajbk−akbj)(xjyk−xkyj).L - R_1 = \sum_{j<k} (a_j b_k - a_k b_j)(x_j y_k - x_k y_j). This is Binet's identity. □\square

The special case. Put aj=wja_j = w_j, bj=zˉjb_j = \bar z_j, xj=wˉjx_j = \bar w_j, yj=zjy_j = z_j. Then ajxj=∣wj∣2a_j x_j = |w_j|^2, bjyj=∣zj∣2b_j y_j = |z_j|^2, ajyj=wjzja_j y_j = w_j z_j, bjxj=zˉjwˉj=wjzj‾b_j x_j = \bar z_j \bar w_j = \overline{w_j z_j}, so R1=∣∑wjzj∣2R_1 = |\sum w_j z_j|^2. Also ajbk−akbj=wjzˉk−wkzˉja_j b_k - a_k b_j = w_j \bar z_k - w_k \bar z_j and xjyk−xkyj=wˉjzk−wˉkzj=wjzˉk−wkzˉj‾x_j y_k - x_k y_j = \bar w_j z_k - \bar w_k z_j = \overline{w_j \bar z_k - w_k \bar z_j}, so the product is ∣wjzˉk−wkzˉj∣2≥0|w_j \bar z_k - w_k \bar z_j|^2 \ge 0. The Cauchy-Schwarz inequality follows.

Check

Take n=3n = 3, a=(1,2,3)a = (1,2,3), b=(4,5,6)b = (4,5,6), x=(7,8,9)x = (7,8,9), y=(2,3,5)y = (2,3,5). The left side is (7+16+27)(8+15+30)=50⋅53=2650(7 + 16 + 27)(8 + 15 + 30) = 50 \cdot 53 = 2650. The first term on the right is (2+6+15)(28+40+54)=23⋅122=2806(2 + 6 + 15)(28 + 40 + 54) = 23 \cdot 122 = 2806. The sum over j<kj < k is −156-156 (three terms), and 2806−156=26502806 - 156 = 2650.

Remarks

Exercise 1.2.3-31 is the case b=y=1b = y = 1, and Exercise 1.2.3-46 is the general identity of which this is the case m=2m = 2. Binet published it in 1812.

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.