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.
Every lesson runs real code in your browser, checked the moment you submit. No installing anything, no setup, no waiting.
Start Mathematics for AI freeWhat this course covers
- Why Math for AI?
- Numbers, Variables and Notation
- Functions and Graphs
- Exponents and Logarithms
- The Coordinate Plane
- Vectors: a List of Numbers
- Adding and Scaling Vectors
- The Dot Product
- Vector Length and Distance
- Matrices: a Grid of Numbers
- Matrix times Vector
- Matrix Multiplication
- Transpose, Identity and Special Matrices
- Eigenvectors and PCA (intuitively)
- Rate of Change and Slope
- The Derivative
- Basic Derivative Rules
- Partial Derivatives (Multivariable)
- Gradients: Slope in Many Directions
- The Chain Rule
- Gradient Descent Variants: Momentum, RMSprop, and Adam
- Optimization and Gradient Descent
- Probability Basics
- Mean, Variance and Standard Deviation
- Distributions and the Normal Curve
- Conditional Probability and Bayes Theorem
- Correlation and Covariance
- Entropy and Cross-Entropy
- KL Divergence: Measuring the Gap Between Distributions
- Likelihood and Sampling (for Evaluation)
- Expectation and Variance
- Covariance and the Covariance Matrix
- Eigen-Decomposition and PCA
- Singular Value Decomposition (SVD)
- The Multivariable Chain Rule and Backpropagation
- Maximum Likelihood and the Softmax Gradient
- Convexity: Why Gradient Descent Works
- The Math Behind Training a Model
Other courses
Learn to think like a problem-solver before you write a single line of code. Break big …
Your first Python course, no experience needed. Learn variables, loops, functions, and …
Level up your Python with comprehensions, lambdas, error handling, files, modules, and …
Master OOP in Python: classes, objects, inheritance, polymorphism, encapsulation, abstr…
Go deeper in Python: decorators, generators, type hints, regex, JSON, SQLite, testing, …
Core CS: arrays, lists, stacks, queues, hash tables, trees, graphs, sorting, searching,…
Build your own 2D games from scratch: the game loop, sprites, movement, collisions, and…
Learn Java from zero, with no programming background needed. Write your first program, …
Learn C++ from zero, with no programming background needed. Start with your first progr…
Learn C from zero, with no programming background needed. The language that Unix, Linux…
Learn JavaScript from scratch: variables, types, loops, functions, arrays and objects, …
Build for the browser: structure pages with HTML, style them with CSS, then use live AP…