Somewhere deep inside your spreadsheet solver, your least-squares fit, and your eigenvalue routine lives a single workhorse: QR factorization. Every matrix can be written as , where is orthogonal () and is upper triangular. That decomposition turns messy simultaneous equations into a clean back-substitution.
The challenge is computing and without accumulating the floating-point errors that plague naive approaches like Gram–Schmidt. The answer, developed by Alston Scott Householder in 1958, is disarmingly geometric: take the first column of and reflect it onto the first coordinate axis, killing every entry below the diagonal in one shot. Repeat column by column and you are done.
Each reflection is an orthogonal transformation — it preserves lengths and angles, so it cannot amplify rounding errors. That one insight made Householder QR the algorithm of choice for dense matrices in numerical software for the next seven decades.
Comments
Loading comments...