Extended Euclid's Algorithm

Learn the Extended Euclid's algorithm that can be used to solve equations of the form Ax + By = C.

We'll cover the following...

What is the Extended Euclid’s algorithm?

The Extended Euclid’s algorithm is used to find the solution of equations of the form Ax + By = C , where C is a multiple of divisor of A and B, or in other words C = gcd(A, B). Extended Euclid’s works in the same manner as the Euclid’s algorithm. Let the equation be Ax + By = 1 (let the solutions of this equation be x’ and y’). We have been given that gcd(A, B) is 1, then the solutions of equation Ax + By = k where k is a multiple ...