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.2-7

Exercise 1.2.2-7

proved in Lean solution written

RatingM23
MarkersM (mathematical)
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.2 of Volume 1. Companion chapter: Numbers, powers and logarithms

The task

Prove, for integers xx and yy and a positive base bb, the two laws bx+y=bxbyb^{x+y} = b^x b^y and (bx)y=bxy(b^x)^y = b^{xy}, using only the definition of Eq. (4).

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

First show that bn+1=bnbb^{n+1} = b^n b for every integer nn, not only for n≥0n \ge 0.

Hint 2

Fix xx and use induction on yy in both directions: from yy to y+1y + 1 and from yy to y−1y - 1.

Hint 3

For the second law apply the first law, with bxb^x as the base in the induction.

Solution

Show the solution

Step 0. All powers are positive, since b>0b > 0 and the rules of (4) multiply or divide by positive numbers. For n>0n > 0 the rule is bn=bn−1bb^n = b^{n-1}b, which is the claim bm+1=bmbb^{m+1} = b^m b for m=n−1≥0m = n - 1 \ge 0. For n<0n < 0 the rule bn=bn+1/bb^n = b^{n+1}/b gives bnb=bn+1b^n b = b^{n+1}. So bn+1=bnbfor every integer n.(∗)b^{n+1} = b^n b \quad \text{for every integer } n. \tag{$*$}

Law 1. Fix xx and prove P(y)P(y): bx+y=bxbyb^{x+y} = b^x b^y, for all integers yy. For y=0y = 0 both sides equal bxb^x. Assume P(y)P(y). By (∗)(*) with n=x+yn = x + y, then P(y)P(y), then (∗)(*) with n=yn = y: bx+y+1=bx+yb=bxbyb=bxby+1.b^{x+y+1} = b^{x+y}b = b^x b^y b = b^x b^{y+1}. So P(y)P(y) implies P(y+1)P(y + 1). By (∗)(*) with n=x+y−1n = x + y - 1, bx+y=bx+y−1bb^{x+y} = b^{x+y-1}b, hence bx+y−1=bx+y/b=bxby/b=bxby−1b^{x+y-1} = b^{x+y}/b = b^x b^y / b = b^x b^{y-1}, the last step by (∗)(*) with n=y−1n = y - 1. So P(y)P(y) implies P(y−1)P(y - 1). Together, P(y)P(y) holds for all integers yy.

Law 2. Put c=bxc = b^x, a positive number. Fix xx and prove Q(y)Q(y): cy=bxyc^y = b^{xy}. For y=0y = 0 both sides are 11. Assume Q(y)Q(y). Then cy+1=cyc=bxybx=bxy+x=bx(y+1)c^{y+1} = c^y c = b^{xy}b^x = b^{xy+x} = b^{x(y+1)}, using (∗)(*), then Law 1. Also cy−1=cy/c=bxy/bxc^{y-1} = c^y/c = b^{xy}/b^x, and Law 1 gives bxy=bxy−xbxb^{xy} = b^{xy-x}b^x, so cy−1=bxy−x=bx(y−1)c^{y-1} = b^{xy-x} = b^{x(y-1)}. Hence Q(y)Q(y) holds for all integers yy. □\square

Check

Take b=2b = 2, x=3x = 3, y=−5y = -5. Then 2x+y=2−2=1/42^{x+y} = 2^{-2} = 1/4 and 23⋅2−5=8/32=1/42^3 \cdot 2^{-5} = 8/32 = 1/4. Also (23)−5=8−5=1/32768(2^3)^{-5} = 8^{-5} = 1/32768 and 2−15=1/327682^{-15} = 1/32768.

Remarks

The book's answer takes another route, with one induction on xx and separate cases for the sign. The route here keeps both signs inside each induction through (∗)(*). Exercise 1.2.2-9 extends the laws to rational exponents.

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.