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
- Optimization and Gradient Descent
- Gradient Descent Variants: Momentum, RMSprop, and Adam
- 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…
Build your own 2D games from scratch: the game loop, sprites, movement, collisions, and…
Go deeper in Python: decorators, generators, type hints, regex, JSON, SQLite, testing, …
Core CS: arrays, lists, stacks, queues, hash tables, trees, graphs, sorting, searching,…
Learn Java from zero, with no programming background needed. Write your first program, …
Learn Rust from zero, with no systems background needed. Write your first program, then…
Learn C# from zero, with no programming background needed. Write your first program, th…
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…