linearly

A free course. Built on MIT 18.06.

Linear algebra,
drawn until
it's obvious.

This is the math inside AI. Each lecture teaches one idea three times: first as a picture, then in plain words, then as code you can run in NumPy, PyTorch, JAX, and TensorFlow. The notation comes at the end, once you already understand the thing it stands for.

1

See it

Drawings come first. When you can hold the picture in your head, the formulas stop being something to memorize.

2

Read it

The articles use ordinary words and short sentences. Every symbol is introduced before it appears in a formula.

3

Run it

Each idea comes with code in four frameworks. Change the numbers, break things, and watch what the math does.

Contents

Six parts, in order. Every lecture leans on the ones before it.

Part IFoundations

Part IISolving Ax = b

Part IIIVector Spaces

Part IVOrthogonality

Part VDeterminants & Eigenvalues

Part VIThe Missing Third

  • The Singular Value Decomposition

    Every matrix, rewritten as rotate, stretch, rotate. The most useful factorization in applied mathematics.

    planned
  • SVD Geometry & the Pseudoinverse

    What the SVD looks like, and the best possible inverse for any matrix at all.

    planned
  • Low-Rank Approximation & PCA

    Keep the top singular values, drop the rest. Compression, Eckart-Young, and principal components.

    planned
  • Complex Numbers & Complex Eigenvalues

    Rotation has no real eigenvectors. Complex numbers fix that, and unlock the Fourier world.

    planned
  • Unitary Matrices & the Fourier Basis

    The complex versions of orthogonal and symmetric, and the most famous basis in engineering.

    planned
  • Circulants, Convolution & the DFT

    Why convolution becomes multiplication, and what that has to do with convolutional networks.

    planned
  • Capstone: The Course in One Pass

    Every factorization, every subspace, one review that ties the course together.

    planned

Where to start

New to the subject? Read the roadmap first. It explains how to study each lecture, how fast to go, and how to know when you are ready to move on. The library collects the best books, videos, and practice sites, with a short note on each so you know which ones are for you.