Linear Algebra 101

Labs & Demos

Interactive pages for this course. Every number on them is computed in your browser — nothing is a recorded animation, and nothing calls out to a server.

5 labs · 8 interactive demos
How to read these. Each page states which of its numbers are computed, which come from a published figure, and which are illustrative. Several were generated with AI assistance and say so on the page. They are teaching instruments, not measurements of real hardware.

Labs

Demos

Eigenvalue Explorer

Set a 2×2 matrix and watch its characteristic polynomial, eigenvalues and eigenvectors compute live; rotate a unit vector and see its image land parallel to itself only along an eigen-line, while a negative discriminant means a complex pair and no real eigen-direction.

M4 · L1AI-generated

Linear System Solver

Type a 2×2 or 3×3 system A x = b and watch Gaussian elimination with partial pivoting run to row echelon form, the determinant appear as the product of the pivots, and the system classified as one solution, none, or infinitely many — with the two lines drawn for the 2×2 case.

M3 · L1AI-generated

Fourier Series Builder

From lesson Inner Products

Rebuild a periodic waveform (square, sawtooth, triangle, pulse) from its Fourier harmonics, with each coefficient computed as an inner product of the function with a sine or cosine — the series as an orthogonal projection. Watch the RMS error fall as terms are added, the orthogonality table sit at zero off the diagonal, and the ~9% Gibbs overshoot at a jump narrow but never shrink.

M6 · L1AI-generated

Numerical Experiments

Set a 2×2 or 3×3 matrix and watch the numerics: the condition number κ = σmax/σmin computed by power and inverse-power iteration on AᵀA, the image ellipse whose axis ratio is κ, Jacobi and Gauss–Seidel with their convergence trace and the spectral radius that decides convergence, and how ill-conditioning amplifies a perturbation of b within the κ bound.

M9 · L1AI-generated