Simultaneous modular equations
Maths and statistics discussion, revision, exam and homework help.
-
Re: Simultaneous modular equationsWIth subtracting(Original post by wcp100)
How do you solve simultaneous modular equations?
E.g


I know guessing gives one solution: a=1,b=-10
12a =12 (mod 26)
a=1 (mod 26)
Adding together the 2 eq.
34a+2b=14 (mod 26)
with a=1 (mod 26)
2b=-20 (mod 26)
b=-10 (mod 26) -
Re: Simultaneous modular equationsThis misses a solution. Since(Original post by ztibor)
WIth subtracting
12a =12 (mod 26)
a=1 (mod 26)
Adding together the 2 eq.
34a+2b=14 (mod 26)
with a=1 (mod 26)
2b=-20 (mod 26)
b=-10 (mod 26)

there isn't a unique solution to

You can rearrange to get

which, if you then notice that 12=6*2, can be written as

which is true for
or 
Then you can use the two values of a to find the corresponding values of b. It's simpler to just substitute the value of a into one of the equations than to mess around with summing them as ztibor has done.Last edited by Carolus; 11-06-2012 at 03:26.