Extended Euclidean Algorithm Example

Поділитися
Вставка
  • Опубліковано 31 гру 2024

КОМЕНТАРІ • 295

  • @craigtyle
    @craigtyle 6 років тому +231

    Super clear - the point about treating the underlined numbers as variables was key.

  • @user-hh6lb4rx1c
    @user-hh6lb4rx1c 4 роки тому +171

    Dude taught in 15 minutes what my boolean algebra teacher couldn't in a week.

    • @billygraham5589
      @billygraham5589 4 роки тому +7

      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 роки тому +295

    Euclid and Bezout were on drugs that day

  • @elChico-TV
    @elChico-TV 7 років тому +61

    Best and simplest explanation on UA-cam . Thanks

  • @jnellyproductions8018
    @jnellyproductions8018 4 місяці тому +3

    6 years later and you just helped me understand the extended part of euclidean algorithm after watching probably close to 20 other videos. Thank you!

  • @stevewest6133
    @stevewest6133 4 роки тому +21

    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.

  • @52cent
    @52cent 9 місяців тому +1

    This guy is the best explanator of such a complicated thing. Everything in simple words and step by step. THANKS

  • @wrx1th873
    @wrx1th873 2 роки тому +2

    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.

  • @kevinramdass8608
    @kevinramdass8608 4 роки тому +34

    Treating the underlined numbers as variables was a game changer...Thank you so much @John Bowers

  • @annorome
    @annorome Рік тому +1

    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.

  • @michellemason8503
    @michellemason8503 4 роки тому +21

    Showing the underlining of the numbers really was the missing link for my brain to understand this! Thank you!

  • @dugannash9109
    @dugannash9109 10 місяців тому +1

    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!

  • @virtual500
    @virtual500 5 років тому +27

    The perfect math video doesn’t exi-

  • @hagenfarrell
    @hagenfarrell Рік тому

    My professor was speed running this algorithm in class, we covered it in like 10 mins. Thank you for the thorough explanation!

  • @just_bucket
    @just_bucket Рік тому +7

    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.

  • @0jas.
    @0jas. 3 роки тому +12

    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 роки тому +2

      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

  • @ya00278
    @ya00278 5 років тому +8

    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!

  • @kristenwiley8869
    @kristenwiley8869 3 роки тому +3

    This was so much easier to understand than my textbook. Thanks a million!

  • @jimmyjay5825
    @jimmyjay5825 5 років тому +4

    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!

  • @justinlangley1056
    @justinlangley1056 4 роки тому +5

    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

  • @valentinenyagah5513
    @valentinenyagah5513 5 років тому +6

    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

  • @illyias
    @illyias 8 місяців тому

    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 :)

  • @randomfr0g
    @randomfr0g Рік тому

    This is the best and most clear explaination I have ever seen. Thank you so much.

  • @ajubenjamin1741
    @ajubenjamin1741 4 роки тому +2

    Excellent method John. I have watched many videos about it. But this is fantastic . Thanks

  • @BittiKit
    @BittiKit 5 років тому +3

    Wonderful explanation. I watched several videos, and this was the only one that really made me understand the substitution process. Thanks!

  • @4everThoughtful
    @4everThoughtful 3 роки тому +2

    This is an absolutely excellent explanation for Bezout's theorem! Thank you!

  • @abdelrahmanm.6215
    @abdelrahmanm.6215 3 роки тому +1

    By far the best explanation iv seen on here, thank you so much John.

  • @LuisHernandez-if3dc
    @LuisHernandez-if3dc 8 місяців тому

    The absolute bestest explanation I could find for this, THANK YOU!!

  • @sherlokholmes7865
    @sherlokholmes7865 4 роки тому

    Was a challenge to find a video or an article that would explain this algorithm in simple terms. Thank you!

  • @יואבוקנין-ז1ח
    @יואבוקנין-ז1ח 5 років тому +1

    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!!

  • @brockobama257
    @brockobama257 4 роки тому +2

    Found another underrated golden channel

  • @SOMESHKHANDELIA
    @SOMESHKHANDELIA 3 роки тому +2

    This is the most beautifully explained video on this topic. Thank you so much!

  • @sgugneja
    @sgugneja 4 роки тому +7

    You taught me in 15 minutes, while my discrete professor couldn't even teach me this in a whole semester !!!!!!

  • @angieCity90
    @angieCity90 4 роки тому +3

    This was such a wonderful explanation. Straight to the point. I dig it

  • @LeslyCatotaLopez
    @LeslyCatotaLopez Рік тому

    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!

  • @kokoraiado5409
    @kokoraiado5409 7 місяців тому

    One of the best videos related to the topic, thank you sir.

  • @ShaolinMonkster
    @ShaolinMonkster 4 роки тому +1

    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.....

  • @sadeemshehri2748
    @sadeemshehri2748 3 роки тому +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!

  • @footsoldier12x
    @footsoldier12x 3 роки тому +1

    Incredible explanation. Way better than Zybooks.

  • @tardigrade2244
    @tardigrade2244 4 роки тому +1

    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

  • @DRTBerg
    @DRTBerg 2 роки тому

    Thank you for providing this excellent explanation on how to use the extended Euclidian algorithm!

  • @seismicdna
    @seismicdna Рік тому +1

    this video is awesome. makes the process completely understandable. thanks!

  • @shrouqmakk7676
    @shrouqmakk7676 4 роки тому +1

    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

  • @_Ahmed_15
    @_Ahmed_15 4 роки тому

    Best method of solving this. Every other video makes this so complicated.

  • @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 7 років тому +3

    Thank you, this is the best video on extended Euclidean!

  • @insi6358
    @insi6358 5 років тому

    the only egcd algorithm video that actually explains how to do it

  • @lunatunny7594
    @lunatunny7594 Рік тому

    this got me through my month-long class in like, a few days. Sooo good goddamn

  • @r3dbag
    @r3dbag 6 років тому

    The best explanation I've seen so far.

  • @fayzazzahrar
    @fayzazzahrar 4 роки тому +3

    very clear! been struggling with a problem like this and found your video!

  • @OrenjiArms
    @OrenjiArms 6 років тому +1

    thank you, this part was super confusing but it makes so much more sense now

  • @marvel.joseph
    @marvel.joseph 6 років тому +2

    This was an amazing learning video. Thank you so much for making it clear and concise!

  • @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

  • @shg__
    @shg__ 2 роки тому

    Great explanation, very much appreciated!

  • @muhammedhalilovic8561
    @muhammedhalilovic8561 3 місяці тому

    amazing explanation. this helped me for my discrete math course! God bless!

  • @Sangu_sss
    @Sangu_sss Рік тому

    Thanks to you, many questions have been solved. Even though it's been a long time, you've been a good help.

  • @lazarstojanovic2538
    @lazarstojanovic2538 4 роки тому

    Amazing video!! Clear, straight forward, and quick and I actually know what I'm doing now.

  • @davidlp3019
    @davidlp3019 3 роки тому

    Thanks mate excellent explanation. My teacher just reversed it without explaining it.

  • @murdamurth
    @murdamurth 3 роки тому

    You taught this better than UC Berkeley. Thank you very much!

  • @ysteingundersen8841
    @ysteingundersen8841 3 місяці тому

    you saved me!!!! Everybody else have sucked. None has told me to treat the underlined numbers as variables. Understood it at once when u said that :D

  • @saurabhshinde1855
    @saurabhshinde1855 4 роки тому +1

    The badass big rule nailed it 👌. Best explaination.. thank you so much

  • @jamieghoorbin4526
    @jamieghoorbin4526 3 роки тому

    Best explanation I've watched on YT 🕺🏿 Thanks 🙂

  • @ea1766
    @ea1766 7 місяців тому

    Just brilliant, the variables was a game changer!

  • @jacobnichols2182
    @jacobnichols2182 6 років тому

    Very good! Much easier than the formal explanation!!

  • @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

  • @lucaswomersley2143
    @lucaswomersley2143 3 роки тому

    I was so confused with this at school and ngl kind of struggling but this has helped so much

  • @shanejordan249
    @shanejordan249 Рік тому

    Way better than my teacher. Thank you

  • @Opethias
    @Opethias 4 роки тому

    The textbook I've been using failed to mention the 'big rule' that you specified. Thank you for making that VERY clear!

  • @abhishektanwar8070
    @abhishektanwar8070 5 років тому

    Really good explanation. Thanks a lot from India.

  • @soumyadeeproy6611
    @soumyadeeproy6611 5 років тому

    Made super duper clear,thanks for creating such good contents

  • @cmrdecc6516
    @cmrdecc6516 5 років тому +4

    Thanks a ton. God bless you, your family and country :)

  • @dhanaarvina142
    @dhanaarvina142 4 роки тому +1

    Thank you so much, John! it's so easy to understand

  • @damagecontrol7
    @damagecontrol7 9 місяців тому

    What a legend! Best explanation.

  • @moonflower1191
    @moonflower1191 10 місяців тому

    Thank you so much!!!!! Still saving lives in 2024!

  • @jameskunstle1674
    @jameskunstle1674 5 років тому +1

    I have a final tomorrow and this just taught me so much- thank you!

  • @hifriend783
    @hifriend783 5 років тому

    Wow! I was struggling so much with the intuition and this finally made things click.

  • @hx4zx
    @hx4zx 7 років тому +7

    You explained it absolutely on point! Thank you!

  • @willsonlaw1243
    @willsonlaw1243 4 роки тому

    Best explanation on youtube

  • @Dmccumsey
    @Dmccumsey 3 роки тому

    This has finally made sense, THANK YOU so much!! 🙏

  • @nkechiakinwale5081
    @nkechiakinwale5081 2 роки тому

    Really easy to follow and understand, thanks so much

  • @tomseo181
    @tomseo181 5 років тому

    Thank you for the clear and concise explanation.

  • @zanthiel2009
    @zanthiel2009 Рік тому

    Underline as variable! Thank you!

  • @salmatasbahji4992
    @salmatasbahji4992 6 років тому

    absolutely great. it is amazing how great you explained that. GREAT WORK

  • @sammie1824
    @sammie1824 2 роки тому

    thank you - this couldn't have been clearer!!!

  • @TheOscarJB
    @TheOscarJB 5 років тому

    It is easy to understand from zero, thank you so much

  • @colebaty1407
    @colebaty1407 Рік тому

    Excellent breakdown! Thank you!

  • @bjornolsson9103
    @bjornolsson9103 Рік тому

    This was super clear, thank you for this!

  • @LittleQuigs
    @LittleQuigs 3 роки тому

    I understand this better now compared to a 2 hour lecture

  • @mobaplayers4534
    @mobaplayers4534 4 роки тому

    Great video thanks a lot.I am soo excited to see , how many times i will use this sh*t in my life time other than exams.

  • @andrewbrenner9375
    @andrewbrenner9375 5 років тому

    Beautifully Explained. Thank you.

  • @ColdFuse96
    @ColdFuse96 Рік тому

    Holy Fucking Shit, man, I have been pulling my hair hour for the last week, maybe 10 days, trying to figure this out from a book in a class I paid $4k for, and you basically taught an entire goddamn chapter, not only in 15 minutes, but in a way that everything fluidly transitioned into the next, with a super clear voice, and with just the right pacing that it didn't make my mind wander somewhere else.
    Thank you. Just, thank you.

  • @rob5393
    @rob5393 2 роки тому

    Hey coming back cuz i failed for 3rd time cryptography and I liked your explanation :)

  • @shai0123
    @shai0123 5 років тому

    very nicely put and clear video. thanks!

  • @MariiaKlochko
    @MariiaKlochko 3 роки тому +1

    thanks a mill! very well explained

  • @nawderstokes2258
    @nawderstokes2258 5 років тому

    Thanks ! I had to adapt it to polynomials but works the same. Beautiful !

  • @KingofArmageddon20
    @KingofArmageddon20 5 років тому

    damn! so clear and straight to the point!!! thank you for this video!!

  • @uladasplay5242
    @uladasplay5242 Рік тому

    Fantastic, very helpful video!

  • @Killernochance
    @Killernochance 10 місяців тому

    This was phenomenal! Thank you!

  • @carlosfernandez6470
    @carlosfernandez6470 4 роки тому +1

    Finally perfect explained

  • @harry-fl6tf
    @harry-fl6tf 5 років тому

    Brilliant job Professor!