Friday, 29 September 2023

Tao Analysis I - 2.3.3

Exercise 2.3.3

Prove Proposition 2.3.5. (Hint: modify the proof of Proposition 2.2.5 and use the
distributive law.)

Let's write down Proposition 2.3.5.

Proposition 2.3.5 (Multiplication is associative). For any natural numbers a, b, c, we have (a×b)×c=a×(b×c).

The question hints that we should modify the proof of Proposition 2.2.5 regarding the associatibity of addition.


Let's use induction on a. The proposal P(a) says that (a×b)×c=a×(b×c)

The induction hypothesis is that P(a) is true. That is

(a×b)×c=a×(b×c)

The base case P(0) is

(0×b)×c=0×(b×c)

We can use Definition 2.3.1, 0×m:=0, to simplify

(0)×c=0×(b×c)

This simplifies again to 0=0 which is true. So the base case P(0) is true.

The inductive step requires us to show P(a++) is true. That is

((a++)×b)×c=(a++)×(b×c)

Let's consider the LHS and use Definition 2.3.1, (n++)×m:=(n×m)+m, and then the distributive law of Proposition 2.3.4.

((a++)×b)×c=((a×b)+b)×c=((a×b)×c)+(b×c)

Let's now consider the RHS and use Definition 2.3.1, and the inductive hypothesis,

(a++)×(b×c)=(a×(b×c))+(b×c)=((a×b)×c))+(b×c)

The LHS and RHS are equivalent, so the inductive step succeeds.

We have shown the base case P(0) is true, and that P(a)P(a++), and so by induction, (a×b)×c=a×(b×c) is true for all natural numbers a.

No comments:

Post a Comment