Course 02 of 10
Math
The language of models, from arithmetic to vectors, calculus, probability, statistics, information theory and attention.
01Arithmetic and Number Sense9 lessons
Before vectors and gradients come the numbers themselves. Chapter overview
- 1Numbers and Their Kinds 3 min
- 2Fractions, Ratios and Percentages 4 min
- 3Order of Operations and Properties 4 min
- 4Exponents and Roots 3 min
- 5Scientific Notation and Scale 3 min
- 6Logarithms 4 min
- 7Rounding, Absolute Value and Modulo 3 min
- 8Estimation and Sanity Checks 3 min
- 9Reading Math Notation 4 min
02Algebra and Functions12 lessons
Algebra is arithmetic with unknowns, and a function is a rule that turns inputs into outputs. Chapter overview
- 1Variables and Expressions 3 min
- 2Equations and Solving 3 min
- 3Inequalities 3 min
- 4Sequences and Series 3 min
- 5Sums and Products 3 min
- 6Functions 3 min
- 7Graphs and Transformations 3 min
- 8Linear Functions 3 min
- 9Polynomials and Quadratics 3 min
- 10Exponential and Logarithmic Functions 3 min
- 11Composition and Inverses 3 min
- 12Functions AI Loves 3 min
03Geometry and Trigonometry6 lessons
Geometry is the maths of position, distance, angle and shape. Chapter overview
04Sets, Logic and Counting8 lessons
This section covers the discrete foundations: collections of things (sets), statements that are true or false (logic), how to argue carefully (proofs), how to count possibilities, how to describe… Chapter overview
05Linear Algebra18 lessons
Linear algebra is the maths of lists of numbers (vectors) and grids of numbers (matrices), and of the simple operations that combine them. Chapter overview
- 1Scalars and Vectors 3 min
- 2Vector Operations 3 min
- 3Linear Combinations and Span 3 min
- 4Linear Independence and Basis 3 min
- 5Norms and Distance 3 min
- 6Dot Product 3 min
- 7Cosine Similarity 3 min
- 8Matrices as Transformations 3 min
- 9Matrix Multiplication 3 min
- 10Transpose, Identity and Inverse 3 min
- 11Determinant 3 min
- 12Solving Linear Systems 3 min
- 13Rank and Null Space 4 min
- 14Orthogonality and Projection 3 min
- 15Least Squares 3 min
- 16Eigenvalues and Eigenvectors 4 min
- 17SVD and PCA 3 min
- 18Tensors and Shapes 3 min
06Calculus15 lessons
Calculus is the maths of change. It answers "how fast is this quantity changing right now?" (differentiation) and "how much has it accumulated?" (integration). Chapter overview
- 1Rate of Change 3 min
- 2Limits 3 min
- 3Continuity 3 min
- 4Derivatives 3 min
- 5Derivative Rules 3 min
- 6Chain Rule 3 min
- 7Derivatives of Exp, Log and Sigmoid 3 min
- 8Higher Derivatives and Curvature 3 min
- 9Partial Derivatives 3 min
- 10Gradients 3 min
- 11Jacobian 3 min
- 12Hessian 3 min
- 13Integrals 3 min
- 14Taylor Approximation 3 min
- 15Automatic Differentiation 3 min
07Probability14 lessons
Probability is the maths of uncertainty. It gives numbers to "how likely?", and rules for combining those numbers. Chapter overview
- 1Events and Sample Spaces 3 min
- 2Probability Rules 3 min
- 3Conditional Probability 3 min
- 4Independence 3 min
- 5Bayes Theorem 4 min
- 6Random Variables 3 min
- 7Expectation 3 min
- 8Variance and Standard Deviation 3 min
- 9Discrete Distributions 3 min
- 10Continuous Distributions 3 min
- 11Joint and Marginal Distributions 3 min
- 12Law of Large Numbers 3 min
- 13Central Limit Theorem 3 min
- 14Markov Chains 3 min
08Statistics12 lessons
Probability reasons from a known chance process to what data it will produce. Statistics runs the other way: it starts from data and reasons back to what produced it. Chapter overview
- 1Describing Data 3 min
- 2Data Distributions and Outliers 3 min
- 3Sampling and Bias 3 min
- 4Covariance and Correlation 3 min
- 5Correlation vs Causation 3 min
- 6Estimation and Bias 3 min
- 7Maximum Likelihood 3 min
- 8Confidence Intervals 3 min
- 9Hypothesis Testing and P-values 3 min
- 10Common Test Mistakes 3 min
- 11Bayesian vs Frequentist 3 min
- 12Overfitting in Statistics 3 min
09Information Theory6 lessons
Information theory measures uncertainty and surprise in numbers. Chapter overview
10Optimization9 lessons
Optimization is the art of finding the best values: the parameters that make a model's error as small as possible. Chapter overview
11Numerical Computing5 lessons
Computers do not do real-number maths exactly. Chapter overview
12Math in AI8 lessons
This last section puts the earlier ones to work. Chapter overview
- 1Linear Regression End to End 4 min
- 2Logistic Regression and the Sigmoid 3 min
- 3A Forward Pass by Hand 3 min
- 4Backpropagation by Hand 3 min
- 5Softmax and Cross-Entropy in Practice 3 min
- 6Embeddings and Similarity Search 3 min
- 7Attention as Dot Products 3 min
- 8Bias, Variance and the Whole Picture 4 min