📚 Linear Algebra, Interactive Edition
⇩ Download ▾

3.5 Inverses and the Invertible Matrix Theorem

The previous section built compositions; this one asks for a specific composition — the one that gets you back. A matrix A is invertible when there is a matrix A1 with A1A=I, the identity, so that applying A and then A1 returns every vector to where it started. Section 3.3 already tells you when to expect one. If T confuses two inputs, no return trip can know which of them to go back to; if T misses a target, no return trip can start from there. Invertible should mean one-to-one and onto — and for a square matrix those were the same condition.

Work with a family, so the interesting case can be approached rather than merely described:

A d = ( 2 1 1 d )

Chapter 4 will recompute its determinant at length; for now take detAd=2d1, which section 3.2's area argument already gives you as the cross-product of the columns (2,1) and (1,d).

Seen face-on in a single vertical plane: a faint gray unit square, a larger colored parallelogram which is that square stretched and sheared by a matrix, and a third quadrilateral drawn on top of the gray square, which is the parallelogram carried back by the inverse matrix. However the slider is dragged, the third shape sits exactly on the gray square - the round trip always returns what it started with. As the slider approaches its lowest setting the middle parallelogram grows thin and nearly collapses to a line, and the numbers in the inverse that undoes it grow without bound.Explore in 3D (opens in a new tab)
Seen face-on: the faint gray unit square, its image under Ad — the parallelogram with red edge (2,1) and blue edge (1,d) — and, drawn over the gray square, the result of carrying that parallelogram back through Ad1. The slider d runs from 0.55 up to 2.5, stopping just short of the value where the determinant would vanish.

Explore the figure

  1. At the default d=1 the middle parallelogram is a healthy shape and the returned quadrilateral sits exactly on the gray square. That coincidence is the whole definition: A1 undoes A.
  2. Drag d up to 2.5. The parallelogram grows — its area is 2(2.5)1=4 — and the return trip still lands precisely on the square. Nothing about being large makes a transformation hard to reverse.
  3. Now drag d down towards 0.55. The parallelogram thins alarmingly; at d=0.55 its area is 2(0.55)1=0.1, a tenth of the square it came from. The return trip still works exactly — but look at what it has to do, stretching that sliver back into a full square.
  4. Read the slider's lower limit as a warning. It stops at 0.55 rather than 0.5 because at d=0.5 the columns are (2,1) and (1,0.5), the second exactly half the first: the parallelogram has collapsed to a segment, and there is nothing left to carry back.

The formula, and where it breaks

For a 2×2 matrix the inverse can be written down outright.

[d·(1+2·d)1(1+2·d)1(1+2·d)12·(1+2·d)1]
The inverse, for every d at once ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text The inverse, for every d at once, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

The inverse of Ad computed symbolically. Every entry carries the determinant 2d1 in its denominator — swap the diagonal entries, negate the off-diagonal ones, divide by the determinant. The formula makes the failure case unmissable: at d=0.5 the denominator is zero and there is no matrix to write down. That is not a defect of the formula but a report about the geometry, since a collapsed parallelogram cannot be un-collapsed.

Substituting a particular value makes the shape concrete.

[1112]
The inverse at the default slider ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text The inverse at the default slider, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

At d=1 the determinant is 2(1)1=1, so the division does nothing and the inverse comes out in whole numbers. This is the matrix the figure is applying when you first open it, and you can check the round trip by hand: it sends the red column (2,1) back to (1,0) and the blue column (1,1) back to (0,1) — the two basis vectors the square was built from.

Why must a zero determinant rule out an inverse? Because determinants multiply. If A1 existed then det(A1)·det(A)=det(I)=1, and no number times zero is 1. The same fact told geometrically: |detA| is the factor by which areas scale, so a determinant of zero means every region is flattened to zero area, and no transformation can restore area from nothing.

Everything, all at once

Collect what this chapter and the last have established about a square n×n matrix A. Each of the following says the same thing; if any one holds, all of them do.

This is the Invertible Matrix Theorem, and its content is not that these are ten separate facts about invertibility but that they are one fact wearing ten costumes. You have watched most of them already: independence was a vector failing to escape a plane, rank and nullity were a budget that had to add up, onto and one-to-one were a missed point and a collapsed line, and the determinant was an area running through zero. The theorem's practical use is that you may check whichever condition is cheapest and conclude all the others — and its practical warning is that when one fails, they all fail together, so a matrix is never nearly invertible in some respects and fine in others.

An original work of XYZ Homework, built around interactive XYZ 3D figures. Its chapter sequence is aligned to Interactive Linear Algebra (Margalit & Rabinoff, Georgia Tech, GNU FDL); this work is original, copies nothing from it, and is not affiliated with or endorsed by its authors. License: CC-BY-NC-SA-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.