Linear Algebra for the AI Age
A Visual Journey Through the Mathematics of Intelligence
Master linear algebra through interactive visualizations. From vectors and matrices to eigenvalues, SVD, and the mathematics of attention mechanisms. Essential for AI, machine learning, computer vision, and beyond.
25 chapters— in publication order.
Part I
Geometric Foundations
Vectors, transformations, and matrices
- 01The Geometric Universe5 sections · 65m
What linear algebra really is - the big picture
- 02Vectors - The Building Blocks6 sections · 82m
Vectors as geometric objects with operations that have meaning
- 03Linear Transformations - The Big Idea6 sections · 90m
Transformations before matrices - the geometric foundation
- 04Matrices - Recording Transformations6 sections · 95m
Matrices as transformation recorders, not just number grids
Part II
Linear Maps
Systems, spaces, rank, and inverse
- 05Systems of Equations - Geometry of Solutions5 sections · 86m
Systems as intersecting planes and lines
- 06Vector Spaces - The Abstract Framework5 sections · 86m
Generalizing beyond arrows to abstract vector spaces
- 08Linear Independence and Rank5 sections · 72m
The geometry of redundancy and dimension
- 09The Inverse Matrix5 sections · 75m
Undoing transformations and when it is possible
- 10Linear Maps Between Spaces4 sections · 66m
Abstraction and generalization of linear transformations
Part III
Decompositions
Eigenvalues, SVD, and factorizations
- 11Eigenvalues and Eigenvectors6 sections · 101m
The DNA of transformations - the most important concept for applications
- 12Diagonalization5 sections · 80m
Simplifying transformations through eigenvector bases
- 13Singular Value Decomposition6 sections · 106m
The universal factorization that works for any matrix
- 14The Spectral Theorem5 sections · 81m
Why symmetric matrices are special
- 15Matrix Decompositions4 sections · 63m
LU, QR, Cholesky and when to use each
Part IV
Inner Products
Norms, orthogonality, projections, PCA
- 16Inner Products and Norms5 sections · 75m
Measuring angles and lengths in vector spaces
- 17Orthogonality5 sections · 77m
Perpendicularity and its power in higher dimensions
- 18Projections and Least Squares6 sections · 104m
The optimization workhorse of linear algebra
- 19Principal Component Analysis6 sections · 95m
Dimensionality reduction through eigenanalysis
Part V
Advanced AI/ML
Tensors, matrix calculus, attention
- 20Tensors and Multilinear Algebra5 sections · 91m
Beyond matrices - the language of deep learning
- 21Matrix Calculus5 sections · 89m
Gradients for optimization - the math behind backpropagation
- 22The Mathematics of Attention6 sections · 106m
The linear algebra inside transformers
- 23Numerical Linear Algebra5 sections · 89m
Making linear algebra work on computers
Part VI
Applications
Computer vision, ML, and beyond
- 24Linear Algebra in Computer Vision6 sections · 111m
Images as matrices and beyond
- 25Linear Algebra in Machine Learning6 sections · 107m
The mathematical core of ML algorithms
- 26Linear Algebra Across Fields6 sections · 103m
Applications in graphs, signals, quantum, and more
134 sections. Begin with one.
Chapter 1 — The Geometric Universe — is where every reader starts.
In progress — 134 of 139 lessons published
5 more sections are still being written and are not part of this count.