Matrix Algebra/The Inverse and the Invertible Matrix Theorem

Lesson 2.21,300 words

The Inverse and the Invertible Matrix Theorem

The inverse of a square matrix is the matrix analogue of a reciprocal, defined by AA⁻¹ = I. A closed form settles the 2×2 case; the Gauss–Jordan algorithm row reduces [A | I] to [I | A⁻¹] in general; and elementary matrices record single row operations.

╌╌╌╌

The reciprocal undoes multiplication by : . A square matrix has an analogous partner, defined so that multiplying by it undoes multiplication by . Two features of matrices constrain the generalization: multiplication is not commutative, so both orders and must be required, and only square matrices can have a full two-sided inverse.

Definition and uniqueness

The inverse is unique. If and were both inverses, then

so there is only one inverse, written , with . A matrix with no inverse is called singular; an invertible matrix is nonsingular.

The 2×2 formula

For matrices there is a closed form, controlled by a single number.

The quantity is the determinant of , written ; the inverse criterion says a matrix is invertible exactly when . The determinant of a general square matrix extends this test to every size. For , , so

Solving

An inverse turns a square system into a single multiplication.

The solution exists because , and it is unique because forces . In practice is rarely the way to solve a system numerically — row reducing is faster and more accurate — but the unique-solution theorem is the theoretical bridge between inverses and solvability, and for hand computation on a system the formula is convenient.

Algebra of inverses

Three rules describe how the inverse interacts with itself, with products, and with the transpose. The product rule reverses order, exactly as the transpose does.1

The product rule is proved by checking the definition: , and similarly on the other side. It generalizes: a product of invertible matrices is invertible, and the inverse is the product of the inverses in reverse order, .

Elementary matrices

Computing efficiently rests on a connection between inverses and row operations, made through elementary matrices.

Left-multiplying any matrix by an elementary matrix performs that same row operation on : if is with rows and swapped, then is with rows and swapped. Because row operations are reversible, every elementary matrix is invertible, and its inverse is the elementary matrix of the same type that undoes the operation.

For instance, the operation add times row to row applied to gives the elementary matrix , and left-multiplying by performs that same operation on :

An elementary matrix records one row operation on the identity; left-multiplying by it then replays that operation on any matrix A.

An elementary row operation carried out on an matrix produces , where is with that same operation applied. Since each step of a row reduction is a left-multiplication by an elementary matrix, reducing to amounts to a product .

Row reduction finds the inverse

The reason is direct. If is invertible, is solvable for every , so has a pivot in every row; being square, its reduced echelon form is . Conversely, if reduces to , then , so is invertible, and is precisely what those same operations do to .

Placing and side by side lets a single row reduction act on both.

Algorithm:Inverse by Gauss–Jordan reduction of [AI][\,A \mid I\,]
  1. 1
    form the augmented matrix [AI][\,A \mid I\,]
  2. 2
    row reduce [AI][\,A \mid I\,] toward reduced echelon form
  3. 3
    if the left block reaches InI_n then
  4. 4
    the right block is A1A^{-1}
  5. 5
    else
    a zero row appears on the left
  6. 6
    report that AA is singular
Row reducing the double-wide matrix [A | I]: as the left block becomes the identity, the right block becomes A⁻¹.

If instead a row of zeros had appeared in the left block, the reduction would stop: is not row equivalent to , hence singular.

Another view: columns solve

Writing , the reduction of solves the systems simultaneously. Since , column of solves . When an application needs only one or two columns of the inverse, only the corresponding systems must be solved.

The Invertible Matrix Theorem

Row reduction, linear independence, spanning, and one-to-one/onto maps all turn out to be the same condition on a square matrix, stated in different vocabularies. The Invertible Matrix Theorem collects them.2

The proof runs a circle of implications , then links the remaining statements to that circle through results already available for any matrix: (d), (e), (f) are equivalent for every matrix, as are (g), (h), (i).

The Invertible Matrix Theorem as a hub: every condition on the rim is equivalent to the single fact that A is invertible.

Two cautions. Statement (g) can be strengthened to has a unique solution for each by the unique-solution theorem, so uniqueness is built in. And the theorem applies only to square matrices: if the columns of a matrix are linearly independent, nothing follows about the solvability of , because that matrix is not square.

A companion fact drops out of the theorem: for square and , a one-sided identity is enough. If , then and are both invertible, with and .

Invertible linear transformations

The theorem transfers to maps. A linear transformation is invertible if there is a function with and for all . When is the standard matrix of , invertibility of the map and of the matrix coincide.

A⁻¹ reverses the action of A: applying A then A⁻¹ returns every vector to where it started.

A one-to-one linear map from into therefore has independent columns in its standard matrix (statement (e)), so the matrix is invertible, the map is automatically onto (statement (i)), and has an inverse . For square maps, one-to-one and onto are equivalent: each implies the other.

Numerical note

In floating-point arithmetic a matrix can be ill-conditioned: invertible in exact arithmetic, yet so close to singular that small perturbations of its entries make it singular. Row reduction may then report fewer than pivots because of roundoff, or make a genuinely singular matrix look invertible. Matrix software reports a condition number measuring this sensitivity: it is for , grows without bound as a matrix approaches singularity, and is infinite for a singular matrix. The singular value decomposition gives the reliable way to judge how close a matrix is to losing rank, and the numerical module develops the condition number in full.

Footnotes

  1. Lay, Linear Algebra and Its Applications, §2.2 — Theorem 6: the inverse of a product reverses order, , with and ; each is verified against the definition of the inverse.
  2. Lay, §2.3 — Theorem 8, the Invertible Matrix Theorem, whose twelve equivalent statements are chained through a circle of implications and the earlier results on linear independence, spanning, and one-to-one/onto maps; §2.2 Theorem 7 supplies the row-reduction characterization and the algorithm for .

╌╌ END ╌╌