Extended Euclidean Algorithm Example

  Рет қаралды 307,472

John Bowers

John Bowers

Күн бұрын

In this video I show how to run the extended Euclidean algorithm to calculate a GCD and also find the integer values guaranteed to exist by Bezout's theorem.

Пікірлер: 284
@craigtyle
@craigtyle 6 жыл бұрын
Super clear - the point about treating the underlined numbers as variables was key.
@user-hh6lb4rx1c
@user-hh6lb4rx1c 4 жыл бұрын
Dude taught in 15 minutes what my boolean algebra teacher couldn't in a week.
@billygraham5589
@billygraham5589 4 жыл бұрын
Isn't it the truth! ; ) lol And they say those that can't do, teach... not true. Those that can't do, can't teach, and those that can teach, we are lucky to be able to learn from them, because there are so many that can't teach, and can't do... a miserable lot they are.
@bakangsbakho8852
@bakangsbakho8852 4 жыл бұрын
Euclid and Bezout were on drugs that day
@panos13ole
@panos13ole 3 жыл бұрын
lmao
@rayyisbaeee
@rayyisbaeee 3 жыл бұрын
@@panos13ole true
@KP-sg5ni
@KP-sg5ni 3 жыл бұрын
lol
@epicm999
@epicm999 8 ай бұрын
Lol
@isiraadithya
@isiraadithya 3 ай бұрын
facts
@elChico-TV
@elChico-TV 6 жыл бұрын
Best and simplest explanation on KZfaq . Thanks
@nayefalsalahat9928
@nayefalsalahat9928 3 жыл бұрын
ds
@kevinramdass8608
@kevinramdass8608 4 жыл бұрын
Treating the underlined numbers as variables was a game changer...Thank you so much @John Bowers
@michellemason8503
@michellemason8503 4 жыл бұрын
Showing the underlining of the numbers really was the missing link for my brain to understand this! Thank you!
@52cent
@52cent 4 ай бұрын
This guy is the best explanator of such a complicated thing. Everything in simple words and step by step. THANKS
@stevewest6133
@stevewest6133 4 жыл бұрын
This is the best video I've seen on the extended Euclidean. The pointer at 9:50- to treat the number as if they were variables- is a critical step for people learning this for the first time. A lot of other videos speed through this critical step.
@jimmyjay5825
@jimmyjay5825 5 жыл бұрын
Thank you for this video! Been trying to get this right for quite some time and have watched several other lessons. When you said to treat the numbers as variables was really when it became clear to me! Well done! You really saved me from failing my exam!
@dugannash9109
@dugannash9109 5 ай бұрын
GREAT explanation. As others have noted, treating the numbers as variables is what ultimately unlocked this for me. It's so unlike anything I've done previously in my limited math experience, I could not tell what was happening until this video made it clear. Thanks a lot!
@ethann8827
@ethann8827 5 жыл бұрын
The perfect math video doesn’t exi-
@BittiKit
@BittiKit 5 жыл бұрын
Wonderful explanation. I watched several videos, and this was the only one that really made me understand the substitution process. Thanks!
@user-sr1bv1tu5e
@user-sr1bv1tu5e 4 жыл бұрын
I missed a day in a prep course for the university and that was the subject. you made it so clear what they were talking about on the next day, thank you so much!!
@4everThoughtful
@4everThoughtful 3 жыл бұрын
This is an absolutely excellent explanation for Bezout's theorem! Thank you!
@wrx1th873
@wrx1th873 Жыл бұрын
the greatest video of all time. watched 10 different videos on the same topic but they all have 1 thing in common, they dont tell you the real deal, they just assume you already know that 1 thing so they quickly brush it off. The whole underline as a variable thing is a game changer and what made me understand. Thank you.
@creatorofimages7925
@creatorofimages7925 11 ай бұрын
Imagine a video, that is not intended to show, how to calculate the private exponent d in RSA with the extended euclidean algorithm, doing the best job of providing a step by step solution, with no holes or skips in it. Really good work! Your video is better than any RSA private exponent calculation video for understanding how the retreive d.
@simpleTheMister
@simpleTheMister 6 ай бұрын
that's exactly why im here damn
@kristenwiley8869
@kristenwiley8869 2 жыл бұрын
This was so much easier to understand than my textbook. Thanks a million!
@johnbowers5447
@johnbowers5447 2 жыл бұрын
Great to hear!
@illyias
@illyias 3 ай бұрын
Absolutely phenomenal explanation, goes over every little detail so you can't possibly feel lost at any one step. Couldn't for the life of me figure it out with the textbook or the other weird videos where they use a table and formulas that seemingly come out of nowhere, but this made it abundantly easy to understand. One watch and I could execute it flawlessly :)
@ya00278
@ya00278 4 жыл бұрын
I'm so lucky to find your video! It's clear and easy to understand. I'm struggling in my class. your video just saved my life!
@LuisHernandez-if3dc
@LuisHernandez-if3dc 2 ай бұрын
The absolute bestest explanation I could find for this, THANK YOU!!
@justinlangley1056
@justinlangley1056 3 жыл бұрын
It works really well and the video was really well done! Having grown accustomed to a lot of algebra, calculus, trig, etc. its hard to start treating numbers like variables, but that made it click for me. However, I don't feel like the simplifying aspect was explained as well as it could have been, which is an extension of what I mentioned in the previous sentence. To clear things up: After each substitution, in order to simplify, distribute the co-efficient (if we're still thinking in terms of variables) to the lower value in each term. If it confuses you, just put both in parentheses, distribute to the smaller value, and re-write in ascending order on a new line. Also, yes, you need to simplify after each substitution, its too easy to lose track of where to distribute, and you'll probably mangle where you put your parentheses causing you to distribute improperly. Following this, we'll properly build up to the input values we used to compute our GCD originally. You should be able to simplify to a pair of numbers every time that make sense for your next substitution. If you don't follow this you'll probably get a garbage answer from making a mistake when simplifying. You can follow in the example below how its done. Example: Find s and t, where: 240s + 46t = gcd(240, 46) // Perform our GCD calculations gcd(240, 46) 240 = 46(5) + 10 46 = 10(4) + 6 10 = 6(1) + 4 6 = 4(1) + 2 4 = 2(2) + 0 // Re-writing according to the video (numbered for referencing): Equation 3: 240 - 46(5) = 10 Equation 2: 46 - 10(4) = 6 Equation 1: 10 - 6(1) = 4 Equation 0: 6 - 4(1) = 2
@0jas.
@0jas. 3 жыл бұрын
This was a great explanation. I don't think any other teacher tells you to treat those underlined numbers as variables. That was pretty helpful.
@4everThoughtful
@4everThoughtful 3 жыл бұрын
Hey, it's my first time hearing that ALSO and I'm a teacher!! 😌😌 I'm going to being using his techniques! He's an awesome teacher
@angieCity90
@angieCity90 3 жыл бұрын
This was such a wonderful explanation. Straight to the point. I dig it
@abdelrahmanm.6215
@abdelrahmanm.6215 3 жыл бұрын
By far the best explanation iv seen on here, thank you so much John.
@ajubenjamin1741
@ajubenjamin1741 4 жыл бұрын
Excellent method John. I have watched many videos about it. But this is fantastic . Thanks
@calculusbitch3577
@calculusbitch3577 2 жыл бұрын
Had been confused my entire life with all these backward substitutionS. Thank you so much for this vid! It helped alot!
@just_bucket
@just_bucket Жыл бұрын
It's a shame we can't mark videos as the best solutions the same way we can do it on forums. This is definitely the best explanation on this topic.
@elaine3867
@elaine3867 11 ай бұрын
right
@SOMESHKHANDELIA
@SOMESHKHANDELIA 3 жыл бұрын
This is the most beautifully explained video on this topic. Thank you so much!
@SahilSingh-yw9mg
@SahilSingh-yw9mg 4 жыл бұрын
Thanks! was stuck at this Algorithm for quite long, you explained it very well in just a few minutes.
@slypete
@slypete 6 жыл бұрын
Thank you, this is the best video on extended Euclidean!
@sherlokholmes7865
@sherlokholmes7865 3 жыл бұрын
Was a challenge to find a video or an article that would explain this algorithm in simple terms. Thank you!
@marveljoseph7096
@marveljoseph7096 5 жыл бұрын
This was an amazing learning video. Thank you so much for making it clear and concise!
@randomfr0g
@randomfr0g 9 ай бұрын
This is the best and most clear explaination I have ever seen. Thank you so much.
@hagenfarrell
@hagenfarrell Жыл бұрын
My professor was speed running this algorithm in class, we covered it in like 10 mins. Thank you for the thorough explanation!
@DRTBerg
@DRTBerg Жыл бұрын
Thank you for providing this excellent explanation on how to use the extended Euclidian algorithm!
@footsoldier12x
@footsoldier12x 2 жыл бұрын
Incredible explanation. Way better than Zybooks.
@valentinenyagah5513
@valentinenyagah5513 5 жыл бұрын
At first I did not understand what my lecturer taught me in class but now I am happy to say i'll ace that exam....T hank you so much
@lazarstojanovic2538
@lazarstojanovic2538 3 жыл бұрын
Amazing video!! Clear, straight forward, and quick and I actually know what I'm doing now.
@seismicdna
@seismicdna Жыл бұрын
this video is awesome. makes the process completely understandable. thanks!
@kokoraiado5409
@kokoraiado5409 Ай бұрын
One of the best videos related to the topic, thank you sir.
@jacobnichols2182
@jacobnichols2182 6 жыл бұрын
Very good! Much easier than the formal explanation!!
@tardigrade2244
@tardigrade2244 4 жыл бұрын
Awesome video! The way you explained the methods are very precise and easy to understand, kudos to you. Thanks a bunch, you are making the world a better place! Cheers
@johnbowers5447
@johnbowers5447 4 жыл бұрын
Glad it helped! Thanks for watching.
@OrenjiArms
@OrenjiArms 5 жыл бұрын
thank you, this part was super confusing but it makes so much more sense now
@salmatasbahji4992
@salmatasbahji4992 6 жыл бұрын
absolutely great. it is amazing how great you explained that. GREAT WORK
@r3dbag
@r3dbag 6 жыл бұрын
The best explanation I've seen so far.
@user-ri2tx7bd7u
@user-ri2tx7bd7u 10 ай бұрын
thank you so much! I literally spent so much time trying to figure out my homework problem but now through your video, I learned how to complete problems like these!
@Sangu_sss
@Sangu_sss 11 ай бұрын
Thanks to you, many questions have been solved. Even though it's been a long time, you've been a good help.
@fayzazzahrar
@fayzazzahrar 4 жыл бұрын
very clear! been struggling with a problem like this and found your video!
@johnbowers5447
@johnbowers5447 4 жыл бұрын
Glad it helped!
@hifriend783
@hifriend783 4 жыл бұрын
Wow! I was struggling so much with the intuition and this finally made things click.
@saurabhsharma359
@saurabhsharma359 6 жыл бұрын
Thank you so much sir i watched multiple videos but everything was complicated and now this is my last video i don't need to watch anything else again thank you sir
@lunatunny7594
@lunatunny7594 8 ай бұрын
this got me through my month-long class in like, a few days. Sooo good goddamn
@ea1766
@ea1766 2 ай бұрын
Just brilliant, the variables was a game changer!
@jameskunstle1674
@jameskunstle1674 4 жыл бұрын
I have a final tomorrow and this just taught me so much- thank you!
@vishnughuge7690
@vishnughuge7690 5 жыл бұрын
i took help of many videos but they were out of my understanding. this video explained me very nicely thanks so much
@dhanaarvina142
@dhanaarvina142 3 жыл бұрын
Thank you so much, John! it's so easy to understand
@sinbadgmail
@sinbadgmail 4 жыл бұрын
one of the best math video i have seen in long time. thank you!
@johnbowers5447
@johnbowers5447 3 жыл бұрын
Glad it was helpful!
@tomseo181
@tomseo181 4 жыл бұрын
Thank you for the clear and concise explanation.
@colebaty1407
@colebaty1407 10 ай бұрын
Excellent breakdown! Thank you!
@shg__
@shg__ 2 жыл бұрын
Great explanation, very much appreciated!
@soumyadeeproy6611
@soumyadeeproy6611 4 жыл бұрын
Made super duper clear,thanks for creating such good contents
@sadeemshehri2748
@sadeemshehri2748 2 жыл бұрын
you made it so so easy! I have an exam tomorrow and I didn't think I would have time to understand it (since it looked so complicated) Thank you!
@johnbowers5447
@johnbowers5447 2 жыл бұрын
Glad it helped!
@Dmccumsey
@Dmccumsey 2 жыл бұрын
This has finally made sense, THANK YOU so much!! 🙏
@saurabhshinde1855
@saurabhshinde1855 4 жыл бұрын
The badass big rule nailed it 👌. Best explaination.. thank you so much
@ButtKraken01
@ButtKraken01 2 жыл бұрын
It all makes sense now. Thank you so much!
@hx4zx
@hx4zx 6 жыл бұрын
You explained it absolutely on point! Thank you!
@bjornolsson9103
@bjornolsson9103 7 ай бұрын
This was super clear, thank you for this!
@sevmone
@sevmone 4 жыл бұрын
You taught me in 15 minutes, while my discrete professor couldn't even teach me this in a whole semester !!!!!!
@nkechiakinwale5081
@nkechiakinwale5081 Жыл бұрын
Really easy to follow and understand, thanks so much
@andrewbrenner9375
@andrewbrenner9375 4 жыл бұрын
Beautifully Explained. Thank you.
@ShaolinMonkster
@ShaolinMonkster 4 жыл бұрын
Underline trick was amazing. Everything cleared out. I'd hope teachers like you [=that make thigns easy , and not teach jargon] had the seat of the teacher and not what is right now on my University.....
@Killernochance
@Killernochance 5 ай бұрын
This was phenomenal! Thank you!
@cmrdecc6516
@cmrdecc6516 4 жыл бұрын
Thanks a ton. God bless you, your family and country :)
@shrouqmakk7676
@shrouqmakk7676 3 жыл бұрын
I asked my friends and watched so Many videos on youtube and still did not get it but thanks to u I get it now. thaankssss
@enquiem3051
@enquiem3051 6 жыл бұрын
Very clean and understandable. Thank you !
@_Ahmed_15
@_Ahmed_15 3 жыл бұрын
Best method of solving this. Every other video makes this so complicated.
@harry-fl6tf
@harry-fl6tf 5 жыл бұрын
Brilliant job Professor!
@rahulmaan2862
@rahulmaan2862 5 жыл бұрын
You made it so simple! Thanks a lot!
@KingofArmageddon20
@KingofArmageddon20 4 жыл бұрын
damn! so clear and straight to the point!!! thank you for this video!!
@TheOscarJB
@TheOscarJB 5 жыл бұрын
It is easy to understand from zero, thank you so much
@uladasplay5242
@uladasplay5242 Жыл бұрын
Fantastic, very helpful video!
@abhishektanwar8070
@abhishektanwar8070 4 жыл бұрын
Really good explanation. Thanks a lot from India.
@jamieghoorbin4526
@jamieghoorbin4526 3 жыл бұрын
Best explanation I've watched on YT 🕺🏿 Thanks 🙂
@johnbowers5447
@johnbowers5447 3 жыл бұрын
Glad you think so!
@shai0123
@shai0123 4 жыл бұрын
very nicely put and clear video. thanks!
@brockobama257
@brockobama257 3 жыл бұрын
Found another underrated golden channel
@damagecontrol7
@damagecontrol7 4 ай бұрын
What a legend! Best explanation.
@lynettemojica6503
@lynettemojica6503 4 жыл бұрын
I was having trouble with the back substitution but this helps, thanks.
@lucaswomersley2143
@lucaswomersley2143 3 жыл бұрын
I was so confused with this at school and ngl kind of struggling but this has helped so much
@kaiszer3921
@kaiszer3921 5 жыл бұрын
This is a perfect explanation, thank yoi very much!
@insi6358
@insi6358 5 жыл бұрын
the only egcd algorithm video that actually explains how to do it
@MariiaKlochko
@MariiaKlochko 2 жыл бұрын
thanks a mill! very well explained
@zanthiel2009
@zanthiel2009 8 ай бұрын
Underline as variable! Thank you!
@rongliao9255
@rongliao9255 3 жыл бұрын
Great tutorial! Thanks a lot Master Teacher!
@murdamurth
@murdamurth 3 жыл бұрын
You taught this better than UC Berkeley. Thank you very much!
@samsunnahar9175
@samsunnahar9175 Жыл бұрын
Thanks a lot for excellent explanation!!!
@business-hy3lb
@business-hy3lb 5 жыл бұрын
Is it complusary to place s with 56 and t with 15?, Cuz 56 is greater than 15, or something in bezouts theorem .
@sammie1824
@sammie1824 Жыл бұрын
thank you - this couldn't have been clearer!!!
@nawderstokes2258
@nawderstokes2258 4 жыл бұрын
Thanks ! I had to adapt it to polynomials but works the same. Beautiful !
@davidlp3019
@davidlp3019 3 жыл бұрын
Thanks mate excellent explanation. My teacher just reversed it without explaining it.
@salmakishk9759
@salmakishk9759 3 жыл бұрын
Thank you so much for your help!!
@miclaszlo8420
@miclaszlo8420 5 жыл бұрын
Great video, very helpful!
Bézout's identity: ax+by=gcd(a,b)
18:20
blackpenredpen
Рет қаралды 78 М.
AES Explained (Advanced Encryption Standard) - Computerphile
14:14
Computerphile
Рет қаралды 1,2 МЛН
Каха заблудился в горах
00:57
К-Media
Рет қаралды 5 МЛН
Extended Euclidean Algorithm - Example (Simplified)
7:40
Shrenik Jain
Рет қаралды 117 М.
GCD, Bezout, and Modular Inverses | The Extended Euclidean Algorithm
22:21
What's special about 277777788888899? - Numberphile
14:24
Numberphile
Рет қаралды 2,2 МЛН
"Only Carlsen Could Play Such A Move And Not Feel Like A Fool"
12:38
Modular exponentiation
11:37
GVSUmath
Рет қаралды 282 М.
A* (A Star) Search Algorithm - Computerphile
14:04
Computerphile
Рет қаралды 1,1 МЛН
The SAT Question Everyone Got Wrong
18:25
Veritasium
Рет қаралды 12 МЛН
Using Euclidean algorithm to write gcd as linear combination
8:31
Joshua Helston
Рет қаралды 179 М.
He Used All The Sauce On 1 Slice Of Pizza🤪😂
0:12
BorisKateFamily
Рет қаралды 37 МЛН
настоящий чемпион
0:59
QorabogTV
Рет қаралды 8 МЛН
Этот парень написал картину... 😎
0:29
Глеб Рандалайнен
Рет қаралды 7 МЛН
Rang Pi Liya Mama 😂 #shorts #tiktokvideo #funnyshorts #comedy #ytshorts
0:46
Sukhasan Ka Rahman Bhai
Рет қаралды 30 МЛН
小路飞跟姐姐去哪里了#海贼王#路飞
0:45
路飞与唐舞桐
Рет қаралды 22 МЛН