Using the Euclidean Algorithm to Find Values for x and y in Linear Combinations?

Click For Summary
SUMMARY

The discussion focuses on using the Euclidean Algorithm to find integer values for x and y in the linear combination equation 154x + 260y = 4. The user demonstrates the process of applying the algorithm in reverse, detailing the steps taken to derive the coefficients. Ultimately, the values obtained are x = -54 and y = 32, confirming the solution to the equation through systematic back substitution.

PREREQUISITES
  • Understanding of the Euclidean Algorithm
  • Familiarity with linear combinations
  • Basic algebraic manipulation skills
  • Knowledge of integer solutions in Diophantine equations
NEXT STEPS
  • Study the Extended Euclidean Algorithm for finding integer solutions
  • Explore Diophantine equations and their applications
  • Learn about linear combinations in number theory
  • Practice solving similar linear equations using the Euclidean Algorithm
USEFUL FOR

Mathematicians, students studying number theory, educators teaching algebra, and anyone interested in solving linear Diophantine equations.

Caldus
Messages
106
Reaction score
0
I need to be able to plug in appropriate x and y values for:

154x + 260y = 4

I guess this is done by working the euclidean algorithm backwards. But how do you do that?
 
Physics news on Phys.org
Well, it's been like forever and a day since I did problems like this, but I think it goes something like this:

154x + 260y = 4

260 = (1)*154 + 106
154 = (1)*106 + 48
106 = (2)*48 + 10
48 = (4)*10 + 8
10 = (1)*8 + 2
8 = (4)*2

4 = 2*2 = 2*(10-8) = 2*(10-(48-4*10))
= 10*10 - 2*48
= 10*(106 - 2*48) - 2*48
= 10*106 - 22*48
= 10*(260 - 154) - 22*(154-106)
= 10*260 - 32*154 + 22*106
= 10*260 - 32*154 + 22*(260-154)
= 32*260 - 54*154

so x = -54 and y = 32
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 19 ·
Replies
19
Views
4K