Solutions to Congruence Modulo 50

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

Homework Help Overview

The discussion revolves around finding all solutions to the congruence equation 35x ≡ 10 mod 50, which falls under the subject area of modular arithmetic and number theory.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to solve the equation by finding the gcd and applying theorems related to modular arithmetic. They express confusion regarding additional solutions found online and question their correctness.
  • Some participants confirm the original poster's method and suggest verifying the solutions, while also pointing out that certain proposed solutions do not satisfy the original equation.
  • Others raise concerns about the validity of division in modular arithmetic and discuss the implications of zero divisors on the solution process.
  • Further attempts to clarify the approach involve discussing linear Diophantine equations and the Euclidean algorithm, with questions about specific transformations in the reasoning process.

Discussion Status

The discussion is active, with participants providing guidance on verifying solutions and exploring the implications of modular arithmetic rules. Multiple interpretations of the problem are being examined, particularly regarding the nature of solutions and the role of the gcd.

Contextual Notes

Participants note the importance of understanding the constraints of modular arithmetic, particularly the definition of division and the presence of zero divisors, which may affect the solution process. The original poster also references external sources that suggest differing solutions, leading to further inquiry.

knowLittle
Messages
307
Reaction score
3

Homework Statement


Find all solutions to the equation ##35x\equiv 10mod50##

The Attempt at a Solution



gcd( 35,50)= 5
So, there is a solution to this, since 5| 10. Also, there is a theorem that guarantees the existence of exactly 5 solutions.

Now, dividing ##35x\equiv 10mod50## over 5 gives:
##7x\equiv 2mod10##
Now, what multiple of 7 gives us ##\equiv 2mod10##
{ 2, 12, 22, 32, 42,...} Here, we found 42 that is a multiple of 7 and satisfies ##\equiv 2mod10##
We can write ##7x\equiv 42mod10## . Now, I divided the expression by 7 and got ##x\equiv 6mod10##

Now, there is another theorem that tells me this
6+(50/5)t, t=0, 1, ..., 4
I get: 6, 16, 26, 36, 46
So, the solutions are
##x\equiv 6mod50## , ##x\equiv 16 mod50##, ##x\equiv 26 mod50##, ##x\equiv 36mod 50##, ##x\equiv 46mod 50##
These are the 5 solutions of ##35x\equiv 10mod50##

I found other solutions online:
So x = 6, 16, 22, 28, 34, 40, 46 modulo 50 are the
solutions to the congruence 35x ≡ 10 mod 50.

Am I incorrect?


Thank you.
 
Physics news on Phys.org
Your method is correct. You can check your own solutions to verify that they are correct.

35*6 = 210 which is congruent to 10 mod 50.
35*16 = 560 which is also congruent to 10 mod 50.
Similarly for the other solutions that you found.

You can verify that 22, 28, and 40 are not solutions.
35*22 = 770 which is 20 mod 50.
35*28 = 980, is 30 mod 50.
etc.
 
I have read somewhere that division is not defined in modular arithmetic. Can someone tell me how this affect my solution?

@kru: This is puzzling, since I found those other solutions at a .edu site.
 
Division is not necessarily defined in modular arithmetic because there may be "0 divisors". For example, in modulo 6, 2(3)= 6= 0 (mod 6). If we had an equation of the form 3x= 1 (mod 6) we can immediately check that 3(1)= 3, 3(2)= 6, 3(3)= 9= 3, 3(4)= 12= 0, and 3(5)= 15= 3 mod 6. There is NO x such that 3x= 1 and so we could not, for example, "divide by 3" to get "1/3" as an answer. If we are working "modulo" a prime number, that doesn't happen and we can define "division".

The way I would do "35x= 10 mod 50" is this. This is the same as saying 35x= 50n+ 10 for some integer n- a linear "diophantine equation". The first thing we can do divide through by 5 to 7x= 10n+ 2 or 7x- 10n= 2. Now 7 divides into 10 once with remainder 3: 3= 10- 7. 3 divides into 7 twice with remainder 1: 1= 7- 2(3). We can replace that "3" with 10- 7 from the first equation: 1= 7- 2(10- 7)= 3(7)- 2(10)= 1 (The "Euclidean Divison Algorithm"). Multiply through by 2 to get 6(7)- 4(10)= 2.

So one solution to 7x- 10n= 2 is x= 6, n= 4. It is possible to write out the "general solution" but since 6 itself is between 0 and 10, x= 6 satisfies 7(6)= 2 (mod 10) and so 35(6)= 210= 10 (mod 50).
 
HallsofIvy said:
The way I would do "35x= 10 mod 50" is this. This is the same as saying 35x= 50n+ 10 for some integer n- a linear "diophantine equation".
According to Wikipedia, Diophantine equations are written as follows:
ax + by = c
The Diphantine equation that you are really writing is this
35x-50n=10?


HallsofIvy said:
The first thing we can do divide through by 5 to 7x= 10n+ 2 or 7x- 10n= 2. Now 7 divides into 10 once with remainder 3: 3= 10- 7. 3 divides into 7 twice with remainder 1: 1= 7- 2(3). We can replace that "3" with 10- 7 from the first equation: 1= 7- 2(10- 7)= 3(7)- 2(10)= 1 (The "Euclidean Divison Algorithm").
I understand everything, until you change the equation 1=7 -2(10-7)= 3(7)-2(10)=1. I understand that 21-20=1, but why changing from 7- 2(10-7) to 3(7)-2(10)?
Also, I am acquainted with Euclid's GCD algorithm:
Euclid(a,b)
if b==0
return a
else return Euclid (b, a mod b)

Is there a way to use it without having to trace it?


HallsofIvy said:
Multiply through by 2 to get 6(7)- 4(10)= 2.
So one solution to 7x- 10n= 2 is x= 6, n= 4. It is possible to write out the "general solution" but since 6 itself is between 0 and 10, x= 6 satisfies 7(6)= 2 (mod 10) and so 35(6)= 210= 10 (mod 50).

Is this all solutions for 35x \equiv 10 mod 50? Also, is it correct that there has to be exactly 5 solutions, since the gcd of 35, 50 is 5?
Is my solution correct?
 

Similar threads

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