Intuition
To invert a matrix, write the identity beside it and row-reduce the pair. When the left half has become the identity, the right half has become the inverse. If the left half cannot become the identity, there is no inverse.
Writing down every step of tidying a room lets you undo it later. Row-reducing the identity alongside a matrix writes down every step that turns the matrix into the identity, and that record is the inverse.
Gauss–Jordan inversion
Each row operation is multiplication on the left by an elementary matrix: the matrix obtained by doing that operation to the identity. Reducing applies one product of elementary matrices, , to both halves at once. If the left half reaches , then and the right half holds , which is .
Elementary matrices
- The elementary matrix of in size is ; multiplying a two-row matrix by it on the left performs that operation.
Why the right half is the inverse
Name the product of the elementary matrices . Multiplying by acts on the two halves separately and gives . When , the matrix is invertible as a product of invertible matrices, so , and then too: undoes from both sides.
Proof steps
Name the product of the elementary matrices of all the operations used, in order.
Multiplying on the left acts on the two halves separately.
The left half has been reduced to the identity.
Each elementary matrix is invertible, so their product is; multiplying on the left by gives .
So undoes from both sides, and it is what the right half holds.
Applications
Practice
Operations Are Matrices
Do the operation to the identity, and you get its elementary matrix. Multiplying on the left by it does the operation to any matrix.
Try it
Which matrix, multiplied on the left, exchanges the two rows of any -row matrix?
Try it
What does multiplying a two-row matrix on the left by do?
Reduce the Pair
Write and apply row operations until the left half is .
Try it
Invert by row reducing . What is the entry in row 2, column 1 of ?
Try it
What is the entry in row 1, column 3 of the inverse of ?
Try it
Row reducing for a matrix produces a row of zeros in the left half. What follows?
Try it
While reducing , column operations may be mixed in with the row operations.
Try it
What is the inverse of ?
Try it
An matrix with pivots is invertible.
What You Learned
- Each row operation is a left multiplication by an elementary matrix.
- Reduce ; when the left half is , the right half is .
- A zero row on the left means is not invertible.
Final checkpoint
Try it
What is the entry in row 1, column 2 of the inverse of ?
Try it
Three row operations with elementary matrices , , , in that order, reduce to . What is ?
Try it
Every invertible matrix can be written as a product of elementary matrices.
Completion
Lesson complete
Great work! You now know how to:
- write the elementary matrix of a row operation;
- invert a matrix by reducing ;
- recognise from the reduction that no inverse exists;
- explain why the right half is the inverse.