Solutions to Congruence Modulo 50

  • Thread starter knowLittle
  • Start date
In summary, you can find a solution to the equation 35x\equiv 10mod50 by solving for x using the gcd algorithm. There are 5 solutions, and the equation is true for any integer n.
  • #1
knowLittle
312
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
  • #2
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.
 
  • #3
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.
 
  • #4
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).
 
  • #5
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 [itex]\equiv[/itex] 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?
 

FAQ: Solutions to Congruence Modulo 50

What is Congruence Modulo 50?

Congruence Modulo 50 is a mathematical concept that deals with the relationship between two numbers that have a remainder of 50 when divided by a certain number. It is used to determine if two numbers are equal or equivalent in a given context.

What are some applications of Congruence Modulo 50?

Congruence Modulo 50 is commonly used in number theory, cryptography, and computer science. It is also useful in determining patterns and solving problems in algebra and geometry.

How do you solve for Congruence Modulo 50?

To solve for Congruence Modulo 50, you need to find the remainder of the two numbers when divided by 50. If the remainders are the same, then the two numbers are congruent modulo 50. If the remainders are different, then the two numbers are not congruent.

What is the significance of 50 in Congruence Modulo 50?

The number 50 is used in Congruence Modulo 50 because it is a multiple of 2 and 5, making it a good base for finding patterns and solving problems. It is also a relatively large number, making it useful for dealing with larger numbers.

Can you provide an example of Congruence Modulo 50?

Yes, for example, 105 and 155 are congruent modulo 50 because when divided by 50, they both have a remainder of 5. On the other hand, 85 and 135 are not congruent because they have different remainders when divided by 50.

Similar threads

Back
Top