Simultaneous modular equations

Maths and statistics discussion, revision, exam and homework help.

Announcements Posted on
Please change your TSR password 23-05-2013
IMPORTANT: You must wait until midnight (morning exams)/4.30AM (afternoon exams) to discuss Edexcel exams and until 1pm/6pm the following day for STEP and IB exams. Please read before posting, including for rules for practical and oral exams. 28-04-2013
Sign in to Reply
  1. bananarama2's Avatar
    • TSR Legend
    Simultaneous modular equations
    How do you solve simultaneous modular equations?

    E.g

     11a+b\equiv 1 \mod (26)
     23a+b\equiv 13 \mod (26)

    I know guessing gives one solution: a=1,b=-10
    Last edited by bananarama2; 04-06-2012 at 19:19.
  2. marmeduke's Avatar
    • Respected Member
    • Location: ggggg
    • Posts: 211
    Re: Simultaneous modular equations
    rearrange to get 2 equations for b mod26. you know b is congruent to itself, so you get an equation for a mod26. solve this using standard results (assuming you do know standard results to solve this)
  3. ztibor's Avatar
    • Peer Of The TSR Realm
    • Location: Hungary
    • Posts: 1,538
    Re: Simultaneous modular equations
    (Original post by wcp100)
    How do you solve simultaneous modular equations?

    E.g

     11a+b\equiv 1 \mod (26)
     23a+b\equiv 13 \mod (26)

    I know guessing gives one solution: a=1,b=-10
    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)
  4. Carolus's Avatar
    • Exalted Member
    • Location: Cambridge
    • Posts: 286
    Re: Simultaneous modular equations
    (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)
    This misses a solution. Since

    hcf(26,12) \not= 1

    there isn't a unique solution to

    12a=12 (mod 26)

    You can rearrange to get

     12(a-1)=0 (mod 26)

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

     6\times 2(a-1) = 0

    which is true for

     a-1=0 or a-1=13

    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.
Sign in to Reply
Share this discussion:  
Article updates
Moderators

We have a brilliant team of more than 60 volunteers looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Reputation gems:
The Reputation gems seen here indicate how well reputed the user is, red gem indicate negative reputation and green indicates a good rep.
Post rating score:
These scores show if a post has been positively or negatively rated by our members.