AnyLearn
All lessons

Math lessons & courses

48 lessons · 12 learning paths · free, quiz-checked, no signup required

The mathematics that underpins engineering and data work: linear algebra, statistics, and the habits of quantitative reasoning. Each lesson builds the intuition first, then makes it precise.

Learning paths

Browse all 12 paths
Math
advanced

Numerical Methods: Solving Equations a Computer Can Actually Handle

Most equations a model produces have no formula for their answer, so a computer has to chase one. This four-lesson path teaches how that works and how it fails: root finding with Newton and Brent, solving linear systems by LU factorisation and pivoting, iterative solvers and preconditioned conjugate gradient for systems too big to factor, and stiff differential equations with implicit methods and adaptive steps. Every lesson runs real SciPy code, so you learn to pick the right solver and to know how many digits to trust.

4 lessons · certificate
Math
intermediate

Differential Equations and Dynamical Systems

Most laws of science are written as rules for change, and most of those rules have no formula for the answer. This four-lesson path teaches you to read them anyway: classify and solve the classic equations, find fixed points and judge their stability, spot the bifurcations where systems tip, classify the phase plane with eigenvalues, and see how three deterministic equations produce chaos. Each lesson includes Python you can run, so you can check every claim against a solver.

4 lessons · certificate
Math
advanced

Graph Theory: Connectivity, Flows, Matching, and Spectral Methods

Go past the definition of a graph to the four results that make graph theory a working tool. Measure how much damage a network can absorb, compute maximum flows and the minimum cuts that certify them, pair workers with tasks optimally and prove nobody better exists, and read a graph's structure from its Laplacian eigenvalues. Each lesson pairs a min-max theorem with runnable Python, so you finish able to model a real problem and defend the answer.

4 lessons · certificate
Math
advanced

Game Theory: Equilibria, Auctions, and Mechanism Design

Whenever your best move depends on what others do, you are in a game, and this path gives you the tools to analyse one. You will find Nash equilibria in pure and mixed strategies, solve game trees and spot empty threats, model private information as a Bayesian game, derive how bidders shade in auctions and why formats raise the same revenue, and finally design rules of your own: truthful auctions, optimal reserves, and stable matching markets.

4 lessons · certificate
Math
advanced

Convex Optimization: From Gradient Descent to Interior Point Methods

The real divide in optimization is convex against nonconvex, and it decides whether you can prove your answer is best or merely hope so. Start by learning to recognise convexity without touching a Hessian. Derive why the safe step size is one over the smoothness constant, and why the condition number governs everything. Pick up duality and the KKT conditions as your certificate. Then add curvature, and see how a log barrier turned constrained problems into something solvable in polynomial time.

4 lessons · certificate
Math
advanced

Group Theory and Symmetry

A group is a set with one operation and four rules, and that deliberate poverty is what lets a single theorem cover rotations, shuffles, clock arithmetic and Rubik's cube at once. This path starts from the symmetries of a square, proves Lagrange's theorem and gets Fermat's little theorem for free, shows why no crystal can have five-fold symmetry and what happened when one did, and ends with the group of order 60 that makes a quintic formula impossible.

4 lessons · certificate

All Math lessons

Math
intermediate

Graphs: A Language for Relationships

A graph is two sets and an incidence relation, and that austerity is why the same object models build dependencies, social networks, register allocation and road maps. This lesson covers the structural properties worth knowing, the special families that make hard problems easy, and the line where a small change to a question makes it intractable.

10 steps·~15 min
Math
intermediate

Proof and Induction: Covering Infinitely Many Cases

Testing checks the cases you thought of; a proof covers all of them at once, including the ones nobody will ever run. This lesson builds direct proof, contradiction and induction as working tools, shows the two ways induction fails, and connects it to the loop invariants that make a program correct rather than merely untested.

10 steps·~15 min
Math
intermediate

Counting Without Listing

Combinatorics answers how many arrangements exist without producing any of them, which is what makes password strength, hash collisions and search-space size computable at all. This lesson builds the product rule, permutations, combinations, inclusion-exclusion and the pigeonhole principle, then applies them to problems where intuition is reliably wrong.

10 steps·~15 min
Math
intermediate

Reading a Spectrum Without Fooling Yourself

A spectrum shows you artefacts of the analysis alongside the signal, and telling them apart is a learnable skill. This lesson covers spectral leakage, what windows buy and what they cost, why zero-padding does not add resolution, and the hard trade a spectrogram forces between knowing when and knowing what.

10 steps·~15 min
Math
intermediate

Convolution and Filters: Shaping a Signal

A filter is fully described by what it does to a single impulse, and applying it is a convolution. This lesson builds that idea, shows why the frequency domain turns convolution into plain multiplication, and works through the trade-offs that make real filters ring, lag, or cost more than they need to.

10 steps·~15 min
Math
intermediate

Sampling and Aliasing: The Rule You Cannot Break

Turning a continuous signal into numbers is safe only above a specific rate, and below it the damage is silent and permanent. This lesson derives the Nyquist limit, shows exactly where a too-high frequency reappears, and explains why the fix has to be analogue and has to happen before the converter.

10 steps·~15 min
Math
intermediate

The Frequency Domain: Why Everything Is Sinusoids

The same signal can be written as a function of time or as a recipe of frequencies. This lesson explains why sinusoids in particular get that job, builds the discrete Fourier transform, and shows how the FFT turned a quadratic computation into one you can run on a million samples in a fraction of a second.

