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

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

Learn Math Tutorials

Learn Math Tutorials

Күн бұрын

Пікірлер: 84
@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 3 жыл бұрын
Same oo
@RatioBozo69
@RatioBozo69 2 жыл бұрын
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
@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.
@christopherandrewmartin494
@christopherandrewmartin494 3 жыл бұрын
This was so helpful for me as I prepare for my upcoming Discrete Mathematics exam! Thank you.
@colinjbanks
@colinjbanks Жыл бұрын
Thank you. Explained very well. The best I’ve seen so far.
@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
@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
@trunkswithnojacket
@trunkswithnojacket 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!
@klabboy13
@klabboy13 7 жыл бұрын
You should make more of these on cryptography! This is great!
@souravraychaudhuri6600
@souravraychaudhuri6600 5 жыл бұрын
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.
@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
@trantrungnghia9642
@trantrungnghia9642 2 жыл бұрын
No no no it just took me 15 minutes to get to another level of DM 😮 you are a Saint
@Allegory101
@Allegory101 7 жыл бұрын
Thank you for all these crystal clear videos!
@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 2 ай бұрын
Since nine years
@dumebiobiaghanwa1998
@dumebiobiaghanwa1998 2 ай бұрын
I think he is dead😢
@BenjaminWheeler0510
@BenjaminWheeler0510 5 жыл бұрын
Thanks! Needed this for a Discrete Mathematics exam in about an hour.
@HuanPhanThai
@HuanPhanThai 5 жыл бұрын
Thank the teacher so much. The lecture is very easy to understand.
@cringegachakidisafatherlessbih
@cringegachakidisafatherlessbih Ай бұрын
Miss u bro
@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!
@shalindeval8746
@shalindeval8746 5 жыл бұрын
we need more cryptographic videos! please!!
@del7920
@del7920 6 жыл бұрын
Thank you so much! This was such an easy, clear video.
@RoundCorner93
@RoundCorner93 8 жыл бұрын
Great explanation. Thank you so much!
@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
@SageKisura
@SageKisura 3 жыл бұрын
Thank God I found this video
@heek40
@heek40 8 жыл бұрын
You're a saint
@aaagwz
@aaagwz Жыл бұрын
Very! very!! awesome work.
@Metareduxxx
@Metareduxxx Ай бұрын
genius
@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.
@dannynguyen8992
@dannynguyen8992 10 жыл бұрын
Thank You. Clear and Fast.
@goaway135
@goaway135 5 жыл бұрын
thank you, you have saved my day!
@alaamohammed8722
@alaamohammed8722 3 жыл бұрын
thank u so much.. u make much easier🌸
@T-She-Go
@T-She-Go 4 жыл бұрын
Why did you stop making videos😭😭 you're amazing!
@Engeneeringtips
@Engeneeringtips 7 жыл бұрын
Thanks !! It was very clear I finally understand it now
@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.
@a.sathyajothi2580
@a.sathyajothi2580 3 жыл бұрын
Thank you so much sir.
@aldocuomo9738
@aldocuomo9738 Жыл бұрын
GREAT VIDEO. THANKS
@joniin9384
@joniin9384 6 жыл бұрын
this is an awesome video, appreciations
@reenz3252
@reenz3252 6 жыл бұрын
I love you thank you so much
@mahtabmahdavifar4867
@mahtabmahdavifar4867 3 жыл бұрын
It was great Thanks!
@vanessatolentino5302
@vanessatolentino5302 9 жыл бұрын
Thank you. It really helped me. ☺️
@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
@chinthanasachin1684
@chinthanasachin1684 3 жыл бұрын
Thanx a Lot!
@maxinec2325
@maxinec2325 9 жыл бұрын
thanks for your help
@muktadanu1962
@muktadanu1962 8 жыл бұрын
u r amazing..
@xvid6041
@xvid6041 3 жыл бұрын
thank u sir
@abhinavmishra9401
@abhinavmishra9401 6 жыл бұрын
this helped ! thanks
@rashmiyadav3048
@rashmiyadav3048 3 жыл бұрын
Thankyou
@mostafanaga5021
@mostafanaga5021 10 жыл бұрын
legend
@christophersedlak1147
@christophersedlak1147 2 жыл бұрын
thanks!!!!!!!!!!!!!!!!!!
@hugochavez8797
@hugochavez8797 4 жыл бұрын
eres un amor
@cach_dies
@cach_dies 9 жыл бұрын
amazing! what happens if the mod is negative, can it be negative?
@h.moussa2190
@h.moussa2190 6 жыл бұрын
thank youuuuuuuuuuuuuuuuu
@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
@megalolly6140
@megalolly6140 4 жыл бұрын
Question: What if they become equal? (-416 = 16 x 26)
@anassazrour7179
@anassazrour7179 4 жыл бұрын
if b=aq+r than −b=a(−q−1)+a−r we use this formula in morocco
@yingliweng9759
@yingliweng9759 5 жыл бұрын
best :)
@sampathkumartallapally5691
@sampathkumartallapally5691 4 жыл бұрын
it initiated me again
@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
@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 6 жыл бұрын
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.
@davisjohn-d6h
@davisjohn-d6h 5 жыл бұрын
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.
@austinbao
@austinbao 4 жыл бұрын
AHHHHH the 1k like feels gud
@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..?
@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
@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
@abduljalilisa7754
@abduljalilisa7754 4 жыл бұрын
Who're the 9 crazy people to dislike this video
@choleedw7469
@choleedw7469 4 жыл бұрын
Freedom people use Utopia.
How to Multiply  in Modular Arithmetic - Cryptography - Lesson 5
7:36
Learn Math Tutorials
Рет қаралды 99 М.
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 58 МЛН
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,1 МЛН
Basics of Modular Arithmetic
18:39
SyberMath
Рет қаралды 81 М.
How To Calculate Any Square Root
13:33
MindYourDecisions
Рет қаралды 149 М.
Finding mod of a Negative Number -- Cyber Security CSE4003
6:50
Factoring Quadratics WITHOUT Guessing Product & Sum
20:01
JensenMath
Рет қаралды 130 М.
1995 British Mathematics Olympiad problem
20:59
Prime Newtons
Рет қаралды 206 М.
How does Modular Arithmetic work?
11:19
Tom Rocks Maths
Рет қаралды 122 М.
How to STUDY so FAST it feels like CHEATING
8:03
The Angry Explainer
Рет қаралды 1,8 МЛН
Modular arithmetic made easy
7:02
RH
Рет қаралды 74 М.
Number Theory | Congruence Modulo n -- Definition and Examples
6:42
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 58 МЛН