The inverse as the undo machine
In the Sets stratum you proved that a function has an inverse if and only if is bijective (injective and surjective). A matrix is a linear function . So has an inverse when the corresponding function is bijective.
The matrix inverse is the matrix such that:
In words: applying then puts you back where you started — undoes all the damage did. Both conditions are required — for square matrices they turn out to be equivalent (a theorem from the Vector Spaces stratum), but stating both is the honest definition.
The identity matrix plays the role of "1": it's the do-nothing transformation, so says "undo of composes with to give the identity," exactly the way in the Sets stratum. Same fucking move, matrix clothes.
Invertible iff det ≠ 0: three ways to say one thing
From the geometric picture:
- If : is a bijective transformation (it neither collapses the plane nor misses any point). An inverse exists.
- If : collapses the plane to a line (or point). Multiple inputs map to the same output — not injective; many outputs are unreachable — not surjective. No inverse exists.
These three statements are equivalent and should be remembered as one fact — tattoo them on your brain:
A singular matrix (zero determinant) is not invertible. The word "singular" is historically ominous — something went badly wrong with this transformation, and no amount of wishful thinking will fix it.
The inverse formula
For with :
The recipe: swap the diagonal entries ( and exchange places); negate the off-diagonal entries (, ); divide every entry by .
Verify it directly. Let . Then:
The out front is what forces the diagonal entries to be rather than . This is why zero determinant kills the formula — you'd be dividing by zero.
Solving Ax = b
One of the most important uses of the inverse: solving .
If is invertible, multiply both sides on the LEFT by :
Order matters: multiply on the LEFT. is often not even defined (or is a completely different operation). This is the non-commutativity of matrix multiplication showing up where it matters.
When would you actually do this? The formula is clean and satisfying, but in practice — say, when solving a system — computing and then multiplying is slower than running Gaussian elimination directly on (next lesson). Don't be the person who inverts a hundred-by-hundred matrix to solve one system. The inverse formula shines for systems and for theoretical understanding. For large-scale computation, elimination is smarter.
The socks-and-shoes formula
For invertible matrices and :
Socks and shoes: if you put on socks () then shoes (), to reverse the process you take off shoes () then socks (). The order reverses.
Proof:
Similarly . Both identities verified.
The full generalization: . The entire product reverses.