Fun with linear algebra