Let and . We will now determine several pairs of integers and so that . For example, if and , we obtain . The following table is set up for various values of . For each , determine the value of so that .
Division is not considered an operation on the set of integers since the quotient of two integers need not be an integer. However, we have all divided one integer by another and obtained a quotient and a remainder. For example, if we divide 113 by 5, we obtain a quotient of 22 and a remainder of 3. We can write this as . If we multiply both sides of this equation by 5 and then use the distributive property to βclear the parentheses,β we obtain
The convention we will follow is that the remainder will be the smallest positive integer for which and the quotient will be the corresponding value of . Using this convention, what is the quotient and what is the remainder when is divided by 5?
We will now explore what happens when we multiply several pairs of integers where the first one is congruent to 3 modulo 6 and the second is congruent to 5 modulo 6. We can use set builder notation and the roster method to specify the set of all integers that are congruent to 3 modulo 6 as follows:
Beginning Activity 1 was an introduction to a mathematical result known as the Division Algorithm. One of the purposes of this beginning activity was to illustrate that we have already with this result, perhaps without knowing its name. For example, when we divide 337 by 6, we often write
When we are working within the system of integers, the second equation is preferred over the first since the second one uses only integers and the operations of addition and multiplication, and the integers are closed under addition and multiplication. Following is a complete statement of the Division Algorithm.
The Division Algorithm can be proven, but we have not yet studied the methods that are usually used to do so. In this text, we will treat the Division Algorithm as an axiom of the integers. The work in Beginning Activity 1 provides some rationale that this is a reasonable axiom.
The statement of the Division Algorithm contains the new phrase, βthere exist unique integers and such that .β This means that there is only one pair of integers and that satisfy both the conditions and . As we saw in Beginning Activity 1, there are several different ways to write the integer in the form . However, there is only one way to do this and satisfy the additional condition that .
In light of the previous comment, when we speak of the quotient and the remainder when we βdivide an integer by the positive integer ,β we will always mean the quotient and the remainder guaranteed by the Division Algorithm. So the remainder is the least nonnegative integer such that there exists an integer (quotient) with .
If , then we must be careful when writing the result of the Division Algorithm. For example, in Exercise 4 and Exercise 5 of Beginning Activity 1, with and , we obtained , and so the quotient is and the remainder is 3. Notice that this is different than the result from a calculator, which would be . But this means
.
If we multiply both sides of this equation by 5, we obtain
.
This is not the result guaranteed by the Division Algorithm since the value of does not satisfy the result of being greater than or equal to 0 and less than 5.
One way to look at the Division Algorithm is that the integer is either going to be a multiple of , or it will lie between two multiples of . Suppose that is not a multiple of and that it lies between the multiples and , where is some integer. This is shown on the number line in Figure 3.31.
Figure3.31.Remainder for the Division Algorithm If represents the distance from to , then
or .
From the diagram, also notice that is less than the distance between and . Algebraically, this distance is
.
Thus, in the case where is not a multiple of , we get .
We have been implicitly using the fact that an integer cannot be both even and odd. There are several ways to understand this fact, but one way is through the Division Algorithm. When we classify an integer as even or odd, we are doing so on the basis of the remainder (according to the Division Algorithm) when the integer is βdividedβ by 2. If , then by the Division Algorithm there exist unique integers and such that
and .
This means that the remainder, , can only be zero or one (and not both). When , the integer is even, and when , the integer is odd.
For each of the following, find the quotient and remainder (guaranteed by the Division Algorithm) and then summarize the results by writing an equation of the form , where .
The Division Algorithm can sometimes be used to construct cases that can be used to prove a statement that is true for all integers. We have done this when we divided the integers into the even integers and the odd integers since even integers have a remainder of 0 when divided by 2 and odd integers have a remainder of 1 when divided by 2.
Sometimes it is more useful to divide the integer by an integer other than 2. For example, if is divided by 3, there are three possible remainders: 0, 1, and 2. If is divided by 4, there are four possible remainders: 0, 1, 2, and 3. The remainders form the basis for the cases.
If the hypothesis of a proposition is that β is an integer,β then we can use the Division Algorithm to claim that there are unique integers and such that
Let be an integer. We will show that 3 divides by examining the three cases for the remainder when is divided by 3. By the Division Algorithm, there exist unique integers and such that
, and .
This means that we can consider the following three cases: (1) ; (2) ; and (3) .
In the case where , we have . By substituting this into the expression , we get
.
Since is an integer, the last equation proves that .
In the second case, and . When we substitute this into , we obtain
.
Since is an integer, the last equation proves that .
The last case is when . The details for this case are part of Exercise 1. Once this case is completed, we will have proved that 3 divides in all three cases. Hence, we may conclude that if is an integer, then 3 divides .
Most of the work we have done so far has involved using definitions to help prove results. We will continue to prove some results but we will now prove some theorems about congruence (Theorem 3.34 and Theorem 3.36) that we will then use to help prove other results.
Let . Recall that if and are integers, then we say that is congruent to modulo provided that divides , and we write . (See Section 3.1.) We are now going to prove some properties of congruence that are direct consequences of the definition. One of these properties was suggested by the work in Beginning Activity 2 and is Item 1 of the next theorem.
We will prove Item 2 and Item 3. The proof of Item 1 is Progress Check 3.35. Let be a natural number and let and be integers. Assume that and that . This means that divides and that divides . Hence, there exist integers and such that and . We can then write and and obtain
.
By subtracting from both sides of the last equation, we see that
.
Since is an integer, this proves that , and hence we can conclude that . This completes the proof of Item 2.
Item 2 basically means that if we have two congruences, we can multiply the corresponding sides of these congruences to obtain another congruence. We have assumed that and so we write this twice as follows:
and .
If we now use the result in Item 2 and multiply the corresponding sides of these two congruences, we obtain . We can then use this congruence and the congruence and the result in Item 2 to conclude that
,
or that . We can say that we can continue with this process to prove Item 3, but this is not considered to be a formal proof of this result. To construct a formal proof for this, we could use a proof by mathematical induction. This will be studied in Chapter 4. See Exercise 13 in Section 4.1.
Let be a natural number and let and be integers. We assume that and and will prove that . Since and , divides and and so there exist integers and such that and . We can then write and and obtain
By subtracting from both sides of the last equation, we see that
.
Since is an integer, this proves that divides , and hence, we can conclude that .
Exercise 11 in Section 3.1 gave three important properties of congruence modulo . Because of their importance, these properties are stated and proved in Theorem 3.36. Please remember that textbook proofs are usually written in final form of βreporting the news.β Before reading these proofs, it might be instructive to first try to construct a know-show table for each proof.
We will prove the reflexive property and the transitive property. The proof of the symmetric property is Exercise 3.
Let , and let . We will show that . Notice that
.
This proves that divides and hence, by the definition of congruence modulo , we have proven that .
To prove the transitive property, we let , and let ,, and be integers. We assume that and that . We will use the definition of congruence modulo to prove that . Since and , we know that and . Hence, there exist integers and such that
.
By adding the corresponding sides of these two equations, we obtain
.
If we simplify the left side of the last equation and factor the right side, we get
.
By the closure property of the integers, , and so this equation proves that and hence that . This completes the proof of the transitive property of congruence modulo .
Is this a coincidence or is this always true? Let's look at the general case. For this, let be a natural number and let . By the Division Algorithm, there exist unique integers and such that
This theorem says that an integer is congruent (mod ) to its remainder when it is divided by . Since this remainder is unique and since the only possible remainders for division by are , we can state the following result.
Corollary 3.38 can be used to set up cases for an integer in a proof. If and , then we can consider cases for . The integer could be congruent to or modulo . For example, if we assume that 5 does not divide an integer , then we know is not congruent to 0 modulo 5, and hence, that must be congruent to 1, 2, 3, or 4 modulo 5. We can use these as 4 cases within a proof. For example, suppose we wish to determine the values of modulo 5 for integers that are not congruent to 0 modulo 5. We begin by squaring some integers that are not congruent to 0 modulo 5. We see that
We will prove this proposition using cases for based on congruence modulo 5. In doing so, we will use the results in Theorem 3.34 and Theorem 3.36. Because the hypothesis is , we can use four cases, which are: (1) , (2) , (3) , and (4) . Following are proofs for the first and fourth cases.
Case 1. . In this case, we use Theorem 3.34 to conclude that
or .
This proves that if , then .
Case 4. . In this case, we use Theorem 3.34 to conclude that
or .
We also know that . So we have and , and we can now use the transitive property of congruence (Theorem 3.36) to conclude that . This proves that if , then .
Progress Check3.40.Using Properties of Congruence.
Complete a proof of Proposition 3.39 by completing proofs for the other two cases.
Note: It is possible to prove Proposition 3.39 using only the definition of congruence instead of using the properties that we have proved about congruence. However, such a proof would involve a good deal of algebra. One of the advantages of using the properties is that it avoids the use of complicated algebra in which it is easy to make mistakes.
Case 2. . In this case, we use Theorem 3.34 to conclude that
or .
This proves that if , then .
Case 3. . In this case, we use Theorem 3.34 to conclude that
or .
We also know that . So we have and , and we can now use the transitive property of congruence (Theorem 3.36) to conclude that . This proves that if , then .
In the proof of Proposition 3.39, we used four cases. Sometimes it may seem a bit overwhelming when confronted with a proof that requires several cases. For example, if we want to prove something about some integers modulo 6, we may have to use six cases. However, there are sometimes additional assumptions (or conclusions) that can help reduce the number of cases that must be considered. This will be illustrated in the next progress check.
Suppose we want to determine the possible values for modulo 6 for odd integers that are not multiples of 3. Before beginning to use congruence arithmetic (as in the proof of Proposition 3.39) in each of the possible six cases, we can show that some of the cases are not possible under these assumptions. (In some sense, we use a short proof by contradiction for these cases.) So assume that is an odd integer. Then:
If , then there exists an integer such that . But then and hence, is even. Since we assumed that is odd, this case is not possible.
If , then there exists an integer such that . But then and hence, is even. Since we assumed that is odd, this case is not possible.
So if is an odd integer that is not a multiple of 3, then must be congruent to 1 or 5 modulo 6. Use these two cases to prove the following proposition:
The first case is when . We can then use Theorem 3.34 to conclude that or that . So in this case, .
For the second case, . We can then use Theorem 3.34 to conclude that or that . So in this case, .
The last case is when . We then get or . Since , we can use the transitive property to conclude that , and so . Since we have proved it in all three cases, we conclude that for each integer ,.
To prove the contrapositive, let and assume that 3 does not divide . So using the Division Algorithm, we can consider two cases: (1) There exists a unique integer such that . (2) There exists a unique integer such that . For the first case, show that . For the second case, show that . Since the Division Algorithm states that the remainder is unique, this shows that in both cases, the remainder is 1 and so 3 does not divide .
Task 5.b tells us we can use a proof by cases using the following two cases: (1) ; (2) . So, if , then by Theorem 3.34, , and hence, . If , then by Theorem 3.34, , and hence, . Since , this implies that .
Use the result in Proposition 3.39 to help prove that the integer is not a perfect square. Recall that an integer is a perfect square provided that there exists an integer such that .
If an integer has a remainder of 6 when it is divided by 7, is it possible to determine the remainder of the square of that integer when it is divided by 7? If so, determine the remainder and prove that your answer is correct.
If an integer has a remainder of 11 when it is divided by 12, is it possible to determine the remainder of the square of that integer when it is divided by 12? If so, determine the remainder and prove that your answer is correct.
Let be a natural number greater than 2. If an integer has a remainder of when it is divided by , is it possible to determine the remainder of the square of that integer when it is divided by ? If so, determine the remainder and prove that your answer is correct.
Let be a natural number greater than 4 and let be an integer that has a remainder of when it is divided by . Make whatever conclusions you can about the remainder of when it is divided by . Justify all conclusions.
What can you conclude from the examples in Task 17.b?
The proof of the following proposition based on Task 17.b uses cases. In this proof, however, we use cases and a proof by contradiction to prove that a certain integer cannot be odd. Hence, it must be even. Complete the proof of the proposition.
Proposition
Let . If 2 divides and 3 divides , then 6 divides .
Proof
Let and assume that 2 divides and 3 divides . We will prove that 6 divides . Since 3 divides , there exists an integer such that
.
The integer is either even or it is odd. We will show that it must be even by obtaining a contradiction if it assumed to be odd. So, assume that is odd. (Now complete the proof.)
Activity18.The Last Two Digits of a Large Integer.
Notice that since , which is divisible by 100. In general, if we start with an integer whose decimal representation has more than two digits and subtract the integer formed by the last two digits, the result will be an integer whose last two digits are 00. This result will be divisible by 100. Hence, any integer with more than 2 digits is congruent modulo 100 to the integer formed by its last two digits.
Start by squaring both sides of the congruence to prove that and then prove that . What does this tell you about the last two digits in the decimal representation of ?
Use the two congruences in Task 18.a and laws of exponents to determine where and with . What does this tell you about the last two digits in the decimal representation of ?