What does a ≡ b (mod n) mean? Basic Modular Arithmetic, Congruence

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 เม.ย. 2018
  • Basic congruence introduction in modular arithmetic. We will go over 3 ways to interpret a ≡ b (mod n), and you will see this in a number theory or a discrete math class. Learn how to solve congruence, subscribe to ‪@blackpenredpen‬
    💪 Support this channel, / blackpenredpen

ความคิดเห็น • 422

  • @blackpenredpen
    @blackpenredpen  6 ปีที่แล้ว +348

    What donuts are those?

  • @bakirhaljevac3584
    @bakirhaljevac3584 4 ปีที่แล้ว +493

    It took you around 3 minutes to say what I needed to know, the same thing that my professor unsuccessfully tried to explain in one hour. Thank you so much

    • @v-neko8074
      @v-neko8074 3 ปีที่แล้ว

      same

    • @tristanfan4741
      @tristanfan4741 3 ปีที่แล้ว +8

      so fucking dmn right

    • @finghinmccarthy5021
      @finghinmccarthy5021 2 ปีที่แล้ว

      True

    • @JuuzouRCS
      @JuuzouRCS 2 ปีที่แล้ว

      True. I am right now going through the same experience.

    • @shreyas_._
      @shreyas_._ 2 ปีที่แล้ว +2

      I wonder which professor took one hour for congruence 😅then for sure your whole syllabus time schedule gonna wasted..., ഒരു മയത്തിൽ ഒക്കെ ആവം കേട്ടോ ...

  • @johnlara1365
    @johnlara1365 4 ปีที่แล้ว +129

    I am a senior math and CS major, I have used modulo almost as much as I’ve used pi and I have always been confused by congruency. No one has been able to explain congruency more clearly and digestible than you. Thank you!

    • @dominicellis1867
      @dominicellis1867 ปีที่แล้ว +4

      Basically you throw out the quotient and keep the remainder. It's periodic math like the roots of a trig function.

  • @v-neko8074
    @v-neko8074 3 ปีที่แล้ว +106

    Some teachers in universities: 2h lecture
    blacklenredpen: 6minutes

    • @davidbrisbane7206
      @davidbrisbane7206 3 ปีที่แล้ว +2

      Too right mate, plus we can repay bprp's videos as often as we like.

    • @mohammedhussain6749
      @mohammedhussain6749 3 ปีที่แล้ว +2

      He is just explaining the procedure not the theory, origins or proof

    • @EulerJr_
      @EulerJr_ 2 ปีที่แล้ว +1

      @@aymenchamia7470
      I do, and he is 100% right.
      Our lecturer is extremely smart and knowledgeable no doubt, but he just can’t explain the procedures and concepts in a simple enough way for anyone to understand.

  • @rainyday4709
    @rainyday4709 2 ปีที่แล้ว +11

    30min trying to understand this congruence with my book .
    And this man make me understand it just in 1:46 seconds
    I wanna cry .
    Why professor make life complicated whyyy ...
    THANK YOU SO MUCH.
    I really respect you 🙏🙏

  • @user-ok3sb9fi2j
    @user-ok3sb9fi2j 3 หลายเดือนก่อน +3

    I watch 7 videos of about 20 minutes about modular arithmetic and didn’t understand anything but your 6 minutes video made me understand. I don’t know what to say

  • @sergioh5515
    @sergioh5515 6 ปีที่แล้ว +173

    PLEASE MORE MODULAR ARITHMETIC! You're the best

  • @arnasvaicekauskas7693
    @arnasvaicekauskas7693 6 ปีที่แล้ว +441

    Why is this video 2Pi minutes long ?

    • @blackpenredpen
      @blackpenredpen  6 ปีที่แล้ว +174

      It's Tau

    • @unoriginalusernameno999
      @unoriginalusernameno999 5 ปีที่แล้ว +6

      Burn!

    • @ansper1905
      @ansper1905 5 ปีที่แล้ว +40

      2π=6

    • @sieger358
      @sieger358 5 ปีที่แล้ว +5

      @@ansper1905 😑😑😑3.14159265358979323846264338
      ...
      In can not be 3😐

    • @ansper1905
      @ansper1905 5 ปีที่แล้ว +60

      @@sieger358 tell that to engineers

  • @meccamiles7816
    @meccamiles7816 4 ปีที่แล้ว +15

    Your ability to change the marker you’re writing with so fast is amazing...

    • @krimzonghost1987
      @krimzonghost1987 3 ปีที่แล้ว +1

      I read this comment and watched the video again just because of this. lmao. Wow! You were not joking.

  • @Mindmodic
    @Mindmodic 3 ปีที่แล้ว +1

    Finally I've been looking for a decent explanation for this for about an hour! Years ago when I was in school we never learned this and 'remainder' was only referred to when you were doing sums by hand, the remainder would be the next 10, 100 or 1000 etc. from your addition, I didn't see it as any other sense!

  • @nithin8432
    @nithin8432 2 ปีที่แล้ว +4

    just had a great and clear understanding this was the lecture i needed thanks a lot mate!!!

  • @Jack-cm5ch
    @Jack-cm5ch 6 ปีที่แล้ว +49

    Omg saving my grade once again. God bless you. Wish you had a patreon...

    • @Wannabesage336
      @Wannabesage336 4 ปีที่แล้ว +7

      For those of you watching this in the future:
      He does!
      www.patreon.com/blackpenredpen

  • @yon1623
    @yon1623 ปีที่แล้ว +1

    I spent an hour trying to understand it from my book... 6 minute video is what i needed.

  • @juandelacruz9125
    @juandelacruz9125 6 ปีที่แล้ว +3

    Thanks blackpenredpen for teaching us this!

  • @WendyLee808
    @WendyLee808 4 ปีที่แล้ว

    Having test next week, found this video this week. Thank you 😊 Always wanted to know the interpretation of the congruent notation.

  • @Ebvardh
    @Ebvardh 6 ปีที่แล้ว

    Lovely explanation. Helped me finally visualize this concept before you even did the examples.

  • @mahadhersi3754
    @mahadhersi3754 2 ปีที่แล้ว

    Thank you professor BlackpenRedpen I appreciate you this amazing lesson.

  • @WSUFan2017
    @WSUFan2017 6 ปีที่แล้ว +49

    You should do more number theory, especially stuff like Euler’s totient function (since it’s my favorite subject ;D)!

    • @blackpenredpen
      @blackpenredpen  6 ปีที่แล้ว +4

      I will. In the meantime, you can check out Max's videos here: th-cam.com/channels/P-ZCMz7olJPUI78b_bQrvQ.htmlvideos?disable_polymer=1

  • @woojason7119
    @woojason7119 4 ปีที่แล้ว

    thanks for your vdo you saved me from an algorithm course
    it looked me quite a long time to understand what is meant by a=b (mod n)

  • @erickarbieto8111
    @erickarbieto8111 3 ปีที่แล้ว

    Eres un crack! Y todo lo digo en español, porque hasta en Latinoamerica disfrutamos de tus videos; en serio, aprendo muchísimo! Thank you!

  • @azure3544
    @azure3544 5 ปีที่แล้ว +5

    I learned more from this guy than from my entire math class xDDD
    My math teacher made this look like rocket science...

  • @billofrights5064
    @billofrights5064 5 ปีที่แล้ว +71

    When I took abstract algebra, I found
    a ≡ b (mod n) quite confusing. The meaning seems to be
    a (mod n) = b (mod n), but equivalence must mean more than this.

  • @vegetaiv9275
    @vegetaiv9275 9 หลายเดือนก่อน

    Your explanation is amazing. It is way better than my professor's! Thank you so much!

  • @aaronvr_
    @aaronvr_ 4 ปีที่แล้ว

    yoo great tutorials/lessons love ur stuff keep em coming !!

  • @shady153
    @shady153 ปีที่แล้ว

    This video was awesome! I'm so glad I found your channel. You have a new subscriber here.

  • @ZectonplaysMC
    @ZectonplaysMC 5 ปีที่แล้ว +1

    Dude i normally watch ur vids for fun but now i actually need help and i come back to ur channel😂

  • @sweepingteyvat9515
    @sweepingteyvat9515 4 ปีที่แล้ว

    Thank you so much! This video really helps me with number theories

  • @michelletan7855
    @michelletan7855 3 ปีที่แล้ว

    thank you so much! you are amazing to explain the modular arithmetic! thank you thank you!

  • @sergioh5515
    @sergioh5515 6 ปีที่แล้ว +1

    You make math so entertaining :)

  • @faizzailan5936
    @faizzailan5936 3 ปีที่แล้ว

    this is the best number theory explanation, well done

  • @lucasgparker
    @lucasgparker 6 ปีที่แล้ว

    Congrats on the 100k!!

  • @tcpudp1429
    @tcpudp1429 2 ปีที่แล้ว

    I just want to say thank you man, you really helped me out
    😃

  • @oborooizamisi1894
    @oborooizamisi1894 2 ปีที่แล้ว

    Amazing explanation, just what I needed

  • @krimzonghost1987
    @krimzonghost1987 3 ปีที่แล้ว +1

    C# exercises led me here... and I ain't even mad. Awesome video!

  • @Isac986
    @Isac986 5 ปีที่แล้ว +2

    Excelente me salvaste de leer mucha álgebra, continua con el álgebra moderna que es bien interesante al igual que el calculo

  • @jgz919
    @jgz919 9 หลายเดือนก่อน

    Thanks for the refresher. I hardly understood this when getting my undergrad degree and now that im working on my masters it came back to haunt me 🤣

  • @UnathiGX
    @UnathiGX 6 ปีที่แล้ว +6

    This is by far the best explanation....IMO!...here I come....!!!!

  • @Lolnigaaaaaaaaa
    @Lolnigaaaaaaaaa 2 ปีที่แล้ว

    Couldn’t learn this my whole life until I saw this. Damn please complete series on modular arithmetic please sir.

  • @zellpeppers8181
    @zellpeppers8181 ปีที่แล้ว +1

    thankyou so much!! this really helped a lot 🥰🥰

  • @jerrytsai9580
    @jerrytsai9580 4 ปีที่แล้ว

    Very well explained. Thank you so much.

  • @Soumyayoutube
    @Soumyayoutube 5 ปีที่แล้ว

    U made it so easy ! thanks @you

  • @GreeeenT
    @GreeeenT 6 ปีที่แล้ว +15

    do you have my schedule or something ?? how do you always upload what I need. thanks man !

  • @thundrking
    @thundrking 5 ปีที่แล้ว

    Straight to the point.. thanks

  • @Ethan-mj6wy
    @Ethan-mj6wy 6 ปีที่แล้ว +3

    Great video, loving all the number theory :)

  • @barence321
    @barence321 2 ปีที่แล้ว +3

    In Beachy 4th Ed., the authors write " a ≡ b (mod n) if and only if n|(a - b)." The proof goes in both directions, so you see that n|(a -b) does indeed show that a/n and b/n have the same remainder. I just finished going over this proof again for my abstract algebra class. Very simple when you do the proof both ways.

  • @shacharh5470
    @shacharh5470 6 ปีที่แล้ว

    Congruence relations and their corresponding quotient sets (and groups, and spaces, etc) are some of the richest topics in maths, and modular congruence is one of the most useful and ubiquitous ones.

  • @ghassanabdalsalam9938
    @ghassanabdalsalam9938 ปีที่แล้ว +1

    thaaaaaaaaaaaaank you , amazing , I love your explanation

  • @AnayBhad
    @AnayBhad 8 หลายเดือนก่อน

    thanks for this video helped me a lot.

  • @aayushve426
    @aayushve426 3 หลายเดือนก่อน +1

    Great video as always !

  • @AhmedAzhad
    @AhmedAzhad 4 ปีที่แล้ว

    Thank you very much. Very well explained.

  • @frankensteinapps9442
    @frankensteinapps9442 ปีที่แล้ว +1

    Thanks man I was bit confused in equivalence relations when this came up , turns out I was interpreting it in a wrong way

  • @antoinelunaire9462
    @antoinelunaire9462 4 ปีที่แล้ว

    Thanks a lot, brief and effective

  • @WhiteDotX
    @WhiteDotX 6 ปีที่แล้ว +21

    I just keeping learning a lot from you.
    Greetings from Mexico!
    Can you talk about set theory or keep doing number theory?

    • @blackpenredpen
      @blackpenredpen  6 ปีที่แล้ว +2

      Silvestre Frijol Cruz thank you!! I will focus on number theory, probability and combinatorics and calc.

  • @thugpoet1847
    @thugpoet1847 5 ปีที่แล้ว

    Amazing video! Thank you!

  • @marnierogers3931
    @marnierogers3931 2 ปีที่แล้ว +1

    Great video, would love some more examples to cement how to use :)

  • @Surya_Kiran_K
    @Surya_Kiran_K ปีที่แล้ว +1

    I would attend every class of this guy 😭👍💓

  • @MathsOnlineVideos
    @MathsOnlineVideos 2 ปีที่แล้ว

    Thanks a lot man. That helps a lot!

  • @kaninma7237
    @kaninma7237 6 ปีที่แล้ว

    Good video. It helped a lot. Thanks!

  • @scar6073
    @scar6073 ปีที่แล้ว

    Thank you for explaining this in a straightforward manner, I FUCKING LOVE YOU!

  • @dikshabhise7480
    @dikshabhise7480 3 ปีที่แล้ว

    great teaching🥰 I finally understand 👍

  • @manojrajguru8852
    @manojrajguru8852 6 ปีที่แล้ว

    u are the best professor..

  • @elijahseh7112
    @elijahseh7112 4 ปีที่แล้ว

    Can you please do a video on multiplicative inverse modular arithmetic? I fully understand the basic modular arithmetic but finding the multiplicative inverse in modular arithmetic just keeps going over my head!

  • @nikhilgupta6415
    @nikhilgupta6415 5 ปีที่แล้ว

    No one told me this! And neither I could understand anyone but now I can

  • @utkarshraj3272
    @utkarshraj3272 4 ปีที่แล้ว

    You are great.
    Thank You Very Much

  • @prestontao2
    @prestontao2 2 ปีที่แล้ว

    thanks this helped me pass my test

  • @BentHestad
    @BentHestad 2 ปีที่แล้ว +2

    Very helpful! Thanks!!

  • @meghamishra1165
    @meghamishra1165 5 ปีที่แล้ว

    Thanks a ton, man! 👌👌

  • @robertkissinger6050
    @robertkissinger6050 3 ปีที่แล้ว

    Excellent explanation!

  • @debolinasarkar573
    @debolinasarkar573 5 ปีที่แล้ว

    Thanks that was helpful to me.

  • @sebinsebastian9531
    @sebinsebastian9531 5 ปีที่แล้ว

    It was very helpful.Nice video.Keep uploading more videos.....

  • @paulswillkim3744
    @paulswillkim3744 5 ปีที่แล้ว

    Crystal clear!

  • @itzmrinyy7484
    @itzmrinyy7484 หลายเดือนก่อน

    Thank you so mucj for this video! I was just watching an IMO prpblem solving video and i couldn't help but wonder what "mod(n)" meant.

  • @123luckeyman123
    @123luckeyman123 3 ปีที่แล้ว

    This is really helpful! Where is the number Theory section in your channel

  • @ayyagarisrinivas5082
    @ayyagarisrinivas5082 4 ปีที่แล้ว +1

    Helpful man thanks ; )

  • @bgbg418
    @bgbg418 2 ปีที่แล้ว +1

    Wow I wish I found this in my first year. It would've saved me hours of lengthy abstract examples and confusion. Why do universities make things so unnecessarily complicated sometimes 🙄.

  • @sazsaandanseltv
    @sazsaandanseltv ปีที่แล้ว

    you saved my exam tomorrow..thank you

  • @valentinejepkemei149
    @valentinejepkemei149 2 ปีที่แล้ว

    Thank you you are talented keep it up good work

  • @ajinkyamurtadak5797
    @ajinkyamurtadak5797 4 ปีที่แล้ว

    Thanks it's so nice and useful 👏👏👏

  • @akrambaki2680
    @akrambaki2680 2 ปีที่แล้ว

    Thank you so much

  • @dumbdumbgivegum
    @dumbdumbgivegum ปีที่แล้ว +2

    U just explained a concept which my maths tutor took 35 minutes to explain in under 10 minutes.
    Kudos to you sir!!

  • @duartesilva6824
    @duartesilva6824 4 ปีที่แล้ว

    THANK YOU SO MUCH!

  • @nnnmmiiii6994
    @nnnmmiiii6994 ปีที่แล้ว

    excellent explanation

  • @realdogukan
    @realdogukan 2 ปีที่แล้ว

    Thank you!

  • @revanthnrajan2705
    @revanthnrajan2705 5 ปีที่แล้ว +2

    Thank you for this!! :DD

  • @collin2628
    @collin2628 3 ปีที่แล้ว

    thank you mr. pen

  • @coin5207
    @coin5207 3 ปีที่แล้ว

    Thank you for this video

  • @zhangruoran
    @zhangruoran 5 ปีที่แล้ว +10

    : D this is exactly what I taught my students.

  • @yashraj5836
    @yashraj5836 3 ปีที่แล้ว

    Thank you very much

  • @nathanielgabriel
    @nathanielgabriel 4 ปีที่แล้ว

    Smooth explanation

  • @thimirabandara679
    @thimirabandara679 3 ปีที่แล้ว

    very good video and very good explanation!

  • @imDyne
    @imDyne 4 ปีที่แล้ว

    that was so good. thanks

  • @MathForLife
    @MathForLife 6 ปีที่แล้ว +78

    Ahah, "killing all math":DDD

    • @blackpenredpen
      @blackpenredpen  6 ปีที่แล้ว +3

      Eightc yup!!!!

    • @blackpenredpen
      @blackpenredpen  6 ปีที่แล้ว +5

      And max, you can record an intro and send it to me via google drive so I can put it in my videos to let more ppl know about ur channel.

    • @MathForLife
      @MathForLife 6 ปีที่แล้ว +2

      blackpenredpen thanks!!

  • @alexcalabro8140
    @alexcalabro8140 3 ปีที่แล้ว

    Very good, thank you!

  • @roof310
    @roof310 ปีที่แล้ว +4

    (by wikipaedia) Actually, the first claim is the most correct one, same remainder when a and b are divided by n,
    a = kn + r, b = jn + r then we have a - b = (k-j)n + 0 which means that n | a - b (the last claim). If we add b to both side,
    a = Kn + b by setting K = k - j.
    edit: depends on variables to choose the most suitable one.

  • @Account-fi1cu
    @Account-fi1cu 5 ปีที่แล้ว

    THANK YOU!

  • @giantdad7
    @giantdad7 6 ปีที่แล้ว +4

    Please keep uploading Number Theory videos!

  • @GeorgeDCowley
    @GeorgeDCowley 3 ปีที่แล้ว

    Thanks for telling me that the brackets were important.
    I was just subtracting.

  • @shakeeljessa9619
    @shakeeljessa9619 6 ปีที่แล้ว

    Great video!

  • @muhammadnusaifpk7643
    @muhammadnusaifpk7643 หลายเดือนก่อน

    Thank you😊

  • @militantpacifist4087
    @militantpacifist4087 2 ปีที่แล้ว +1

    This video has the most epic donut-math intro to be honest.