Solve the simultaneous congruence modulo equation

  • Thread starter Thread starter chwala
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving simultaneous congruences involving modulo equations, specifically focusing on the equations x ≡ 3 (mod 5) and x ≡ 4 (mod 7). Participants explore various methods to find a solution for x.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts to use the Extended Euclidean algorithm to find the inverse in modulo arithmetic and expresses a desire for deeper understanding. Other participants present a method of listing possible values for y based on the congruences and identify a common solution.

Discussion Status

Participants are exploring different approaches to the problem, with some providing specific values derived from the congruences. There is a suggestion to consider the Chinese remainder theorem for a more straightforward solution, but no consensus has been reached on the best method.

Contextual Notes

Some participants question the clarity and acceptability of the working steps presented, indicating a need for further discussion on the methods used.

chwala
Gold Member
Messages
2,828
Reaction score
425
Homework Statement
See attached
Relevant Equations
pure maths/ Extended euclidean algorithm
Find question and solution here;

1649480226718.png


1649480263030.png

The steps are clear...out of interest i decided to use the other equation; may i say that i underestimated the euclidean algorithm :biggrin: ...in trying to find the inverse of modulo arithmetic...of course we have the online calculator..but i always like understanding (indepth )on any math concept...some deep thinking on reverse substitution...My approach is as follows;

##x≡3 (mod5)##
##x= 5k+3##
##5k+3≡4(mod7)##
##k=(1)(5^{-1})(mod 7)##
now on using Extended Euclidean algorithm, it follows that,
##1=5-(7-5(1))(2)##
##1=5-(14-5(2))##
##1=5(3)-(7)(2)##
Therefore the inverse of ##5=3##, then we shall have
##k=(1)(3)(mod 7)##
##k=7n+3##
##x=5(7n+3)+3##
##x=35n+18##...any other easier approach highly appreciated.
 
Last edited:
  • Wow
Likes   Reactions: nuuskur
Physics news on Phys.org
Let x = y(mod 35),
y<35
y=3 (mod 5)={3,8,13,18,23,28,33}
y=4(mod 7)={4,11,18,25,32}
So y=18.
 
  • Like
Likes   Reactions: chwala
anuttarasammyak said:
Let x = y(mod 35),
y<35
y=3 (mod 5)={3,8,13,18,23,28,33}
y=4(mod 7)={4,11,18,25,32}
So y=18.
correct ,yes but wondering if your working steps is acceptable. Cheers mate. ...you looked at a common 'remainder' to conclude on ##18##.
 
Not clear what you mean by "easier". Chinese remainder theorem (CRT) is as easy as it gets if the moduli are pairwise coprime. For more in depth analysis, study a proof for the CRT.

Also, would recommend not posting screenshots of other websites. Link it, instead.
 
  • Like
Likes   Reactions: chwala

Similar threads

  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
15
Views
3K
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
3K