10 Math Concepts for Programmers

2024 ж. 15 Мам.
1 745 834 Рет қаралды

Learn 10 essential math concepts for software engineering and technical interviews. Understand how programmers use mathematics in fields like AI, game dev, crypto, machine learning, and more.
#math #programming #top10
💬 Chat with Me on Discord
/ discord
🔗 Resources
Computer Science 101 • 100+ Computer Science ...
Cryptography for Developers • 7 Cryptography Concept...
Technical Interview Prep • How to NOT Fail a Tech...
📚 Chapters
🔥 Get More Content - Upgrade to PRO
Upgrade at fireship.io/pro
Use code YT25 for 25% off PRO access
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Code Font
🔖 Topics Covered
- Do programmers need math?
- Math tutorial for programming
- Machine learning math
- Do computer hackers use math?
- Linear algebra for programmers
- Boolean Algebra explained
- Combinatorics explained
- How does Big-O notation work

Пікірлер
  • Mathematics are the result of mysterious powers that nobody understands, and which the unconscious recognition of beauty must play an important part. Out of an infinity of designs, a mathematician chooses one pattern for beauty's sake and brings it down to earth.

    @thecow7273@thecow7273 Жыл бұрын
    • congrats I guess, how you so fast I only got half way through

      @ceneo12@ceneo12 Жыл бұрын
    • God damn it.

      @ApplePi1@ApplePi1 Жыл бұрын
    • That was quick! Email me from this account at hello@fireship.io with your size & shipping details.

      @Fireship@Fireship Жыл бұрын
    • wow, that's fast

      @arczi1537@arczi1537 Жыл бұрын
    • Was it just using Base64 for the Text between topics?

      @daskampffredchen9242@daskampffredchen9242 Жыл бұрын
  • 1. Boolean algebra 2. Numeral systems 3. Floating points 4. Logarithms 5. Set Theory 6. Combinatorics 7. Graph Theory 8. Complexity Theory 9. Statistics 10. Linear Algebra Interestingly i learned all of these in college but barely remember anything.

    @yadneshkhode3091@yadneshkhode3091 Жыл бұрын
    • I’m learning them in college right now and I legitimately want to forget it all.

      @Rawi888@Rawi888 Жыл бұрын
    • Same, but I remeber how to work with matrix, but don't know how to calculate complexity)

      @testolog@testolog Жыл бұрын
    • @@Rawi888 and when you will need them, you will hate the you from today that wanted to forget it :)

      @midahe5548@midahe5548 Жыл бұрын
    • Same here

      @Snbd26th@Snbd26th Жыл бұрын
    • Truth, Barely remember anything🫨, how I wish to return all this again and study it 🤯.

      @SamehMustafa007@SamehMustafa007 Жыл бұрын
  • Small correction: the Big O notation doesn't specify how fast something is. A constant time complexity of O(1) doesn't mean that the operation/algorithm is fast, but that the speed is constant as the input scales. As a consequence, an O(n^2) algo can be faster than an O(n) algo, for some range of small inputs.

    @chris-pee@chris-pee Жыл бұрын
    • Besides this notation is overly used and too often big theta and big omega notations are omitted. Big O is the worst case scenario complexity, it does not make much sense for algorithms which don't do conditional breaks and skips inside a loop.

      @pawer122@pawer122 Жыл бұрын
    • @@pawer122 That's not quite true. You're right that O(f) is an imprecise "worst case" complexity, but not because some algorithms can skip conditionals or loops. O(f(n)) means precisely "the set of all functions g(n) such that there exist some constants c and n0 such that, for all n >= n0, f(n)

      @markpeschel8958@markpeschel8958 Жыл бұрын
    • @@markpeschel8958 there is also little o and little omega notation to consider

      @Daniel_WR_Hart@Daniel_WR_Hart Жыл бұрын
    • O(n^2) can be faster than O(n) only if you manage to find a way to run the program for zero point something times

      @aintaintaword666@aintaintaword666 Жыл бұрын
    • @@aintaintaword666 Absolutely wrong

      @chris-pee@chris-pee Жыл бұрын
  • Dude, your examples are so much better than anything we ever got at school. I kinda wanna become a teacher just to be as good as you one day.

    @Chiaros@Chiaros7 ай бұрын
    • whats the point? within 1-2 years AI will outperform us in every way possible.

      @stayhungry1503@stayhungry15034 ай бұрын
    • @@stayhungry1503 maybe some people will still prefer human teachers, and maybe the whole point of doing something we want is self satisfaction

      @beatre@beatre4 ай бұрын
    • Fuckin ayyye. Let machines do the work whilst we do what we actually want to do. @@beatre

      @babelboy-akababz2889@babelboy-akababz28894 ай бұрын
  • As a Asian Student, I can confirm you that we have learned all those math without knowing any use of it. 🙂

    @attmultimedia67@attmultimedia67 Жыл бұрын
    • Yeah because we have sh*t ton of entrance exams to crack

      @thatsalot3577@thatsalot3577 Жыл бұрын
    • yes, the teacher just teach them without no real world use case scenarios.

      @n0madfernan257@n0madfernan257 Жыл бұрын
    • +1

      @patelmalavdev@patelmalavdev Жыл бұрын
    • me learning all those subject in college then forgot all in lightspeed when the semester end

      @hust_sami_slave@hust_sami_slave Жыл бұрын
    • +1

      @piyushpanpaliya@piyushpanpaliya Жыл бұрын
  • Please do more such videos on computer science fundamentals. Like how compilers work, how interrupts work, internal working of CPU, network fundamentals, OS fundamentals, etc.

    @DK-ox7ze@DK-ox7ze Жыл бұрын
    • Basically a 4 year CS/CE degree in a nutshell series. Great to refresh your memory on certain concepts or to introduce them to someone for the first time so they can go on to dive deeper on their own.

      @mrgalaxy396@mrgalaxy396 Жыл бұрын
    • fireship ruIe 34

      @universaltoons@universaltoons Жыл бұрын
    • These topics are not how fireship got huge. They are important .. fundamental .. but not the primary concern of 2M+ working devs

      @nbme-answers@nbme-answers Жыл бұрын
    • And data structure

      @blitzedoblivion4280@blitzedoblivion4280 Жыл бұрын
    • ​@@mrgalaxy396 4 year degrees don't cover this is in much depth, surface level at most, I go to a "top" uni and the professors are not good at teaching and aren't usually experts. Reading a textbook on the topic, or even better, a video course with animations made by a expert is better. Georgia Tech for example has a free online video course on OS that's well made

      @skyhappy@skyhappy Жыл бұрын
  • I hated math in school, I avoided learning complex equations and algorithms when first learning to program, but once I saw a few of Sebastian Lagues videos where he does stuff in Unity, and started messing around with equations and learning to translate them from paper to code, I literally began to feel like I'm casting magic. Its so amazing what just a few dependent variables can change

    @pneumaofficial9581@pneumaofficial9581 Жыл бұрын
    • Some people require an actual use case for their brain to be willing to learn something. Which is a shit thing to have in school, but it is what it is.

      @ChivGmail@ChivGmail11 ай бұрын
    • @@ChivGmailI am that kind of person, also same with math I literally swore to never do math again since high school, here I am happily binge watching math related videos

      @Bluemoon_wav@Bluemoon_wav11 ай бұрын
    • @@Bluemoon_wav I feel like a lot of interesting subjects are ruined by our current educational system. Our system isn't about learning, it's about seeing how good you are at forcing yourself to remember stuff you're not interested in.

      @ChivGmail@ChivGmail11 ай бұрын
    • ​@@ChivGmail I agree. A person cannot simply retain a textbook of information at all times, the amount of information we retain are limited to capacity and how long we can retain that information for. As the environment and times we are in changes, so does our selection of information that we retain in a given place at a given time. The only information we retain is that which is most relevant to our situation and where our attention is focussed. While I am driving, I do not retain the words Shakespeare invented, because that information is not relevant to the situation I am in. When you go to a library to study a subject, you select books that are relevant to what you are studying. Yes all that information is stored in our memory like books in a library, but the point is our brain selects information from that memory that is relevant to the situation a person is in, the time and place and the environment. I could explain on more levels like how the retained information can be compiled to make a plate of decisions to choose from, and how we can assess those decisions before making a judgement which would cause us to do a thing, but I'll leave you with this thought. Humans learn by their own sensemaking.

      @do_not_at_me_bro@do_not_at_me_bro11 ай бұрын
    • Do you have any particular videos you would recommend?

      @iothemighty@iothemighty10 ай бұрын
  • More math concepts for programmers: - Modular arithmetic (RSA encryption) - Differential geometry (smooth surfaces and curves) - Lambda calculus (functional programming) - Fourier transformation (image/audio compression & filtering) - Information theory (data compression) - Game theory (artifical intelligence) - Quaternions (computer graphics)

    @codingphysics695@codingphysics695 Жыл бұрын
    • OK STOP JUST GIVE ME THE ELECTRIC CHAIR ALREADY 😭

      @angeloid_@angeloid_9 ай бұрын
    • And now for the grand question Where tf do you learn all of that if your school sucks...

      @konstantinsotov6251@konstantinsotov62518 ай бұрын
    • ​@@konstantinsotov6251 on KZhead brother. Pull out a notebook and pencil. Write down everything like it's a lesson. When you encounter deeper topics within a larger topic, pause that video and go study that thing until you can return to the same video and keep watching with an understanding. Me personally, I'm building computers in minecraft and I've been coming up with a shape identifying algorithm, this forces me to learn what I "need" to know before I can continue it's design In the Minecraft world.

      @kevintech7457@kevintech74576 ай бұрын
    • To OP, thanks for noting these other topics.

      @kevintech7457@kevintech74576 ай бұрын
    • 1. Boolean algebra 2. Numeral systems 3. Floating points 4. Logarithms 5. Set Theory 6. Combinatorics 7. Graph Theory 8. Complexity Theory 9. Statistics 10. Linear Algebra

      @justinrivera7674@justinrivera76745 ай бұрын
  • In my opinion the most important math class for programmers is discrete mathematics. They helped me understand recursion and stuff like that mathematically

    @bekakilov9656@bekakilov9656 Жыл бұрын
    • True, discrete maths was the only class I actually found enjoyable back in the day, and after school I went into programming.

      @TwitchCronos100@TwitchCronos100 Жыл бұрын
    • @@TwitchCronos100 you guys are crazy, that shit made me leave my university course

      @roberleyrodrigues9769@roberleyrodrigues9769 Жыл бұрын
    • @@roberleyrodrigues9769 discrete math was my favorite math class ive taken 💀and I hate math, linear algebra was fucked. Probably because my discrete prof was a real G

      @pattytheratty@pattytheratty Жыл бұрын
    • @@roberleyrodrigues9769I wanna drop discrete math too

      @omarabdulla1296@omarabdulla1296 Жыл бұрын
    • Programming is just recursion a lot of the time, so I think it's the most important concept for programming.

      @nielsholmlassen8275@nielsholmlassen8275 Жыл бұрын
  • In an era of AI related content on this channel, I'm so relaxed to see a normal non-AI video recently!

    @Vivek2062@Vivek2062 Жыл бұрын
    • @@uqams 😂😂

      @Vivek2062@Vivek2062 Жыл бұрын
    • All the stuff in this video is important for AI modeling, especially Bayesian statistics but thank god Fireship didn't go any deeper on that subject.

      @Siroitin@Siroitin Жыл бұрын
    • linear algebira is using for ai

      @Yusaq@Yusaq Жыл бұрын
    • This kind of comment is getting almost as old as the AI content.

      @XDarkGreyX@XDarkGreyX Жыл бұрын
    • Have you tried MathGPT?

      @ogredev@ogredev Жыл бұрын
  • I feel like if teachers introduced some concepts as you introduced them here ppl would understand some things way faster, you've done some really nice visual aids, good job!

    @franciscocordeiro8080@franciscocordeiro8080 Жыл бұрын
    • @@user-if1de8pt2j My comment refers to the benefits of visual aids in explaining a subject, which you seem to have misunderstood

      @franciscocordeiro8080@franciscocordeiro8080 Жыл бұрын
    • If my teacher would introduce some concepts like he introduces them here, I would be completely lost. He's simply too fast and his introductions are very, very, very, very high-level, as if you'd only read the first sentence of a Wikipedia article to understand something.

      @marloelefant7500@marloelefant7500 Жыл бұрын
    • @@marloelefant7500 missing my point, again, I am referring to the visual aids of course it's not the content of it, it's the concept of beginning with simple visual aids and going from there

      @franciscocordeiro8080@franciscocordeiro8080 Жыл бұрын
    • check out 3blue1brown

      @mygills3050@mygills3050 Жыл бұрын
    • ​@@franciscocordeiro8080look, he doesn't get that unless you explain to him the way a Wikipedia topic is elaborated, he told you that

      @AugustusCheeser@AugustusCheeser8 ай бұрын
  • I'm currently studying Graph Theory for a test in the 2nd year of uni. And looking at my future classes everything matches up to what you said in this video! Amazing.

    @kecvu@kecvu Жыл бұрын
  • 4:10 In math it's more common to use a different base (ln(x)), but it's easy to change by multiplying the result by a factor, so it's not really important if you're working in base 2, 10, or Euler's number.

    @eliavrad2845@eliavrad2845 Жыл бұрын
    • Log base 2 of x is ln(x)/ln(2). Log base 10 of x is ln(x)/ln(10).

      @ladymercy5275@ladymercy5275 Жыл бұрын
    • @@ladymercy5275 Yep! and for completeness, ln(x) = log10(x)/Log10(e). This means that an algorithm which is O(n log10(n)) is the same as O(nlog2(n)), because nlog10(n)=nlog2(n)/log2(10), and we ignore any constant factors in O notation O(Cn)==O(n). When we want to look at an algorithm, we can choose whichever base is most convenient, like using logarithms in base 3 to describe a tree with 3 children per node.

      @eliavrad2845@eliavrad2845 Жыл бұрын
    • yeah. base e stuff is MUCH more common in math because it was discovered through math itself and has a ton of beatiful properties built in. base 10 stuff is there for just for convenience of humans who count with 10 fingers and base 2 stuff is convenient for computers that count with on/off switches.

      @obviouslyblack@obviouslyblack Жыл бұрын
    • Thanks! We never used base 10 in calculus

      @stonebubbleprivat@stonebubbleprivat Жыл бұрын
    • In the Ada programming language, you can write integer literals in any base from 2 to 36. Don’t you wish more languages had that feature?

      @lawrencedoliveiro9104@lawrencedoliveiro9104 Жыл бұрын
  • Functional programming is still very closely attached to its mathematical roots and it makes programming experience beautiful.

    @sreedev@sreedev Жыл бұрын
    • bro when i first started coding and realized the functions were like math functions everything clicked 😩

      @pattytheratty@pattytheratty Жыл бұрын
    • and painful

      @seriouslyWeird@seriouslyWeird Жыл бұрын
  • Very interesting and informative video. Very rarely does fireship ever miss, but some videos feel like they fall into a more repetitive format of namedropping a bunch of languages and frameworks loosely tied to a relevant topic. You're very good at explaining topics that can be hard to visualize, I hope you do more videos on general concepts

    @fastcalendar@fastcalendar Жыл бұрын
  • I paused the video in the middle just to say, that was the greatest explanation of logarithmic functions I've ever seen in my entire life, thank you for gracing me with that analogy and visual

    @TheEvilWalrusLord@TheEvilWalrusLord Жыл бұрын
    • Hell yeah man!! That shit clicked instantly... I can believe I used to just memorise this while not really understanding anything..

      @sirplayalot@sirplayalot Жыл бұрын
  • I've taken some combinatorics classes as a part of my math minor while I finish up my computer science degree. Taking combinatorics has changed the way I think about programming problems. The part I like about it the most is how different it is than other higher level math classes. You don't need to know a lot of any other math to jump in and learn it!

    @NilesMontblair@NilesMontblair Жыл бұрын
  • I love this! You did a really good job making these subjects relatable and show how important they are in computer science and software engineering.

    @ChadDoebelin@ChadDoebelin Жыл бұрын
  • As a first year undergrad studying Applied Math who has much interest in Computers, I enjoyed this video a lot! I'm currently studying Abstract Algebra and boy that thing is so tough to grasp.

    @officialcommentcheckerofth9703@officialcommentcheckerofth9703 Жыл бұрын
  • that log cut in half analogy was so practical and good. m never forgetting log graph in my life

    @sourraabhcy_p@sourraabhcy_p5 ай бұрын
  • Your videos always feel like a freaking mind reader. Scans mind. Sees things that are a bit shaky. Explains them in easy to understand way that is also entertaining. Huge props! 😂

    @nemoteric@nemoteric Жыл бұрын
  • As a person who skipped linear algebra and trigonometry and jumped directly into gamedev, I'd suggest you to focus on your maths if you truly wanna build something breathtaking.

    @thatsalot3577@thatsalot3577 Жыл бұрын
    • I made both 2d/3d games, and I think you don't need it so often. Game engines already done most of the maths for you, unless you want to create your own engine from scratch

      @nightflared@nightflared Жыл бұрын
    • @@nightflared I mean it kinda does when you're building things other than platformers and fps shooters, especially doing things without tutorial and I'm taking mostly about 3d

      @thatsalot3577@thatsalot3577 Жыл бұрын
    • i like trigonometry

      @Vytor_01@Vytor_01 Жыл бұрын
  • This was one of the most important and interesting videos of my (fresh) coding career and even my whole education. I wish I had teachers that could share their knowledge in this way because I could rarely connect to them and had to learn the things on my own(the hard way). Thanks again, I wish I could subscribe more times as my behind is too poor to give any other kind of support.

    @vladimirmijatovic4171@vladimirmijatovic4171 Жыл бұрын
    • Same bro, im gonna learn all of these concepts in a few days using chatgpt and put it on my resume, why not? I can always go back to Google or ai for further help in the future if needed.

      @passportbro904@passportbro9049 ай бұрын
  • You explained logarithmic functions in a way that no upper level or university class ever was able to. Congratulations, you did what a professor could not.

    @pinkiepingas@pinkiepingas11 ай бұрын
  • Dude this video is super cool because you were able to explain these concepts in a much simpler and easier to digest way than most of my professors did. It also makes me feel better as I see that while I'm not an expert in every concept, I'm familiar with all of them making me feel way less stupid 😅

    @rodneygraham5532@rodneygraham5532 Жыл бұрын
    • The professors tried to lead you deeper into the Dunning-Kruger curve...

      @skun406@skun406 Жыл бұрын
    • I was just about to say this, I wishing my teachers explained math like this when I was in school

      @pr3cious193@pr3cious193 Жыл бұрын
    • Please do understand that this video is an extreme simplification of the most basic concepts. Dont be fooled that this is even a decent, however indeed entertaining, quick recap, if you truly want or need to master these concepts and their applications.

      @ViktorWingqvist@ViktorWingqvist Жыл бұрын
    • ​@@ViktorWingqvist this, and also the fact that everyone expects earning a degree in computer science just means attending some codecamp

      @johnhamirkarim3696@johnhamirkarim3696 Жыл бұрын
  • I'm a university student studying some math courses and currently studying statistics This video is amazing at revealing how my studies are linked to computer science

    @avi12@avi12 Жыл бұрын
  • Love your videos! I am a software angineer who almost finished a degree in Mathematics with researchs in advanced boolean algebra before going back to CS in university, and it made my passion for programming only grow more and more! Now I'm finishing my graduation's final paper on Functional Programming and Category theory!

    @JessehTheProphet@JessehTheProphet Жыл бұрын
    • Angina is dangerous man good luck

      @romancandlefight1144@romancandlefight1144 Жыл бұрын
    • I wish you success and joy. Good luck out there champ.

      @fahadalghamdi9316@fahadalghamdi9316 Жыл бұрын
  • Vector vs Scalar quantities are pretty excellent to know when thinking about useful analytics. I'm so happy you mentioned them!

    @culpritdesign@culpritdesign Жыл бұрын
  • I've studied all of this while doing my UG and PG never found some one that summarize the overall concept of these topics in short video like this. Hat off bro.

    @3mro_coding@3mro_coding Жыл бұрын
  • Except for calculus, this video was my entire math journey through my first 2 years of my CS degree.

    @liamwelsh5565@liamwelsh5565 Жыл бұрын
    • It's interesting how calculus is part of the standard curriculum but is honestly a lot less important in day-to-day life than concepts that aren't as well taught, like Bayesian statistics. Of course, if quantum computing ever takes off, having a good handle on integral calculus is going to be one of the most useful skills in a CS arsenal.

      @GSBarlev@GSBarlev Жыл бұрын
    • @@GSBarlev I did see it pop up in some of my later math and cs courses but it’s very brief. For example, in my data structures and algorithms course, there were a couple algorithms that used calculus to prove its average time complexity. But we never had to do calculus nor were we tested on it, it was just the professor very briefly going over a proof.

      @liamwelsh5565@liamwelsh5565 Жыл бұрын
    • ​@@GSBarlev calculus is used everywhere in deep learning. I don't know about you. But in our current era of revolution of AI I want to be able to understand at least the basics about it

      @matheusaraujo6445@matheusaraujo6445 Жыл бұрын
    • @@GSBarlev It's good to have in the curriculum as an academic exercise though. Trying to understand abstract math problems helps with understanding abstract programming problems.

      @jeltehoekstra2952@jeltehoekstra2952 Жыл бұрын
  • the reference to Schrodinger's cat at 1:27 was aweoxme. Its always the details in FireShip's videos man.

    @shantanu556@shantanu556 Жыл бұрын
  • Nice. Thanks man. Please never stop these sorta videos. I am fond of this type of stuff.

    @ehza@ehza Жыл бұрын
  • As someone who started off in PL/SQL with Procedural querying using Cursors, newer gen people don't realise how beautiful Set Based operations are in regards to modern SQL, Hashsets, Functional Programming, GroupJoins etc; and its beautiful how it immediately clicks in our brains when we commit to these. E.g imagine a baby given those shape to socket toys, the baby doesn't go through it iteratively, but rather already computes in sets(shapes and sockets) and performs map or fold in one go.

    @HolyRamanRajya@HolyRamanRajya Жыл бұрын
  • This is the first time I understood logarithms thanks alot, I think this will 'stick' with me for some time before I forget it

    @qusayalawneh1963@qusayalawneh1963 Жыл бұрын
  • This video does wonders... been procrastinating a few tasks today but the instant I clicked on this video I instantly jumped and started working on them

    @xrexy@xrexy Жыл бұрын
  • How you explained these concepts with this speed and I still understood you is sick. You are the greatest teacher who walked on this earth. A sensei for all the sensei's. The ring doesn't control you, you control the ring. Amazing!

    @dani-gy2dy@dani-gy2dy11 ай бұрын
  • funny how I was JUST stressing about how much math I'm gonna have to learn for programming (and I'm beyond horrible with math). I feel a bit more confident now since I can grasp the concepts laid out here pretty easily (the excellent explanation makes it easy to understand, so props!) it's just the actual numbers part that gets me lol

    @nugget6723@nugget6723 Жыл бұрын
    • If you can grasp the concepts, you're a good way into passing maths. Most people who "aren't good with maths" have an aversion to it that holds them back. Get past that, study until just one thing clicks and realise that you were never bad with maths to begin with. The thing is: everybody's starting point is different. I had to catch up on maths from year 11 (10th grade for US) while my study group breezed through the discrete maths module. But I did and now I love it.

      @SkullCollectorD5@SkullCollectorD5 Жыл бұрын
    • If the problem is just the numbers, then you'll be fine. Programming is basically outsourcing the boring arithmetic out of the concepts you're using.

      @lukdb@lukdb Жыл бұрын
    • No worries! You only need a lot of math if you're making games, simulations, and models. Everything else is literally just recordkeeping and string manipulation.

      @Zeero3846@Zeero3846 Жыл бұрын
    • Depending on what you want to do with programming you may not need most of these concepts or you may need much much more than that. Programming is a vast field. Skills needed in database administration or web development are much different than those needed in data science or computer graphics. The most important skill is actually English which might be a problem for non-native speakers but if you already have it, you are golden.

      @Laszer271@Laszer271 Жыл бұрын
    • ​@@Zeero3846 even then if you're using a sophisticated game engine like 80% of the math needed goes away too

      @surreal6055@surreal6055 Жыл бұрын
  • When you explain base 10 to begin explaining how bases in general work I think it might be better to think of it as each place's decimal value is equal to the number in that place which is less than the base value(10 for decimal) multiplied by the base to the power of the index(with this index starting at 0). This explanation should be easy to understand for programmers since any programmer should understand indexes that start at 0. To express this briefly you can say the decimal value 'D' is the place value 'P' multiplied by the base value 'B' to the power of the index 'I' or D = P*B^I. This is how I like to think about this and it works for any base. EX: for 1011 we have a base value of 2 and index 0, 1, 2, 3 from right to left. to get the decimal value we have D=((1*2^0)+(1*2^1)+(0*2^2)+(1*2^3)) = (1+2+0+8) = 11. Hopefully this helps someone and makes sense.

    @brandonsoboleski5642@brandonsoboleski5642 Жыл бұрын
  • Excellent video! Really well done, I appreciate the information and memes a lot!

    @val78787@val7878723 күн бұрын
  • 5yrs in programming, thanks for best explanation of big O complexity :D Video is nicely done, progressing from basics to advanced. I believe you will keep your job of educator for noobs even with GPT-10 :D

    @MrEfi4@MrEfi4 Жыл бұрын
  • There's 4 years of a CS degree in less than 10 minutes! AWESOME as usual!

    @Falconleader117@Falconleader117 Жыл бұрын
    • ​@@jasrajjohal apart from a few things: first semester...

      @tzarcoal1018@tzarcoal1018 Жыл бұрын
    • ... dude, what's with the trend of downplaying university degrees?

      @syedmohammadsannan964@syedmohammadsannan964 Жыл бұрын
    • @@tzarcoal1018 Ikr

      @syedmohammadsannan964@syedmohammadsannan964 Жыл бұрын
  • 4:56 Set Theory is one of the foundations that enable defining the continuous structures of geometry, topology, and calculus. Zermelo-Fraenkel Set Theory with the Axiom of Choice (normally called just ZFC) can serve to specify the way a set interacts with an equipped topology, or how the set of real numbers contains numbers that cannot be reasoned about due to how uncountably transfinite it is.

    @supercellodude@supercellodude Жыл бұрын
    • But is it useful in cs? Seems like you'd need to be in incredibly specific fields before knowledge of ZFC is useful but I could be wrong

      @theblinkingbrownie4654@theblinkingbrownie4654 Жыл бұрын
    • Category theory gang rise up

      @imapimplykindapimp@imapimplykindapimp11 ай бұрын
    • @@theblinkingbrownie4654: Set theory is useful in CS... cos it ties in with databases. So.. if you need to create a register for a car park, say... And you want the names of the owners, and the model and location of what it is placed etc. That could be useful for classification purposes. You just need to know DB Theories. Set theories is the pre-requisites towards databases. But this video is quite clever... cos I have never considered the different databases globally.... That is scary.

      @MeiinUK@MeiinUK8 ай бұрын
    • My Brain Broke at that point

      @SMCwasTaken@SMCwasTaken6 ай бұрын
  • omgggg actually I am at this point in my life where I basically need to understand those topics to progress further in my programming career. You really did a good job explaining those topics short and sweet, even for someone like me who always sucked at math and now has to work with linear algebra etc. for ML in my company. LOL

    @AkiiiMatcha@AkiiiMatcha Жыл бұрын
  • I love that you give us as an expert that overall picture of our future path, and releives me a lot, thank u

    @ahmadwael8541@ahmadwael8541 Жыл бұрын
  • I completely agree with this. Math is crucial in programming even when nowadays some people want to ignore it. It is not hard if you enjoy it. What is wrong is that many math-lover programmers lie about how they hate math and that you don't need to learn math if you wanna be a good programmer like in this video (but he already confirmed but actually by using sarcasm). The reality is: if you have any problem with math you are gonna face REALLY HARD life problems on your job, and projects.

    @blackhole724@blackhole724 Жыл бұрын
  • Thanks for being on of the best tech YT channels!

    @venkyakshaya@venkyakshaya Жыл бұрын
  • I can’t believe the amount of useful information you just taught me in a matter of minutes. THANK YOU!!!

    @nanakatz1492@nanakatz14922 ай бұрын
  • 3:32 holy shit that log explanation is incredible, not just for computer science but also for maths

    @evanpoole7829@evanpoole7829Ай бұрын
  • As a COmputer Sciences grad student, I had to take a course on every single subject mentioned (and more like calculus, numeric methods, group theory, differential equations and even some basic physics).

    @MasterGeekMX@MasterGeekMX Жыл бұрын
  • I wonder how much time did it take you to compile this information... I understand all the concepts but to summarize them is not easy. Well done!

    @TiagoMotonauta@TiagoMotonauta Жыл бұрын
  • Mathematicians will unironically say something like "The volume of a superegg can be derived via squigonometry, a generalization of trigonometry to squircles. It is related to the gamma function" and expect people to understand.

    @Beowulf-sn8ir@Beowulf-sn8ir7 ай бұрын
  • As a long-time fireship watcher, I can say that your examples are very funny. They help us to remember better and hence, to understand the concepts well.

    @puspamadak@puspamadak10 ай бұрын
  • After dismissing it all for years when I couldn't appreciate it in high school... "Who would ever need the Pythagorean Theorem?". Now I'm learning about Fibonacci, the Russell paradox and the Mandelbrot set and I wish I would have known (more) about all this earlier and wasn't just taught enough to pass an exam in school. Could I have appreciated it more at an earlier age? I don't know. We're in a complex system that we don't have the tools to understand yet or maybe ever. Just like in AI development they have now found that language is the key to everything human, maths is the key to the universe.

    @robinheyer708@robinheyer708 Жыл бұрын
  • Your explanation of the logarithm is outstanding

    @MidtownMadness1@MidtownMadness1 Жыл бұрын
  • This is so good, it's like a math teacher is actually trying to teach you something instead of flexing his math muscle :D

    @marckraw@marckraw Жыл бұрын
  • I did not understand much but it was fascinating to watch it! Great video!

    @DJxMaster2@DJxMaster2 Жыл бұрын
  • Very concise and excellent content. Shall we make one on Theory of Computation?

    @rajpdus@rajpdus Жыл бұрын
  • Now time for the prerequisites: strong understanding of high school math, calc 1-3, and proofs for the discrete math.

    @propoop6991@propoop6991 Жыл бұрын
    • i got a 64 in high school math and im doing fine

      @pattytheratty@pattytheratty Жыл бұрын
  • PLEASE DO MORE VIDEOS LIKE THESE. Maybe dive deeper in the chapters shown in this video, it will be extremely helpful. For someone who wants to slowly start learning about neural networks, going to 3Blue1Brown and watching their series can get overwhelming due to so much maths on screen, ur graphical and creative methods are much less brain loading.

    @elitegamersiddhu5684@elitegamersiddhu5684 Жыл бұрын
  • Diving deeper of the harder topics here would be nice, like a 15 minute linear algebra video or something

    @danypell2517@danypell2517 Жыл бұрын
  • The base64 you wrote through the video is the quote "Mathematics are the result of mysterious powers which no one understands, and which the unconscious recognition of beauty must play an important part. Out of an infinity of designs a mathematician chooses one pattern for beauty's sake and pulls it down to earth", notice that you forgot the dot in the end which would be Lg== in base 64. Which is also funny because Lg is binary logarithms if im not mistaken

    @rawrx@rawrx Жыл бұрын
  • With content like these, it'll be long before AI replaces you... Kudos.

    @WillJackDo@WillJackDo Жыл бұрын
  • Broe, I wish I had you as my math teacher, you make it so simple!!

    @siphamandlambokazi331@siphamandlambokazi331 Жыл бұрын
  • That was probably the most useful and educative video I've seen so far

    @k_klaffi1900@k_klaffi19004 ай бұрын
  • I was getting there but I see someone else is first, but putting my results here anyways. I only needed first 2 decoded, after searching for them I could find the binary quote Morse quote below: Mathematics are the result of mysterious powers which no one understands, and which the unconscious recognition of beauty must play an important part. Out of an infinity of designs a mathematician chooses one pattern for beauty's sake and pulls it down to earth.

    @yashmistry1918@yashmistry1918 Жыл бұрын
  • The secret is a quote from Bertrand Russell on mathematics! Or at least one in a similar vein. Maybe you asked ChatGPT to make a quote about mathematics and it came up with this one lol. here's the text: "Mathematics are the result of mysterious powers which no one understands, and which the unconscious recognition of beauty must play an important part. Out of an infinity of designs, a mathematician chooses one pattern for beauty's sake and pulls it down to earth."

    @AJ-AI@AJ-AI Жыл бұрын
    • Nice one, seems like it encoded in base64 UTF8. This is what Chat GPT gave me as a result on first string: "Mallhematics arT▒▒▒ result" . But as a lazy developer I used IPhone camera to take a string from a youtube video, and it capture couple characters in a wrong way.

      @alex_skobe@alex_skobe Жыл бұрын
  • As a math challenged programmer/gamedev, please give us more content like this! 😮🤯

    @TrentSterling@TrentSterling Жыл бұрын
  • The first ever video I have watched at velocity x0.75. And going to watch again. Bravo!

    @I-am-Joe-Po@I-am-Joe-Po Жыл бұрын
  • As an class 10th student looking for career in cs. I can say that I understood nothing 😢😂 but I can guarantee that I will come back to this video after 4 years ..love you ❤❤

    @KingKong-oy4yr@KingKong-oy4yr3 ай бұрын
  • Really good video, I loved it, very well explained like always. I just missed numerical methods and will be 10/10

    @diegomarzo4001@diegomarzo4001 Жыл бұрын
  • Wow. Amazing bro. you covered everything. Thanks a lot

    @user-mq8pw6oi7g@user-mq8pw6oi7g13 күн бұрын
  • Fireship actually have ability to convince me that I need certain subject or tool for my career

    @lasham111@lasham111 Жыл бұрын
  • This may be the best maths for programmers video I have seen so far. Surprisingly detailed for how quickly and consistently you go through each concept.

    @fbodirector7464@fbodirector7464 Жыл бұрын
  • Literally explained the most confusing part of binary to me in 10 seconds. Finally made the connection lol. Thank you!!!

    @ironCheval@ironCheval11 ай бұрын
  • This video is very interesting...I wanted to revise most of these concepts but i have been procrastinating to do so....This video is a really good motivation for me. Thank you! :)

    @teamrocket0002@teamrocket0002 Жыл бұрын
  • Small nitpick: linear regression isn't just for lines. Fitting a polynomial or some linear combination of functions makes it linear in the linear algebra sense.

    @UltraMaXAtAXX@UltraMaXAtAXX Жыл бұрын
  • I am a math teacher in a high school teaching to students studying informatics curriculum. Thanks a lot for this one!! 🙏🏻

    @giovannironchi5332@giovannironchi5332 Жыл бұрын
  • i can't believe how great your videos are as physicist we learn some similaire, we basically learn same maths the difference is in the amount of focus on those sub-section just wanted to point one thing which is in linear algebra you skipped one level which is tensors. good luck and keep up the learning and sharing

    @A.Belkhir@A.Belkhir Жыл бұрын
  • Your ability to simplify complex concepts is impressive and greatly appreciated

    @user-gn4zl4co7q@user-gn4zl4co7q7 күн бұрын
  • Thanks for the amazing video, Jeff! Your content is pure gold!

    @symphony_vk@symphony_vk Жыл бұрын
  • Using logs to explain logarithm, brilliant ❤

    @rabik_dev@rabik_dev Жыл бұрын
    • Took your comment for me to realize 🤣

      @madhououinkyoma@madhououinkyoma Жыл бұрын
  • Wow, you will be VERY familiar with all of these concepts if you got a CS degree, I got one and now and only now I understand why we get to know those concepts, thanks.

    @abdelsamie.bousba@abdelsamie.bousba Жыл бұрын
  • This video takes me back to the good ol' days and when i wrote sprite routines using algebra and 6502 machine code.

    @8bitgamerC64@8bitgamerC6411 ай бұрын
  • I used basic differential equations all the way through my PhD. But if I’m not using particular maths a lot then the core of the concept may not stick. So I love watching other people explain math concepts and you made byte binary make concrete and intuitive sense. Loved the idea of thinking of it as each position is a yes or no at a power of 2 and adding the result.

    @slowgoins@slowgoins Жыл бұрын
  • Chat GPT can decrypt the message instantly. It also explains that it is encrypted in Base64 which is a common encoding scheme used to represent binary data in ASCII format. It even corrects misspellings in the encryption.

    @johnplays9654@johnplays9654 Жыл бұрын
  • LOVE the "log" analogy

    @funkykong9001@funkykong9001 Жыл бұрын
  • You are true chad of explaining things. Good job as always!

    @Dragonaud@Dragonaud Жыл бұрын
  • joins are NOT set unions/intersections. In particular, the way you displayed left/right joins would mean they just return the original tables, which is obviously not the case. SQL *does* have UNION and INTERSECT operators for queries. But an INNER JOIN e.g. is the graph of the relation defined after the ON, and the other ones are unions (!) of the latter with elements of A x {null} or {null} x B

    @badhbhchadh@badhbhchadh Жыл бұрын
    • Keep in mind tho, the practical realizations are not always consistent across all DBMS and versions for ANSI SQL. I had the displeasure having to work with a version of OracleDB that was made during their transition to ANSI and results were often ridiculous and an approximation and extensions of their bad non-ANSI Join operators(+,-).

      @HolyRamanRajya@HolyRamanRajya Жыл бұрын
  • Linear algebra for RSA. I think linear algebra is more related to AES.

    @deepjoshi356@deepjoshi356 Жыл бұрын
    • Yup. Cryptography in general is mostly number theory, specifically finite fields.

      @d3line@d3line Жыл бұрын
  • All what was shown her i learned in a humanist class in high school and at first year at the University. But i'm born and raised in Poland, so for plenty of us it's very common. Now i know why polish programmers are very often by deep data science, ai (including chatgpt) or security. Nice video :)

    @BluesBoySid@BluesBoySid8 ай бұрын
  • Thanks for your dedication ant effort for this kind of videos!!

    @cielolov2356@cielolov23566 ай бұрын
  • In linear regression, the input/output variables don't have to be linear wrt eachother. The linearity comes from the coefficients (\betas) being linear, such that we can have a vector representation of them.

    @Eta_Carinae__@Eta_Carinae__ Жыл бұрын
  • Mr. Fireship, forget math. You are magic. I have hated math since I was 7 but you just lit up a flame in me with this video and every other video you make!

    @monzerfaisal3673@monzerfaisal3673 Жыл бұрын
  • I definitely need boolean algebra. Trying to learn to write drivers for my mcu peripherals in C, and being able to do that with ternary operators would make easier in the end.

    @alphonsereitz@alphonsereitz7 ай бұрын
  • I am amazed by how programmers are still avoiding math.

    @krast0gaming40@krast0gaming40 Жыл бұрын
    • @@bob-manuel bro thinks hes socrates

      @gavinholtzapple1439@gavinholtzapple1439 Жыл бұрын
    • @Bob-Manuel i sense chatgpt in this comment

      @jmilouise5097@jmilouise5097 Жыл бұрын
    • I don't think they do tho

      @russianvideovlogguy@russianvideovlogguy Жыл бұрын
    • The ones that don't have a formal education in STEM fields, yeah. The rest of us didn't have a choice when it came to learning the math bits haha It's a shame though, because math is so incredibly useful and honestly very interesting when you strip away all the formalities and focus on the concepts themselves. That's kind of the problem though, math isn't really math unless it's strictly formal and the formal definitions often don't make it obvious what they actually mean in a practical sense, which prevents people from seeing the bigger picture that is so valuable. That's why many people get turned off by it, if you don't have a good teacher or do your own research you lose the value in the noise of the formalities.

      @mrgalaxy396@mrgalaxy396 Жыл бұрын
    • Only game dev and data scientists love math

      @herikaniugu@herikaniugu Жыл бұрын
  • I wish I knew more about all this years ago.

    @landotter@landotter Жыл бұрын
    • So you know it now or will you say the same thing again in 10 years 🤔

      @devon9374@devon9374 Жыл бұрын
  • 2:58, the thing I find wrong about how floating point numbers are handled is the same reason get that .30...4, the exponent is used to represent where the decimal point is when the better way is to represent where the smallest support unit is so that the mantissa can be treated as an integer with N 0s in front/behind it from the known smallest of the containing bytes. For example, let's say we have a piece of paper that can support up to 32 digits (yes I'm referencing a standard float's number of bits), since we know that we can designate 8 digits to represent how far from the smallest digit we are, next we use half the max it can hold to tell us how small the smallest unit should be, so in this case 255 / 2 is 127.5, we'll round that down so that the fastest matching operating in a computer would be a simple right shift by 1, so now our smallest possible unit is 127 digits behind the decimal point & an exponent of 0 means exactly that, an exponent higher than 23 ( our remaining digits when accounting for the + & - prefixes) is definitely bigger than one with an exponent of 0 while any value between 23 & 0 would have to add the difference between the 2 values to the position of the highest digit to compare against the highest digit of the smaller exponent's mantissa. Yes we sacrifice the implied bit but instead we get 100% accurate results beyond the decimal point.. provided they're not longer than 127 digits that is *coughPI*

    @zxuiji@zxuiji8 ай бұрын
  • Matrices are definitely very important to learn as they have many uses and are very simple and easy to understand.

    @itk77@itk779 ай бұрын
  • 7:52 JIAN YAAAAAANG

    @traxx75@traxx75 Жыл бұрын
  • Jeff explained linear algebra in 1 minute better than all my Math teachers in college

    @h2osani147@h2osani147 Жыл бұрын
KZhead