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
advanced

Stiff Equations, Stability Regions, and Adaptive Step Size

Why an ODE solver can blow up at step sizes accuracy would never demand. Learn stability regions on the test equation, what makes a problem stiff, how implicit methods and A-stability fix it at the cost of Newton solves, how BDF and Radau escape Dahlquist's barrier, and how adaptive solvers choose each step.

12 steps·~18 min
Math
advanced

Iterative Solvers: From Jacobi to Preconditioned Conjugate Gradient

When a matrix is too large to factor, solve Ax = b by improving a guess. See why Jacobi stalls on fine grids, how Krylov methods and conjugate gradient use the whole history, why iterations scale with the square root of the condition number, what preconditioning buys, and how to set and check tolerances.

10 steps·~15 min
Math
advanced

Solving Ax = b Directly: LU, Pivoting, and Never Inverting

How a computer actually solves a linear system: Gaussian elimination as an LU factorisation, why you factor once and never invert, how a tiny pivot wrecks a harmless problem, what partial pivoting and the growth factor guarantee, when Cholesky applies, and where fill-in ends the direct approach.

10 steps·~15 min
Math
advanced

Root Finding: Bisection, Newton, and Knowing When to Stop

Most equations have no formula for their solution, so computers chase roots with sequences. Compare bisection, secant, Newton and Brent's method by convergence order and guarantees, watch Newton fail, learn how accurate a root can be, and pick stopping tests that do not lie.

11 steps·~17 min
Math
intermediate

Chaos: The Lorenz System, Sensitive Dependence, and Strange Attractors

Three variables are enough for deterministic equations to become unpredictable. Work through the Lorenz system's fixed points and loss of stability, the shrinking volume behind its strange attractor, Lyapunov exponents and the predictability horizon, a measurement you can run yourself, and the period-doubling route to chaos in the logistic map.

10 steps·~15 min
Math
intermediate

The Phase Plane: Linear Systems, Eigenvalues, and Limit Cycles

Two variables make oscillation possible. Classify every fixed point of a linear system from its eigenvalues or from trace and determinant, linearize nonlinear systems with the Jacobian, analyse the Lotka-Volterra predator-prey model and its conserved quantity, and see why limit cycles are the robust oscillators and why the plane cannot be chaotic.

10 steps·~15 min
Math
advanced

Mechanism Design: Engineering the Rules of the Game

Mechanism design runs game theory backwards: pick the outcome you want, then build rules under which self-interested players produce it. This lesson covers the revelation principle, VCG and its blind spots, Myerson's optimal auction, the impossibility theorems that bound the field, and stable matching as used in residency and school-choice markets.

10 steps·~15 min
Math
advanced

Spectral Graph Theory: What the Laplacian's Eigenvalues Reveal

Turn a graph into its Laplacian matrix and its eigenvalues start answering combinatorial questions: how many components, how many spanning trees, how hard the graph is to cut, and where to cut it. Covers the Fiedler vector, Cheeger's inequality, spectral clustering, random-walk mixing, and expanders.

10 steps·~15 min
Math
intermediate

Flows on a Line: Fixed Points, Stability, and Bifurcations

Read a one-dimensional differential equation without solving it. Find fixed points, judge their stability from a slope, see why a line cannot oscillate, and classify the bifurcations that make a system tip. A harvested fishery shows a collapse threshold, hysteresis, and the slow recovery that warns before the jump.

10 steps·~15 min
Math
intermediate

Auction Theory: Formats, Bid Shading, and Revenue Equivalence

Four very different auction formats raise the same expected revenue under a few clean assumptions. This lesson derives equilibrium bidding in first- and second-price auctions, shows why Vickrey's rule makes honesty optimal, proves revenue equivalence, and covers when it breaks: risk aversion, the winner's curse, collusion and reserve prices.

10 steps·~15 min
Math
intermediate

Matching: Augmenting Paths, Hall, König, and the Assignment Problem

Pair workers with tasks, the most pairs or the cheapest total. Learn why augmenting paths prove a matching is maximum, how Hall's and König's theorems give certificates, how the Hungarian method prices an assignment, and why odd cycles and preferences each change the problem.

10 steps·~15 min
Math
intermediate

What a Differential Equation Says: Rates, Solutions, and Slope Fields

