All Learning Tracks
10 Interactive Playgrounds0 / 10 Completed (0%)

Linear Algebra

Learn Linear Algebra from everyday stories and live visual sandboxes — from pixels & embeddings to Attention QKᵀ, Ridge Regression, PCA, SVD/LoRA fine-tuning, and Backpropagation.

Why Every ML Engineer & Data Scientist MUST Master Linear Algebra

Modern AI doesn't run on if-statements — it runs on matrix multiplications on GPUs. Every dataset is a matrix, every image/prompt is a tensor, every RAG search is a dot product, and every neural network training step is matrix calculus.

ML & LLM Engineers

Debug PyTorch shape mismatches in seconds, implement Transformer Attention (QKᵀ/√d) & LoRA low-rank adapters, and reason about GPU FLOPs and backpropagation gradients.

Data Scientists

Understand why multicollinearity crashes OLS regression, why L1 Lasso creates sparse features while L2 Ridge stabilizes weights, and how PCA/SVD compresses noisy tabular data.

Interview & Career Edge

Linear algebra powers 40%+ of ML coding interviews (Cosine Top-K, OLS/Ridge closed form, PCA via SVD, Attention, and Backprop from scratch) — knowing the geometry makes solutions obvious!

1
20 min +50 XP· 2 coding problems

Scalars, Vectors, Matrices & Tensors — The Building Blocks

Start from zero: numbers, arrows, coordinates, grids, vector arithmetic, linear combinations, and how every ML dataset lives in Linear Algebra

Start
2
20 min +50 XP· 3 coding problems

Vector Norms, Distances, Dot Products & Cosine Similarity

Measure length, distance, and directional alignment — the geometric core of KNN, Lasso/Ridge, RAG search, and Transformer attention

Start
3
20 min +50 XP· 2 coding problems

Matrix Algebra, Multiplication, Broadcasting & Tensor Shapes

From hand-multiplying 2×2 matrices to mastering (B, H, T, D) Transformer shapes, FLOPs counting, broadcasting, and einsum

Start
4
22 min +55 XP· 2 coding problems

Solving Linear Systems (Ax = b), Gaussian Elimination & Inverses

Row vs. Column geometry, the 3 outcomes of Ax = b, step-by-step Gaussian elimination, matrix inverses, and LU/Cholesky solvers

Start
5
22 min +55 XP· 2 coding problems

Span, Linear Independence, Basis, Rank & The Four Subspaces

Understand true data dimensionality, why redundant features break regression, and Gilbert Strang's Four Fundamental Subspaces

Start
6
20 min +55 XP· 2 coding problems

Linear Transformations, Determinants & Condition Numbers

Read every matrix as a living warp of space — canonical 2D transforms, 2×2 & 3×3 determinants, signed volume, and numerical conditioning

Start
7
22 min +55 XP· 2 coding problems

Orthogonality, Projections, Gram–Schmidt & Least Squares (OLS / Ridge)

Why orthonormal bases are magic (Qᵀ = Q⁻¹), Gram–Schmidt & QR factorization, Normal Equations, Hat Matrix H, and Ridge shrinkage

Start
8
22 min +55 XP· 2 coding problems

Eigenvalues, Eigenvectors, Diagonalization & Spectral Theory

Invariant axes Av = λv, trace/det shortcuts, matrix powers A^k, Spectral Theorem for covariance matrices, PSD curvature, and Power Iteration

Start
9
22 min +60 XP· 2 coding problems

Singular Value Decomposition (SVD), PCA & Low-Rank Compression (LoRA)

Factorize ANY rectangular matrix M = UΣVᵀ — optimal rank-k compression, PCA without forming XᵀX, Moore–Penrose pseudoinverse, and LoRA

Start
10
20 min +60 XP· 3 coding problems

Matrix Calculus Essentials for ML & Backpropagation

Bridge Linear Algebra straight into Deep Learning: gradients, Jacobians, Hessians, the 6 core matrix derivatives, and shape-matching backprop

Start