How to Convert a Negative Integer in Modular Arithmetic - Cryptography - Lesson 4

  Рет қаралды 124,809

Learn Math Tutorials

Learn Math Tutorials

Күн бұрын

Пікірлер: 85
@JohnSmith-bx4gf
@JohnSmith-bx4gf 7 жыл бұрын
Reading about this craziness for the last hour and only you could explain it clearly.
@llawliet1750
@llawliet1750 5 жыл бұрын
same to me now 2 years after
@iam_topg
@iam_topg 4 жыл бұрын
same man
@barbaraamedekanya5338
@barbaraamedekanya5338 4 жыл бұрын
Same oo
@RatioBozo69
@RatioBozo69 3 жыл бұрын
Same
@plebbo14
@plebbo14 5 жыл бұрын
Literally seeing everyone else in the same boat as me why aren’t the books as good as teaching this as you You’re so good!
@trevorbenjamin928
@trevorbenjamin928 3 жыл бұрын
I know I'm kinda off topic but does anyone know a good website to stream newly released tv shows online ?
@carmelojerome9214
@carmelojerome9214 3 жыл бұрын
@Trevor Benjamin Flixportal xD
@trevorbenjamin928
@trevorbenjamin928 3 жыл бұрын
@Carmelo Jerome thank you, I went there and it seems like a nice service :) I appreciate it!!
@carmelojerome9214
@carmelojerome9214 3 жыл бұрын
@Trevor Benjamin you are welcome xD
@colinjbanks
@colinjbanks Жыл бұрын
Thank you. Explained very well. The best I’ve seen so far.
@souravraychaudhuri6600
@souravraychaudhuri6600 6 жыл бұрын
An easy trick to solve this problem: 1. Ignore the -ve sign on the number (n). 2. Find the remainder(R) when divided by (m). (Just like how the modulo is found for +ve integer) 3. Do m - R (m minus R) to get the final answer for the -ve number (n).
@elitemaths4994
@elitemaths4994 3 жыл бұрын
Yeah, bro, I thought about the same thing and was just going to write in the comments.
@oOnewerOo
@oOnewerOo 7 жыл бұрын
could not find a single video in german that explains it, finally i found u and i unterstand every single word and obviously i also check how to solve it.
@fatyoshirules
@fatyoshirules 5 жыл бұрын
Thank you so much for taking your time to make these videos! They are the best resource I have found here on KZbin when it comes to modular arithmetic!
@christopherandrewmartin494
@christopherandrewmartin494 3 жыл бұрын
This was so helpful for me as I prepare for my upcoming Discrete Mathematics exam! Thank you.
@nicholasbraud1986
@nicholasbraud1986 7 жыл бұрын
Thanks man, you took three minutes to explain what my book tries to in 15 pages of uselessness.
@obetachristopher8354
@obetachristopher8354 3 жыл бұрын
Haaahaaa oh God
@klabboy13
@klabboy13 7 жыл бұрын
You should make more of these on cryptography! This is great!
@DarkGT
@DarkGT 7 жыл бұрын
Thanks Paul, no one teacher can explain it like you. Sadly you didn't make more episodes of Cryptography videos.
@JustMe-ob3nw
@JustMe-ob3nw Жыл бұрын
True
@qlikviewtraining3012
@qlikviewtraining3012 6 жыл бұрын
You're a great teacher. Reminded of Salman Khan (Khan Academy) .Thank you.
@sayalideo7823
@sayalideo7823 4 жыл бұрын
Awesome. Please continue adding more tutorials in this playlist. Thanks a lot
@Allegory101
@Allegory101 7 жыл бұрын
Thank you for all these crystal clear videos!
@trantrungnghia9642
@trantrungnghia9642 2 жыл бұрын
No no no it just took me 15 minutes to get to another level of DM 😮 you are a Saint
@jaejoonpark9548
@jaejoonpark9548 8 жыл бұрын
thank you so much. i was having hard time with understanding negative modulo arithmetic
@c.kreddy6795
@c.kreddy6795 4 жыл бұрын
Sir y r u not uploading videos since 5 years
@sonofagah2416
@sonofagah2416 4 ай бұрын
Since nine years
@dumebiobiaghanwa1998
@dumebiobiaghanwa1998 4 ай бұрын
I think he is dead😢
@BenjaminWheeler0510
@BenjaminWheeler0510 5 жыл бұрын
Thanks! Needed this for a Discrete Mathematics exam in about an hour.
@del7920
@del7920 6 жыл бұрын
Thank you so much! This was such an easy, clear video.
@aryanrahman3212
@aryanrahman3212 4 жыл бұрын
I would like to clarify a thing which confused me: 1. The reason we NEED to get a number that is MORE negative is because if we didn't for example, -50-1=-51, NOTICE THAT THE REMAINDER IS negative 1 not 1, in modulo 10 the range of valid numbers you can have is 0,1,2,3,4,5,6,7,8,9.. right? It cannot be negative so to get the number in that range we must find a number that is MORE NEGATIVE than -51 and then ADD A POSITIVE INTEGER which is in that given set of numbers 0 to 9.
@fairlymoon448
@fairlymoon448 7 жыл бұрын
oops my bad, found the playlist, (tho i think it should be called modular arithmetic) these vids are fantastic btw! so clear!
@heek40
@heek40 8 жыл бұрын
You're a saint
@RoundCorner93
@RoundCorner93 8 жыл бұрын
Great explanation. Thank you so much!
@devondevon4366
@devondevon4366 5 жыл бұрын
4:09 -51= -6x 10 + 9 n=qm + r .. quotient has to change since you keep the mod (10) and the remainder has to be positive, so only quotient would have to change to make the equation -51
@HuanPhanThai
@HuanPhanThai 5 жыл бұрын
Thank the teacher so much. The lecture is very easy to understand.
@astudilloerika31
@astudilloerika31 3 жыл бұрын
I wish every professor went over every step. I am more of a visual person and some professors just say the steps out loud without displaying the steps on paper
@amorfati4559
@amorfati4559 4 жыл бұрын
An easy way to do this: n = a (mod m) -n = b (mod m) where a+b = m Since it is easy to just find n (mod m), all you have to do to find -n (mod m) is take the difference. It is a simple proof to show why this works: Let n = q_1m + r_1 --> q_1 < n Let -n = q_2m +r_2 --> q_2m < -n --> |q_2m| > n --> |q_2| = q_1 +1. If |q_2| = q_1 + 1 q_2 = -q_1 -1. Now, -(-n) = n, so: -((-q_1-1)m + r_2) = q_1m +r_1 r_1 + r_2 = m and since the remainders are the same thing as a and b, we can say that a+b = m.
@shalindeval8746
@shalindeval8746 5 жыл бұрын
we need more cryptographic videos! please!!
@goaway135
@goaway135 6 жыл бұрын
thank you, you have saved my day!
@aaagwz
@aaagwz Жыл бұрын
Very! very!! awesome work.
@SageKisura
@SageKisura 3 жыл бұрын
Thank God I found this video
@Engeneeringtips
@Engeneeringtips 7 жыл бұрын
Thanks !! It was very clear I finally understand it now
@dannynguyen8992
@dannynguyen8992 10 жыл бұрын
Thank You. Clear and Fast.
@alaamohammed8722
@alaamohammed8722 3 жыл бұрын
thank u so much.. u make much easier🌸
@joniin9384
@joniin9384 6 жыл бұрын
this is an awesome video, appreciations
@cringegachakidisafatherlessbih
@cringegachakidisafatherlessbih 3 ай бұрын
Miss u bro
@bornkool
@bornkool Ай бұрын
Thanks for the lesson
@vanessatolentino5302
@vanessatolentino5302 9 жыл бұрын
Thank you. It really helped me. ☺️
@T-She-Go
@T-She-Go 4 жыл бұрын
Why did you stop making videos😭😭 you're amazing!
@PiriyaSambandaraksa
@PiriyaSambandaraksa 6 жыл бұрын
can I just do a floor division on the negative number with m? say I get -13 as d in RSA where p=11 q=5 n=55 phi(n)=40 e = 3 -13 // 40 = -1 -13 - (-40) = 27
@aldocuomo9738
@aldocuomo9738 2 жыл бұрын
GREAT VIDEO. THANKS
@dscruiter
@dscruiter 7 жыл бұрын
aside from practicality or definition (?), why can't we have just -51 = (-5)*10 + (-1), so that R= -1? makes it more symmetrical regarding the positive cases?
@projectryan88
@projectryan88 7 жыл бұрын
That is a very valid question, did you ever find an answer as to why he didn't use that solution? Because now I'm wondering the same thing as it seems also mathematically correct to my eyes though this is all new to me so I could be wrong.
@a.sathyajothi2580
@a.sathyajothi2580 3 жыл бұрын
Thank you so much sir.
@cach_dies
@cach_dies 10 жыл бұрын
amazing! what happens if the mod is negative, can it be negative?
@Metareduxxx
@Metareduxxx 2 ай бұрын
genius
@davisjohn-d6h
@davisjohn-d6h 6 жыл бұрын
But when you divide -37 by 5 and 3 by 5, they don't have equal remainders. Shouldn't it be -37=2 (mod5) because then -37/5 gives remainder of 2 and 2/5 gives remainder of 2.
@reenz3252
@reenz3252 6 жыл бұрын
I love you thank you so much
@zeeshanulhaq4619
@zeeshanulhaq4619 5 жыл бұрын
why cant we go with -35 and than add (-2) to get the result.. why should be the product qm always be more negative..?? is this because the reminder can never be negative or any other reason..?
@mahtabmahdavifar4867
@mahtabmahdavifar4867 3 жыл бұрын
It was great Thanks!
@megalolly6140
@megalolly6140 4 жыл бұрын
Question: What if they become equal? (-416 = 16 x 26)
@maxinec2325
@maxinec2325 9 жыл бұрын
thanks for your help
@muktadanu1962
@muktadanu1962 8 жыл бұрын
u r amazing..
@osman_gedik
@osman_gedik 4 жыл бұрын
When I calculate -5 mod 11 than it looks like this: -5 mod 11 -5 = -1 * 11 + 6 But 6 is not the inverse element of -5. It should be 9
@abhinavmishra9401
@abhinavmishra9401 7 жыл бұрын
this helped ! thanks
@ahmadkhader1901
@ahmadkhader1901 4 жыл бұрын
Why don't we say that reminder is - 1 and the resultant is - 5 So it well looks like that (-5.9) + (-1) = -51
@chinthanasachin1684
@chinthanasachin1684 4 жыл бұрын
Thanx a Lot!
@anassazrour7179
@anassazrour7179 4 жыл бұрын
if b=aq+r than −b=a(−q−1)+a−r we use this formula in morocco
@Dracstar
@Dracstar 10 жыл бұрын
what happened to the patreon video?
@learnmathtutorials
@learnmathtutorials 10 жыл бұрын
Dracstar Oh you noticed. Originally, I set up my Patreon account to allow pledges per video uploaded. Then I talked with a few people about it and it seemed that more people liked the pledge per month option, so I switched the pledge option to be monthly. The Patreon video that I originally made, described the per video pledge option. So I figured I would take it down and redo it later to reflect the per month option and hopefully avoid confusion.
@learnmathtutorials
@learnmathtutorials 10 жыл бұрын
Dracstar My Patreon account is still up at www.patreon.com/learnmathtutorials
@Dracstar
@Dracstar 10 жыл бұрын
Learn Math Tutorials thanks :D
@mostafanaga5021
@mostafanaga5021 10 жыл бұрын
legend
@xvid6041
@xvid6041 3 жыл бұрын
thank u sir
@christophersedlak1147
@christophersedlak1147 2 жыл бұрын
thanks!!!!!!!!!!!!!!!!!!
@austinbao
@austinbao 4 жыл бұрын
AHHHHH the 1k like feels gud
@rashmiyadav3048
@rashmiyadav3048 3 жыл бұрын
Thankyou
@h.moussa2190
@h.moussa2190 7 жыл бұрын
thank youuuuuuuuuuuuuuuuu
@sampathkumartallapally5691
@sampathkumartallapally5691 4 жыл бұрын
it initiated me again
@abduljalilisa7754
@abduljalilisa7754 5 жыл бұрын
Who're the 9 crazy people to dislike this video
@hugochavez8797
@hugochavez8797 4 жыл бұрын
eres un amor
@yingliweng9759
@yingliweng9759 5 жыл бұрын
best :)
@choleedw7469
@choleedw7469 4 жыл бұрын
Freedom people use Utopia.
How to Multiply  in Modular Arithmetic - Cryptography - Lesson 5
7:36
Learn Math Tutorials
Рет қаралды 99 М.
Modular Arithmetic with Negative Numbers
8:25
Caveman Chang | Algebra Teacher
Рет қаралды 12 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Basics of Modular Arithmetic
18:39
SyberMath
Рет қаралды 91 М.
System of congruences, modular arithmetic
18:51
blackpenredpen
Рет қаралды 326 М.
Finding mod of a Negative Number -- Cyber Security CSE4003
6:50
2.2.1 Congruence mod n: Video
13:12
MIT OpenCourseWare
Рет қаралды 155 М.
Solve a Linear Congruence using Euclid's Algorithm
14:23
Maths with Jay
Рет қаралды 459 М.
Number Theory | Modular Inverses: Example
9:41
Michael Penn
Рет қаралды 34 М.
Modular exponentiation
11:37
GVSUmath
Рет қаралды 293 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН