Тёмный

The Math Needed for Computer Science (Part 2) | Number Theory and Cryptography 

Zach Star
Подписаться 1,3 млн
Просмотров 310 тыс.
50% 1

STEMerch Store: stemerch.com/
If you missed part 1: • The Math Needed for Co...
Support the Channel: / zachstar
PayPal(one time donation): www.paypal.me/ZachStarYT
Instagram: / zachstar
Twitter: / imzachstar
Join Facebook Group: / majorprep
►Check out the MajorPrep Amazon Store: www.amazon.com/shop/zachstar

Опубликовано:

 

25 апр 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 219   
@zachstar
@zachstar 5 лет назад
Hey guys, since this I made a more updated video on number theory and how it's used in cryptography. Mathematics of Cryptography: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-uNzaMrcuTM0.html
@Basaisehi843
@Basaisehi843 4 года назад
MajorPrep Man you are super dope ! 🤟
@Minskpotato
@Minskpotato 4 года назад
Hey Zach Star! Could you make a video about Russian/Egyptian multiplication? I found it really interesting but I don't understand how it works. Just want to know the math behind it.
@sethdon1100
@sethdon1100 Год назад
The most efficient algorithm for factoring integers is Shor’s algorithm. Just a heads up
@PaulWarren-dt1ms
@PaulWarren-dt1ms Месяц назад
Congrats on deciding on a physics PATH I concur 😮
@randompotato258
@randompotato258 5 лет назад
this dude explain GCF better than all the math teachers i've ever had in a really simple and mind friendly way
@ZaraUTech
@ZaraUTech Год назад
Like really true!!! Maybe maths teachers just make things to complex cause they ain't really had real live experience using it..
@nk361
@nk361 5 лет назад
I would love if you did a series on math in computer science, you explain things very well even if they may take longer or bigger jumps. I can write code pretty well, but math can always stop me in my tracks when just written in large or long formulas or with special symbols. When you explain these problems it's more of the logic behind them which I could easily write in code.
@ratmgant
@ratmgant 6 лет назад
CS is looking more and more up my alley. Thanks for these videos sir, you're a blessing.
@hunggarchristian
@hunggarchristian 6 лет назад
this is why i switched from Mechanical engineering to Computer Science this semester man. I'm enjoying it much more
@ratmgant
@ratmgant 6 лет назад
Justin Wiggins sweet
@AlphaFoxDelta
@AlphaFoxDelta 5 лет назад
Jean Descole I've got a degree in and am working on another in CompSci, it's the way to go
@ratmgant
@ratmgant 5 лет назад
Andrew Davis What's your other degree?
@AlphaFoxDelta
@AlphaFoxDelta 5 лет назад
Jean Descole Simulation and Game Developement, it got my foot in the door too. Audio/Video editing, 3D Modeling and Animation, using software like photoshop, Maya, 3D Max etc Or Unreal Engine for level design
@nigeldupaigel
@nigeldupaigel 5 лет назад
Thank you, this made me fully decide to pursue a degree in physics.
@epicm999
@epicm999 5 лет назад
lol
@Anskurshaikh
@Anskurshaikh 4 года назад
same here, this math scares me. I'll rather do multivariable Calc and Diff eqns than this.
@highEntropyGhoul
@highEntropyGhoul 4 года назад
You'll still need to do a pretty good amount of calculus
@anandsuralkar2947
@anandsuralkar2947 4 года назад
Lol
@martinkunev
@martinkunev 4 года назад
If you go into e.g. particle physics, you'll need abstract algebra, in particular group theory. In a way abstract algebra is a generalization of number theory.
@johnadams4486
@johnadams4486 4 года назад
Dude, look what you have done ! You scared them away
@lakinnisova459
@lakinnisova459 4 года назад
Eventually the will stumble upon math needed for programming.
@MatthewSchellenberg
@MatthewSchellenberg 4 года назад
I wish I had known this in high school. I was so intimidated that I didn't even find out that the math was actually right up my alley.
@pvic6959
@pvic6959 4 года назад
never late to start!
@MatthewSchellenberg
@MatthewSchellenberg 4 года назад
@@pvic6959 ok where do I start?
@pvic6959
@pvic6959 4 года назад
@@MatthewSchellenberg these videos are definitely a good start. I really cant help but I have a computer science bachelors degree (class of 2019) I had a TA in his 50s who was getting a masters in computer science without a CS background. It was really cool actually But to answer your question the best I can: these types of videos can help you get you started, text books, and if you have money to spare you can probably find some online classes/certifications. If you're more into the programming than the math/theory side, there are a TON of tutorials and projects you can learn from on youtube! Unfortunately this is the best I can do but I hope it helps
@MatthewSchellenberg
@MatthewSchellenberg 4 года назад
@@pvic6959 Thank you very much!
@MatthewSchellenberg
@MatthewSchellenberg 4 года назад
@@pvic6959 I had an 800 on my math SAT when I was 16, but for some reason CS intimidated me at the time.
@ianyoung5857
@ianyoung5857 5 лет назад
I just started a PhD program this semester, and my eyes glazed over when we started talking about this (IS background, CE program). You've done a great job explaining it. Thanks for making these videos.
@chisangamumba2961
@chisangamumba2961 Год назад
What is CE?
@pastafarian3758
@pastafarian3758 3 года назад
I understood gcf for the first time after learning it in 9th grade almost 25 years later. Great stuff mate. Cheers.
@artie8561
@artie8561 5 лет назад
Your explanation is one of the best! Thank you for bringing back the joy of mathematics to me who is not a mathematics major in university!
@bozeiky
@bozeiky 3 года назад
The way you broke down those concepts really made me feel like im overcomplicating everything. It's so simple when YOU do it.
@RRatedT
@RRatedT 5 лет назад
Man I love and enjoy your videos so much, you make it sound so cool and interesting.
@jstnofficial
@jstnofficial 5 лет назад
In just 2 vids men youve earned a sub thanks a lot
@zachstar
@zachstar 5 лет назад
Thanks man!
@soccerball7828
@soccerball7828 4 года назад
;)
@kikiz0r730
@kikiz0r730 6 лет назад
You're amazing, man! Don't stop doing these videos, I love them ! :D
@milindbebarta2226
@milindbebarta2226 4 года назад
I love this. Make a new series where you go more in-depth. You're very good at explaining these topics. I'm sure it'll be a hit.
@amessman
@amessman 5 лет назад
I watched Part 1 and 2... +1 subscriber, these explanations are super helpful! Keep up the good work!
@kailashbtw9103
@kailashbtw9103 8 месяцев назад
Great simple explanations with great examples
@DoubleRBlaxican
@DoubleRBlaxican 3 года назад
I remember my high-school taking me to a class at my local college where they talked about Cryptography and they went over the same things you did here. I wish I could have gone to college to learn this but I guess your video will do.
@spencerallbritton9459
@spencerallbritton9459 6 лет назад
Awesome videos man, love your content.
@mohamodsadi656
@mohamodsadi656 5 лет назад
This videos are making me crave more math videos from you...😁 Thanks for making them... I hope u'd do some elaborate work on math for Comp sci... 🤗
@saisaske1
@saisaske1 3 года назад
Great definition of computer science given by a professor that "computer science is an art of abstraction" . It is clearly demonstrated in your both videos. Thankyou
@johannmichael3894
@johannmichael3894 4 года назад
This is a good video. Has a bare-bones description of the relation between number theory and cryptography.
@kumand8259
@kumand8259 5 лет назад
Wow that was so cool.! I want more videos like this. Thank you
@frederickhofmann843
@frederickhofmann843 2 года назад
This series has been really valuable to me thanks
@gokulanandaadhikari8680
@gokulanandaadhikari8680 5 лет назад
You are doing an amazing work man.thanks a lot💕
@rajadey4072
@rajadey4072 2 года назад
Thank you for these videos!
@davidjohnston4240
@davidjohnston4240 Год назад
Number theory is the thing that has most impinged on my computer science career. Implementing error correction, cryptography and a host of related things call for Galois fields. When you have that hammer, all nails start to look like extensions of GF(2).
@masonpiatt2798
@masonpiatt2798 6 лет назад
I love these videos Keep it up
@zachstar
@zachstar 6 лет назад
Thank you!
@abdoutanta
@abdoutanta 5 лет назад
Great video, thank you so much.
@daniellam1257
@daniellam1257 5 лет назад
This is very helpful for my discrete math final, thanks :)
@deniscandido4116
@deniscandido4116 5 лет назад
REALLY GREAT CONTENT! Thanks a lot.
@ricchburglar
@ricchburglar 4 года назад
Thanks OG Zach
@chazzman4553
@chazzman4553 4 года назад
Great stuff. Thanks!
@husniaezz2922
@husniaezz2922 5 лет назад
Thanks alot, it was really exciting
@blzahz7633
@blzahz7633 5 лет назад
I like these videos, keep them up.
@MAYONNAISEMOOSE
@MAYONNAISEMOOSE 4 года назад
I have never understood cryptography this vividly!
@chairjacker
@chairjacker Год назад
Wow i wish all math was made this fun. Keep up the good videos! As Charlie Day says, I'm learning a lot!!
@TheTariqibnziyad
@TheTariqibnziyad 6 лет назад
man you're the man
@alwaysincentivestrumpethic6689
@alwaysincentivestrumpethic6689 4 года назад
Great video
@emadahmed5739
@emadahmed5739 Год назад
this year i am joining cs and man i think i will love it after this video
@dusandragovic09srb
@dusandragovic09srb 5 лет назад
Well done!
@danieljohnkirby9412
@danieljohnkirby9412 3 года назад
Wow I really wish this video was out when I was in high school.
@SohilShah_Melodyman
@SohilShah_Melodyman 5 лет назад
very informative...thanks!
@Ninjabdul
@Ninjabdul 2 года назад
that last example blew my mind, prime numbers OP
@davidfarah
@davidfarah 3 года назад
Thank you!
@syedsanaullah9026
@syedsanaullah9026 6 лет назад
great simple stuff...shukran
@aaryan3461
@aaryan3461 5 лет назад
7:09 . DARN SMART!
@hiteshkumain
@hiteshkumain 5 лет назад
I love and Enjoy You're Videos sir , With Accuracy & Clarity Really Amazing .
@JThompson_VI
@JThompson_VI 2 года назад
I have never love hated something so much.
@cuddy90210
@cuddy90210 3 года назад
Thank you.
@speedyguy8
@speedyguy8 2 года назад
Also note that according to the distribution property 24n+40m = 8(3n+5m)
@ayushsarkar2305
@ayushsarkar2305 5 лет назад
Love u bro u inspired me to take cs
@chakri620
@chakri620 3 года назад
Zach..ur superb..
@toad4966
@toad4966 3 года назад
That math actually looks fun
@jameszenos4045
@jameszenos4045 5 лет назад
Very interesting 👌
@edattacks
@edattacks Месяц назад
that's pretty cool
@TokyoXtreme
@TokyoXtreme 5 лет назад
OK, this is epic 😎
@treyebillups8602
@treyebillups8602 5 лет назад
TokyoXtreme BEN SHAPIRO DESTROYS LIBTARDS WITH SUPERIOR FACTS AND LOGIC
@cad3175
@cad3175 4 года назад
..just some advice or personal preference which may be common, the white background with black text is much harder in the eye than black background with a lighter coloured font, the blue wavelengths in White led produced light is a health hazard so less White is better in general, 3blue1brown's videos are very easy on the eye as they generally have dark backgrounds, just an idea to incorporate if you're open to suggestions, thanks for your interesting topics
@SevenDeMagnus
@SevenDeMagnus 4 года назад
The ruler puzzle is like the Die Hard water puzzle:-)
@shayorshayorshayor
@shayorshayorshayor 4 года назад
To the people thinking “this math is up my alley”, you guys are in for a surprise. Calculus 1,2,3 and differential is actually less harder than discrete math. Just an FYI
@arshdeepsinghheer8198
@arshdeepsinghheer8198 4 года назад
Thanksss
@bpark10001
@bpark10001 4 года назад
Can you do a video on use if numbers in CAD files? This causes vexing problems, such as calculate a path that is "X" distance from a set of other elements (lines and arcs) on the workspace. This is used to calculate toolpaths (given a cutter radius) to outline a shape formed from lines and arcs. The difficulty is no matter how the precision of the math, computer numbers lack the "property of density" decisions such as whether 2 lines are connected, or whether their intersection point is distinct of identical to one endpoint. How does one write such an algorithm? (I can tell you that expensive software "screws up" this, sometimes generating toolpaths that cut up the piece, others that generate "digital debris" that bogs down the machine!) There has to be a better way! (Comment about software: unlike other engineering, where one can "reverse engineer" a design, it is not practical to do so in software. How does one learn from others?)
@SilBu3n0
@SilBu3n0 3 года назад
great theme and both parts! used the opportunity to try to grasp any potential relation between that and finite element method, as well as generative design. anybody?
@neoTriny
@neoTriny 2 года назад
congratulations on Getting 1 million sub 😁😚
@the_allucinator
@the_allucinator 3 года назад
3:23 Yes, with 6 pcs of 7cm ruler and 9 pcs of 5cm ruler. To think that there's a simpler answer, yet I got this.
@quinn9240
@quinn9240 2 года назад
The hardest class for most cs majors is the cs math class that goes through this and much more.
@SevenDeMagnus
@SevenDeMagnus 4 года назад
Very cool, Mathematics rule science, including computer science.
@simranray4564
@simranray4564 4 года назад
You earned a SUB, Congratulations!
@motoph6942
@motoph6942 8 месяцев назад
Thats why from python begginer exercisies computing prime numbers?... In my mind what the hell do i need prime numbers for?? Now i understand and im very intrested.. Thanks for your help...
@darcash1738
@darcash1738 Год назад
A genius and a comedian 😎
@Dablid77
@Dablid77 3 года назад
Thanks
@blackyimiy
@blackyimiy 4 года назад
(This question is out of the Box and most likely wrong) The GCF regarding Cryptography: For Example in Wireless hacking if i got 2 handshakes from different client addresses (users) on the same access point (wifi) would I be able to decrypt the password? Considering the Hashing as well.
@garvagarwal4005
@garvagarwal4005 5 лет назад
What about linear algebra? It's like the core of CS
@ithinkitworks3675
@ithinkitworks3675 6 лет назад
Hello I recently started watching your videos and they are amazing... I have a question that I want to do graduation in a course related to software designing(AI, vr,ar specifically) game designing so should I do Cs or software engineering or any other course??
@zachstar
@zachstar 6 лет назад
Thank you! If you want to go more into the technical or research side of things then do computer science. If you are just gonna get a bachelor's and want to do collaborative work and bring parts of a software project together, then it really doesn't matter what you pick honestly.
@ithinkitworks3675
@ithinkitworks3675 6 лет назад
MajorPrep OK thanks a lot
@yadhukrishna.t.r7753
@yadhukrishna.t.r7753 2 года назад
Pls make a video for chemical engineers😁.
@ThalesPo
@ThalesPo 4 года назад
now make a part 3 video with the 90% that was too advanced.
@joelkronqvist6089
@joelkronqvist6089 2 года назад
To that ruler problem: isn't it enough of proof that we can measure 3 cm and 2 cm and have unlimited rulers, and can like that measure 1 cm and repeat that 1 cm infinitely?
@ericcheung8790
@ericcheung8790 2 года назад
6:56 Encrypted Message divided by Secret Key is the "Hello" appended 79 at the end (the another prime), but how to recover plain text (HELLO)?
@seductivetoiletsolvesequat1690
@seductivetoiletsolvesequat1690 4 года назад
How can we prove that the smallest positive integer is always the GCF? 2:25
@swim3936
@swim3936 Год назад
“Number theory is just the study of integers” man, i wish…
@Rovetown
@Rovetown 5 лет назад
Compared to highschool math is it easier to understand the logic or how something works?
@vaprin2019
@vaprin2019 6 лет назад
Nice
@shaifurrahaman6271
@shaifurrahaman6271 5 лет назад
Could you suggest books or any course to learn number theory?
@firstdbzmaker
@firstdbzmaker 3 года назад
The textbook used in my Number theory course is Elementary Number Theory by David Burton
@christianalbertjahns2577
@christianalbertjahns2577 3 года назад
Discrete Mathematics by Rosen is a pretty good book too but that book also contains other fields from dis. math like mathematical logic, graph theory, relation theory, set theory, and many more.
@VENOM-tx6gp
@VENOM-tx6gp Год назад
2:42 Small?? Seems average to me It might have a great personality 🙂
@BlackJar72
@BlackJar72 5 лет назад
There is an error in your proof with the rulers -- or actually with your statement of the problem: If you lay about four 5 cm ruler on one line and two 7 cm rulers on the other you get a gap of 6 cm; if you then add a 5 cm ruler to line two you get 1 cm. The error appears to be that you had extra rule (that only rulers of the same length can be in a given row), but did not state that assumption. Thus you produced a valid proof of a different set of conditions, but not of the conditions initially stated.
@antongole5596
@antongole5596 5 лет назад
There in no error in his proof. His proof shows that the lengths that can be measured with a 5cm ruler and a 7cm ruler can be any integer (1, 2, 3....n..). So a 6cm gap and a 1cm gap can both be produced with his method, therefore there is no errors in his proof.
@poopcatapult2623
@poopcatapult2623 5 лет назад
Anton Gole you might want to read his comment again.
@leandrog2785
@leandrog2785 4 года назад
He fucked up the metaphor with rulers, but what he actually meant was a linear combination of 2 integers.
@soham7226
@soham7226 4 года назад
Well I'm really passionate in solving problems of maths Is cryptography right for me as a career option
@carloscuevas8268
@carloscuevas8268 4 года назад
Cryptography is not a career, is part of Computer Science
@nrlombardi
@nrlombardi 4 года назад
@@carloscuevas8268 Cryptography actually stems from mathematics. It is now considered a branch of mathematics and computer science because of the evolution of the field. The father of computer science was a mathematician. Alan Turing.
@erichuddleston4611
@erichuddleston4611 2 года назад
You can actually become a cryptographer, but you need a graduate degree and / or experience. I would recommended studying computer science and taking cryptography class. That's what I did. Bachelor's of science in computer science with concentration in cyber security. Planning to work in security automation pr cloud security and studying to become cryptographer later.
@erichuddleston4611
@erichuddleston4611 2 года назад
Computer science is definitely worth it if your interested in cryptography and related topics. I took a class on cryptography and a class on cryptocurrencies. Already getting job interviews. Cs Is definitely worth it.
@gontsekganyago4079
@gontsekganyago4079 9 месяцев назад
Now this is what I'm talking about....typa sh*t I like
@thomaskember4628
@thomaskember4628 5 лет назад
Alright it possibly to factorise a number if it is an integer. What about a complex number whose real component and imaging component are integers? Is it possible to factorise it? And if it is, are these factors prime numbers? In other words, do prime complex numbers exist?
@nicolaschataing1457
@nicolaschataing1457 4 года назад
Yes : en.wikipedia.org/wiki/Gaussian_integer
@Lionheartgrudge
@Lionheartgrudge 2 года назад
How do you start learning number theory? I have studied Electrical Engineering, which is probably less math intensive than a CS degree. I find myself liking to code nowadays, so I think learning mathematics would help me train my brain better. Any help for dummies would be appreciated.
@zachjones6944
@zachjones6944 2 года назад
Symbolic Logic will help you reason. It is the basis for computer language.
@GoToMan
@GoToMan Год назад
Nope, I believe EE is more math-intensive than a CS degree, and this is coming from someone who has studied math their entire life.
@anjaninator
@anjaninator 4 года назад
“Lets say we have an infinite amount of rulers”
@alnasraltair8948
@alnasraltair8948 4 года назад
yeah but we can't afford 5 cents real ruler full of numbers and cute little faces
@burntt999
@burntt999 4 года назад
@@alnasraltair8948 hahaha lets just have a garage sale and buy something useful
@dashl5069
@dashl5069 5 лет назад
I think we know of a much better algorithm that a perfect quantum computer could do, although we have no perfect quantum computers.
@kenichimori8533
@kenichimori8533 5 лет назад
Modular function mod period.
@NurlibekRauan
@NurlibekRauan 4 дня назад
спасибо видео было очень полезным вы мне очень помогли :ru:
@Fexisepic
@Fexisepic 3 года назад
1:20 I know how to do this one, the ol proof by calculator
@roadstack1111
@roadstack1111 4 года назад
16 calendars of poetry
@trevor_idiot
@trevor_idiot 5 лет назад
I wasn't really paying attention to how small the rulers are but, okay
@lmao6
@lmao6 Год назад
Advent of coders will thank you
@MelordJenkins
@MelordJenkins Год назад
WHY DO I UNDERSTAND ALL OF THIS!!!???!! THE ALPHA SETH IS COMMUNICATING WITH ME!!!
@bata3258
@bata3258 4 месяца назад
zach the star himself?
@Reggiebush777
@Reggiebush777 4 года назад
So if i do not really get this, should I not go into computer science?