Discrete Math - a modulus proof

Click For Summary

Homework Help Overview

The discussion revolves around proving a claim in discrete mathematics involving modular arithmetic. The claim states that for any positive integers m and n, both greater than 1, if n divides m and a is congruent to b modulo m, then a is also congruent to b modulo n.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore the implications of the definitions of modular arithmetic, particularly how the divisibility relations affect the congruences. There are attempts to manipulate the expressions and clarify the relationships between m, n, a, and b.

Discussion Status

Some participants have offered insights into the relationships between the statements, while others express uncertainty about the proof structure and the implications of the divisibility conditions. There is a recognition of the need to articulate the proof more clearly, with suggestions to flesh out the reasoning.

Contextual Notes

Participants note a lack of familiarity with the mod function and proofs in general, which may influence their confidence in articulating the proof. There is also mention of a preference for a direct proof approach.

CaptainSFS
Messages
57
Reaction score
0

Homework Statement



I have to prove the following claim.

Claim: For any positive integers m and n, m and n both greater than 1, if n|m and a≡b(mod m), then a≡b(mod n).

Homework Equations



n/a

The Attempt at a Solution



so i first changed each equation (ex: a≡b(mod m)) to a=b+qm and a=b+qn

I figured in these forms I could show that the equations are equal.

so I eventually get (a-b)/q=m or =n respectively. So I believe this shows their equality, but i am completely unsure because it won't always work I don't think. I need to also show that n|m. So tired dividing the m=(a-b)/q by the n= equation and of course I just get 1...

To be completely honest I am not quite sure how to prove this. I am not quite familiar with the mod function and I am incredibly weak with proofs. If anyone can give me insight into solving this problem I would great appreciative.

also note that this should be able to be done with a direct proof.

thanks!
 
Physics news on Phys.org
a=b(mod m) means m|(a-b). a=b(mod n) means n|(a-b). If n|m what can you conclude from this?
 
I guess you could conclude that (m|(a-b)) / (n|(a-b)). Or I guess that's like m|n? Actually I'm not really sure. I'm not sure if that's correct. If it is, I'm not really sure if that proves the statement. If m|n is true, does that mean they're the same integer? In which case I assume that would prove it.
 
m|(a-b) and n|(a-b) are true/false statements. You can't DIVIDE them. Think about this. If a|b and b|c then a|c, right?
 
Dick said:
m|(a-b) and n|(a-b) are true/false statements. You can't DIVIDE them. Think about this. If a|b and b|c then a|c, right?

Right, i mean that makes sense, but that's just reiterating the claim isn't it?

If n|m and m|(a-b), then n|(a-b) is like saying If a|b and b|c then a|c.

I think that there is some constant k so that kn=m? Then in this case, because they're modular, they come up with the same answer. Is that any more correct?
 
Yes. I just really didn't like (m|(a-b)) / (n|(a-b)). Didn't make much sense to me. Maybe it did to you.
 
Last edited:
I see, but this is where my weak point is. I'm not sure how I write a proof for that.
 
"If n|m and m|(a-b), then n|(a-b) is like saying If a|b and b|c then a|c." That's the basis of the proof. Can you just flesh that out into a full proof? Start with "if n|m and a≡b(mod m)" and conclude with "then a≡b(mod n)".
 
If a= b mod m, then m divides a- b so a-b= km for some integer k. If n divides m then m= pn for some integer p. Put those together to get that a-b= ?n.
 
  • #10
alright, thanks you two. Hopefully that'll help. I'll let you know if I have any further questions. Thanks! :)
 

Similar threads

Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
2K
Replies
20
Views
4K