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.6-16

Exercise 1.2.6-16

proved in Lean solution written

RatingM15
MarkersM (mathematical)
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.6 of Volume 1. Companion chapter: Binomial coefficients

The task

Prove a symmetric identity for two negative upper indices, for positive integers nn and kk.

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

Negate the upper index with eq. 1.2.6(17) on both sides.

Hint 2

Use the symmetry rule (6).

Solution

Show the solution

Eq. 1.2.6(17) says (rj)=(−1)j(j−r−1j)\binom{r}{j} = (-1)^j\binom{j-r-1}{j}. Apply it to the left side with r=−nr = -n, j=k−1j = k - 1: (−nk−1)=(−1)k−1(k−1+n−1k−1)=(−1)k−1(n+k−2k−1).\binom{-n}{k-1} = (-1)^{k-1}\binom{k-1+n-1}{k-1} = (-1)^{k-1}\binom{n+k-2}{k-1}. So the left side is (−1)n+k−1(n+k−2k−1)(-1)^{n+k-1}\binom{n+k-2}{k-1}. Apply it to the right side with r=−kr = -k, j=n−1j = n - 1: (−kn−1)=(−1)n−1(n−1+k−1n−1)=(−1)n−1(n+k−2n−1),\binom{-k}{n-1} = (-1)^{n-1}\binom{n-1+k-1}{n-1} = (-1)^{n-1}\binom{n+k-2}{n-1}, and the right side is (−1)n+k−1(n+k−2n−1)(-1)^{n+k-1}\binom{n+k-2}{n-1}. Since n,k≥1n, k \ge 1, the upper index n+k−2n+k-2 is a nonnegative integer, and (n+k−2)−(k−1)=n−1(n+k-2) - (k-1) = n - 1. By the symmetry rule (6), (n+k−2k−1)=(n+k−2n−1)\binom{n+k-2}{k-1} = \binom{n+k-2}{n-1}. The two sides are equal.

Check

n=2n = 2, k=3k = 3: the left side is (+1)(−22)=(−2)(−3)2=3(+1)\binom{-2}{2} = \frac{(-2)(-3)}{2} = 3. The right side is (−1)3(−31)=−(−3)=3(-1)^3\binom{-3}{1} = -(-3) = 3.

Remarks

The common value is (−1)n+k−1(n+k−2n−1)(-1)^{n+k-1}\binom{n+k-2}{n-1}, which is symmetric in nn and kk up to the choice of the sign convention. The table of Exercise 1.2.6-6 shows this: the entry at row −n-n and column k−1k-1 equals the entry at row −k-k and column n−1n-1 up to the sign.

This solution is drafted, 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.