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

Поділитися
Вставка
  • Опубліковано 25 кві 2018
  • 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

КОМЕНТАРІ • 221

  • @zachstar
    @zachstar  5 років тому +112

    Hey guys, since this I made a more updated video on number theory and how it's used in cryptography.
    Mathematics of Cryptography: ua-cam.com/video/uNzaMrcuTM0/v-deo.html

    • @Basaisehi843
      @Basaisehi843 4 роки тому +1

      MajorPrep Man you are super dope ! 🤟

    • @Minskpotato
      @Minskpotato 4 роки тому +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 2 роки тому

      The most efficient algorithm for factoring integers is Shor’s algorithm. Just a heads up

    • @PaulWarren-dt1ms
      @PaulWarren-dt1ms 2 місяці тому

      Congrats on deciding on a physics PATH
      I concur 😮

  • @randompotato258
    @randompotato258 5 років тому +203

    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..

  • @nigeldupaigel
    @nigeldupaigel 5 років тому +811

    Thank you, this made me fully decide to pursue a degree in physics.

    • @epicm999
      @epicm999 5 років тому +54

      lol

    • @Anskurshaikh
      @Anskurshaikh 5 років тому +94

      same here, this math scares me. I'll rather do multivariable Calc and Diff eqns than this.

    • @highEntropyGhoul
      @highEntropyGhoul 5 років тому +46

      You'll still need to do a pretty good amount of calculus

    • @anandsuralkar2947
      @anandsuralkar2947 4 роки тому +3

      Lol

    • @martinkunev
      @martinkunev 4 роки тому +47

      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.

  • @nk361
    @nk361 6 років тому +204

    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.

  • @johnadams4486
    @johnadams4486 5 років тому +52

    Dude, look what you have done ! You scared them away

    • @lakinnisova459
      @lakinnisova459 5 років тому +4

      Eventually the will stumble upon math needed for programming.

  • @ratmgant
    @ratmgant 6 років тому +358

    CS is looking more and more up my alley. Thanks for these videos sir, you're a blessing.

    • @hunggarchristian
      @hunggarchristian 6 років тому +28

      this is why i switched from Mechanical engineering to Computer Science this semester man. I'm enjoying it much more

    • @ratmgant
      @ratmgant 6 років тому +1

      Justin Wiggins sweet

    • @AlphaFoxDelta
      @AlphaFoxDelta 6 років тому

      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

  • @IZACHARYRIFEI
    @IZACHARYRIFEI 27 днів тому +1

    I'm a computational mathematics with a computer science specialization and I love this channel so much! If every teacher could express these concepts like this everyone would love math.

  • @pastafarian3758
    @pastafarian3758 3 роки тому +14

    I understood gcf for the first time after learning it in 9th grade almost 25 years later. Great stuff mate. Cheers.

  • @MatthewSchellenberg
    @MatthewSchellenberg 4 роки тому +75

    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 роки тому +2

      @@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 років тому +28

    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.

  • @artie8561
    @artie8561 5 років тому +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 роки тому +13

    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 6 років тому +5

    Man I love and enjoy your videos so much, you make it sound so cool and interesting.

  • @jstnofficial
    @jstnofficial 6 років тому +81

    In just 2 vids men youve earned a sub thanks a lot

  • @kikiz0r730
    @kikiz0r730 6 років тому +34

    You're amazing, man! Don't stop doing these videos, I love them ! :D

  • @amessman
    @amessman 5 років тому +5

    I watched Part 1 and 2... +1 subscriber, these explanations are super helpful! Keep up the good work!

  • @milindbebarta2226
    @milindbebarta2226 4 роки тому +5

    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.

  • @spencerallbritton9459
    @spencerallbritton9459 6 років тому +3

    Awesome videos man, love your content.

  • @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.

  • @saisaske1
    @saisaske1 4 роки тому +1

    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 6 років тому

    You are doing an amazing work man.thanks a lot💕

  • @mohamodsadi656
    @mohamodsadi656 6 років тому +4

    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... 🤗

  • @masonpiatt2798
    @masonpiatt2798 6 років тому +57

    I love these videos
    Keep it up

  • @kailashbtw9103
    @kailashbtw9103 8 місяців тому

    Great simple explanations with great examples

  • @davidjohnston4240
    @davidjohnston4240 Рік тому +1

    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).

  • @blzahz7633
    @blzahz7633 6 років тому +1

    I like these videos, keep them up.

  • @rajadey4072
    @rajadey4072 2 роки тому

    Thank you for these videos!

  • @daniellam1257
    @daniellam1257 5 років тому

    This is very helpful for my discrete math final, thanks :)

  • @deniscandido4116
    @deniscandido4116 5 років тому

    REALLY GREAT CONTENT! Thanks a lot.

  • @abdoutanta
    @abdoutanta 5 років тому +1

    Great video, thank you so much.

  • @husniaezz2922
    @husniaezz2922 5 років тому

    Thanks alot, it was really exciting

  • @chazzman4553
    @chazzman4553 4 роки тому

    Great stuff. Thanks!

  • @chairjacker
    @chairjacker Рік тому +2

    Wow i wish all math was made this fun. Keep up the good videos! As Charlie Day says, I'm learning a lot!!

  • @MAYONNAISEMOOSE
    @MAYONNAISEMOOSE 4 роки тому

    I have never understood cryptography this vividly!

  • @dusandragovic09srb
    @dusandragovic09srb 5 років тому

    Well done!

  • @emadahmed5739
    @emadahmed5739 Рік тому

    this year i am joining cs and man i think i will love it after this video

  • @TheTariqibnziyad
    @TheTariqibnziyad 6 років тому +25

    man you're the man

  • @ricchburglar
    @ricchburglar 4 роки тому

    Thanks OG Zach

  • @alwaysincentivestrumpethic6689
    @alwaysincentivestrumpethic6689 4 роки тому +1

    Great video

  • @SohilShah_Melodyman
    @SohilShah_Melodyman 6 років тому

    very informative...thanks!

  • @danieljohnkirby9412
    @danieljohnkirby9412 3 роки тому

    Wow I really wish this video was out when I was in high school.

  • @hiteshkumain
    @hiteshkumain 5 років тому +2

    I love and Enjoy You're Videos sir ,
    With Accuracy & Clarity
    Really Amazing .

  • @JThompson_VI
    @JThompson_VI 2 роки тому +2

    I have never love hated something so much.

  • @Ninjabdul
    @Ninjabdul 2 роки тому

    that last example blew my mind, prime numbers OP

  • @syedsanaullah9026
    @syedsanaullah9026 6 років тому

    great simple stuff...shukran

  • @davidfarah
    @davidfarah 3 роки тому

    Thank you!

  • @ayushsarkar2305
    @ayushsarkar2305 5 років тому

    Love u bro u inspired me to take cs

  • @toad4966
    @toad4966 3 роки тому

    That math actually looks fun

  • @cuddy90210
    @cuddy90210 3 роки тому

    Thank you.

  • @jameszenos4045
    @jameszenos4045 5 років тому

    Very interesting 👌

  • @chakri620
    @chakri620 4 роки тому

    Zach..ur superb..

  • @aaryan3461
    @aaryan3461 5 років тому +2

    7:09 . DARN SMART!

  • @edattacks
    @edattacks 2 місяці тому

    that's pretty cool

  • @speedyguy8
    @speedyguy8 2 роки тому

    Also note that according to the distribution property 24n+40m = 8(3n+5m)

  • @TokyoXtreme
    @TokyoXtreme 5 років тому +8

    OK, this is epic 😎

    • @treyebillups8602
      @treyebillups8602 5 років тому +2

      TokyoXtreme BEN SHAPIRO DESTROYS LIBTARDS WITH SUPERIOR FACTS AND LOGIC

  • @simranray4564
    @simranray4564 4 роки тому

    You earned a SUB, Congratulations!

  • @arshdeepsinghheer8198
    @arshdeepsinghheer8198 4 роки тому +1

    Thanksss

  • @SevenDeMagnus
    @SevenDeMagnus 4 роки тому +1

    Very cool, Mathematics rule science, including computer science.

  • @SevenDeMagnus
    @SevenDeMagnus 4 роки тому

    The ruler puzzle is like the Die Hard water puzzle:-)

  • @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

  • @Dablid77
    @Dablid77 3 роки тому

    Thanks

  • @neoTriny
    @neoTriny 2 роки тому

    congratulations on Getting 1 million sub 😁😚

  • @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?

  • @darcash1738
    @darcash1738 Рік тому

    A genius and a comedian 😎

  • @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.

  • @shayorshayorshayor
    @shayorshayorshayor 4 роки тому +2

    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

  • @quinn9240
    @quinn9240 2 роки тому

    The hardest class for most cs majors is the cs math class that goes through this and much more.

  • @yadhukrishna.t.r7753
    @yadhukrishna.t.r7753 2 роки тому

    Pls make a video for chemical engineers😁.

  • @garvagarwal4005
    @garvagarwal4005 5 років тому +1

    What about linear algebra? It's like the core of CS

  • @bpark10001
    @bpark10001 4 роки тому +3

    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?)

  • @vaprin2019
    @vaprin2019 6 років тому

    Nice

  • @seductivetoiletsolvesequat1690
    @seductivetoiletsolvesequat1690 4 роки тому +1

    How can we prove that the smallest positive integer is always the GCF? 2:25

  • @NurlibekRauan
    @NurlibekRauan Місяць тому

    спасибо видео было очень полезным вы мне очень помогли :ru:

  • @ThalesPo
    @ThalesPo 4 роки тому +1

    now make a part 3 video with the 90% that was too advanced.

  • @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.

  • @Rovetown
    @Rovetown 5 років тому

    Compared to highschool math is it easier to understand the logic or how something works?

  • @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)?

  • @kenichimori8533
    @kenichimori8533 5 років тому

    Modular function mod period.

  • @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 років тому +2

      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 років тому +1

      MajorPrep OK thanks a lot

  • @joelkronqvist6089
    @joelkronqvist6089 2 роки тому +1

    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?

  • @lmao6
    @lmao6 Рік тому

    Advent of coders will thank you

  • @shaifurrahaman6271
    @shaifurrahaman6271 5 років тому +5

    Could you suggest books or any course to learn number theory?

    • @firstdbzmaker
      @firstdbzmaker 3 роки тому +1

      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.

  • @Fexisepic
    @Fexisepic 3 роки тому

    1:20 I know how to do this one, the ol proof by calculator

  • @motoph6942
    @motoph6942 9 місяців тому

    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...

  • @anjaninator
    @anjaninator 4 роки тому +2

    “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

  • @gontsekganyago4079
    @gontsekganyago4079 10 місяців тому

    Now this is what I'm talking about....typa sh*t I like

  • @mariamja233
    @mariamja233 10 днів тому

    After his videos i feel i wanna change to math major hahahahaha

  • @reverenddick8562
    @reverenddick8562 Рік тому

    I feel like you just saved me 2 years of struggle with your simplicity.

  • @roadstack1111
    @roadstack1111 4 роки тому +1

    16 calendars of poetry

  • @dashl5069
    @dashl5069 6 років тому

    I think we know of a much better algorithm that a perfect quantum computer could do, although we have no perfect quantum computers.

  • @thomaskember4628
    @thomaskember4628 5 років тому +10

    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?

  • @bata3258
    @bata3258 5 місяців тому

    zach the star himself?

  • @trevor_idiot
    @trevor_idiot 5 років тому +1

    I wasn't really paying attention to how small the rulers are but, okay

  • @swim3936
    @swim3936 Рік тому

    “Number theory is just the study of integers”
    man, i wish…

  • @VENOM-tx6gp
    @VENOM-tx6gp 2 роки тому +3

    2:42
    Small??
    Seems average to me
    It might have a great personality 🙂

  • @soham7226
    @soham7226 4 роки тому +5

    Well I'm really passionate in solving problems of maths
    Is cryptography right for me as a career option

    • @carloscuevas8268
      @carloscuevas8268 4 роки тому +1

      Cryptography is not a career, is part of Computer Science

    • @nrlombardi
      @nrlombardi 4 роки тому +5

      @@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.

  • @Lionheartgrudge
    @Lionheartgrudge 2 роки тому +1

    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 роки тому +1

      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.