Roadmap
The maths for machine learning and AI, in the order it is needed
Almost every "maths for ML" list is a list of topics. What a self-taught learner needs is an order, because the reason people stall is not that a topic is hard — it is that they meet it before the thing it assumes. This is the order, with the specific skills each stage needs.
Stage 1 — Algebra and functions (the part people skip)
Every derivation in a machine-learning paper is algebra rearranged. If summation notation, logarithms and the law of exponents are not automatic, the paper is unreadable for a reason that has nothing to do with machine learning.
- Manipulating expressions, exponents and logarithms without hesitating.
- Summation notation, including double indices — the whole of a loss function is written in it.
- Functions, composition and inverses, because a network layer is a composition.
- Vectors as objects with addition and scaling, before they are arrays.
Courses here: Algebra I → Algebra II → Precalculus. A placement test will skip whatever of that you already have.
Stage 2 — Calculus, all three courses of it
Gradients are derivatives; backpropagation is the chain rule applied to a graph; a training step is a directional derivative. The parts that matter most:
- The derivative as a rate and as a linear approximation — the second reading is the one optimisation uses.
- The chain rule, including several variables at once.
- Partial derivatives, the gradient and the Hessian: what a critical point is, and why a saddle is not a minimum.
- Taylor series, because every justification of a second-order method is one.
- Integration, for expectations and for the continuous distributions a loss assumes.
Courses here: Calculus I → Calculus II → Calculus III.
Stage 3 — Linear algebra, which is where the subject lives
This is the course machine learning is written in, and ours is the deepest one we have: 641 skills and 125,277 verified questions. The specific things that come up:
| Idea | Where it appears |
|---|---|
| Matrix multiplication as composition | Every layer. AB means apply B then A, and the shapes have to agree for that reason. |
| Column space, nullspace, rank | Why a system has no solution, why a matrix is not invertible, why a network collapses. |
| Orthogonality and projection | Least squares, the normal equations, attention as a projection, residuals. |
| Eigenvalues and the spectral theorem | PCA, spectral clustering, why a covariance matrix is symmetric and what that buys. |
| Singular value decomposition | Low-rank approximation, embeddings, conditioning, pseudo-inverse. |
| Conditioning and norms | Why training diverges, why a learning rate that works for one scale fails for another. |
| The Hessian and quadratic forms | Second-order optimisation, convexity, why a loss surface curves the way it does. |
| Dual spaces and the adjoint | Backpropagation as a linear map, and the reason the gradient lives in the dual. |
The Math for Machine Learning track assembles linear algebra, three calculus courses and statistics into one sequence with measured counts, or you can start the placement test on linear algebra directly.
Stage 4 — Probability and statistics
A loss is an expectation; a model is a conditional distribution; an evaluation is an estimate with an interval around it.
- Random variables, expectation and variance — the language a loss is written in.
- The normal law and why it appears where it does (and where it does not).
- Sampling, the limit theorems, and what a confidence interval is actually claiming.
- Hypothesis testing and regression, including what a p-value is not.
Course here: Statistics. Probability as a separate advanced course is on our roadmap and not live — the statistics course teaches the probability it needs, and a dedicated probability course is not something we have yet.
Stage 5 — What we do not teach
Stated plainly so nobody enrols expecting it: there is no physics course, no deep-learning engineering course, no optimisation course beyond the calculus of it, and no programming. This roadmap is the mathematics underneath those, and it stops where the mathematics does.
Where we are weaker
- No programming at all. Nothing here writes Python, and a machine-learning learner needs that from somewhere else.
- No dedicated probability course yet — the statistics course covers the probability it uses, and an advanced course is roadmap.
- No research-level material. This reaches the linear algebra and calculus a paper assumes; it does not read the paper with you.
- No projects. There is no dataset, no model and no portfolio at the end, only the mathematics.
| A machine-learning course | Euler Hall | |
|---|---|---|
| You can already read the mathematics in a paper. | Yes — go straight there. | You do not need this. |
| You stall in a paper at a derivation. | The course assumes the derivation. | The prerequisite is named and taught. |
| You want to build and ship models. | Yes. | No — this is the mathematics underneath. |
| You want the linear algebra to be deep, not a chapter. | Usually one chapter. | 641 skills, 125,277 questions. |
| You need probability as a full course. | Often included. | Not yet — statistics covers what it uses. |
What maths do I need for machine learning?
Algebra and functions, then calculus through partial derivatives and the Hessian, then linear algebra (especially the SVD, projections and conditioning), then probability and statistics.
How much linear algebra is enough?
Ours is 641 skills and 125,277 verified questions, from vectors through the SVD, the spectral theorem and dual spaces.
Does Euler Hall teach probability?
The statistics course teaches the probability it uses. A dedicated probability course is on the roadmap and is not live.
Is there a physics course?
No. It is roadmap, and we would rather say so than imply otherwise.