All projects
Available

Breaking a Matrix into Simple Pieces: A First Look at Matrix Factorizations

Abstract

In class we learn that, when A is invertible, the solution of Ax = b is x = A⁻¹b. Yet software that solves linear systems almost never computes A⁻¹. Instead, it breaks A into a product of simple matrices, such as triangular ones, and solves one easy piece at a time. This project asks how this works, and why it is better. One surprise along the way: a computer that rounds its numbers can get a 2 × 2 system completely wrong, and the way it breaks the matrix decides whether it does.

Factorizations also show what a matrix does geometrically. Multiply every point of the unit circle by an invertible 2 × 2 matrix: the points form an ellipse. Its axes lead to a surprising discovery: is every linear map of the plane just a rotation, a stretch and another rotation?

Download the full project (PDF)