Solve Modular Equation for Integer y: 35y = 42 (mod 144)

  • Thread starter Thread starter duki
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on solving the modular equation 35y = 42 (mod 144) to find the integer y within the range 0 < y < 144. The equation can be simplified to 5y = 6 (mod 144), leading to the exploration of potential solutions. The participants emphasize the importance of verifying solutions by substituting back into the original equation and discuss the necessary conditions for the existence of solutions based on the greatest common divisor (gcd) of coefficients. The conversation also touches on similar equations, such as 19x = 22 (mod 41), highlighting the application of the theorem that states a solution exists if gcd(a, n) divides b.

PREREQUISITES
  • Understanding of modular arithmetic and congruences
  • Familiarity with the concept of greatest common divisor (gcd)
  • Knowledge of the Extended Euclidean Algorithm
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study the Extended Euclidean Algorithm for finding integer solutions to linear Diophantine equations
  • Learn about the properties of modular arithmetic, specifically the conditions for the existence of solutions
  • Explore the implications of gcd in modular equations with different coefficients
  • Practice solving various modular equations to reinforce understanding of the concepts
USEFUL FOR

Students studying number theory, mathematicians interested in modular arithmetic, and educators teaching algebraic concepts related to congruences and integer solutions.

duki
Messages
264
Reaction score
0

Homework Statement



Find the integer y with both 0 < y < 144 and 35y = 42(mod 144)

Homework Equations


The Attempt at a Solution



Can someone help me get started on this one? I understand that I can reduce it to 5y = 6(mod 144), and then to 5y = 6 + 144... but I'm not sure what to do with that. I mean, can I just do 5y = 150 and then y = 30?
 
Physics news on Phys.org


duki said:

Homework Statement



Find the integer y with both 0 < y < 144 and 35y = 42(mod 144)

Homework Equations





The Attempt at a Solution



Can someone help me get started on this one? I understand that I can reduce it to 5y = 6(mod 144), and then to 5y = 6 + 144... but I'm not sure what to do with that. I mean, can I just do 5y = 150 and then y = 30?

If you plug y = 30 into the original equation, is it true? If so, then you're done.

An interesting question to consider: if instead of 35, the original equation had 36, then your method would fail. Why? Does the equation have a solution in that case?

A more ambitious question: what is a necessary and condition upon k in order for

ky = 42 (mod 144)

to have a solution? Does the answer change if instead of 42 you use some other number between 0 and 143?
 


I'm a little confused here. So if I plug my answer into the equation and it doesn't work, it means there are no solutions? And I don't know the answer to the second question
 


I have another one here:

0 < x < 41
19x = 22(mod 41)

You're right, my previous method didn't work. What can I do?
 


duki said:
I have another one here:

0 < x < 41
19x = 22(mod 41)

You're right, my previous method didn't work. What can I do?

Do you know this theorem:

ax = b (mod n)

has a solution if and only if gcd(a,n) divides b.

In this case, gcd(a,n) = 1 since 19 and 41 are relatively prime. So a solution does exist.

Any solution to this equation:

ax + kn = b, where k is any integer

is also a solution to

ax = b (mod n)

There is a well-known algorithm for finding integers x and k that satisfy

ax + kn = b

provided that a solution exists. Are you familiar with it?
 


No. :(
 
Last edited:


I'm still stuck on this... can anyone give me a hand?
 


duki said:
I have another one here:

0 < x < 41
19x = 22(mod 41)

You're right, my previous method didn't work. What can I do?
Saying 19x= 22 (mod 41) means that 19x= 22+ 41k for some integer k. That is the same as 19x- 41k= 22. 19 divides into 41 2 times with remainder 3 so 41= 2(19)+ 3 or 41- 2(19)= 3. 3 divides into 19 6 times with remainder 1: 19- 6(3)= 1 and then 19- 6(41- 2(19))= 3(19)- 6(41)= 1. Multiplying by 22, 66(19)- 132(41)= 22. Thus one answer is x= 66. That's not the answer you want because it is too big but you should be able find the correct answer.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K