freeCodeCamp
By Jason Dsouza
I’m an AI researcher, and I’ve received quite a few emails asking me just how much math is required in Artificial Intelligence.
I won’t lie: it’s a lot of math.
And this is one of the reasons AI puts off many beginners. After much research and talks with several veterans in the field, I’ve compiled this no-nonsense guide that covers all of the fundamentals of the math you’ll need to know.
The concepts mentioned below are usually covered over several semesters in college, but I’ve boiled them down to the core principles that you can focus on.
This guide is an absolute life-saver for beginners, so you can study the topics that matter most. But it's an even better resource for practitioners, such as myself, who require a quick breeze-through on these concepts.
Note: You don’t need to know all of the concepts (below) in order to get your first job in AI. All you need is a firm grasp of the fundamentals. Focus on those and consolidate them.
You can also find these resources on my Github: Jason's AI Math Roadmap.
_Photo by [Unsplash](https://unsplash.com/@antoine1003?utm_source=ghost&utm_medium=referral&utm_campaign=api-credit">Antoine Dautry / Exponents
Linear Algebra. Source.
Linear Algebra is the primary mathematical computation tool in Artificial Intelligence and in many other areas of Science and Engineering. With this field, you need to understand 4 primary mathematical objects and their properties:
Properties such as the Dot product, Vector product and the Hadamard product are useful to know as well.
_Photo by [Unsplash](https://unsplash.com/@jeswinthomas?utm_source=ghost&utm_medium=referral&utm_campaign=api-credit">Jeswin Thomas / Derivatives — rules (addition, product, chain rule, and so on), hyperbolic derivatives (tanh, cosh, and so on) and partial derivatives.
_Photo by [Unsplash](https://unsplash.com/@tamiminaser?utm_source=ghost&utm_medium=referral&utm_campaign=api-credit">Naser Tamimi / Basic Statistics — Mean, median, mode, variance, covariance, and so on.
_Photo by [Unsplash](https://unsplash.com/@giuliamay?utm_source=ghost&utm_medium=referral&utm_campaign=api-credit">Giulia May / Entropy** — also called Shannon Entropy. Used to measure the uncertainty in an experiment.
If you are terrified at the mere mention of “math”, you’re probably not going to have much fun in Artificial Intelligence.
But if you’re willing to invest time to improve your familiarity with the principles underlying calculus, linear algebra, stats, and probability, nothing — not even math — should get in the way of you getting into AI.
PS: Math really is fun. As you go deeper into math, be sure to understand the beauty of a certain math concept and how it affects something. You’ll soon share the unbridled passion that many mathematicians and AI Scientists have!
A tip: Treat mathematical concepts as a pay-as-you-go: whenever a foreign concept pops up, grab it and devour it! The guide above presents a minimal, yet comprehensive, resource to understand any kind of topic or concept in AI.
Be sure to follow me on Twitter for updates on future articles. Happy learning!