Exercise 4.1.6

Exercise statement

Prove Corollary 4.1.9.

Corollary 4.1.9 (Cancellation law for integers). If a,b,c are integers such that ac = bc and c is non-zero, then a=b.

Hints

  1. There are two ways to do this. One is to use Proposition 4.1.8 to conclude that a-b must be zero. Another way is to combine Corollary 2.3.7 with Lemma 4.1.5.

How to think about the exercise

This is a straightforward exercise.

Model solution 1 (using Proposition 4.1.8)

Let a,b,c be integers such that c is non-zero. Suppose ac = bc. Then we can add -(bc) to both sides of the equation to get

ac + (-(bc)) = bc + (-(bc)).                    (*)

The right side of this equation (*) is bc + (-(bc)) = 0 by Proposition 4.1.6 (specifically, adding the negation of a number). To compute the left side of this equation (*), we first note that by Exercise 4.1.3, we have -(bc) = (-1)(bc). By Proposition 4.1.6 (specifically, associativity of multiplication), we have (-1)(bc) = ((-1)b)c. And again by Exercise 4.1.3 we have ((-1)b)c = (-b)c. Chaining these equalities together, we have that -(bc) = (-b)c. Now we can compute the left side of (*).  We have ac + (-(bc)) = ac + (-b)c = (a + (-b))c, where the last step uses Proposition 4.1.6 again (specifically, the distributive property). The left and right sides of (*) are equal, so combining our two computations, we have (a + (-b))c = 0. Since c \ne 0, we can use Proposition 4.1.8 to conclude that a + (-b) = 0. Adding b to both sides, we have a + (-b) + b = b. By Proposition 4.1.6 again this implies a = b.

(Thanks to Nam for pointing out a flaw in an earlier version of the proof. This flaw has now been fixed in the proof shown above.)

Model solution 2 (using Corollary 2.3.7 and Lemma 4.1.5)

Let a,b,c be integers such that c is non-zero, and suppose ac = bc. Since a,b are integers, there exist natural numbers a',a'', b',b'' such that a=a'{{-}\!{-}}a'' and b=b'{{-}\!{-}}b''. Also since c is non-zero, by trichotomy of integers (Lemma 4.1.5) it is of the form n{{-}\!{-}}0 or 0{{-}\!{-}}n for some positive natural number n.

Suppose first that c = n{{-}\!{-}}0. Then the equation ac = bc gives us

(a'{{-}\!{-}}a'')\times (n{{-}\!{-}}0) = (b'{{-}\!{-}}b'')\times (n{{-}\!{-}}0)

which simplifies to na'{{-}\!{-}}na'' = nb'{{-}\!{-}}nb'', i.e. na' + nb'' = nb' + na''. By the distributive law (Proposition 2.3.4), we have n(a'+b'') = n(b'+a''). Since n \ne 0, we can use cancellation (Corollary 2.3.7) to get a'+b'' = b'+a'', i.e. a'{{-}\!{-}}a'' = b'{{-}\!{-}}b''.

Now we do the case where c = 0{{-}\!{-}}n. The equation ac = bc gives us

(a'{{-}\!{-}}a'')\times (0{{-}\!{-}}n) = (b'{{-}\!{-}}b'')\times (0{{-}\!{-}}n)

which simplifies to na''{{-}\!{-}}na' = nb''{{-}\!{-}}nb', i.e. na'' + nb' = nb'' + na'. This is exactly what we had in the earlier case, so the rest is exactly the same.

6 thoughts on “Exercise 4.1.6”

  1. I think your solution 1 is not right, since we can’t have ac + –(bc) = ac + (–b)c, and following c*(a+ (-b)) at the moment.

    Like

    1. Is your objection that we are not allowed to say -(bc) = (-b)c? If so, this follows pretty easily from the laws of algebra: we have bc + (-(bc)) = 0 and bc + (-b)c = (b + (-b))c = 0c. To compute 0c we have 0c = (0+0)c = 0c + 0c, and so 0c + (-(0c)) = 0c + 0c + (-(0c)), so 0 = 0c. So we have shown that both bc + (-(bc)) and bc + (-b)c are equal to zero. Now we can add -(bc) to each to get the result.

      There might be an easier way to show that. I kinda assumed this result was already known at this point in the book, but as I quickly scan the book now I don’t see it, so I think you are correct to point this out as an oversight on my part. If you are satisfied with my explanation above, I will edit it into the post.

      Like

    2. Thinking a bit more, I found an easier way. At this point in the book we can assume the result of Exercise 4.1.3, that (-1) \times x = -x for every integer x. Using this result, we have -(bc) = (-1)(bc) and (-b)c = ((-1)b)c but now using the associative law for multiplication it is clear that the two are equal.

      Liked by 1 person

    3. yeah I agree with your latest idea, it is brilliant! so we can have -(bc) = (-1) * bc via ex-4.1.3, then = ((-1) * b)c via prop-4.1.6 = (-b)c, via ex-4.1.3 again.

      Like

Leave a comment