Solve 2x+3y=2, 3x+2y=3 Congruences Simultaneously

  • Thread starter Thread starter mattmns
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving two simultaneous congruences: 2x + 3y ≡ 2 mod 631 and 3x + 2y ≡ 3 mod 631. Participants explore various methods to approach the problem, including addition and elimination techniques, while considering the implications of the modulus being a prime number.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss adding the equations and eliminating variables, with some expressing confusion about how to proceed without canceling terms. Others suggest manipulating the equations to derive separate congruences for x and y.

Discussion Status

The conversation is active, with participants offering different strategies and questioning assumptions. Some have provided guidance on manipulating the equations, while others are exploring the implications of their calculations and the properties of the modulus.

Contextual Notes

There is a mention of the instructor's hint regarding the primality of 631, which some participants are trying to incorporate into their reasoning. Additionally, there are expressions of uncertainty and self-reflection on the participants' understanding of the problem.

mattmns
Messages
1,129
Reaction score
5
Hello I have the following question.
----
Solve the following congruences simultaneously:

[tex]2x + 3y \equiv 2 mod 631[/tex]
[tex]3x + 2y \equiv 3 mod 631[/tex]
----

I first tried adding and got [tex]5x + 5y \equiv 5 mod 631[/tex], but I was then stuck, so I tried the old multiplication, which looked worse as: [tex]6x^2 + 13xy + 6y^2 \equiv 6 mod 631[/tex]

Any ideas? I am guessing that I need to go somewhere with the addition one, but I can't see where. The instructor had a hint of using the fact that 631 is prime, but I can't see anything from that. Thanks.

Hmm, just got an idea, [tex]5(x + y) \equiv 5 mod 631[/tex], then find inverse of 5 and multiply it through to find x+y = something mod 631. I did this and got:

[tex]x + y \equiv 5*79380 mod 631[/tex]
which is
[tex]x + y \equiv 1 mod 631[/tex]
Now where can I go from here? Any ideas?
 
Physics news on Phys.org
Try solving them like regular simultaneous equations.

Eliminate x from the equations. You have a congruence relation for y. Now plug this back in and find a separate congruence relation for x.
 
How would I do that without canceling the y's? In my mind I would have to multiply the top by 3 and bottom by 2, but when I added, I would get 0 = 0 mod 631.
 
No, you won't ![tex]3x + 2y \equiv 3 ~~(mod~ 631)~~~~--(1)[/tex]
[tex]2x + 3y \equiv 2 ~~(mod~ 631)~~~~--(2)[/tex]

Let's do (1)*2 - (2)*3 ; this is legal since the modulo is the same for both congruences.[tex]6x + 4y \equiv 6 ~~(mod~ 631)~~~~--(3)[/tex]
[tex]6x + 9y \equiv 6 ~~(mod~ 631)~~~~--(4)[/tex]

Subtracting gives : [tex]5y \equiv 0~~ (mod~631)[/tex]

What does this tell you about 'y' ? Plug that back in and figure out what 'x' should be.
 
Wow, I am retarded :smile: ! Thanks for pointing that out Gokul. Hmm, 3 times 3 is 9, and not 6, interesting! :smile: Thanks Gokul!
 
[tex]2x + 3y \equiv 2 mod 631[/tex]
[tex]3x + 2y \equiv 3 mod 631[/tex]

Did you notice that the right hand side is the same as the coefficients of x on the left? Hmm, suppose x= 1?
 
HallsofIvy said:
Did you notice that the right hand side is the same as the coefficients of x on the left? Hmm, suppose x= 1?
That's the clever way to do it. Us mortals have to turn the cranks... :biggrin:
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
2
Views
2K