How Do I Obtain Specific Solutions for Linear Diophantine Equations?

  • Thread starter Thread starter totoro
  • Start date Start date
  • Tags Tags
    Homework Mean
AI Thread Summary
To solve the linear Diophantine equation 893x = 266 (mod 2432), the GCD of 893 and 2432 is found to be 19. The user calculates coefficients u and v, arriving at -49 and -18, but seeks to understand how to derive the positive solutions of 79 and 29 presented in a textbook. The calculations show that both sets of coefficients satisfy the equation, leading to confusion about the validity of the textbook answers. The discussion emphasizes the need for clarity on how to convert negative coefficients into positive ones while maintaining the integrity of the equation. The thread highlights the complexities of finding specific solutions in modular arithmetic.
totoro
Messages
42
Reaction score
0
i need help with this question

893x=266(mod 2432) ,= mean congruence

fisrt i find gcd(893,2432)=19
then i need to find u,v for 893u-2432v=19
the u and v i found is -49 and -18
but the answer here in my book is 79 and 29
after calculating, i found that both the answer are correct. my question is how to get 79 and 29?


thanks.
 
Physics news on Phys.org
If the problem is "893x=266(mod 2432)"

how could the answer be "u= 79 and v= 29" OR "u= -49 and v= -18"?

Where did u and v come from? What happened to x?
 
first i use this method to find the gcd of (893,2432).that is
2432=893(2)+646
893=646(1)+247
646=247(2)+152
247=152(1)+95
152=95(1)+57
95=57(1)+38
57=38(1)+19
38=19(2)+0
from here i found the gcd is 19
then 19 can divide 266, therefor it has a solution

if i reverse all the step above, i will get
2432(18)-893(49)=19
from this 893x=266(mod2432)i can change to 893x-2432y=266
therefor this formula 893(-49)-2432(-18)=19 should multiply by 14 to get the formula same as above. with this i can get x later, but the problem is that i get -49 and -18 and not 79 and 29.
 
totoro,
I think the answer in the book is wrong. Because
<br /> 893\cdot79=19(\mod{2432})<br />
<br /> 893\cdot29=1577(\mod{2432})<br />
They do not work. Why do you think they are correct?

(Why does it make these spaces before mod? How can I TeX it better?)
 
Last edited:
the formula i get is 893u - 2432v = 19. with euclidean algorithm i get 893(-49) - 2432(-18) = 19. i get negative numbers (u,v) = (-49,-18). how can i change it to a positive numbers like (u,v) = (79,29)?
 
Sorry, I can only help you if you answer my question.
 
Kindly see the attached pdf. My attempt to solve it, is in it. I'm wondering if my solution is right. My idea is this: At any point of time, the ball may be assumed to be at an incline which is at an angle of θ(kindly see both the pics in the pdf file). The value of θ will continuously change and so will the value of friction. I'm not able to figure out, why my solution is wrong, if it is wrong .
Thread 'Voltmeter readings for this circuit with switches'
TL;DR Summary: I would like to know the voltmeter readings on the two resistors separately in the picture in the following cases , When one of the keys is closed When both of them are opened (Knowing that the battery has negligible internal resistance) My thoughts for the first case , one of them must be 12 volt while the other is 0 The second case we'll I think both voltmeter readings should be 12 volt since they are both parallel to the battery and they involve the key within what the...
Thread 'Trying to understand the logic behind adding vectors with an angle between them'
My initial calculation was to subtract V1 from V2 to show that from the perspective of the second aircraft the first one is -300km/h. So i checked with ChatGPT and it said I cant just subtract them because I have an angle between them. So I dont understand the reasoning of it. Like why should a velocity be dependent on an angle? I was thinking about how it would look like if the planes where parallel to each other, and then how it look like if one is turning away and I dont see it. Since...
Back
Top