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

Exercise 1.2.6-66

stated in Lean solution written

RatingHM30
MarkersHM (needs higher mathematics)
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

Show how the two inequalities for neighbouring binomial coefficients depend on the comparison of yy and zz.

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

Fix yy. Then xx is a function of zz. When z=yz = y, find xx and see that both inequalities are equalities.

Hint 2

Look at F(z)=(xn+1)−(yn+1)−(zn)F(z) = \binom{x}{n+1} - \binom{y}{n+1} - \binom{z}{n} and G(z)=(xn−1)−(yn−1)−(zn−2)G(z) = \binom{x}{n-1} - \binom{y}{n-1} - \binom{z}{n-2}.

Hint 3

Show that at each zero of FF the derivative F′F' is negative, and at each zero of GG the derivative G′G' is positive. Then each function has at most one zero.

Solution

Show the solution

This is a sketch. The reduction is complete. The sign of the derivative at a zero is the step left for the reader.

The point z=yz = y. The function t↦(tn)t \mapsto \binom{t}{n} is strictly increasing on [n−1,∞)[n-1,\infty), so xx is determined by yy and zz, and it increases with zz. For z=yz = y, eq. 1.2.6(9) gives (yn)+(yn−1)=(y+1n)\binom{y}{n} + \binom{y}{n-1} = \binom{y+1}{n}, so x=y+1x = y + 1. Then (y+1n+1)=(yn+1)+(yn)\binom{y+1}{n+1} = \binom{y}{n+1} + \binom{y}{n} and (y+1n−1)=(yn−1)+(yn−2)\binom{y+1}{n-1} = \binom{y}{n-1} + \binom{y}{n-2}. So F(y)=G(y)=0F(y) = G(y) = 0.

Reduction. Fix y>n−1y > n - 1 and view xx as a smooth increasing function of zz on (n−2,∞)(n-2,\infty). Suppose that at every zero of FF we have F′<0F' < 0. A continuous function whose zeros are all downward crossings has at most one zero. So FF has the one zero z=yz = y, with F>0F > 0 for z<yz < y and F<0F < 0 for z>yz > y. This is the second claim: F≤0F \le 0 if and only if z≥yz \ge y. In the same way, if G′>0G' > 0 at each zero of GG, then G≤0G \le 0 if and only if z≤yz \le y, which is the first claim. The case y=n−1y = n - 1 follows by continuity of the inequalities, or by the same argument on z>n−2z > n - 2 with y=n−1y = n-1 as the limit.

Derivative. Write ψk(t)=∑i=0k−11/(t−i)\psi_k(t) = \sum_{i=0}^{k-1}1/(t-i), so that ddt(tk)=(tk)ψk(t)\frac{d}{dt}\binom{t}{k} = \binom{t}{k}\psi_k(t). Put X=(xn)X = \binom{x}{n}, Y=(yn)Y = \binom{y}{n} and Z=(zn−1)Z = \binom{z}{n-1}, so X=Y+ZX = Y + Z. Differentiating this relation, x′=Zψn−1(z)/(Xψn(x))x' = Z\psi_{n-1}(z)/(X\psi_n(x)). With (xn+1)=x−nn+1X\binom{x}{n+1} = \frac{x-n}{n+1}X and (zn)=z−n+1nZ\binom{z}{n} = \frac{z-n+1}{n}Z one gets F′Z=ψn−1(z)[x−nn+1−z−n+1n]+ψn−1(z)(n+1)ψn(x)−1n.\frac{F'}{Z} = \psi_{n-1}(z)\Bigl[\frac{x-n}{n+1} - \frac{z-n+1}{n}\Bigr] + \frac{\psi_{n-1}(z)}{(n+1)\psi_n(x)} - \frac1n. At a zero of FF the bracket equals −(x−y)Y(n+1)Z-\frac{(x-y)Y}{(n+1)Z}. What remains is to show that the right side is negative when F=0F = 0, with x>y≥n−1x > y \ge n-1 and z>n−2z > n-2. This inequality between the quantities ψn−1(z)\psi_{n-1}(z), ψn(x)\psi_n(x) and the ratio Y/ZY/Z is left for the reader. The sign of F′F' is not negative for all zz, only at zeros of FF, so the relation F=0F = 0 must be used.

Check

A numerical search over 200000200000 random triples (n,y,z)(n,y,z) with 2≤n≤62 \le n \le 6 found no counterexample to either claim (the pairs with xx and yy equal to nine digits were excluded for rounding). For n=2n = 2, y=2y = 2, z=1z = 1: x=3x = 3 and the first claim reads (31)=3≤2+1\binom{3}{1} = 3 \le 2 + 1, with equality. For n=2n = 2, y=3y = 3, z=1z = 1: (x2)=3+1=4\binom{x}{2} = 3 + 1 = 4, x=(1+33)/2=3.37x = (1 + \sqrt{33})/2 = 3.37, and (x1)=3.37≤3+1\binom{x}{1} = 3.37 \le 3 + 1 holds, as z≤yz \le y.

Remarks

The inequalities are the form in which the Kruskal-Katona theorem is used with real parameters. The book's answer takes the same route, with a fixed yy and the derivative at a zero.

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

In Lean

stated The statement is in Lean and it builds. The proof is not in Lean yet.

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

Something is wrong? Report it.