Number Theory | Extended Euclidean Algorithm Example #1

Поделиться
HTML-код
  • Опубликовано: 3 янв 2025

Комментарии • 26

  • @-couchpotato-1572
    @-couchpotato-1572 3 года назад +10

    It only took me 3 minutes to understand this one. My teacher explained it and I didn't get anything from what she has taught. Thanks man✊

  • @jndd7373
    @jndd7373 3 года назад +12

    I've never heard of the extended euclidean algorithm before, but this seems super interesting so I'll learn it :)
    Here is how I solved it, btw (before watching the video):
    123x + 45y = gcd(123, 45)
    Simplify that to 41x + 15y = 1
    let's say k = -y (I just wanted to think of it this way, it's not necessary tho)
    so 41x - 15k = 1
    (41x - 15k) - 3(15x) + 3(15x) = 1
    -4x - 15k + 45x = 1
    4x + 15k - 45x = -1
    let's say k = 3x + n (This is because we want that x term to cancel and n is just some number)
    substitute that into the previous equation:
    4x + 15(3x + n) - 45x = -1
    4x + 15n = -1
    now it's much easier so after a little guess and check, we can see 44 - 45 = -1 works. (It's only one of many other examples)
    that means x = 11 and n = -3
    because earlier we said that k = 3x + n and k = -y so y = -3x - n
    y = -3(11) - (-3) = -33 + 3 = -30
    We see that (x, y) = (11, -30) works, so yay.
    Thanks for the awesome vid!

  • @ltrel0
    @ltrel0 7 месяцев назад

    Been struggling to understand this for a while and you made it beautifully clear, thank you man

  • @youssefelboualaoui8483
    @youssefelboualaoui8483 3 года назад +4

    bro this is literally amazing !
    really helped me out

  • @mehmetfatihdavran8497
    @mehmetfatihdavran8497 4 года назад +6

    man this was absolutaly beautiful

  • @xxrawrgameremo98xx86
    @xxrawrgameremo98xx86 3 года назад +2

    youre an angel sent from heaven! thank you so much, I went from not getting anything to understanding completely! :)

  • @georgesadler7830
    @georgesadler7830 3 года назад +4

    Professor M. Penn. thank you for an excellent lecture on The Extended Euclidean Algorithm.

  • @bonbonpony
    @bonbonpony 3 года назад +3

    00:12 Which "previous video"? This video here is one of the oldest videos on your channel (the 38th video), and the last one about number theory was the 24th video "The Euclidean Algorithm Example 2". I don't see any such proof in that video :q The 37th video is on an entirely different subject (exact differential equations), and there are no other Number Theory videos between 24 and 38.

    • @xenonio4564
      @xenonio4564 Год назад +1

      I also had the same question, but there is this newest video of him proving the same result: ruclips.net/video/E_mU_fCmcxc/видео.html

  • @NF-pk5mo
    @NF-pk5mo 4 года назад +11

    Is this the Mark Zuc of math?

  • @serenaliu3978
    @serenaliu3978 3 года назад +2

    Thank uuu I finally understand what does Extended Euclidean Algorithm means! Very helpful

  • @PunmasterSTP
    @PunmasterSTP 3 года назад +3

    Thanks for our knowledge and understanding with another exceptional video!

  • @moth36
    @moth36 3 года назад +2

    very good explanation

  • @nonentity168
    @nonentity168 Год назад

    Thanks a lot. Really helped

  • @АзизханУмархужаев-з8з

    Thank you! I ask you to make a video about gcd properties, please.

  • @khalilbsfic
    @khalilbsfic 6 месяцев назад

    Thank you very much....

  • @The_Math_Enthusiast
    @The_Math_Enthusiast 4 года назад +6

    I think there are infinitely many solution (solved using modular arithmetic)

    • @parthanaved3866
      @parthanaved3866 4 года назад +1

      But only one solution has x,y in the set of integers

    • @enki7952
      @enki7952 4 года назад +1

      @@parthanaved3866 nah

    • @enki7952
      @enki7952 4 года назад +1

      @@parthanaved3866 try: x=41, y=-112

    • @malawigw
      @malawigw 4 года назад +2

      You can to x add 45n then from y remove 123n. So x = -4 +45n and y = 11 -123n where n is any integer

    • @malawigw
      @malawigw 4 года назад +2

      I prefer to start with gcd and then go "upwards" in the Euclid algoritm

  • @The_Math_Enthusiast
    @The_Math_Enthusiast 4 года назад +3

    But that is NOT A UNIQUE SOLUTION, IS IT?

    • @Qalnut
      @Qalnut 4 года назад +5

      Correct. There are infinitely many solutions of the form x=-15n-4, y=41n+11, for n in Z. The solution in the video corresponds to n=0.