The Extended Euclidean algorithm

Поділитися
Вставка

КОМЕНТАРІ • 212

  • @Adir9
    @Adir9 2 роки тому +63

    One of the best explanations. Can't understand why professors have such hard time explaining this, looks so simple here! Thanks a lot.

    • @roobiki4494
      @roobiki4494 11 місяців тому +3

      It would be nice if one day we get to the place where we can celebrate a job well done by one educator, without turning around and shitting on others.

    • @matthewRR03
      @matthewRR03 7 місяців тому +8

      @@roobiki4494 It's a valid criticism of other educators. Especially considering that the most arrogant and self-righteous ones are always the worst at teaching.

    • @casamigosocean
      @casamigosocean 16 днів тому

      @@roobiki4494 Keep licking those boots

  • @mg7753
    @mg7753 8 років тому +171

    Finnaly a good explanation, it's such an easy concept but pretty hard to grasp.

  • @LastCaressTube
    @LastCaressTube 10 років тому +21

    Finally a resource that clearly explains what's going on in finding the coefficients of a linear combination. Well done!

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

    this isn’t too bad but my teacher wants to make it hard talking at 5000mph smh thank you so much

  • @ekstrand26
    @ekstrand26 6 років тому +15

    Thank you!!!!! Like seriously I have been pulling my hair out trying to understand this. This video actually made it simple and easy to understand. I appreciate what you did, and it made the whole process MUCH easier!!

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

    I was in homework panic and couldn't find a clear explanation on the Extended Euclidean algorithm. This is one of the clearest explanation I had on the topic. Thank you soooo much!

  • @coxandrewj
    @coxandrewj 5 місяців тому +1

    My lands. I cannot tell you how much time I have spent trying to understand this. This finally, finally, finally, gave me the explanation I needed.

  • @MrDivad006
    @MrDivad006 8 років тому +22

    Excellent explanation, an annotation to the next video at the end would be cool..

  • @ionmech
    @ionmech 9 років тому +3

    Thank you so much, I went into office hours and he seemed to giggle that it did not make sense to me from the one example we worked in class like this, but now I actually get it!

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

    I know this video is from 2014 but I just watched this to make sense of my Discrete Math 2 class and wanted to say thank you for explaining this in such a simple way that makes perfect sense!

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

    In the last example he wanted 1180/482. Using a ;pocket calculator this reduces to 241/590. Write out the continued fraction representation = [2, 2, 4, 3, 8] and underneath write the convergents, = [1/2, 2/5, 9/22, 29/ 71, 241/590] For an odd number of convergents (we have 5), the rule is to extract the denominatlor to the left of the rightmost denominator, that is, 71. That's the answer as stated in the lesson.

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

    Thank you so much for this clear explanation! I have struggled with this algorithm for a while, but you made it so easy to understand!

  • @BaD8DeviL
    @BaD8DeviL 9 років тому +1

    I've read a book many times + I watched many videos..
    but this one was the best explaining this algorithm !!
    thanks a lot ;)

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

    Excellent stuff. Between your Multiplicative inverses video, and this one, you've helped me greatly in my Cryptography and Security class.

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

    omg Tysm, I was studying affine cipher and I didn’t even know number theory existed and this made it so easy to understand and to decrypt affine ciphers. Thank you

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

    Thanks a million. Your explanation is very clear. It helps me a lot since I will take the midterm exam tomorrow.

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

    My professor finished 3 problems and sped through the 2nd portion (the harder part) of these problems in less time than this video is in length.
    Thank you for taking the time to explain it carefully. Better to fully understand one problem than to be confused while the professor rushes through 3.

  • @SamCarter-p6j
    @SamCarter-p6j 11 місяців тому

    You sir are a legend. Made such a complicated topic to me easy.

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

    Thank you so, so much! I had such a hard time grasping the weird arithmetic of these problems until I ran into your video

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

    Thank you so much. By far the best explanation.

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

    brilliant explanation..been struggling with this over a day and here we are done in just 12 mins..Thanks a lot!!

  • @TheHeadlets
    @TheHeadlets 6 років тому +2

    Thank you so much for this video! Extremely helpful and clear explanation.

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

    you have no idea how many times i have rewatched this over the past few years
    i keep forgetting :(

  • @alvinkangoo2857
    @alvinkangoo2857 9 років тому

    This is the best explanation for the Extended Euclidean Algorithm. Thank you very much for this. Greatly appreciated.

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

    good explanation! hope to add more explanation on how to calculate x and y in extended euclidean algorithm

  • @theCheug
    @theCheug 8 років тому

    I have a test tomorrow and this was the only concept that I was just not grasping at all. I now understand it completely. THANK YOU.

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

      what did u get on the test 👀

  • @ثانويةخمسنجوم
    @ثانويةخمسنجوم 5 років тому

    This was the best explanation I receive on this subject.

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

    thanks to this video, i passed my finals exam on my number theory class

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

    Got my discrete math midterm tomorrow, thank you so much, this was super helpful!

  • @jamiejohnson8144
    @jamiejohnson8144 8 років тому

    Excellent explanation...great step-by-step instructions!

  • @jerricaflanagan7928
    @jerricaflanagan7928 9 років тому +1

    This is a much better explanation than my teacher. Thank you!

  • @avyakthaachar2.718
    @avyakthaachar2.718 Рік тому

    Great explanation. Thank you so much 🙏

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

    OMG!!!!! THANK YOU SO MUCH!!! I kept getting stuck on the step towards the last step and you just explained it to where the other vids I watched just neglected to explain that step!

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

    best video that efficiently explained the concept, thanks

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

    This helped so much with a problem I needed to tackle in a week and had no idea, thanks so much!

  • @malharjajoo7393
    @malharjajoo7393 5 років тому +10

    So basically this is just backsubtitution.

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

    Thank u so much. I was literally scratching my head learning this in class!

  • @timothymchale7710
    @timothymchale7710 9 років тому

    Excellent video describing how EEA is used to solve gcd(a,b) = ax+by for {x,y}

  • @sonicrocks2007
    @sonicrocks2007 9 років тому +6

    Best Explanation online.

  • @connorheckman6675
    @connorheckman6675 10 років тому +1

    immensely helpful. Thank you good sir

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

    School got me all mixed up with complicated terms and you made it so easy to grasp, thank you!.

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

    Thank you very much, your video was very helpful explaining the concept that I was having trouble grasping in Discrete Mathmatics.

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

    thank you so much for the video. I finally understood this concept now!

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

    Thanks for the concise explanation

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

    You did a fantastic job. Good teaching.

  • @cheito63
    @cheito63 8 років тому +20

    Sorry guys, but this is not the Extended Euclidean Algorithm. This a procedure called back substitution. en.m.wikipedia.org/wiki/Extended_Euclidean_algorithm

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

      We've learnt it under the name "coefficients de Bézout" and I think it's the exact same thing that is displayed in this video (i.e Extended Euclidean algorithm and this video are the same). But I might be mistaken.

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

      Beautifully said.

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

    this is more effective than my teacher and took like a tenth of the time

  • @pattanaik1007
    @pattanaik1007 9 років тому +1

    Well explained. This is by far the simplest I have seen. Thank you for posting. :)

  • @swapanjain892
    @swapanjain892 9 років тому +4

    This is really well explained.

  • @shadowgaleshale9218
    @shadowgaleshale9218 11 місяців тому

    didnt get it until i found this video. thank u

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

    Great tutoring,wish you were my Lecturer

  • @avizzzy
    @avizzzy 10 років тому

    Not only the best explanation but also the easiest way to remember the steps.

  • @ammaryildirim7721
    @ammaryildirim7721 11 місяців тому

    9 years later here to thank you for your perfect explanation!

  • @user-ro1cc8tz6d
    @user-ro1cc8tz6d 8 місяців тому

    you're truly a good person. be proud!

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

    Advent of Code brought me here

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

    Absolutely excellent explanation! Definitely will help my on my final this Friday!

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

    thank you for the clear workings

  • @chenzhuo9
    @chenzhuo9 9 років тому +20

    What is the next video btw?

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

      The next video is Multiplicative inverses mod n
      as posted by
      @Celebrian 1 year ago

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

    Wonderfully explained, thank you.

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

    My professor is too bad at teaching this. Thank you so much
    Love from Nepal🇳🇵

  • @DM-su6li
    @DM-su6li 2 роки тому

    This was incredibly useful, thank you

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

    Best video on UA-cam on this topic . Thanks ....

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

    Thanks man! you helped me a lot! greetings from Hungary!

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

    brilliantly explained

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

    THANK YOU! Wish my math teacher was able to teach this half as good....

  • @black_thorned_roses
    @black_thorned_roses 9 років тому +1

    Thank you SO MUCH! I think I actually understand it now

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

    Thanks! Very helpful and easy to understand

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

    Thanku sir it's too easy to understand . Well explained .

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

    Thank you. Beautifully explained.

  • @spencerwong1993
    @spencerwong1993 5 років тому +2

    Bless, UMich barely even taught this lol

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

    Great explanation!

  • @michelledubbeldam9298
    @michelledubbeldam9298 Годину тому

    if someone could explain how it works when the outcome of a lineair function is a multiply of the GCD(r,s) . Try: 6600r + 505050r = 150

  • @bindumenon249
    @bindumenon249 8 років тому

    It is indeed a beautiful explanation. It helped me a lot

  • @JohnNguyen-vy2cn
    @JohnNguyen-vy2cn Рік тому

    5:41 I too, use the Euclidean Algorithm to find god

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

    Extremely helpful. Thank you.

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

    Dude you are the best, thanks a lot!

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

    You're the best best best omggg this helped me so much thanks a lot! 😭❤❤

  • @rikenm
    @rikenm 7 років тому

    This is Extended:
    s_0 , s_1, t_1, t_0 are constant.
    r_i = s_i a +t_i b
    s_i is a recursive function such that s_i =( s_i-2) +( s_i-1)(q_i-1)
    t_i is also similar.
    q_i = Floor(r_i-2/r_i-1)

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

    Wow who knew Kermit was such a great math teacher!

  • @DUDE09JWEJVNUIBYUHBU
    @DUDE09JWEJVNUIBYUHBU 10 років тому

    you're fucking amazing i searched like 2 hours for explain how to do this and all the others was so understandble and when i watched that i just so quick understood it your explains are so good thank you so much you are awsome!!!!!!!!!

  • @NB19273
    @NB19273 8 років тому

    very clear and well structured explanation, thanks a lot :)

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

    This guy is a legend

  • @FoamySoaps
    @FoamySoaps 10 років тому

    Oh thank-you so much. I was looking all over how to do this

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

    easy to understand, tks!

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

    well explained sir !!!

  • @matt4825
    @matt4825 8 років тому

    this is amazing. Thank you so much! I had been stuck for hours!

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

    Hello Sir,
    Could you please tell me why is it important to do extended Euclidean algorithm? You said well find that out in a next video but couldn't find any video. Please help!

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

    perfect explanation!!

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

    Thanks man!!
    Help alot!!

  • @beppenonantola216
    @beppenonantola216 7 років тому

    Thanks. Very clear!!!

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

    Thank you sir, it really helped alot

  • @RondellKB
    @RondellKB 8 років тому

    This was extremely helpful, thanks a lot

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

    Thank you so much for this! I was stuck with discrete math and this helped so much! Hope ur doing well

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

    Legend

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

    Awesome..
    Thank You

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

    Thanks. It helps me a lot

  • @Kevin-gm9ll
    @Kevin-gm9ll 6 років тому

    such an amazing video thank you!

  • @deven700
    @deven700 9 років тому

    helped me out alot; thank you

  • @shawnyyboyy
    @shawnyyboyy 5 років тому +2

    Next video hes talking about: ua-cam.com/video/_bRVA5b4sb4/v-deo.html

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

    2021 anyone??