Modular exponentiation

  Рет қаралды 292,680

GVSUmath

GVSUmath

Күн бұрын

Пікірлер: 182
@VFXCommander
@VFXCommander 9 жыл бұрын
Perfect explanation, despite the twitching.
@richardblack1588
@richardblack1588 7 жыл бұрын
Diego de la Vega flickering
@Peachyj06
@Peachyj06 7 жыл бұрын
spasming
@Pixelynx
@Pixelynx 6 жыл бұрын
orgasiming Wait... What were we doing?
@SurajKumar-bw9oi
@SurajKumar-bw9oi 4 жыл бұрын
glitching
@arampathkushan2861
@arampathkushan2861 3 жыл бұрын
tweaking
@outlaws9295
@outlaws9295 8 жыл бұрын
Besides the occasional issues with the video itself, this was a very great demonstration. Excellent job!
@fzndn-xvii
@fzndn-xvii 7 жыл бұрын
When a KZbin video explains explains better than your professor. Thanks!
@joshii4537
@joshii4537 Ай бұрын
Lmao I had a course where the prof just showed us this guys videos
@amarthya.t9842
@amarthya.t9842 11 ай бұрын
Even after 9 years of upload this is just great demonstration. thank you mate.
@FRANCISCORODRIGUEZ-vq2jj
@FRANCISCORODRIGUEZ-vq2jj 6 жыл бұрын
my professor wasn't able to teach me in a 3 hour class period what you just taught me in 11 min and 36 seconds. thank you so much!
@ZacMitton
@ZacMitton 4 жыл бұрын
Or 5 minutes at 2x speed
@ianchen1962
@ianchen1962 4 жыл бұрын
@@ZacMitton haha
@ko-Daegu
@ko-Daegu 2 жыл бұрын
@@ZacMitton I watched at 1.5 while skipping
@MyOneFiftiethOfADollar
@MyOneFiftiethOfADollar Жыл бұрын
The difference is you did not sleep during this video AND of course it was your professor's fault for not being able to keep you awake. Be accountable for your own learning outcomes rather than blaming others.
@rcollins0618
@rcollins0618 8 жыл бұрын
Such a simple demonstration really beats trying to learn this from just reading formal notation. thank you very much! (I often have this trouble with discrete math - it's not hard stuff, I just get caught up in keeping all the variables in my head).
@outlaws9295
@outlaws9295 8 жыл бұрын
Exact same issue here, man. I took one look at this process (or at least a very similar one) in my textbook and it made little to no sense. Once I saw this video, the process became crystal clear. I know that the formal notation is mathematically correct, but it's usually not the best way to demonstrate a concept for the first time.
@jsteezeful
@jsteezeful 5 жыл бұрын
This is so good it also makes me question my professor and their pathetic book that tries to explain this in 2 paragraphs.
@sampugh6404
@sampugh6404 6 жыл бұрын
This just saved me on security homework. Thank you so much. Very cool concept
@alexrobert4614
@alexrobert4614 6 жыл бұрын
Best tutorial out there. My prof sucks. Took me 2 days to understand fully. Thank you
@psychedelicfungi
@psychedelicfungi 9 жыл бұрын
One very helpful video! Thanks! (Unfortunately the screen flicker was really distracting)
@alexisreynolds4277
@alexisreynolds4277 2 жыл бұрын
Finally a good example! I looked at so many videos that didn't help before finding this one. Thank you!
@deano50z
@deano50z 6 жыл бұрын
Excellent video, followed along with a notepad and pen and understood it less than 10 mins later. Thanks pal!!
@kdpoint4221
@kdpoint4221 6 жыл бұрын
it took 3h to get a perfect explanation..... thanks a lot
@joshuagroeschl7001
@joshuagroeschl7001 3 жыл бұрын
This is most stupendous indeed, I was struggling with this conceptually for some time before stumbling across this video. I appreciate you for taking the time to curate these works! Excellent example and explanation.
@terriblast8076
@terriblast8076 8 жыл бұрын
One of the best tutorial I've watch..You discuss well
@NicholasGorsich
@NicholasGorsich 2 ай бұрын
from 2024, incredible video, helped me out lots!!!
@rajatsingh8143
@rajatsingh8143 Жыл бұрын
best explanatioon in the world saved me for exam
@DVRhm25
@DVRhm25 3 жыл бұрын
I watched this drunk. It all makes sense. Nice work prof!
@b34amanahmed
@b34amanahmed Жыл бұрын
He is brilliant and excellent Once look into this u will find ur solutions
@krichard12
@krichard12 5 жыл бұрын
Thank you, you saved my grade on today's exam.
@costerchimbwanda3936
@costerchimbwanda3936 9 жыл бұрын
saw the screen flickering..thought t was a problem with my pc..anyway was a great illustration
@jiaxinli1674
@jiaxinli1674 4 жыл бұрын
Thanks for saving my ICS 6D
@NOSHEDMANTIS
@NOSHEDMANTIS 7 жыл бұрын
Great Video, clear explanation and good audio quality (essential).
@cbabrunal
@cbabrunal Жыл бұрын
In a few minutes you explain what my university professor couldn't in months
@matkenis3013
@matkenis3013 6 жыл бұрын
I was looking for modular exponentiation explanation all over youtube and it all pretty much was garbage. Thank you for actually explaining things ffs :)
@SpookyRumi
@SpookyRumi 3 жыл бұрын
Amazing! You saved me so much time with this
@simonliu2268
@simonliu2268 8 жыл бұрын
Amazing thank you very much, I didn't understand my professors abbreviation of this, but you did a very VERY good job.
@KoksMOks
@KoksMOks 3 жыл бұрын
that alg is amazing AF
@sebastianrauch2758
@sebastianrauch2758 4 жыл бұрын
Thanks for the good explanation. Realy helped a lot. :D
@larsmees4952
@larsmees4952 4 жыл бұрын
Wouldn't it be faster to first perform a modular division using the same value (50) on the exponent? 2^(200 mod 50) = 2^0 = 1 Or is this just a coincidence?
@yaggikjalan
@yaggikjalan 3 жыл бұрын
This helped me so much for rsa algorithm questions! Thanks a million ☺
@monowar6723
@monowar6723 6 жыл бұрын
Thanks a lot ! i will remember this video for the rest of my life.
@Chriib
@Chriib 7 жыл бұрын
Cool trick. I will use this trick on my exam today.
@directx872
@directx872 4 жыл бұрын
This is so fucking awesome. I now have *the power to compute*
@swordclash6618
@swordclash6618 6 жыл бұрын
The explanation is A+ but the screen flickering almost made me go nuts.
@cameronsaunders9020
@cameronsaunders9020 9 ай бұрын
The flicking is really bothering my eyes lol
@hardinrami8500
@hardinrami8500 9 ай бұрын
Thank you for the explanation! It took me a while to get it though.
@priyankmungra29
@priyankmungra29 3 жыл бұрын
nice explanation. Thank you for your efforts.
@ayaanpuri5697
@ayaanpuri5697 5 жыл бұрын
lots of really large exponents' modulos are equal to 1 by fermat's little theorem
@vineet1034
@vineet1034 8 жыл бұрын
what happen if base is 132 or bigger
@KhandkarAsifHossain
@KhandkarAsifHossain 5 жыл бұрын
Awesome video. But I am having trouble finding the mod with high base number such as 26^37 mod 77 can u help with that. 26^8 seems to pose a problem.
@shinwoo_park
@shinwoo_park 5 жыл бұрын
it helps me a lot! thank you sir. What a nice lecture
@mohammadahmedragab837
@mohammadahmedragab837 2 жыл бұрын
great explanation. please, in the last part of the video, Why 3751 mode 50? Should 3751 the answer of 3^200 mode 50 ? I need to understand this more
@jonty3551
@jonty3551 4 жыл бұрын
Great explanation man..... appreciate it🤝👍
@victorakinyemi2692
@victorakinyemi2692 9 жыл бұрын
To calculate 2^300 mod 50. easy approach to solve this question is to Fermat thereom: a^ phi(n) = 1 mod n with gcd(a,n)= 1 so since gcd(2,50) = 1 then i calculate phi(50)= (2-1)*(5^2-5) =20 so 2^20 =1 mod 50 if i multiply this modular expression 15 times then i have 2^300 = 1 mod 50
@killator3421
@killator3421 8 жыл бұрын
One question how can 2 multiplied several times with 2 be an odd number when the mod is 50?
@johnchang8279
@johnchang8279 6 жыл бұрын
This explanation is a little confused. First, the problem is 3^200, not 2^300. But if you want to find 2^300 (mod 50), gcd(2,50)=2, so you can't use Euler directly. Instead you have to factor the modulus into the powers of its primes: x ≡ 2^300 (mod 25) and x ≡ 2^300 (mod 2). Then apply Euler to the first congruence: x ≡ 1 (mod 25). The second congruence is x ≡ 0 (mod 2). The solution is x ≡ 26 (mod 50).
@kriswalsh1020
@kriswalsh1020 3 жыл бұрын
On the step where you do 200+128+64+8 how'd you get the 64 and 8. I have a question similar but it's 221.
@AlexandrBorschchev
@AlexandrBorschchev 4 жыл бұрын
Im grade 9 learning this for a math contest. It looks crazy useful and really really cool, i want to know how to master this. Thank you for the video.
@AlexandrBorschchev
@AlexandrBorschchev 2 жыл бұрын
haha, cool story buddy.
@harley3514
@harley3514 Жыл бұрын
Thank you, other videos on this were not making sense for me, but this did
@robertniyazoff2591
@robertniyazoff2591 12 күн бұрын
Why did you convert 200 to binary? Is it necessary to do? You didn't use it in the problem to help you
@tonychen1083
@tonychen1083 8 жыл бұрын
Thank you for your excellent explanation!
@navyakakarlapudi6126
@navyakakarlapudi6126 6 жыл бұрын
Nice explanation sir.Thank u so much......
@stea27
@stea27 8 жыл бұрын
Very informative, easy to understand it in your demonstration. Thank you!
@stanger8992
@stanger8992 5 жыл бұрын
Ok that is kinda obvious but i have an exam soon where i will have to calculate 30 of such numbers without using calculator, and it has to take max 10 min because it's one of 18 excersises on that exam. How do i go about solving for example 33^350 mod 7 in 20 seconds, using only pen and paper?
@sindisiwemncube4665
@sindisiwemncube4665 4 жыл бұрын
How did you get that binary number? 11001000?
@Th1sUsernameIsNotTaken
@Th1sUsernameIsNotTaken 4 жыл бұрын
Thank you for this! other video's I've seen just completely skip steps or don't explain. Can't get a meeting with my teacher for a few days (online learning) and the book didn't explain any of the random jumping it was doing (didn't do steps, just jumped to the "solved" part). Now I can actually practice lol.
@memento_mori6019
@memento_mori6019 5 жыл бұрын
Excellent breakdown. Thank you.
@owaisali995
@owaisali995 5 жыл бұрын
really thankfull for this video.. great explanantion...
@吳振瑋-y4l
@吳振瑋-y4l 6 жыл бұрын
That was an awesome explanation. Solved my problem~.
@mdmuktadirmazumder284
@mdmuktadirmazumder284 4 жыл бұрын
love you 3000mod3000
@skurt21
@skurt21 Жыл бұрын
I found a problem, and since nobody mentioned it in 9 year, it's probably on my side. I follow the remainders or moduli (?sorry) for powers up to 32. But according to my calculations 5 to the power of 64 mod 50 is 20 and not 31 as you mention. Am I really wrong? I calculated it in powershell
@skurt21
@skurt21 Жыл бұрын
yep, I'm the problem, sorry. I have no idea what I did wrong, but I'm getting the same numbers as you do now. Sorry (y)
@shailendrakumar3130
@shailendrakumar3130 5 жыл бұрын
Thanks man, searching for this information from mornimg
@tinkerbajwa
@tinkerbajwa 2 жыл бұрын
wow I understood it right away! Thankyou so much...
@ScotMatson
@ScotMatson 9 жыл бұрын
This video is so thorough and one of the better ones I have come across but that screen flicker practically ruins it for me, it is really dizzying by the end. Such a shame! Thanks for taking the time to put this together otherwise, my book cannot nearly present this concept in such a clean fashion as you have here.
@aries3690
@aries3690 2 жыл бұрын
Thank you so much for your clear explanation!
@ianchen1962
@ianchen1962 4 жыл бұрын
dang that's so cool. Learned a lot from this
@Sahandkeshavarz
@Sahandkeshavarz 7 жыл бұрын
how would i do that if my exponent is greater than 255 then i wont be able to convert to binary
@figurativelyrazzmatazz7656
@figurativelyrazzmatazz7656 5 жыл бұрын
I don't understan why you replaced the 3^8 with 31, why are they the same?
@anhminhtran3438
@anhminhtran3438 5 жыл бұрын
Very well explained. Thank you
@masutthe_gooner3356
@masutthe_gooner3356 2 жыл бұрын
What if the power is too long what then?
@wideputin6586
@wideputin6586 4 жыл бұрын
What if the power is a big prime number
@kelvinella
@kelvinella 6 жыл бұрын
this can be done in one line... Since (3, 50) = 1, and phi(50) = 50*1/2*4/5 = 20, then by Euler's thm, 3^200 = 1 mod 50
@JoseSanchez-vv1zd
@JoseSanchez-vv1zd 7 жыл бұрын
Great job! Thanks for the clear explanation! :)
@DanielVazquez
@DanielVazquez 5 жыл бұрын
Is there a shorter way? I mean, I just had a test and I was expected to solve 2^75 (mod 73) in one minute or so.
@tanishqraina3656
@tanishqraina3656 5 жыл бұрын
Well go ahead and use binomial theorem
@stephaniagambaroff820
@stephaniagambaroff820 5 жыл бұрын
excellent explanation! Thank you.
@MotorHeadTech
@MotorHeadTech 8 жыл бұрын
I don't get the 31 and 11 parts I get everything else tho please help
@zanonymousruiz9697
@zanonymousruiz9697 4 жыл бұрын
This saved my entire ass- Thanks!
@MichelleVo
@MichelleVo 9 жыл бұрын
How did you figure out the binary for 200 from scratch?
@beasty45
@beasty45 10 жыл бұрын
One Question. In the Modular exponentiation video, what if the exponent was an odd number such as 201 instead of 200. Is the procedure of solving the problem the same?
@Jambo601165
@Jambo601165 9 жыл бұрын
It would be, you would just have to do the calculation for 3^1 mod 50 = 3 mod 50. Then at the end when you are multiplying your exponents you would add 3^1 to the calculation, so 3^128 x 3^64 x 3^8 x 3^1 = (11)(31)(11)(3) = 11253 mod 50 = 3
@ouraghyoussef5612
@ouraghyoussef5612 9 жыл бұрын
+Jamie Watkinson 128+64+8+1=201!! ???
@AkshayAradhya
@AkshayAradhya 9 жыл бұрын
Would have liked the video if it wasnt for the flickering. Please use a better screen cast cause you teach really well and that shouldnt be spoiled by some flickering screen.
@rafsanjanimuhammod309
@rafsanjanimuhammod309 8 жыл бұрын
Really Nice One, Sir !!!
@meysamamini9473
@meysamamini9473 4 жыл бұрын
Was very vary useful Thanks a Lot !
@SitWithItBob
@SitWithItBob 2 жыл бұрын
This helped a lot, thanks!
@ai_robozen
@ai_robozen 4 жыл бұрын
Beautiful.
@KayOScode
@KayOScode 3 жыл бұрын
You still end up needing a big integer-like library when it comes to RSA because your working with bases and powers hundreds or thousands of bits long
@jeffryyapin1399
@jeffryyapin1399 9 жыл бұрын
One Question How about if the exponent was smaller then 128. for example 120 did we need to know the 128bit??
@sgut1947
@sgut1947 9 жыл бұрын
+Jeffry Yapin No, you don't need the 128, because 120 = 64+32+16+8 (binary 1111000). In general, you only need up to the power of two that's less than the required exponent.
@EasiestTutor
@EasiestTutor Жыл бұрын
thank you rhabk you i was struggling this was best and easiest
@EndietheEnderman
@EndietheEnderman 9 ай бұрын
Helped heaps! Thanks
@subizsunuwar7068
@subizsunuwar7068 6 жыл бұрын
thanks sir ....it's help me, while calculating encryption of msg.
@jeanantazo7746
@jeanantazo7746 6 жыл бұрын
what happen in 3751?
@ninjanothing8343
@ninjanothing8343 4 жыл бұрын
Thank you very much! Very helpful
@Just_an_alien1
@Just_an_alien1 5 жыл бұрын
Helped me a lot thank you
@zaferkhourdaji1958
@zaferkhourdaji1958 6 жыл бұрын
Best Explanation
@manny1tm
@manny1tm 8 жыл бұрын
What if the exponent is a prime? 417^103 mod 779.
@jesuschristsonofgod9709
@jesuschristsonofgod9709 8 жыл бұрын
+Manuel Martin Try Fermat's Little Theorem
@anujaghosh179
@anujaghosh179 8 жыл бұрын
can you show it here using fermat's?
@eodkybb
@eodkybb 8 жыл бұрын
hei
@johnchang8279
@johnchang8279 6 жыл бұрын
Factor the modulus 779 = 19*41, use modularity to reduce it to 417^103 ≡ (-1)^103 ≡ -1(mod 19) and Fermat's little theorem on 417^103 ≡ 417^23 ≡ 7^23 ≡ 7*49^11 ≡ 7*8^11 ≡ 7*2^33 ≡ 7* 2^(10*3) * 8 ≡ -56 (mod 41). Then solve the simultaneous congruences: -56+41k ≡ -1(mod 19). 41 ≡ 3 (mod 19) and 55 ≡ -2 (mod 19), so this reduces to 3k ≡ -2 (mod 19). 3k ≡ -2+2*19 ≡ 36 (mod 19). Dividing by 3 gives k≡12 (mod 19), so x≡ -56+41*12 ≡ 436 (mod 779). By contrast, exponentiation by repeated squaring would be far more laborious, suitable for a computer but quite tedious for a human. On the other hand, repeated squaring is the method to use if the modulus is a large prime, larger than the exponent. Euler's theorem makes the stated problem x≡ 3^200 (mod 50) almost trivial. It says 3^20 ≡ 1 (mod 50), because the totient of 50= 50(1-1/2)(1-1/5)=20 and gcd(3,50)=1.
@dialamark7863
@dialamark7863 4 жыл бұрын
I loved it. Thank you
@nikhilchoudhary277
@nikhilchoudhary277 5 жыл бұрын
WOOOOOWWWWW! What an Explainantion
@pc557
@pc557 4 жыл бұрын
You should put a photo-epilepsy warning on this video!
@abaleg2272
@abaleg2272 2 жыл бұрын
it took this guy 11 minutes to do something i did in 30 seconds. 3^5=43=-7(mod 50), and squaring both sides we get 3^10= 49=-1(mod 50). taking the 20th power on both sides, we get (3^10)^20=(-1)^20(mod 50) Thus, 3^200= 1(mod 50) And i'm in grade 9 learning this for the IMO
@INAYATULLAHSHEIKH
@INAYATULLAHSHEIKH 6 жыл бұрын
Shortcut: 3^200 is cong to 7^40 is cong to 1 (mod 50).So remainder =1.
@rishabhbharti7491
@rishabhbharti7491 7 жыл бұрын
Crystal clear.
@TariqAbdulGhani-kt1nk
@TariqAbdulGhani-kt1nk 2 жыл бұрын
very helpful thank u🙂
Extended Euclidean Algorithm Example
14:50
John Bowers
Рет қаралды 322 М.
System of congruences, modular arithmetic
18:51
blackpenredpen
Рет қаралды 325 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Fermat's Little Theorem examples
11:45
Maths with Jay
Рет қаралды 493 М.
Modular Exponentiation (Part 1)
10:20
Neso Academy
Рет қаралды 391 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 806 М.
Modular Exponentiation - Discrete Math Structures Lesson 8
8:02
Mark's Education Tutorials
Рет қаралды 38 М.
BIG Exponents - Modular Exponentiation, Fermat's, Euler's
16:02
Theoretically
Рет қаралды 66 М.
Modular Exponentiation (Part 2)
19:38
Neso Academy
Рет қаралды 167 М.
Multiplicative inverses mod n
13:22
GVSUmath
Рет қаралды 170 М.
What is mathematical thinking actually like?
9:44
Benjamin Keep, PhD, JD
Рет қаралды 11 М.
How to Multiply  in Modular Arithmetic - Cryptography - Lesson 5
7:36
Learn Math Tutorials
Рет қаралды 99 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН