How to solve simultaneous congruence 3x= 14 mod 17, 7x= 13 mod 31

  • Thread starter andrey21
  • Start date
In summary, to solve the simultaneous congruence 3x= 14 mod 17 and 7x= 13 mod 31, we need to find values of x such that x= 16 mod 17 and x= 24 mod 31, which can be solved by finding values of n and m that satisfy x= (17n+14)/3 and x= (31m+13)/7, respectively.
  • #1
andrey21
476
0
Solve the following simultaneous congruence

3x= 14 mod 17

7x= 13 mod 31


My attempt

I have no problems solving when in the form:

x= 2 mod 13

x= 4 mod 27

for example but am confused by the above question, any help would be great.
 
Physics news on Phys.org
  • #2
Well,
[tex]3x \equiv 14 mod 17 \Rightarrow 17 \mid (3x - 14) \Rightarrow 17n = 3x - 14 \Rightarrow x = \frac{17n+14}{3}[/tex]
[tex]7x \equiv 13 mod 31 \Rightarrow 31 \mid (7x - 13) \Rightarrow 31m = 7x - 13 \Rightarrow x = \frac{31m + 13}{7}[/tex]

Basically, we need to find values of x such that [tex]x = \frac{31m + 13}{7} = \frac{17n+14}{3}[/tex]

Solving for n or m should give you a line of values that will work.
 
  • #3
Sorry I am still a little confused, solving for m I obtained:

31m = 7x-13 = 17n + 14 / 3
 
  • #4
To solve 3x= 14 mod 17, you need to "divide" by 3- you need to find "1/3" in mod 17 which means you want to solve 3x= 1 mod 17. For this simple problem, you can note that 3(6)= 18 mod 17 so that x= 6 mod 17. For a more algorithmic method (specifically, using the Euclidean division algorithm) note that 3x= 1 mod 17 means that 3x= 1+ 17y which is the same as 3x- 17y= 1, a Diophantine equation. 3 divides into 17 5 times with remainder 2: 17(1)- 3(5)= 2. Further 2 divides into 3 once with remainder 1: 3- 2= 1. Replacing the "2" in that equation with the "17(1)- 3(5)" we have 3- (17(1)- 3(5))= 3(6)- 17(1)= 1. So x= 6 is a solution: 6 is "1/3" mod 17 (6(3)= 18= 1 mod 17)

Once we have that x= 14/3= 14(6)= 84= 16 mod 17 satisfies your first equation.

Similarly, to solve 7x= 13 mod 31, first solve 7x= 1 mod 31. That means that 7x= 1+ 31y or 7x- 31y= 1. 7 divides into 31 4 times with remainder 3: 31- 4(7)= 3. 3 divides into 7 twice with remainder 1: 7- 2(3)= 1. Replacing the "3" in that by 31- 4(7) we have 7- 2(31- 4(7)= 7(9)- 2(31) xo x= 9 is a solution: "1/7" is 9 mod 31. From that x= 13/7= 13(9)= 24 mod 31.

Your two equations are equivalent to x= 16 mod 17 and x= 24 mod 31 which you say you can solve.
 

What is simultaneous congruence?

Simultaneous congruence is a mathematical concept that involves finding solutions to multiple congruence equations at the same time.

How is simultaneous congruence different from regular congruence?

Regular congruence involves finding solutions to a single congruence equation, whereas simultaneous congruence involves finding solutions to multiple congruence equations simultaneously.

What are some real-life applications of simultaneous congruence?

Simultaneous congruence is often used in fields such as cryptography, coding theory, and number theory to solve problems related to modular arithmetic. It can also be applied in engineering and computer science for solving systems of linear equations.

What is the Chinese Remainder Theorem?

The Chinese Remainder Theorem is a mathematical theorem that states that if two integers are relatively prime, then there exists a unique solution to a system of congruence equations. This theorem is often used to solve simultaneous congruence problems.

How can simultaneous congruence be solved?

There are several methods for solving simultaneous congruence problems, including the Chinese Remainder Theorem, the Gauss-Jordan elimination method, and the method of successive substitution. The most appropriate method to use will depend on the specific equations involved.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
992
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
4K
  • Calculus and Beyond Homework Help
Replies
11
Views
6K
  • Calculus and Beyond Homework Help
Replies
5
Views
4K
  • Calculus and Beyond Homework Help
Replies
18
Views
3K
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
9K
Back
Top