Chinese Remainder Theorem

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ • 35

  • @ArH11117
    @ArH11117 6 місяців тому +3

    this explanation was by far the best. literally the best math channel on youtube ❤❤💯💯

  • @David-x7u6k
    @David-x7u6k Місяць тому

    thanks for making this video. your explanation is far better than my CS professor

  • @filipkarkalasev
    @filipkarkalasev 9 місяців тому +3

    You're an awesome explainer! Thanks a lot.💯

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

    Oh my goodness, you're a savior...love you so much

  • @holyshit922
    @holyshit922 Рік тому +5

    What we did in math for IT class
    we used extended Euclidean algorithm
    x = 1(mod 3)
    x = 2(mod 5)
    1=3(2)+5(-1)
    x = (3*2*2+5*(-1)*1)(mod 15)
    x = 7 (mod 15)
    and in second step we have two congruences instead of three
    x = 7 (mod 15)
    x = 3 (mod 7)
    1 = 15*(1) + 7*(-2)
    x = (15*1*3 + 7*(-2)*7 ) (mod 105)
    x = (45 - 98) (mod 105)
    x = (45 - 98 + 105)(mod 105)
    x = (45+7)(mod 105)
    x = 52 (mod 105)

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

      nice but do u know what was the matrix method he was talking abt?

  • @matthewpearce940
    @matthewpearce940 Місяць тому

    Very good teacher 🎉

  • @jmoscoso86
    @jmoscoso86 Місяць тому

    What a great explanation!!!

  • @skwbusaidi
    @skwbusaidi 8 місяців тому +3

    Thank you
    It is envolve momery
    I would set x =3a+1
    3a+1 =2 ( mod 5)
    3a = 1 ( mod 5)
    The inverse of 3 is 2
    a=2 ( mod 5 )
    a = 5b +2
    Plug a in x
    x= 3(5b +2)+1 = 15b +7
    15b+6 = 3 ( mod 7)
    15b = 3 ( mod 7)
    b = 3 ( mod 7)
    b = 7c +3
    Plug b in x
    x = 15b+2 = 15(7c+3) +7
    = 105c+ 45 + 7
    = 105c + 52
    Or x = 52 (mod 105)

  • @awoerechinawa9882
    @awoerechinawa9882 10 місяців тому +2

    Thank you so much your videos were very helpful

  • @KanjiDenzel
    @KanjiDenzel Місяць тому

    Thanks very much sir I'm looking out for more

  • @YonDivi
    @YonDivi 3 дні тому

    You're so helpful omg.

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

    This is gold ! Thanks a lot !

  • @francaisdeuxbaguetteiii7316
    @francaisdeuxbaguetteiii7316 Рік тому +6

    This is a new concept to me, very good lesson! ❤
    May i ask why it doesnt work if the m’s have a common factor? And if they do, is there a way to perhaps change the m so it doesnt share any factors?

    • @PrimeNewtons
      @PrimeNewtons  Рік тому +3

      The proof is built on the fact that the gcd of the m's is 1. In short. Most theorems in Number Theory are based on this. Someday, I'll do the proof.

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

    No doubt remains that we need Prime Newtons! 😊🎉

  • @holyshit922
    @holyshit922 Рік тому +3

    I had it on math for IT class

  • @ojilesylvester7808
    @ojilesylvester7808 Місяць тому

    And what if when finding b1 the combo doesn’t have an inverse. What do you do then?

    • @KasperEngineering
      @KasperEngineering 3 дні тому

      that doesn't happen if all the moduli are coprime. so if it happens, try to adjust the non-coprime moduli, if that's not possible, then there's no valid solution to the system

  • @ehanahmed4987
    @ehanahmed4987 Місяць тому

    you said we need to break the modulus down to where it has a prime value. how do we do that? (Ex. my question has 8mod12)

    • @KasperEngineering
      @KasperEngineering 3 дні тому

      12 = 2*2*3 -> factorizing modulus in primes
      x = 8 (mod 12) becomes:
      x = 8 (mod 2), and
      x = 8 (mod 2), and
      x = 8 (mod 3)
      note that the first two equations are the same so only need it once
      x = 8 (mod 2) = 0 (mod 2), and
      x = 8 (mod 3) = 2 (mod 3)

  • @johnnolen8338
    @johnnolen8338 Рік тому +2

    As far as Chinese inventions go the CRT ranks right along side Kung Pao Chicken AFAIAC. 😋

    • @PrimeNewtons
      @PrimeNewtons  Рік тому +2

      Had to Google Kung Pao Chicken 🤣

    • @fremzy.codm-453G
      @fremzy.codm-453G 3 місяці тому +1

      ❤❤❤❤​@@PrimeNewtonsI am an Olimpiad student in Ghana and I like your lessons a lot

  • @FarhodDjuraboyev
    @FarhodDjuraboyev 6 місяців тому

    👍👍👍👍👍👍👍👍👍👍👍👍very good

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

    Great!

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

    Thanks man

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

    what does b and c represent

  • @Андре-и9й
    @Андре-и9й 2 місяці тому +3

    I thought if critical race theory when I saw CRT

  • @AbhinaySupreeth
    @AbhinaySupreeth 2 місяці тому

    man ❤

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

    W video

  • @umutfirat6709
    @umutfirat6709 22 дні тому

    büyük adamsın