Extended euclidian algorithm problem (HELP )

  • Thread starter Thread starter Mathman23
  • Start date Start date
  • Tags Tags
    Algorithm
Click For Summary

Homework Help Overview

The discussion revolves around the application of the extended Euclidean algorithm to solve the equation 9x - 65y = 1. The original poster expresses difficulty in understanding the extended version of the algorithm, despite being familiar with the standard Euclidean algorithm.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the nature of the problem, questioning what the original poster intends to achieve with the equation. There are attempts to clarify the process of finding integer solutions for x and y that satisfy the equation using the extended Euclidean algorithm.

Discussion Status

Some participants provide insights into the steps involved in the extended algorithm, mentioning the need to solve for remainders and substitute solutions. However, there is a lack of detailed step-by-step guidance, and the original poster continues to seek clarification on the process.

Contextual Notes

The original poster indicates a desire for a structured explanation of the extended Euclidean algorithm, suggesting that they are looking for a methodical approach to finding integer solutions.

Mathman23
Messages
248
Reaction score
0
Extended euclidian algorithm problem (HELP!)

Hi

I have this here example problem:

9x - 65y = 1

I'm suppose to use the extended euclidian algorithm, but it has given me such much trouble.

I get the regular euclidian algorithm, but not the extended one.

Therefore if there is some good soul out there who would be so kind to explain the extended algorithm using this example I would be much greatful :-)

Sincerley and God Bless

Fred
 
Physics news on Phys.org
One difficulty I have is that I don't see a problem here! An equation is not a problem. What do you want to do with the equation? Since you mention the (extended) Euclidean algorithm, are you trying to find integer values of x and y that satisfy the equation?

I notice that 9 divides into 65 3 times with a remainder of 2 and that 2 divides into 9 4 times with a remainder of 1.

In other words 9- 4(2)= 1 and 2= 65- 7(9). Does that help?
 
Last edited by a moderator:
Hi and thank you for your answer,

As I wrote in my earlier post I know how to use the standard euclidian algorithm and thereby finding the gcd(a,b).

Having this in my mind is there an recipe that I can follow then I need to find an x,y this satisfies:

ax + by = gcd(a,b)

I know its the extended euclidian algorithm which I need to use. Would You please explain to me step by step, how by using ex.euclid that I'm able to find x,y ?

Best Regards and God Bless

Fred
 
yes, you solve for the remainders and substitute the solution, collect the terms and solve for the next remainder, then substitute and collect terms, etc.
 
Can you please elaborate :-)

Lets say we have 7x - 50y = 1 = gcd(7,50)

How do I go about solving this equation using ex. euclid ?

/Fred

ComputerGeek said:
yes, you solve for the remainders and substitute the solution, collect the terms and solve for the next remainder, then substitute and collect terms, etc.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
9
Views
3K
Replies
3
Views
2K
Replies
4
Views
2K
Replies
14
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 11 ·
Replies
11
Views
4K