The Chinese Remainder Theorem made easy

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

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

  • @BillShillito
    @BillShillito 8 лет назад +253

    I have tried numerous times to understand the Chinese Remainder Theorem to no avail. This explanation, however, was so simply put and made it all "click". Thank you!

    • @RandellHeyman
      @RandellHeyman  8 лет назад +21

      It's great to hear when one of my videos makes it all ``click''. Thanks for letting me know.

    • @naixinzong5449
      @naixinzong5449 7 лет назад +4

      i still dont understand

    • @andrewxc1335
      @andrewxc1335 7 лет назад +3

      It's not super easy; don't feel bad.
      Grab a random number of objects and try to arrange them into rows.
      If they fit into even rows of 3, 4, and 5, with 2, 2, and 1 remaining (respectively), you have a physical analog of this problem.
      This works nicely, in general, for solving any problem of this type, but has drawbacks.

  • @jordanshepardson9408
    @jordanshepardson9408 7 лет назад +22

    I have been trying to understand this for hours and this is the only video that I have found so far that actually made it make sense, especially the part about simplifying it down to 1mod first and then turning it into what you need, thank you

    • @RandellHeyman
      @RandellHeyman  7 лет назад

      Jordan Shepardson I'm glad it helped so much.

  • @davidfair4852
    @davidfair4852 7 лет назад +19

    I'm taking discrete mathematics and probability theory at UC Berkeley (CS 70). Your explanation of the Chinese Remainder Theorem is far superior to everything I have heard so far. Well done!

    • @RandellHeyman
      @RandellHeyman  7 лет назад +1

      Glad you liked it. I have a few other discrete mathematics videos you might find useful (ruclips.net/user/randellheyman). Good luck at Berkeley.

    • @64_bit80
      @64_bit80 Год назад

      studying for the 70 final right now and im fucking dying lmao 100% agree

    • @2000Chess
      @2000Chess Год назад

      @@64_bit80 studying for the summer 70 quiz rn LOL

    • @carolynwang8338
      @carolynwang8338 10 месяцев назад +1

      taking cs70 now and my brain is exploding LMAOO

    • @axpg1297
      @axpg1297 Месяц назад

      cs70 fall '24 midterm here

  • @pierrewagner4190
    @pierrewagner4190 Год назад +2

    The most clear and structural explanation without just using the usual steps without reason like other videos!!! Thank you !😇

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

      Thanks. Appreciate such positive feedback.

  • @manishramesh6491
    @manishramesh6491 9 лет назад +97

    Why not directly from 3(mod 4) to 2(mod 4) ? Can't we multiply the former by 2 and make that happen ?

    • @angelnajera7169
      @angelnajera7169 7 лет назад +36

      You can do that and that's what I did too. It works, but probably the reason why he said that is because by going to 1 (mod whatever) you are finding the inverse and there are methods for finding the inverse. It's much more helpful to do that for really large numbers, and that's what he should have explained.

    • @patricio26262626
      @patricio26262626 7 лет назад +10

      Indeed, Angel is correct. Calculating the multiplicative inverse modulo n is much, much more efficient than brute forcing it for many scenarios with larger numbers. This is what he was referencing with the Extended Euclidean Algorithm comment.

    • @selanavot1630
      @selanavot1630 3 года назад

      Also in this case 3 is congruent to -1 (mod 4), and therefore it is its own inverse, so it does not require any guessing nor algorithms to find

  • @patricio26262626
    @patricio26262626 7 лет назад +11

    Good job, sir. This explanation does leave out some understanding of why exactly this works, but will certainly work for those who simply want to be able to go through the motions with the CRT.

  • @MisterRedstone
    @MisterRedstone 11 лет назад +17

    Just wanted to say thanks for making this, quite easy to pick up on and very well explained. This saved my ass twice this year, so you should know your videos are well appreciated.

  • @AhemLd
    @AhemLd 8 лет назад +48

    To get 2(mod4) from 3(mod4) you need only have multiplied by 2.
    3*2=6=2(mod4)
    15*2=30=2(mod4)
    There was no need to first multiply by 3

    • @RandellHeyman
      @RandellHeyman  8 лет назад +24

      For small numbers, like this problem, you can go directly to, in this case, 2. For larger numbers you need to go via 1. Watch towards the end of the video where I explain.

    • @Farah-vi2cj
      @Farah-vi2cj 6 лет назад +2

      what falls into the category of "big" numbers? when do i know that i need to first go to the 1st remainder?

    • @iisgray
      @iisgray 6 лет назад +4

      Farah, from my personal experience before watching this video, and with my improved understanding afterward: it depends on you personally. As he says in the video, he was sort of using trial and error. You can skip to the correct number if you know off hand that it'll give you the modulus you want is what it boils down to. That number will be larger than or equal to 2 and less than the number you're trying to get the modulus for. So, since we were getting (mod 4) it would either be 2 or 3. And you can use basic math to know that 3 * 2 is 6 which is 2 (mod 4). But, if you're dealing with say (mod 14), maybe you have those numbers memorized, maybe you don't, but your options are from 2 - 13 and trial and error isn't going to work out so hot for you if you don't already know what numbers are going to give you what answer. If you do, then even up to (mod 14) you can just mental math it. Otherwise, it'll be easier to aim for 1 (mod 14). BTW the number right below the modulus squared will always be 1 (mod x). So, for 14, if you have 13 (mod 14), you can multiply it by 13 and get 1 (mod 14).
      Tl;dr: There's a couple other tricks, but the point is, the answer to your question is that it varies based on you.
      And as you'll also notice, even that trick, while easier, still can get pretty hard with bigger numbers, so eventually, you'll want to settle for the Extended Euclidean Algorithm (which is easier if you've done the Euclidean algorithm [ which is easy])

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

      @@Farah-vi2cj Note there is a shortcut (relative to the extended euclidean algorithm) using exponentiation for finding the inverse IF the mod is prime (3 and 5 in this case). The inverse of x is x ^ (p-2) (mod p). This works well for large numbers -- although you need yet another algorithm to tell if a large number is prime (search "primality test")! So for large numbers, such as those used by cryptography (typically around 78 decimal digits), it's probably best to just go ahead and use the EEA every time.

  • @benjiusofficial
    @benjiusofficial 2 года назад +2

    I've read Strayer, Rosen, and watched Michael Penn's CRT videos and none of them presented the subject in as practical a way as you did here. Excellent job, dude.

    • @RandellHeyman
      @RandellHeyman  2 года назад

      Thanks for commenting. It is always pleasing to know that someone has found one my videos useful.

  • @feliksdrakov2722
    @feliksdrakov2722 5 лет назад +3

    Literally a better explanation than my pointlessly expensive university courses. Thank you.

  • @Ricemuncher17
    @Ricemuncher17 2 года назад

    Thanks, man! Taking an online class and didn't quite understand what the instructor was saying. This video helped out a ton!

  • @Chrysaries
    @Chrysaries 8 лет назад +2

    This makes perfect sense. Excellent repetition before exam compared to just staring at the formulas.

  • @markkane1632
    @markkane1632 11 месяцев назад

    Another great explanation - this is a fantastic resource. RH is a great educator, someone who breaks it down simply for students, rather than some academics who seem to take pleasure in showing how clever they are by describing things in a complex way!

    • @RandellHeyman
      @RandellHeyman  10 месяцев назад +1

      Thanks for the positive feedback.

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

    When the "made easy" video is too hard to understand too. It's like the draw an owl meme.

  • @RacecarsAndRicefish
    @RacecarsAndRicefish 6 лет назад

    out of every video I've had to watch to understand my math classes so far, this was one of the most helpful

    • @RandellHeyman
      @RandellHeyman  6 лет назад

      Thanks. I appreciate you letting me know. Lots of other math videos at ruclips.net/user/randellheyman

    • @RacecarsAndRicefish
      @RacecarsAndRicefish 6 лет назад

      Randell Heyman next time I'm trying to find help I'll look through your channel first :)

  • @MacAlmighty
    @MacAlmighty 3 года назад

    Thanks so much! I was looking at some examples online but none made as much sense as this. I also checked the recent comments and saw you're still replying 8 years later, so props to you :)

  • @sinify6676
    @sinify6676 3 года назад +14

    Can you stop talking from behind me?

  • @jameskotzian3545
    @jameskotzian3545 10 лет назад +5

    This was awesome, there needs to be more math videos like this

  • @mdkaifkhan4445
    @mdkaifkhan4445 6 лет назад +2

    thank you for such a great explanation. I was able to write a program in c++ after watching this video. The best part was introducing modular multiplicative inverse at the last moment so that anyone can understand easily without knowing extended euclid algorithm.

    • @RandellHeyman
      @RandellHeyman  6 лет назад

      Md kaif Khan Thanks for the comment. There is a video of mine on modular inverse if you ever need it.

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

    extremely informative content out here, would've never figured out how it worked if not your help. Thanks you

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

      Thanks for commenting. Great to hear that my 10 year old video is still helping people.

  • @walpurgoffnacht
    @walpurgoffnacht 8 лет назад +3

    Thank you sir, the explanation made complete sense, kinda surprising how this theorem is found like hundreds of years ago :O

    • @RandellHeyman
      @RandellHeyman  8 лет назад +2

      Yes. About 2,000 years old and it's still true!

    • @benjaminhanson6137
      @benjaminhanson6137 8 лет назад

      Found 2000 years ago? Was it also proved 2000 years ago? Or was it proved later? Thanks for the video. Your videos are very clear and concise and this one helped me complete a task for my Master's Degree.

    • @RandellHeyman
      @RandellHeyman  8 лет назад

      Glad the videos are helping with your degree. The theorem was not proven 2000 years ago. It took longer. Have a look at Chinese Remainder Theorem and go to the history section as a starting point.

    • @andrewxc1335
      @andrewxc1335 7 лет назад

      My source says posed by Sun Tzu in 3rd century CE, and solved by the 6th century CE, as they were using it to help calculate positions of planets.

  • @malharjajoo7393
    @malharjajoo7393 6 лет назад

    Lovely explanation, the moment you started explaining the first bit ( using product of remaining numbers for each term ), everything became clear.

  • @rajdeepdeb5369
    @rajdeepdeb5369 2 года назад +1

    The explanation was very lucid.Thanks a lot!

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

    Bloody Brilliant!! I'm sure your Math Prof would be extremely proud of you :D!

  • @sot5789
    @sot5789 3 года назад

    Great video which actually explains it better than any professor or textbook would!

  • @hongkunwu
    @hongkunwu 8 лет назад

    Wow, this is so simple. I had mod 7, mod 13, mod 16. All I had to do was use the first step you showed us and obtained 411 after adding them up.

  • @Plimden
    @Plimden 8 лет назад +1

    Good lord thank you so much, I spent hours trying to figure out a simple way to do this, and I found this video just in time for my linear algebra exam tomorrow.

    • @RandellHeyman
      @RandellHeyman  8 лет назад

      +Umar Akhtar Thanks. It is nice to hear from people I have helped. Good luck with the exam.

  • @TheVarzoth
    @TheVarzoth 8 лет назад +9

    Very well explained thank you. For the life of me I don't get why textbooks can't put things as simply.

  • @mattabritt
    @mattabritt 3 года назад

    This is great video. It's really intuative and easy to follow. Most other explanations make it seem a lot more complicated then it actually is.

  • @NotFlame
    @NotFlame 6 месяцев назад +2

    what if the x has coeffecients to solve?
    Like i have this question that goes:
    2x congruent 6 mod 14
    3x congruent 9 mod 15
    5x congruent 20 mod 60
    Just confused a little bit, anyways the video was very helpful thank you!

    • @RandellHeyman
      @RandellHeyman  6 месяцев назад +2

      In this case you can divide the first equation by 2 to get x congruent to 3 mod 7 (you might like to prove that it is ok to do this). Do the same for the other equations and then use my video.

    • @NotFlame
      @NotFlame 6 месяцев назад +2

      @@RandellHeyman oh thank you!

  • @bonuxxfull
    @bonuxxfull 9 лет назад +1

    thank you very much , you are a talented teacher , and you are a man of your word
    you wrote in the title chineasetheorem made easy , and you kept your promise ,
    coz your explanation was very clear and you did it skilllfully !!!

  • @aayushdhungana360
    @aayushdhungana360 4 года назад

    thank you so much....you showed the way for finding solution ,simultaneously giving reasons for why we are doing the steps....appreciate your work!!👌👌

  • @manla8397
    @manla8397 9 лет назад +14

    Yet is the easiest and simplest explanation I have ever come across. Thank you. By the way I just wonder what your targeting audiences are.
    I absolutely love all of you videos. Thank you

    • @RandellHeyman
      @RandellHeyman  9 лет назад +14

      Man la Thanks very much for the positive feedback. The `made easy' videos are mainly for 1st and 2nd yr university/college. The `how things work' videos are for everyone. The other videos are mainly for high school students although anyone interested in mathematics might find them interesting. Thanks again.

  • @shantanugupta9813
    @shantanugupta9813 3 года назад

    Wow. Excellent explanation. Made it quite easy.

    • @RandellHeyman
      @RandellHeyman  3 года назад

      Thanks. I have lots of other videos on Modular inverse, Euler's theorem, Finite fields, Modular exponentiation etc.

  • @caitlinwood7943
    @caitlinwood7943 9 лет назад +4

    Thank you! Thank you! Thank you! Made learning how to use this theorem for my assignment so much easier! :D

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

    That was super-easy to follow! Thank you.

  • @subhamchakravarti8659
    @subhamchakravarti8659 8 лет назад

    Ohh thanks.... It was really useful for revising my ISI exam tomorrow.... :)

  • @AA-py2hi
    @AA-py2hi 8 лет назад

    Very good explanation. I never bothered to know the intuition behind crt but this video explains it perfectly.

  • @emmadelph945
    @emmadelph945 2 года назад +2

    Bless this man

  • @ProfeLuisFelipe
    @ProfeLuisFelipe 8 лет назад

    Definitivamente mucho mejor que la versión en español. Whatever, I really appreciate you made this video in both languages and, in general, the way you explain math is excellent, he aprendido mucho viendo tus videos :)

    • @RandellHeyman
      @RandellHeyman  8 лет назад +1

      +Mate Profe Luis Felipe Thanks, I am better at mathematics than Spanish!

  • @auspiciouscrane
    @auspiciouscrane 3 года назад

    Thank you. You just saved my Discrete Mathematics grade.

    • @RandellHeyman
      @RandellHeyman  3 года назад

      Thanks. I'm glad you will get through Discrete Mathematics.

  • @greatgymdj
    @greatgymdj 11 лет назад

    Fantastic, I've seen this method on other videos but no good explanations as clear as this! thanks!

  • @ssuchihamadara
    @ssuchihamadara 7 лет назад

    Sir your video was super super easy to understand.its neat and clean.keep up the good work.

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

    Joyful how easy you made this. Thanks!

  • @Sriram-qx9zs
    @Sriram-qx9zs 5 лет назад

    This video might be 6 years old, but it is amazing! Thank you so much!

    • @RandellHeyman
      @RandellHeyman  5 лет назад +1

      Thanks. More of my videos at ruclips.net/user/randellheyman

  • @DilipKumar-ns2kl
    @DilipKumar-ns2kl 4 года назад

    A nice way to explain.
    You may give a more compact tabular solution, seems logical.And thank you again.

  • @cubingtubing8172
    @cubingtubing8172 2 года назад

    I really appreciate the video that you made here. This is just amazing. I am reading Elementary Number Theory by David M. Burton and I got stuck here. The book is amazing but it fails to do justice to the Chinese Remainder Theorem. This video is simply amazing. May god bless your soul.

  • @KlipKlipKlopperson
    @KlipKlipKlopperson 9 лет назад

    Nice explanation. Much less headache-inducing than Wikipedia!

  • @exxzxxe
    @exxzxxe 5 лет назад

    Expert and clear explanation- thank you.

    • @RandellHeyman
      @RandellHeyman  5 лет назад

      Glad it helped. I wish there had been a video like mine when I was studying the Chinese Remainder Theorem!

  • @Alchemagician
    @Alchemagician 11 лет назад +1

    Thank you for this video! It helped me get past a block in my thinking.

  • @babush7255
    @babush7255 4 года назад

    Thanks a lot! I never did got it until now

    • @RandellHeyman
      @RandellHeyman  4 года назад

      It's very pleasing when someone finally gets one of these great mathematical theorems.

  • @Diewux
    @Diewux 8 лет назад +4

    Oh god it's so simple now, thank you very much !!!

  • @littlebigphil
    @littlebigphil 7 лет назад

    Thank you so much. I felt like I was about to figure it out myself, but this really helped me get the last of it.

  • @747-pilot
    @747-pilot 10 лет назад

    Wow!! phenomenal explanation making this crystal clear!

  • @shelbygt5004
    @shelbygt5004 10 лет назад

    Mr. Heyman, you just saved me hours of precious time!

  • @Resnick14
    @Resnick14 10 лет назад +2

    Loved it, you hacked it completely.

  • @GyanendroLoitongbamgyanendrol9
    @GyanendroLoitongbamgyanendrol9 9 лет назад +5

    Superb Lecture..:)
    BTW how to find for large no. eg
    x = 3346 (mod 7919)
    x = 2096 (mod 12553)
    x = 730 (mod 17389)

    • @RandellHeyman
      @RandellHeyman  9 лет назад

      +Gyanendro Loitongbam There should be no problems using what is shown in the video for large numbers.

    • @GyanendroLoitongbamgyanendrol9
      @GyanendroLoitongbamgyanendrol9 9 лет назад

      the numbers shown in the video is not so large as compared to the problem define above. So if such problem comes up them how to solve it? Please explain :)

    • @RandellHeyman
      @RandellHeyman  9 лет назад +8

      +Gyanendro Loitongbam Everything works in the same way. It's hard to explain well in these comments but I'll try to explain. First we check that the gcd of 7919 and 12553 is 1. To do this use the Euclidean algorithm. Then repeat for the gcd of 12553 and 17389. Then finally for 7919 and 17389. This will show that the gcd of any of the two modulos are 1. So we can use the Chinese remainder theorem .
      Next set up x = 17389(12553) + 7919(17389) + 12553(17389) like I do in the video.
      Consider the first part. We have 17389(12553) modulo 7919.
      So x= 4801 mod 7919.
      We need to multiply by the inverse of 4801. To find this use the extended Euclidean algorithm to see that
      4801(3736)-2265(7919)=1. So the inverse is 3736. So the first part is now
      x=3736(4801). Modulo 7919 this will give 1 but we want 3346. So our first part is 3346(3736)(4801).
      Now repeat for the middle part (i.e. modulo 12553) and the final part (i.e. mod 17389).
      Add up the three parts and this will be the answer modulo 7919(12553)(17389).

    • @GyanendroLoitongbamgyanendrol9
      @GyanendroLoitongbamgyanendrol9 9 лет назад

      thank you so much I got it... Thumbs up!!!

    • @cirethesquire
      @cirethesquire 9 лет назад

      +Randell Heyman how did you get x= 4801 mod 7919? and why multiply by the inverse of 4801?

  • @Quarker
    @Quarker 11 лет назад +3

    Awesome, learnt how to do this now. Pretty cool vid.

  • @louismallet6724
    @louismallet6724 5 лет назад

    Thank's a lot ! I have a math contest tomorrow and this will help me a lot !

  • @annupurohit5618
    @annupurohit5618 7 лет назад

    Nice explanation. I finally understood the logic. Thanks :)

  • @ZyloxZukaki
    @ZyloxZukaki 8 лет назад +5

    Hi, Your video was very helpful but I had a query. Was hoping you could help out. When solving for the mod 4 section of the problem(at about 04:25), you first reduce the remainder to 1 then multiply by 2 instead of trying to directly get 2. Is there any particular reason for that besides it being an easier way to process it?

    • @RandellHeyman
      @RandellHeyman  8 лет назад +7

      For small numbers you can go directly to, in this case, 2. For larger numbers you need to go via 1. Watch towards the end of the video where I explain.

  • @box5evey
    @box5evey 7 лет назад

    i know this is an older video, but it was super helpful. thanks for the great explanation!

  • @WickedChild95
    @WickedChild95 9 лет назад

    Thank you so much! You're video was very clear and direct.

  • @abdullahsy7072
    @abdullahsy7072 3 года назад

    you made it easy indeed, thanks for the explanation.

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

    best explanation of this i've seen.

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

      Thanks, appreciate you taking the time to let me know. Great that it's still helping people.

  • @akshaygangrade4600
    @akshaygangrade4600 9 лет назад +1

    Great !!! The best explanation I found !!! Thanks a lot !!!

  • @ankansaha3260
    @ankansaha3260 4 года назад

    that was a amazing video , I had ever seen for this topic

    • @RandellHeyman
      @RandellHeyman  4 года назад

      Thanks for such positive feedback. I have a few recent videos on the CRT in my Corona help- Discrete Mathematics playlist.

  • @blackswordsman9745
    @blackswordsman9745 4 года назад

    Thanks a lot for this video. You're a saviour

  • @MoonLight11023
    @MoonLight11023 7 лет назад

    X = 60t + 26 ; cong = congruent
    X cong (2 mod 3) --> X = 3m + 2 ; (3m + 2) cong (2 mod 4) --> 2 cancels out --> 3m cong (0 mod 4) --> X = 4*(3m) + 2 = 12m + 2
    (12m + 2) cong 1 mod 5 --> 12m cong (-1 mod 5) = 12m cong (4 mod 5) --> m cong (inverse of 12 * 4 mod 5)
    inverse of 12 cong 1 mod 5
    Using the extended Euclidean's algorithm:
    i) 12 = 5(2) + 2 --> 1 = 5 - 2(2)
    ii) 5 = 2(2) + 1 1 = 5 - (2)[12 - 5(2)]
    iii) 2 = 1(2) + 0 1 = 5(5) - 2(12) therefore, inverse of 12 = -2 which is congruent to 3 mod 5
    Now, m cong (3 * 4 mod 5) = m cong (12 mod 5) = 2, therefore m = 2
    m = 5t + 2 --> X = 12(5t + 2) + 2 --> X = 60t + 26
    t 0 1 2 3 4 5 6 7 8 9 10 ...
    X 26 86 146 206 266 326 386 446 506 566 626 ....

  • @tonymontaro
    @tonymontaro 8 месяцев назад

    Best explanation so far.

    • @RandellHeyman
      @RandellHeyman  8 месяцев назад

      Thanks. I'm glad it helped you.

  • @MCAbney
    @MCAbney 8 лет назад +4

    At 5:53 Did you mean to say 146? If you meant 142, then how did you end up getting that? By the way, this was very very helpful, thanks so much!

    • @MCAbney
      @MCAbney 8 лет назад

      5:43*

    • @RandellHeyman
      @RandellHeyman  8 лет назад +2

      +Mystical Miner Yes I did mean to say 146. At around 5:43 you should see an annotation `I say 142. I mean 146'. It's on the left hand side. If you can't see the annotation please let me know.

    • @hannatorres6913
      @hannatorres6913 6 лет назад +3

      I was getting crazy trying to figure out where did 142 came from.

  • @enochsit
    @enochsit 5 лет назад

    Thank you for making the video! saves me lots of time

  • @aprilrose6144
    @aprilrose6144 10 лет назад

    OMG THIS WAS AMAZING, it was easy to follow and understand, and i like that

  • @okoyemildred8720
    @okoyemildred8720 3 года назад

    I'm still new to this concept and at this point...I don't understand anything, so I plead with you to vividly explain everything 🥺 maybe in another video

    • @RandellHeyman
      @RandellHeyman  3 года назад

      Tell me when on the video you first don't understand something and I'll try to help.

    • @jeremyfang1624
      @jeremyfang1624 3 года назад

      @@RandellHeyman Wow, you still reply to comments on a video that's 8 years old? Imma sub cause of that

    • @RandellHeyman
      @RandellHeyman  3 года назад

      @@jeremyfang1624 Hope you find some useful videos on my channel. For the last year of so I have been making videos to specifically help people during the corona virus. So there's about 60 videos made with animation software and about 170 made with a graphics tablet.

    • @okoyemildred8720
      @okoyemildred8720 3 года назад

      @@RandellHeyman bro...your the best

    • @okoyemildred8720
      @okoyemildred8720 3 года назад

      @@RandellHeymanI'll just watch it again

  • @spacekid407
    @spacekid407 8 лет назад

    Very helpful and easy to understand. Thanks!

  • @SaadTaameOfficial
    @SaadTaameOfficial 8 лет назад

    Very nice explanation, thank you for sharing this !

  • @DasMalkavian
    @DasMalkavian 3 года назад

    can you redo the sound for this video please. I understand it's from 2013 but this is such a great video even today

  • @ushiebheekha2334
    @ushiebheekha2334 5 лет назад

    Amazing video, really well explained 👍🏽

  • @zongyewang3601
    @zongyewang3601 8 лет назад

    It is a very good explanation.

  • @knanzeynalov7133
    @knanzeynalov7133 2 года назад

    Thank you so much, I’m here before my Midterm❤

  • @yaminireddy5157
    @yaminireddy5157 4 года назад

    That is very intuitive! thanks a lot !

  • @dr.strangelav4579
    @dr.strangelav4579 9 лет назад

    you deserve more subs!

    • @RandellHeyman
      @RandellHeyman  9 лет назад

      ThisIsTheTrue word In some ways my videos are not suited to generating lots of subs... a new video on say, line integrals made easy, is not going to be published at the right time for most people. But I am very pleased that I have over 200,000 views and many of my videos are top in a youtube search of the topic. Thanks for the comment.

    • @dr.strangelav4579
      @dr.strangelav4579 9 лет назад

      yeah. less people come here to learn something, people are more into lame pranks and stuff. but as a math lover i must say, the way you are representing and clearing things is outstanding. keep up the good work!

  • @謝昀彤-t2r
    @謝昀彤-t2r 10 лет назад

    absolutely clear description
    thanks a lot

  • @johnchang8279
    @johnchang8279 6 лет назад

    11x ≡ 1 (mod 7171). Since 7171 ≡ -1 (mod 11), 11x ≡ 7172 (mod 7171) is divisible by 11, so x ≡ 652 (mod 7171). No need for the extended Euclidean algorithm here.

    • @RandellHeyman
      @RandellHeyman  6 лет назад +1

      Yes. That works. Well done. But are you claiming you never need the euclidean algorithm? If so try to solve 123456789x=1 (mod123456779101112131415) without Euclid's algorithm in under ten minutes.

  • @brandonmtb3767
    @brandonmtb3767 6 лет назад

    the idea is to get the lowest possible number that solves it right? because larger numbers can sometimes solve the problem

  • @egor.okhterov
    @egor.okhterov 8 лет назад +1

    The best explanation! I finally get it :)

  • @ChrisSwaningAround
    @ChrisSwaningAround 7 лет назад

    love your work mate: bloody brilliant

    • @RandellHeyman
      @RandellHeyman  7 лет назад +1

      Chris Swan Thanks for the feedback. Australian?

    • @ChrisSwaningAround
      @ChrisSwaningAround 7 лет назад

      fair dinkum how'd you know haha
      I love how you cut through the crap and get straight to the gist.
      Have you thought about doing a video on modular exponentiation, for stupid big numbers?
      I think it's something that boggles a lot of people, but if you can have it explained simply, its perfectly doable.

    • @RandellHeyman
      @RandellHeyman  7 лет назад

      If you go to my video Hamming code made easy there is a question about 2 years ago about something like what is 7^7^7^..... mod 5. You might find that interesting. Also have a look at my video The largest number which has served any useful purpose in mathematics.

  • @carolynrigheimer519
    @carolynrigheimer519 7 лет назад

    Many thanks. This was very clear.

  • @fromcockpit
    @fromcockpit 11 лет назад +2

    multiplying 15 by 3 is unnecessary... it is enough to multiply 15 by 2 and get 30
    (30=2 mod4) so you will have 20 + 30 + 36 = 86
    if multiplying 15 by 3 is necessary can somebody explain me why?

    • @RandellHeyman
      @RandellHeyman  11 лет назад +6

      For large moduli you will not be able to use trial and error. You will need to get to your answer via the inverse, using the extended Euclidean algorithm. This is why I suggest at 4 min 30 that you do the calculations in 2 stages. Also see my comments at the end of the video.

    • @pazdemy
      @pazdemy 10 лет назад +1

      Randell Heyman Berat Anıl Berber I was wondering about exactly this. Thanks for clearing it up, fellas.

    • @tomfrost2600
      @tomfrost2600 9 лет назад +1

      Randell Heyman but surely the answer would be different to 146?

    • @tomfrost2600
      @tomfrost2600 9 лет назад +1

      Randell Heyman nevermind, i realised that this adds to 86, which is still 146 - 60 :)

  • @r4w181
    @r4w181 7 лет назад

    You are a life saver ! Thank you so much! :)

    • @RandellHeyman
      @RandellHeyman  7 лет назад

      Thanks for the very positive feedback.

  • @Appel070
    @Appel070 5 лет назад

    Nice job good to understand!

  • @mohab.m.metwally
    @mohab.m.metwally 8 лет назад

    nice explanation, happy subscriber!

  • @yrus7802
    @yrus7802 6 месяцев назад +1

    this video a blessing

  • @samshen4840
    @samshen4840 10 лет назад

    Clear and succinct. Thank you very much.

  • @aniruddhvasishta8334
    @aniruddhvasishta8334 7 лет назад

    At around 4:06, why can't you just multiply by 2? 3*2=6, which is 2 mod 4. This would make the answer 86. However at the end, the answer is 26 mod 60, which both 146 and 86 satisfy.

    • @RandellHeyman
      @RandellHeyman  7 лет назад

      For large moduli you will not be able to use trial and error. You will need to get to your answer via the inverse, using the extended Euclidean algorithm. This is why I suggest at 4 min 30 that you do the calculations in 2 stages. Also see my comments at the end of the video.

  • @Noskur
    @Noskur 5 лет назад

    thank you, I am studying Cybersecurity right now and cryptology is giving me lot of pain since its pure math. Its a very interesting subject, but learning the theorems is bleh. Thank you for helping me understand the concept!

    • @RandellHeyman
      @RandellHeyman  5 лет назад

      Thanks for the feedback. I have another video RSA code made easy when you get to that crypto method. Also How encryption works which is an easier video that doesn't cover as much as RSA code made easy. You might also study error correction. I have a video Hamming code made easy for 1 of these correction techniques.

  • @alexanderhilsen5992
    @alexanderhilsen5992 10 лет назад

    Question: why does 15 need to be multiplied by 3? Having that term be 30=15.2 lands you 86, which is a correct answer. Why not just observe that 30=2mod4 and call it good? Loved the video, btw.

    • @RandellHeyman
      @RandellHeyman  10 лет назад

      Hi Alexander, trial and error works well for small numbers. If you are given a problem with larger numbers in an exam your method will likely take too long. See my reply (below) to Berat Amil Berber 10 months ago, who asked the same question.

  • @StellarLlama
    @StellarLlama 7 лет назад +14

    Great video, but the audio is horrendous

    • @RandellHeyman
      @RandellHeyman  7 лет назад +8

      Thanks. A few people have pointed out the poor audio. I now have a Blue Yeti microphone. Seems to be a lot better on my recent videos.

    • @StellarLlama
      @StellarLlama 7 лет назад

      awesome content, keep it up! lots of students really appreciate you

    • @samisiddiqi7814
      @samisiddiqi7814 6 лет назад +1

      The audio terrifies me.

  • @yanruchen1235
    @yanruchen1235 7 лет назад

    This video is so helpful!! thank you!!
    could you do a video on using back substitution to solve system of linear congruences?

    • @RandellHeyman
      @RandellHeyman  7 лет назад

      Yanru Chen do you mean using matrices? Or without matrices.

    • @yanruchen1235
      @yanruchen1235 7 лет назад

      I think without matrices? I think there are 2 ways of using chinese reminder theorem to solve system linear congruences, one way is using the method used in this video, another way is using back substitution. It is introduced in Discrete Mathmatics and its application(i think), but my professor asks me to use back substitution method to solve system linear congruences.

    • @yanruchen1235
      @yanruchen1235 7 лет назад

      sorry, I googled it and its official name is called successive substitution, back substitution is an unofficial name

    • @RandellHeyman
      @RandellHeyman  7 лет назад

      I'm just finishing one now on inclusion-exclusion principle. Then I could maybe do it. It's hard to think of a good title that will allow people to find it easily.

  • @TheREBBU
    @TheREBBU 7 лет назад

    Thank you! Very clear and simple :)