A differential equation is a local rule for change, not a formula for the answer. Learn to read and classify one, solve the exponential and logistic cases, know when a unique solution exists, turn any order into a first-order system, and step forward numerically with Euler and Runge-Kutta.

10 steps·~15 min
Math
intermediate

Sequential Moves, Credible Threats, and Hidden Information

Strategic interaction unfolds over time and under uncertainty. This lesson covers game trees and backward induction, why subgame perfection discards empty threats, how repetition sustains cooperation, and how Harsanyi turned private information into Bayesian games, the foundation for auctions and mechanism design.

10 steps·~15 min
Math
intermediate

Network Flows: Augmenting Paths and the Max-Flow Min-Cut Theorem

Why pushing flow greedily gets stuck, how the residual graph makes every decision reversible, and why the maximum flow always equals the minimum cut. Build Edmonds-Karp in Python, compare the classic algorithms, and see cuts solve image segmentation and project selection.

10 steps·~15 min
Math
intermediate

Strategic Games and Nash Equilibrium

Game theory starts where optimisation stops: your best choice depends on what others choose, and theirs on yours. This lesson builds the payoff matrix, dominance, Nash equilibrium in pure and mixed strategies, and the indifference trick for computing a mix, with code that finds every pure equilibrium.

10 steps·~15 min
Math
intermediate

Graph Connectivity: Bridges, Cut Vertices, and Menger's Theorem

Connected is only the first question; how much damage a graph can absorb is the useful one. Learn vertex and edge connectivity, find every bridge and cut vertex in one depth-first search, and see Menger's theorem turn minimum cuts into a count of disjoint paths.

10 steps·~15 min
Math
advanced

Newton's method and the interior point revolution

Second derivatives buy something gradients cannot: a step shaped by curvature, immune to conditioning, converging quadratically. This lesson builds Newton's method, then layers it on a log barrier to get interior point methods, the machinery that made large constrained problems solvable with a certificate rather than a hope.

13 steps·~20 min
Math
intermediate

Gradient descent: choosing the step and knowing the rate

Gradient descent is three lines of code and a hundred years of theory. This lesson derives why a safe step size is one over the smoothness constant, why the condition number governs everything, and why acceleration reaching order one over k squared is provably the best any first-order method can do.

11 steps·~17 min
Math
intermediate

Convexity: the property that decides what is solvable

Convexity is what separates optimization problems you can solve with a guarantee from ones you can only hope about. This lesson defines convex sets and functions, proves why every local minimum is global, and gives you the operations that let you recognise convexity without touching a Hessian.

11 steps·~17 min
Math
advanced

Why There Is No Quintic Formula

Quadratics, cubics and quartics all have formulas in radicals. The general fifth-degree equation has none, and not because nobody clever enough has tried. This lesson explains how permuting the roots turns an algebra question into a group question, and why the answer changes at degree five when a group of order 60 refuses to break down.

10 steps·~15 min
Math
intermediate

Symmetry Groups: Crystals, Conservation Laws, and Neural Networks

Group theory earns its keep when a symmetry argument settles a physical question no calculation was going to answer. This lesson covers group actions and counting up to symmetry, why crystals cannot have five-fold rotation and what happened when one did, Noether's link between symmetry and conservation, and how the same idea is built into modern networks.

10 steps·~15 min
Math
intermediate

Subgroups, Cosets, and Lagrange's Theorem

Cosets cut a group into equal-sized blocks, and one counting argument then forces every subgroup's size to divide the group's. This lesson proves that, derives Fermat's little theorem from it as a corollary, and introduces the maps that let you compare two groups and say precisely when they are the same object.

10 steps·~15 min
Math
intermediate

What a Group Is, and Why the Axioms Are So Bare

A group is a set with one operation obeying four rules, and that deliberate poverty is the point: anything proved about groups holds for rotations, permutations, integers, XOR and Rubik's cube at once. This lesson builds the definition from symmetry, works through the symmetries of a square, and shows where groups already sit in code.

10 steps·~15 min
Math
intermediate

Modular Arithmetic: Doing Maths on a Clock

Wrap the number line into a circle and addition and multiplication survive intact while division mostly does not. This lesson builds congruences, shows why you can reduce early to avoid overflow, works through Euclid's algorithm and modular inverses, and explains how a million-digit exponent becomes twenty multiplications.

10 steps·~15 min