Master the Extended Euclidean Algorithm: GCD, Bezout's Theorem & Modular Inverses π’
Learn how to solve equations like ax + by = n using the Extended Euclidean Algorithm. Perfect for understanding GCD, Bezout's identity, and modular inverses. Watch now!

William Y. Feng
9.6K views β’ Jan 30, 2022

About this video
In this video, I talk about the Extended Euclidean Algorithm, a method for solving integer equations of the form ax + by = n.
Wikipedia article: https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm
Code: https://github.com/womogenes/extended-euclidean-algo
00:00 Intro
00:34 The gcd function
01:48 The standard Euclidean algorithm
05:28 Implementing the standard Euclidean algorithm
07:22 Extending the Euclidean algorithm
08:08 Worked example
15:14 Generalization
16:40 Implementing the Extended Euclidean Algorithm
18:42 Application - modular inverses
21:16 Summary
Wikipedia article: https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm
Code: https://github.com/womogenes/extended-euclidean-algo
00:00 Intro
00:34 The gcd function
01:48 The standard Euclidean algorithm
05:28 Implementing the standard Euclidean algorithm
07:22 Extending the Euclidean algorithm
08:08 Worked example
15:14 Generalization
16:40 Implementing the Extended Euclidean Algorithm
18:42 Application - modular inverses
21:16 Summary
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
9.6K
Likes
280
Duration
22:21
Published
Jan 30, 2022
User Reviews
4.6
(1) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now