Homepage › Solution manuals › Terence Tao › Analysis I › Exercise 2.3.1 (Multiplication is commutative)
Exercise 2.3.1 (Multiplication is commutative)
Prove Lemma 2.3.2. (Hint: modify the proofs of Lemmas 2.2.2, 2.2.3 and Proposition 2.2.4.)
Lemma 2.3.2 (Multiplication is commutative) Let be natural numbers. Then .
Answers
How to think about the exercise. In the solution below, we prove two facts that help us with the actual proof. You might wonder where these two facts came from. And you might answer "well, you can just peek at Lemmas 2.2.2 and 2.2.3". That’s quite right, but what if you didn’t have access to the textbook? It turns out that you can try to solve the exercise without proving the two facts, and see where you get stuck. Then, you can turn those parts into lemmas. Let’s see how this works in practice.
We want to show . We fix and induct on . For the base case, we need . By the definition of multiplication, the left side is zero. What about the right side? Well, it would be nice if we could show that . So spin this off into a lemma. [Insert proof of the lemma here.]
Now suppose inductively that we have . We want to show . By definition of multiplication and the inductive hypothesis, the left side is . What about the right side? It would be nice if we could show that . So spin this off into a second lemma. [Insert proof of lemma here.] This closes the induction, and completes the proof.
So as you can see, the source of the lemmas isn’t mysterious: it’s what you naturally get by attempting the proof and getting stuck.
Model solution. We first show two facts analogous to Lemmas 2.2.2 and 2.2.3:
- 1.
- For any natural number , : We induct on . The base case is , which follows from the definition of multiplication. Now suppose inductively that . We want to show . By definition of multiplication and the inductive hypothesis, . This closes the induction.
- 2.
- For any natural numbers and , : We induct on (keeping fixed). For the case , we have to show . But by definition of multiplication, and , so they are equal. Now suppose inductively that . We want to show that . By definition of multiplication, is equal to , which is equal to by the inductive hypothesis. Similarly, we have by the definition of multiplication. Thus both sides are equal to .
Now we can prove the actual lemma. We fix and induct on . For the base case, we need . By the definition of multiplication, the left side is zero, and by fact (1) above the right side is also zero.
Now suppose inductively that we have . We want to show . By definition of multiplication, the left side is . By fact (2) above, the right side is . Thus we have to show , but this follows from the inductive hypothesis.
Source: Issa Rice’s blog.
Comments
The proof of the commutativity of multiplication is rather similar to the proof of the commutativity of addition. Recall that we have used the following schema to prove the latter:
| Commutativity of addition | Commutativity of multiplication
| ||||
| Base case: | (Lemma 2.2.2) | Base case: | (Lemma 1)
| ||
| Induction hypothesis: | Induction hypothesis: | ||||
| Induction step: | Induction step: | ||||
| Lemma 2.2.3: | Lemma 2: | ||||
| IH: | IH: | ||||
We now mimic this strategy for the multiplication as pointed out above.
Proof. We prove it using induction:
-
(Base Case) We first take a look at the base case We have:
which is true by Definition 2.3.1.
- (Induction Hypothesis) Now suppose inductively that is true.
-
(Induction Step) We now prove , which is:
The left-hand side of the above statement by Definition 2.3.1 is equal to:
By Lemma 2.2.2, this can be further simplified as:
By the induction hypothesis, we have:
and we are done.
We now prove one more statement, which is:
Proof. We induct on (keeping fixed).
-
(Base case) We first verify the base case
(1) By Definition 2.3.1, and Thus, (1) is equivalent to the following:
(2) which is true by Lemma 2.2.2.
-
(Induction step) Now we suppose inductively that is true for some We now prove which is:
By Definition 2.3.1,
By induction hypothesis,
Since (see page 26), we have:
which is equal to
Since (see page 26), we have:
By Definition 2.3.1,
Thus, we have:
We now have , as desired. Since our choice of was arbitrary, the assertion follows for any natural number , as well.
Having proved these two lemmata, we can start with the proof of the exercise assertion.
Proof. We induct on
-
(Base case) We first verify the base case
which is true by Lemma 1 and Definition 2.3.1.
- (Induction Hypothesis) Now suppose inductively that is true for some natural number
-
(Induction Step) We now prove which is
(3) By Lemma 2, the left-hand side of the equation 3 is equal to the following:
(4) By the definition of multiplication, the right-hand side of 3 is equal to:
(5) Substituting statements 4 and 5 into the statement 3 , we equivalently rewrite the assertion that we have to prove as:
Since by induction hypothesis, we have:
Thus, we’ve proven
Since our choice of was arbitrary, the assertion follows for any natural number , as well. □