A guided technical learning path
Linear Algebra for AI
Master the language of AI: vectors, matrices, transformations, and eigenvalues -- with Python code to ground every concept. From NumPy basics to LoRA fine-tuning and mechanistic interpretability.
Your Learning Path
Each module builds on the last. Open any published lesson or lab and continue at your own pace.
Built for
Who this course helps
- Learners who meet the course prerequisites
- Independent developers building practical depth
- Teams creating a shared technical vocabulary
What you leave with
A practical body of work from Linear Algebra for AI
- Understand vectors, matrices, and their geometric interpretations
- Visualize transformations with matplotlib and build geometric intuition
- Solve systems of linear equations using Gaussian elimination
Move from explanation to worked examples and practice in one coherent learning path.
About This Course
Linear algebra is the mathematical backbone of modern AI and machine learning. This course teaches you to think in vectors and matrices, with every concept grounded in worked Python.
You won't just memorize formulas -- you'll build intuition for what linear transformations actually do, visualize high-dimensional spaces, and understand why eigenvalues matter for everything from Google's PageRank to neural networks.
The course bridges theory and production: you'll see how SVD powers LoRA fine-tuning, how embeddings live in vector spaces, how attention is pure linear algebra, and how quantization trades precision for speed. Every module is a narrated lesson deck with the maths typeset, and you can ask questions against the slide you are on.
An AI tutor answers questions against the slide you are on, so help stays tied to the lesson rather than to the internet at large.
Inspired by Gilbert Strang's MIT 18.06, 3Blue1Brown's Essence of Linear Algebra, and modern AI research (LoRA, mechanistic interpretability, quantization).
Prerequisites
- Basic algebra (solving equations, working with variables)
- Familiarity with Python basics helpful but not required
- No prior linear algebra experience needed
What You Will Learn
- Understand vectors, matrices, and their geometric interpretations
- Visualize transformations with matplotlib and build geometric intuition
- Solve systems of linear equations using Gaussian elimination
- Grasp linear independence, span, and basis -- the core of vector spaces
- Compute and interpret determinants, inverses, eigenvalues, and eigenvectors
- Apply PCA for dimensionality reduction on real datasets
- Use SVD for image compression and low-rank approximation
- Understand how word embeddings and LLM embeddings work geometrically
- Know how ANN algorithms (HNSW, IVF) power vector search at scale
- Read neural network architectures as chains of matrix operations
- Understand the attention mechanism (QKV) as pure linear algebra
- Explain how LoRA compresses fine-tuning via low-rank factorization
- Grasp how mechanistic interpretability uses linear directions to decode model behavior
- Understand quantization as an affine transformation trading precision for speed
Start now
Module 1: Vectors: The Language of Data
From arrows to arrays -- how AI represents everything as vectors. About 60 minutes.
Start module 1 — freeHelp shape what we build next
Tell us what you want to learn. This records your interest; it does not enroll you or promise a launch email.