Proving m mod d = n mod d with Quotient Remainder Theorem

Click For Summary
SUMMARY

The discussion centers on proving that if integers m, n, and d exist such that d divides (m-n), then m mod d equals n mod d. The Quotient Remainder Theorem is applied, establishing that for any integer n and positive integer d, there are unique integers q and r satisfying n = dq + r, where 0 ≤ r < d. The proof progresses by expressing m and n in terms of d and their respective remainders, ultimately leading to the conclusion that since d divides (m-n), the remainders must be equal, confirming that m mod d = n mod d.

PREREQUISITES
  • Understanding of the Quotient Remainder Theorem
  • Basic knowledge of modular arithmetic
  • Familiarity with integer properties and divisibility
  • Ability to manipulate algebraic expressions involving integers
NEXT STEPS
  • Study the implications of the Quotient Remainder Theorem in number theory
  • Explore advanced topics in modular arithmetic, such as modular inverses
  • Learn about applications of modular arithmetic in cryptography
  • Investigate proofs involving divisibility and congruences in integers
USEFUL FOR

Students studying number theory, mathematicians interested in modular arithmetic, and educators teaching the Quotient Remainder Theorem.

cmajor47
Messages
53
Reaction score
0

Homework Statement


Prove that is m, n, and d are integers and d divides (m-n) then m mod d = n mod d.


Homework Equations


Quotient Remainder Theorem: Given any integer n and positive integer d, there exists unique integers q and r such that n=dq + r and 0\leqr<d and n mod d = r.


The Attempt at a Solution


Proof: Let m, n, d \in Z st d divides (m-n)
\exists k \in Z st m=dk + r
\exists j \in Z st n=dj + s
m-n=(dk + r)-(dj + s)
=dk+r-dj+s
=d(k-j)+(r-s)

Am I going along with the proof correctly? I don't know where to go from this point and would really appreciate some help.
 
Physics news on Phys.org
I'm not sure this is the easiest proof, but it looks correct.

You have now shown that
if m = r mod d, n = s mod d, then (m - n) mod d = (r - s)
But you also know that d | (m - n) which you haven't used yet. So what does that tell you about (m - n) mod d?
 

Similar threads

Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K