10 steps·~15 min
Math
intermediate

Automatic Differentiation: How Gradients Are Actually Computed

Frameworks do not differentiate formulas symbolically or estimate derivatives numerically. They differentiate the program. This lesson builds forward mode from dual numbers and reverse mode from the backward sweep, shows why a full gradient costs about four function evaluations at any size, and where the answer is not what you meant.

10 steps·~15 min
Math
intermediate

The Chain Rule, and Why Depth Is Hard

A deep network is a composition, so its derivative is a product of Jacobians. This lesson builds the chain rule from one variable up to matrix form, shows that the order you multiply that product in changes the cost tenfold, and explains vanishing gradients as an arithmetic consequence rather than a mystery.

10 steps·~15 min
Math
intermediate

Gradients, Jacobians, and Hessians: Calculus in Many Dimensions

One derivative becomes three objects once a function has many inputs and many outputs. This lesson builds the gradient, the Jacobian and the Hessian, shows what each one actually tells you, and explains why curvature decides how many steps an optimiser needs and why nobody ever writes the Hessian down.

10 steps·~15 min
Math
intermediate

The Derivative Is a Local Linear Model

Machine learning uses the derivative as a search strategy, not a symbolic exercise. This lesson builds it as the best local linear approximation, derives the gradient descent update from it, and shows why estimating derivatives numerically loses half your digits and costs one function evaluation per parameter.

10 steps·~15 min
Math
advanced

Applications, Geodesic Convexity, and Why Non-Convex Can Still Be Solvable

Where this machinery earns its place: low-rank matrix completion, synchronization, and PCA. Plus the two ideas that explain why non-convex manifold problems are often solved to global optimality anyway.

8 steps·~12 min
Math
advanced

Retractions and Riemannian Algorithms

How to move along a curved space without solving differential equations: retractions as cheap approximations to geodesics, vector transport, and the Riemannian versions of gradient descent, conjugate gradients, and trust regions.

8 steps·~12 min
Math
advanced

Tangent Spaces, Metrics, and the Riemannian Gradient

Building the machinery: the linear space of allowed directions at a point, the inner product that gives it geometry, and why the Riemannian gradient is the ambient gradient projected rather than a new derivative.

8 steps·~12 min
Math
advanced

When Your Parameters Live on a Curved Space

Rotations, subspaces, low-rank matrices and covariances are not vectors in flat space. Why treating those constraints as penalties or projections wastes structure, and what it means to say the search space is a manifold.

8 steps·~12 min
Math
intermediate

Random Variables and Distributions

Build the vocabulary that underlies all of ML: sample spaces, discrete and continuous random variables, PMFs, PDFs, and CDFs. Then tour the key distributions — Bernoulli, Binomial, Categorical, Gaussian, Poisson, Exponential, Uniform — with their parameters, mean, variance, and exactly when each appears in practice.

10 steps·~15 min
Math
intermediate

Expectation, Variance, and the CLT

Master the three numbers that summarize any distribution: mean, variance, and standard deviation. Derive linearity of expectation, understand covariance and correlation, then see why the Central Limit Theorem makes the Gaussian unavoidable — with a worked numeric example from scratch.

10 steps·~15 min
Math
intermediate

Estimation and Hypothesis Testing

From raw data to defensible conclusions: derive Maximum Likelihood Estimators for Bernoulli and Gaussian, understand bias-variance in estimation, construct confidence intervals, and learn what p-values actually say — and don't say — including the most common misinterpretation that has corrupted thousands of papers.

9 steps·~14 min
Math
intermediate

Bayesian Inference

Understand what it really means to update beliefs with data. Derive Bayes' theorem from first principles, dissect the roles of prior, likelihood, posterior, and evidence, work through a complete Beta-Binomial conjugate example numerically, and see why the base-rate fallacy trips up even experts.

9 steps·~14 min
Math
intermediate

Vectors, Spans, and Subspaces

Vectors are more than arrows — they're the atoms of every ML model, physics engine, and signal processor alive. Build rock-solid intuition for linear combinations, span, independence, basis, and orthogonality, then verify it all in NumPy.

9 steps·~14 min
Math
intermediate

SVD and Least Squares

When there's no exact solution, project. When data is high-dimensional, compress. The SVD is the Swiss Army knife that does both — and more. Master orthogonal projection, the normal equations, the Singular Value Decomposition, low-rank approximation, and the pseudoinverse.

10 steps·~15 min
Math
intermediate

Matrices as Linear Transformations

A matrix doesn't just hold numbers — it reshapes space. Master the geometric view of matrix-vector multiplication, the four fundamental subspaces, rank, the determinant as a volume-scaling factor, and invertibility — all grounded in NumPy.

10 steps·~15 min
Math
intermediate

Eigenvalues and Eigenvectors

Some vectors only get scaled by a matrix — they don't rotate at all. These eigenvectors reveal the skeleton of a linear transformation. Master the eigen-equation, the characteristic polynomial, diagonalization, and why eigenstructure powers PCA, PageRank, and stability analysis.

9 steps·~14 min
Math
advanced

Lagrangian Duality: From Primal to Dual

Every constrained optimization problem has a twin. Learn how to build the Lagrangian, derive the dual problem, and use weak duality, strong duality, and the KKT conditions to certify optima — with worked examples from linear programming and SVMs.

10 steps·~15 min