{# Course schema: this is what turns a blue link into a result that shows the provider and the level. Only facts that are actually true go in here. #}
ExpoCoder Sign in Start free

Mathematics for AI

The math behind AI, taught from scratch to advanced: foundations, linear algebra, calculus, and probability/statistics, with every formula shown step by step.

38 lessons about 13 hours Medium
Learn it by writing it.

Every lesson runs real code in your browser, checked the moment you submit. No installing anything, no setup, no waiting.

Start Mathematics for AI free

What this course covers

  1. Why Math for AI?
  2. Numbers, Variables and Notation
  3. Functions and Graphs
  4. Exponents and Logarithms
  5. The Coordinate Plane
  6. Vectors: a List of Numbers
  7. Adding and Scaling Vectors
  8. The Dot Product
  9. Vector Length and Distance
  10. Matrices: a Grid of Numbers
  11. Matrix times Vector
  12. Matrix Multiplication
  13. Transpose, Identity and Special Matrices
  14. Eigenvectors and PCA (intuitively)
  15. Rate of Change and Slope
  16. The Derivative
  17. Basic Derivative Rules
  18. Partial Derivatives (Multivariable)
  19. Gradients: Slope in Many Directions
  20. The Chain Rule
  21. Gradient Descent Variants: Momentum, RMSprop, and Adam
  22. Optimization and Gradient Descent
  23. Probability Basics
  24. Mean, Variance and Standard Deviation
  25. Distributions and the Normal Curve
  26. Conditional Probability and Bayes Theorem
  27. Correlation and Covariance
  28. Entropy and Cross-Entropy
  29. KL Divergence: Measuring the Gap Between Distributions
  30. Likelihood and Sampling (for Evaluation)
  31. Expectation and Variance
  32. Covariance and the Covariance Matrix
  33. Eigen-Decomposition and PCA
  34. Singular Value Decomposition (SVD)
  35. The Multivariable Chain Rule and Backpropagation
  36. Maximum Likelihood and the Softmax Gradient
  37. Convexity: Why Gradient Descent Works
  38. The Math Behind Training a Model

Other courses

Computational Thinking

Learn to think like a problem-solver before you write a single line of code. Break big …

Basic Python

Your first Python course, no experience needed. Learn variables, loops, functions, and …

Intermediate Python

Level up your Python with comprehensions, lambdas, error handling, files, modules, and …

Object-Oriented Programming

Master OOP in Python: classes, objects, inheritance, polymorphism, encapsulation, abstr…

Advanced Python

Go deeper in Python: decorators, generators, type hints, regex, JSON, SQLite, testing, …

Data Structures & Algorithms

Core CS: arrays, lists, stacks, queues, hash tables, trees, graphs, sorting, searching,…

Games with Pygame

Build your own 2D games from scratch: the game loop, sprites, movement, collisions, and…

Java

Learn Java from zero, with no programming background needed. Write your first program, …

C++

Learn C++ from zero, with no programming background needed. Start with your first progr…

C

Learn C from zero, with no programming background needed. The language that Unix, Linux…

JavaScript

Learn JavaScript from scratch: variables, types, loops, functions, arrays and objects, …

Web Frontend

Build for the browser: structure pages with HTML, style them with CSS, then use live AP…

See all courses