Section 7.4 Modular Arithmetic
Beginning Activity Beginning Activity 1: Congruence Modulo 6
For this activity, we will only use the relation of congruence modulo 6 on the set of integers.1.
Find five different integers
2.
Calculate
3.
Calculate
4.
Calculate
Beginning Activity Beginning Activity 2: The Remainder When Dividing by 9
IfThe remainder when
is divided by 9, andThe value of
and the remainder when is divided by 9.
1.
2.
3.
4.
5.
6.
Subsection The Integers Modulo
Let Definition.
Let
If
If
Theorem 3.34 Restated.
LetIf
and thenIf
and thenIf
and then
Corollary 7.24.
Let
If
and thenIf
and thenIf
and then
Definition.
Let
The term modular arithmetic is used to refer to the operations of addition and multiplication of congruence classes in the integers modulo
Progress Check 7.25. Modular Arithmetic in and .
(a)
Construct addition and multiplication tables for
(b)
Verify that the following addition and multiplication tables for
(c)
Construct complete addition and multiplication tables for
(d)
In the integers, the following statement is true. We sometimes call this the zero product property for the integers.
For allWrite the contrapositive of the conditional statement in this property.if then or
For all
(e)
Are the following statements true or false? Justify your conclusions.
(i)
For all
The statement in (i) is true.
(ii)
For all
The statement in (ii) is false. For example, in
Subsection Divisibility Tests
Congruence arithmetic can be used to prove certain divisibility tests. For example, you may have learned that a natural number is divisible by 9 if the sum of its digits is divisible by 9. As an easy example, note that the sum of the digits of 5823 is equal toProposition 7.26.
If
Theorem 7.27.
Let
using congruence classes modulo 9. if and only if
Exercises Exercises
1.
Complete the addition and multiplication tables for the following.
(a)
(b)
(c)
2.
The set
(a)
(b)
(c)
(d)
(e)
(f)
(g)
The equation has no solution.
(h)
3.
In each case, determine if the statement is true or false.
(a)
For all
The statement is false. By using the multiplication table for
(b)
For all
The statement is true. By using the multiplication table for
4.
In each case, determine if the statement is true or false.
(a)
For all
(b)
For all
5.
Complete the following.
(a)
Prove the following proposition:
For eachif then or
The proof consists of the following computations:
(b)
Does there exist an integer
6.
Use mathematical induction to prove Proposition 7.26.
Ifis a nonnegative integer, then and hence for the equivalence relation of congruence modulo 9,
7.
Use mathematical induction to prove that if
8.
Let
then
(a)
(b)
(c)
9.
Use mathematical induction to prove that if
10.
(a)
(b)
(c)
11.
Use mathematical induction to prove that if
12.
(a)
(b)
(c)
13.
Use mathematical induction to prove that if
14.
Let
Use the result in Exercise 13 to help develop a divisibility test for 8. Prove that your divisibility test is correct.
15.
Use mathematical induction to prove that if
16.
(a)
(b)
(c)
17.
Prove the following propositions.
(a)
For all
Prove the contrapositive by calculating
(b)
Let
(Use Task 17.a.)
(c)
For all
(Use Task 17.b.)
18.
Prove the following proposition:
For eachif there exist integers and such that then the units digit of must be 0, 1, 2, 5, 6, or 7.
19.
Is the following proposition true or false? Justify your conclusion.
LetIf is odd, then
What are the possible values of
20.
Prove the following proposition:
LetIf then is not the sum of three squares. That is, there do not exist natural numbers and such that
Activity 46. Using Congruence Modulo 4.
The set
(a)
Prove that if
(b)
Translate the equations
(c)
Use a result in Exercise 12 to determine the value of
That is,
(d)
Is the natural number