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

Sdílet
Vložit
  • čas přidán 21. 04. 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

Komentáře • 422

  • @blackpenredpen
    @blackpenredpen  Před 6 lety +347

    What donuts are those?

  • @v-neko8074
    @v-neko8074 Před 3 lety +106

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

    • @davidbrisbane7206
      @davidbrisbane7206 Před 3 lety +2

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

    • @mohammedhussain6749
      @mohammedhussain6749 Před 3 lety +2

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

    • @EulerJr_
      @EulerJr_ Před 2 lety +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.

  • @bakirhaljevac3584
    @bakirhaljevac3584 Před 4 lety +492

    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 Před 3 lety

      same

    • @tristanfan4741
      @tristanfan4741 Před 3 lety +8

      so fucking dmn right

    • @finghinmccarthy5021
      @finghinmccarthy5021 Před 2 lety

      True

    • @JuuzouRCS
      @JuuzouRCS Před 2 lety

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

    • @shreyas_._
      @shreyas_._ Před 2 lety +2

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

  • @johnlara1365
    @johnlara1365 Před 4 lety +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 Před rokem +4

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

  • @rainyday4709
    @rainyday4709 Před 2 lety +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 🙏🙏

  • @sergioh5515
    @sergioh5515 Před 6 lety +173

    PLEASE MORE MODULAR ARITHMETIC! You're the best

  • @user-ok3sb9fi2j
    @user-ok3sb9fi2j Před 3 měsíci +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

  • @arnasvaicekauskas7693
    @arnasvaicekauskas7693 Před 6 lety +441

    Why is this video 2Pi minutes long ?

  • @Mindmodic
    @Mindmodic Před 3 lety +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!

  • @meccamiles7816
    @meccamiles7816 Před 4 lety +15

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

    • @krimzonghost1987
      @krimzonghost1987 Před 3 lety +1

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

  • @nithin8432
    @nithin8432 Před 2 lety +4

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

  • @Jack-cm5ch
    @Jack-cm5ch Před 6 lety +49

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

    • @Wannabesage336
      @Wannabesage336 Před 4 lety +7

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

  • @WendyLee808
    @WendyLee808 Před 4 lety

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

  • @WSUFan2017
    @WSUFan2017 Před 6 lety +49

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

    • @blackpenredpen
      @blackpenredpen  Před 6 lety +4

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

  • @juandelacruz9125
    @juandelacruz9125 Před 6 lety +3

    Thanks blackpenredpen for teaching us this!

  • @Ebvardh
    @Ebvardh Před 6 lety

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

  • @erickarbieto8111
    @erickarbieto8111 Před 3 lety

    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!

  • @mahadhersi3754
    @mahadhersi3754 Před 2 lety

    Thank you professor BlackpenRedpen I appreciate you this amazing lesson.

  • @yon1623
    @yon1623 Před rokem +1

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

  • @aaronvr_
    @aaronvr_ Před 4 lety

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

  • @billofrights5064
    @billofrights5064 Před 5 lety +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.

  • @azure3544
    @azure3544 Před 5 lety +5

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

  • @woojason7119
    @woojason7119 Před 4 lety

    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)

  • @barence321
    @barence321 Před 2 lety +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.

  • @sweepingteyvat9515
    @sweepingteyvat9515 Před 4 lety

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

  • @Isac986
    @Isac986 Před 5 lety +2

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

  • @shacharh5470
    @shacharh5470 Před 6 lety

    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.

  • @ZectonplaysMC
    @ZectonplaysMC Před 5 lety +1

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

  • @michelletan7855
    @michelletan7855 Před 3 lety

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

  • @sergioh5515
    @sergioh5515 Před 6 lety +1

    You make math so entertaining :)

  • @shady153
    @shady153 Před rokem

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

  • @vegetaiv9275
    @vegetaiv9275 Před 8 měsíci

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

  • @krimzonghost1987
    @krimzonghost1987 Před 3 lety +1

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

  • @faizzailan5936
    @faizzailan5936 Před 3 lety

    this is the best number theory explanation, well done

  • @oborooizamisi1894
    @oborooizamisi1894 Před 2 lety

    Amazing explanation, just what I needed

  • @WhiteDotX
    @WhiteDotX Před 6 lety +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  Před 6 lety +2

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

  • @lucasgparker
    @lucasgparker Před 6 lety

    Congrats on the 100k!!

  • @Soumyayoutube
    @Soumyayoutube Před 5 lety

    U made it so easy ! thanks @you

  • @GreeeenT
    @GreeeenT Před 6 lety +15

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

  • @jerrytsai9580
    @jerrytsai9580 Před 4 lety

    Very well explained. Thank you so much.

  • @UnathiGX
    @UnathiGX Před 6 lety +6

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

  • @jgz919
    @jgz919 Před 9 měsíci

    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 🤣

  • @tcpudp1429
    @tcpudp1429 Před 2 lety

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

  • @Ethan-mj6wy
    @Ethan-mj6wy Před 6 lety +3

    Great video, loving all the number theory :)

  • @roof310
    @roof310 Před rokem +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.

  • @zellpeppers8181
    @zellpeppers8181 Před rokem +1

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

  • @thugpoet1847
    @thugpoet1847 Před 5 lety

    Amazing video! Thank you!

  • @Lolnigaaaaaaaaa
    @Lolnigaaaaaaaaa Před 2 lety

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

  • @AhmedAzhad
    @AhmedAzhad Před 4 lety

    Thank you very much. Very well explained.

  • @thundrking
    @thundrking Před 5 lety

    Straight to the point.. thanks

  • @kaninma7237
    @kaninma7237 Před 6 lety

    Good video. It helped a lot. Thanks!

  • @marnierogers3931
    @marnierogers3931 Před 2 lety +1

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

  • @antoinelunaire9462
    @antoinelunaire9462 Před 4 lety

    Thanks a lot, brief and effective

  • @frankensteinapps9442
    @frankensteinapps9442 Před rokem +1

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

  • @elijahseh7112
    @elijahseh7112 Před 4 lety

    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!

  • @MathsOnlineVideos
    @MathsOnlineVideos Před 2 lety

    Thanks a lot man. That helps a lot!

  • @ghassanabdalsalam9938
    @ghassanabdalsalam9938 Před rokem +1

    thaaaaaaaaaaaaank you , amazing , I love your explanation

  • @aayushve426
    @aayushve426 Před 3 měsíci +1

    Great video as always !

  • @AnayBhad
    @AnayBhad Před 8 měsíci

    thanks for this video helped me a lot.

  • @BentHestad
    @BentHestad Před 2 lety +2

    Very helpful! Thanks!!

  • @dikshabhise7480
    @dikshabhise7480 Před 3 lety

    great teaching🥰 I finally understand 👍

  • @sebinsebastian9531
    @sebinsebastian9531 Před 5 lety

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

  • @meghamishra1165
    @meghamishra1165 Před 5 lety

    Thanks a ton, man! 👌👌

  • @debolinasarkar573
    @debolinasarkar573 Před 5 lety

    Thanks that was helpful to me.

  • @Surya_Kiran_K
    @Surya_Kiran_K Před rokem +1

    I would attend every class of this guy 😭👍💓

  • @nikhilgupta6415
    @nikhilgupta6415 Před 5 lety

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

  • @scar6073
    @scar6073 Před rokem

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

  • @Gold161803
    @Gold161803 Před 6 lety

    I have actually seen (mod 1) used. It was to denote the fractional part of a non-integer, but non-integers aren't being considered here

  • @robertkissinger6050
    @robertkissinger6050 Před 3 lety

    Excellent explanation!

  • @utkarshraj3272
    @utkarshraj3272 Před 4 lety

    You are great.
    Thank You Very Much

  • @bgbg418
    @bgbg418 Před 2 lety +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 🙄.

  • @ayyagarisrinivas5082
    @ayyagarisrinivas5082 Před 4 lety +1

    Helpful man thanks ; )

  • @revanthnrajan2705
    @revanthnrajan2705 Před 5 lety +2

    Thank you for this!! :DD

  • @ajinkyamurtadak5797
    @ajinkyamurtadak5797 Před 4 lety

    Thanks it's so nice and useful 👏👏👏

  • @manojrajguru8852
    @manojrajguru8852 Před 6 lety

    u are the best professor..

  • @itzmrinyy7484
    @itzmrinyy7484 Před měsícem

    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.

  • @thimirabandara679
    @thimirabandara679 Před 3 lety

    very good video and very good explanation!

  • @valentinejepkemei149
    @valentinejepkemei149 Před 2 lety

    Thank you you are talented keep it up good work

  • @aonodensetsu
    @aonodensetsu Před 2 lety

    mod 1 is quite useful in programming, i would assume some special handling is written for it but it turns out useful

  • @zhangruoran
    @zhangruoran Před 5 lety +10

    : D this is exactly what I taught my students.

  • @123luckeyman123
    @123luckeyman123 Před 3 lety

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

  • @imDyne
    @imDyne Před 4 lety

    that was so good. thanks

  • @dumbdumbgivegum
    @dumbdumbgivegum Před rokem +2

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

  • @nathanielgabriel
    @nathanielgabriel Před 4 lety

    Smooth explanation

  • @giantdad7
    @giantdad7 Před 6 lety +4

    Please keep uploading Number Theory videos!

  • @alexcalabro8140
    @alexcalabro8140 Před 3 lety

    Very good, thank you!

  • @paulswillkim3744
    @paulswillkim3744 Před 5 lety

    Crystal clear!

  • @taylahonline2038
    @taylahonline2038 Před 4 lety

    does anyone know what the reverse of modular arithmetic is? Im decrypting and cannot find anything on it

  • @duartesilva6824
    @duartesilva6824 Před 4 lety

    THANK YOU SO MUCH!

  • @nnnmmiiii6994
    @nnnmmiiii6994 Před rokem

    excellent explanation

  • @shakeeljessa9619
    @shakeeljessa9619 Před 6 lety

    Great video!

  • @prestontao2
    @prestontao2 Před 2 lety

    thanks this helped me pass my test

  • @yashraj5836
    @yashraj5836 Před 3 lety

    Thank you very much

  • @akrambaki2680
    @akrambaki2680 Před 2 lety

    Thank you so much

  • @coin5207
    @coin5207 Před 3 lety

    Thank you for this video

  • @aparnadubey9662
    @aparnadubey9662 Před 5 lety

    How can you solvw the equation -17 mode 7

  • @nirmaljyotieducationclasse9965

    hey man how did you derive the 2 equation i am having a lot of trouble understanding that . how did you remove mod from the equvalence and all that

  • @navster100
    @navster100 Před 3 lety +6

    im doing proofs with modular congruence and my head is exploding

  • @GeorgeDCowley
    @GeorgeDCowley Před 3 lety

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

  • @nuggeteater69
    @nuggeteater69 Před 4 lety

    Is it necessary to state that a, k, n and b are all integers? For example, would I need to write that if I was asked to give these definitions on a test?