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.5-25

Exercise 1.2.5-25

proved in Lean solution written

RatingM20
MarkersM (mathematical)
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.5 of Volume 1. Companion chapter: Permutations and factorials

The task

Decide whether factorial powers obey a law like xm+n=xmxnx^{m+n} = x^m x^n.

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 xm+n‾x^{\underline{m+n}} as a product of m+nm+n factors and split it after mm factors.

Hint 2

The second part of the product has the same shape as a factorial power, but with a shifted start. Test the plain law with small numbers.

Solution

Show the solution

Falling powers. By definition, xk‾=x(x−1)⋯(x−k+1)x^{\underline{k}} = x(x-1)\cdots(x-k+1). Split the m+nm+n factors of xm+n‾x^{\underline{m+n}} after the first mm factors:

xm+n‾=x(x−1)⋯(x−m+1)⏟xm‾⋅(x−m)(x−m−1)⋯(x−m−n+1)⏟(x−m)n‾.x^{\underline{m+n}} = \underbrace{x(x-1)\cdots(x-m+1)}_{x^{\underline{m}}}\cdot\underbrace{(x-m)(x-m-1)\cdots(x-m-n+1)}_{(x-m)^{\underline{n}}}.

So xm+n‾=xm‾ (x−m)n‾x^{\underline{m+n}} = x^{\underline{m}}\,(x-m)^{\underline{n}}.

Rising powers. By definition, xk‾=x(x+1)⋯(x+k−1)x^{\overline{k}} = x(x+1)\cdots(x+k-1). The same split gives

xm+n‾=xm‾ (x+m)n‾.x^{\overline{m+n}} = x^{\overline{m}}\,(x+m)^{\overline{n}}.

The plain law fails. Take x=1x = 1 and m=n=1m = n = 1. Then x2‾=1⋅0=0x^{\underline{2}} = 1 \cdot 0 = 0, but x1‾x1‾=1x^{\underline{1}}x^{\underline{1}} = 1. For rising powers, x=1x = 1 and m=n=1m = n = 1 give 12‾=21^{\overline{2}} = 2 and 11‾⋅11‾=11^{\overline{1}} \cdot 1^{\overline{1}} = 1. The plain law holds only for special values, for example for m=0m = 0 or n=0n = 0.

Check

Python compares the two shifted laws for 200200 random rational xx and random m,n∈{0,…,5}m, n \in \{0, \ldots, 5\}, and all agree. For x=5x = 5, m=2m = 2, n=3n = 3: 55‾=120=52‾⋅33‾=20⋅65^{\underline 5} = 120 = 5^{\underline 2}\cdot 3^{\underline 3} = 20 \cdot 6, but 52‾⋅53‾=20⋅60=12005^{\underline 2}\cdot 5^{\underline 3} = 20 \cdot 60 = 1200.

Remarks

For an integer x≥m+nx \ge m + n the shifted law for falling powers is the identity x!(x−m−n)!=x!(x−m)!⋅(x−m)!(x−m−n)!\frac{x!}{(x-m-n)!} = \frac{x!}{(x-m)!}\cdot\frac{(x-m)!}{(x-m-n)!}. The two shifted laws let a factorial power be cut after any number of factors.

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. Lean states the parts one by one.

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

Something is wrong? Report it.