How Do I Derive Values of x and y Using Extended Euclid's Algorithm?

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

Homework Help Overview

The discussion revolves around deriving values of x and y from the linear combination of two numbers, specifically using the Extended Euclid's Algorithm. The original poster presents a problem involving the numbers 403 and 3263, aiming to express a specific linear combination that results in 26.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to apply the Extended Euclid's Algorithm to find integers x and y that satisfy the equation 403x + 3263y = 26. They express confusion about how to derive x and y from their intermediate results. Other participants suggest comparing the derived linear combination with the original equation to identify the coefficients for x and y.

Discussion Status

The discussion is ongoing, with participants providing guidance on how to manipulate the equations to find the desired values. There is a focus on ensuring clarity in the steps taken to relate the derived equation back to the original problem.

Contextual Notes

Participants are working under the constraints of the Extended Euclid's Algorithm and the specific values provided in the problem. The original poster expresses urgency and seeks clarification on the steps involved in deriving the coefficients.

Bob19
Messages
71
Reaction score
0
extended euclid question (URGENT!)

Hi
Having the following linear combination of the two divisors a = 403 and b = 3263
403x + 3263y = 26
gcd(a,b) = 13
Using the extended euclid I get
3263 = 8*403 + 39 (1)
403 = 10 * 39 + 13 (2)
39 = 13 * 3
therefore gcd(a,b) = 13
Then using extended euclid to find x,y
I rewrite (1) and (2)
13 = 403 - 10 * 39 (z)
39 = 3263 - 8*403 (t)
According to ex.euclid I insert t into z and get the following:
13 = 403 - 10 * 3263 + 80 * 403

My question is how do I from this result derive x,y ?

Sincerley and God bless You all.

/Bob
 
Physics news on Phys.org
You're very close. Use
Bob19 said:
13 = 403 - 10 * 3263 + 80 * 403
to write 13 as a linear combination of 403 and 3263. Then compare with your desired 403x + 3263y = 26 equation.
 
Thank You for Your answer,

What do You mean ?

13 = 403 - 10 * 3263 + 80 * 403 can be divided by 13, but how does this allow be to find x,y ??

/Bob

shmoe said:
You're very close. Use
to write 13 as a linear combination of 403 and 3263. Then compare with your desired 403x + 3263y = 26 equation.
 
Last edited:
your original eqn is,

403x + 3263y = 26

or,

26 = 403x + 3263y

and you have,

13 = 403 - 10 * 3263 + 80 * 403 = 403*81 - 10*3263

or,

26 = 403*162 - 3263*20

Looking at the bolded lines, can you now see what the solutions for x and y are ?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
2
Views
2K
Replies
9
Views
2K
Replies
6
Views
2K
Replies
13
Views
2K
Replies
5
Views
3K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K