The goal for the second chapter is to introduce the set , which is a finite set with elements. It still possesses operations like addition and multiplication, and will be our first example of a ring that is not infinite.
There will a map:
where is the congruence class of modulo . It seems like we are doing nothing but adding a bracket et around , this feeling comes from that we have not defined what a congruence class is.
In this note, we will define the congruence relation on the domain and prove that it is an equivalence relation. We will define the congruence class rigorously in the next note based on the congruence relation.
Congruence Relation
The congruence relation is defined for elements in , and we need to fix an integer acting as the modulus.
Definition:
Let , we say is congruent to modulo , denoted as , if .
We can also read as ” equals modulo ”. We can also use
to denote the same congruence relation.
Warning
We must fix the modulus when we talk about congruence relation. When we write or , we must always remember the modulus .
Congruence Relation is an Equivalence Relation
As one may notice, we used the symbol to denote the congruence relation, the symbol looks like the equality symbol . In fact, the congruence relation satisfies the three properties that we expect from an equality relation, we state it as a theorem.
Theorem
The congruence relation is an equivalence relation, i.e. it satisfies the following three properties:
- Reflexivity: for all .
- Symmetry: If , then .
- Transitivity: If and , then .
Proof of Theorem
We will prove the three properties one by one.
Reflexivity
Let , then , and for all . Therefore, for all .
Symmetry
If , then . Since , we have . Therefore, .
Transitivity
If and , then and . Therefore, , which implies , so .
Compatibility with Arithmetic Operations
The congruence relation is not just an equivalence relation, it also behaves well with arithmetic operations. We state the following theorem:
Theorem
Let , if and , then:
- .
- .
- .
Proof of Theorem
We will prove the three properties one by one.
Addition
If and , then and . Therefore, , which implies . Therefore, .
Subtraction
If and , then and . Therefore, , which implies . Therefore, .
Multiplication
If and , then and . Let and for some integers . Then we have:
We see that , which implies .