Multiplication and addition definition of congruence classes

In summary, the conversation discusses the definitions of congruence classes and their operations, such as addition and multiplication. These definitions may seem arbitrary or an abuse of notation, but they are actually based on the pre-existing definitions in the integers. They also have practical applications, such as simplifying the process of solving modular equations and playing a role in cryptography. There is some overloading of notation in this context, but it can be disambiguated based on context.
  • #1
Leo Liu
353
156
The definitions of them seem like arbitrary choices or an abuse of notation. I wonder what the reasons behind the definitions are. Thanks.

f92ff892efb%2FScreen_Shot_2021-11-22_at_6.46.09_PM.png

PS. My instructor said such defs simplify the process of solving modular equations.
 
Last edited:
Mathematics news on Phys.org
  • #2
It's quite standard. It just means, for example if you consider ##\mathbf{Z}_4##, that\begin{align*}
[3] + [2] &= [5] \\
&= [1]
\end{align*}et cetera.
 
  • #3
Leo Liu said:
The definitions of them seem like arbitrary choices or an abuse of notation. I wonder what the reasons behind the definitions are. Thanks.

View attachment 292853
PS. My instructor said such defs simply the process of solving modular equations.
You can view this from various perspectives. The shortest notation is, that ##\pi\, : \,\mathbb{Z}\longrightarrow \mathbb{Z}/m\mathbb{Z}## is a homomorphism of rings. This requires ##\mathbb{Z}/m\mathbb{Z}## to be a ring, i.e. that we multiply and add the remainders by division with ##m## in such a way, that adding and multiplication commutes with taking the remainders. The numbers ##\{0,1,\ldots,m-1\}## build representatives of the equivalence classes achieved by taking the remainder by division with ##m##.

More prosaic, we could say that taking the remainders is important in number theory, where we often distinguish primes which have the remainder ##1## by division with ##4## and those with remainder ##3##.

Another important example is when ##m## itself is prime. Then those calculation rules define a finite number field, i.e. we can even divide by the equivalence classes ##[a]\neq [0].## In case ##m=2## we get thus the basic rules for computers, or less complicated: the light switch in your room. Finite fields in general (##m## prime) play an important role in cryptography, i.e. the science of codes.

If ##m## is not prime, say ##m=p\cdot q## then we cannot divide, i.e. we have still a ring but no field. This is because ##[p]\cdot [q]=[0]## although ##[p],[q]\neq [0].## An example for such a case is the analogous clock. The clock has ##m=12## for the big hand, and ##m=60## for the small hand.
 
  • Love
Likes Leo Liu
  • #4
Leo Liu said:
The definitions of them seem like arbitrary choices or an abuse of notation. I wonder what the reasons behind the definitions are. Thanks.

View attachment 292853
PS. My instructor said such defs simply the process of solving modular equations.
One is defining addition ("+") for congruence classes based on the pre-existing definition of addition ("+") for class members.

There is a bit of abuse of notation going on here. The same graphical symbol ("+") is used for both operations. This sort of notation abuse is sometimes called "overloading". We "overload" an operator with two possible meanings. Then we disambiguate between the meaning based on context. If one sees the "+" operator applied to two congruence classes, one knows that the class meaning is appropriate and the result will be a congruence class. If one sees the "+" operator applied to two class members, one knows that the member meaning is appropriate and the result will be a class member.

One can find this particular notational pattern used in some programming languages. For instance, in the Ada programming language, one can overload or even redefine infix operators such as "+" and "-".

Let us read through [a] + [b] = [a+b] and try to express it in words:

"If we take the congruence class containing a and "add" it to the congruence class containing b, the result is defined to be the congruence class containing a+b"

One should normally take a few moments to verify that this definition actually works as a definition.

What if, instead of "a", we took a different exemplar, say "x", of the left hand congruence class.
What if, instead of "b", we took a different exemplar, say "y" of the right hand congruence class.
Would the sum of those two exemplars have been a member of the same congruence class.

In other words, if [a] = [x] and [b] = [y] does it follow that [a+b] = [x+y]?

If so, the definition can work.
If not, the definition is broken.
 
Last edited:
  • Like
Likes Leo Liu
  • #5
jbriggs444 said:
There is a bit of abuse of notation going on here. The same graphical symbol ("+") is used for both operations.
It's also used for adding vectors, and matrices, and polynomials, ... and generally everything that looks like an addition in a set.

The addition and multiplication defined in the first post are derived from addition and multiplication in the integers. If we add an integer in the equivalence class [a] and an integer in the equivalence class [b] we get an integer in the equivalence class [a+b], so it makes sense to define an operation within the set of equivalence classes as well. Same for multiplication.

Edit: Fixed formatting
 
Last edited:
  • Like
Likes Leo Liu and jbriggs444
  • #6
ergospherical said:
It's quite standard. It just means, for example if you consider ##\mathbf{Z}_4##, that\begin{align*}
[3] + [2] &= [5] \\
&= [1]
\end{align*}et cetera.
Hey, I didn't know you were still alive!
Thanks for the answer.
 
  • Haha
Likes ergospherical

1. What is the definition of congruence classes?

The definition of congruence classes is a mathematical concept that is used to group together numbers that have the same remainder when divided by a certain number. For example, the congruence class of 5 modulo 3 would include all numbers that have a remainder of 2 when divided by 3, such as 5, 8, 11, etc.

2. What is the difference between multiplication and addition definition of congruence classes?

The multiplication definition of congruence classes is based on the idea that two numbers are congruent if their product is divisible by a certain number. On the other hand, the addition definition of congruence classes is based on the idea that two numbers are congruent if their sum is divisible by a certain number.

3. How are congruence classes used in number theory?

Congruence classes are used in number theory to study the properties of numbers and their relationships. They help identify patterns and solve problems related to divisibility, remainders, and prime numbers.

4. Can you give an example of using congruence classes in real life?

One example of using congruence classes in real life is in the field of cryptography. In this context, congruence classes are used to encrypt and decrypt messages by using modular arithmetic. This ensures that only the intended recipient can decode the message, as they have the key to decrypt the congruence class.

5. How do congruence classes relate to modular arithmetic?

Congruence classes are closely related to modular arithmetic, as they both involve the concept of remainders. In modular arithmetic, numbers are reduced to a certain range of values, called the modulus. This can be thought of as creating congruence classes based on the modulus. For example, in modular arithmetic with a modulus of 5, the congruence class of 3 would include all numbers that have a remainder of 3 when divided by 5, such as 3, 8, 13, etc.

Similar threads

  • General Math
Replies
13
Views
2K
Replies
7
Views
2K
  • General Math
Replies
31
Views
7K
  • General Math
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
9
Views
4K
  • STEM Academic Advising
Replies
8
Views
1K
Replies
5
Views
1K
Back
Top