What is the significance of the division algorithm in congruent modules?

  • Thread starter Thread starter PsychonautQQ
  • Start date Start date
  • Tags Tags
    module
Click For Summary

Homework Help Overview

The discussion revolves around the significance of the division algorithm in the context of congruences and equivalence classes in modular arithmetic. Participants are exploring how the division algorithm relates to the representation of integers in modular systems.

Discussion Character

  • Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to understand the implications of the division algorithm in defining equivalence classes modulo n. Some participants elaborate on how every integer can be represented by its remainder when divided by n, leading to unique equivalence classes. Others question the definition of the remainder and its representation in the context of division.

Discussion Status

The discussion is active, with participants providing insights into the relationship between integers, their remainders, and equivalence classes. There are differing interpretations regarding the definition of the remainder, indicating a productive exploration of the topic.

Contextual Notes

Participants are navigating through the definitions and properties of the division algorithm and congruences, with some expressing confusion about terminology and the nature of remainders in division.

PsychonautQQ
Messages
781
Reaction score
10

Homework Statement


≈ → equivalence
"In general, if a is an integer, the division algorithm gives a = qn + r, where 0 ≤ r ≤ n-1 so a≈r (mod n). Thus every residue class module n appears in the list [0], [1]...,[n-1]. In fact, it appears exactly once.

I'm having trouble connecting the dots here, can anyone help me explain what this is saying exactly?


Homework Equations





The Attempt at a Solution

 
Physics news on Phys.org
Every class appears for if is any class ##b\approx r_b## for an ##r_b## given by the algorithm, that is =[##r_b##].
It appears exactly once then means ##[r_i]\neq[r_j]## if ##i\neq j##.
 
  • Like
Likes   Reactions: 1 person
If a is any integer then, for any positive integer, n, we can write a= qn+ r for a and r integers and[itex]0\le r< n[/itex]. That is the "Euclidean division algorithm" which basically says that if you divide a by n you get some quotient, q, and remainder r.

"x is congruent to y modulo (not "module") n" if and only if x- y is divisible by n. By the Euclidean division algorithm, we can write [itex]x= q_1n+ r_1[/itex] and [itex]y= q_2n+ r_2[/itex] for some integers [itex]q_1[/itex], [itex]q_2[/itex], [itex]r_1[/itex], and [itex]r_2[/itex]. Then [itex]x- y]= q_1n+ r_1- (q_2n+ r_2)= (q_1- q_2)n+ (r_1- r_2)[/itex]. Since [itex]r_1[/itex] and [itex]r_2[/itex] are both non-negative and less than n, there difference is between -n and n. Since x- y is divisible by n, we must have [itex]r_1- r_2= 0[/itex] or [itex]r_1= r_2[/itex]. If x and y are equivalent modulo n (if x- y is divisible by n) then they have the same remainder when divided by n.

That is, we can label the equivalence classes (set of numbers that are all equivalent to one another modulo n) by the remainders when the numbers in that equivalence class are divided by n. Given any number, x, its remainder, when divided by n, is an integer from 0 to n-1. Every integer is in exactly one of those classes because it has exactly one such remainder.
 
  • Like
Likes   Reactions: 1 person
If you divide x by n wouldn't you get x/n = q + r/n? isn't the remainder technically r/n and not just r? like say n = 5 and x = 17. 17/5 = 3 + r/5 so it seems that the real "remainder" here is going to be 2/5?
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
3K
Replies
15
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
27
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
2K