Solving Diophantine equation stuck, what do I do next?

  • Thread starter Thread starter jdnhldn
  • Start date Start date
  • Tags Tags
    Stuck
Click For Summary

Homework Help Overview

The discussion revolves around determining the solvability of a Diophantine equation, specifically the equation 61x + 37y = 2. Participants are exploring the use of the Euclidean algorithm to find the greatest common divisor (gcd) and its implications for the equation's solvability.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the process of finding the gcd of the coefficients and express uncertainty about how to express the gcd as a linear combination of the coefficients. There are attempts to clarify the steps involved in the Euclidean algorithm and its application to the problem.

Discussion Status

Some participants have provided guidance on how to express the gcd as a linear combination, while others are questioning whether a quicker method exists to determine the equation's solvability. The conversation reflects a mix of exploration and clarification without reaching a definitive conclusion.

Contextual Notes

Participants are navigating the requirements of expressing the gcd in a specific form and are considering the implications of Bezout's identity in relation to the problem. There is an acknowledgment of the need to work through the steps to fully understand the solution process.

jdnhldn
Messages
9
Reaction score
0

Homework Statement


I am trying to determine if an diophantine equation is solveable or not. And got stuck at one point.

Homework Equations


61x+37y=2

The Attempt at a Solution


I've found the gcd(61,37)=1 by:

61/37=1 %24
37/24=1 %13
24/13=1 %11
13/11=1 %2
11/2=5 %1
2/1=2 %0

So gcd(61,37)=1

I know that I now should go backwards and express gcd(61,37) as a linear combination of61 and 37. But I don't understand it?
 
Physics news on Phys.org
jdnhldn said:

Homework Statement


I am trying to determine if an diophantine equation is solveable or not. And got stuck at one point.

Homework Equations


61x+37y=2

The Attempt at a Solution


I've found the gcd(61,37)=1 by:

61/37=1 %24
37/24=1 %13
24/13=1 %11
13/11=1 %2
11/2=5 %1
2/1=2 %0

So gcd(61,37)=1

I know that I now should go backwards and express gcd(61,37) as a linear combination of61 and 37. But I don't understand it?

you should do like this, it maybe help to see

61 = (1)37 + 24
37 = (1)24 + 13
24 = (1)13 + 11
13 = (1)11 + 2
11 =(5)2 +1

so 1 = 11 - (5)2

you know 2 = 13 - (1)11 and 11 = 24 - (1)13 and similar to 13 and 24

just play with the numbers until you get the form 1 = (...)61 + (...)37
 
annoymage said:
you should do like this, it maybe help to see

61 = (1)37 + 24
37 = (1)24 + 13
24 = (1)13 + 11
13 = (1)11 + 2
11 =(5)2 +1

so 1 = 11 - (5)2

you know 2 = 13 - (1)11 and 11 = 24 - (1)13 and similar to 13 and 24

just play with the numbers until you get the form 1 = (...)61 + (...)37

Thank you, but is there a quick way to see if the equation is solvable or not? Or do I need to go all the way to find out?
 
jdnhldn said:
Thank you, but is there a quick way to see if the equation is solvable or not? Or do I need to go all the way to find out?

You can always solve ax + by = k \text{gcd}(a,b) (This is Bezout's identity and it is solved using the Euclidean algorithm).

Clearly if x',y' solves ax' + by' = \text{gcd}(a,b) then x = kx', y = ky' solves ax + by = k \text{gcd}(a,b), Thus you only have to work on ax' + by' = \text{gcd}(a,b), you can use the hint annoymage gives to prove this once and for all (as well as calculate x' and y' in specific cases where the numbers are given).
 
Thank you, I've got it. Now I saw the lights.
 
The "(n)" made me see it clearly. Thank you so much.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
14
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K