Computing the Inverse by Row Reduction
Once you can row-reduce a matrix, you can invert one. This lesson turns Gauss–Jordan elimination into a machine for computing : augment with the identity, reduce the left block to , and read the inverse off the right block. You will also learn to spot, mid-reduction, exactly when a matrix has no inverse at all.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
Compute the inverse of by row reduction.
True or false: a matrix whose reduced row echelon form has exactly three leading 1's (pivots) is invertible.
What you’ll be able to do
- State and use the criterion that a square matrix is invertible if and only if , equivalently .
- Explain why applying the row operations that carry to to the identity matrix produces (Theorem 5.3).
- Execute the augmented-matrix algorithm on and matrices.
- Detect non-invertibility during elimination by recognising a missing pivot (a zero row), i.e. .
- Verify a computed inverse with the check .
In your course
· MATH2015 · Linear Algebra & Probability- Theorem 5.3Computing the inverse by row operationsIf an invertible matrix is reduced to by elementary row operations, applying the same operations in the same order to yields .
- Theorem 5.2Elementary operations as matrix multiplicationAn elementary row operation on equals left-multiplication by the corresponding elementary matrix.
- Theorem 5.1Rank is preserved by row operationsElementary row transformations do not change the row rank of a matrix.
- Example 5.5Inverse of.
- Example 5.6A singular matrixhas rank , so it is not invertible.
Invertible means full rank
A square matrix is invertible exactly when it has full rank, . Because row operations never change the rank (Theorem 5.1), this is the same as saying the reduced row echelon form of is the identity: When this holds, every column carries a pivot (a leading ), so there is no free variable and no zero row.
The augmented-matrix algorithm
To invert , write the augmented matrix and run Gauss–Jordan elimination until the left block becomes . The right block is then : Every operation you apply to the left is applied simultaneously to the right, so the right block records exactly the sequence of operations that turned into .
Reading off non-invertibility
If at any stage a row of the left block becomes all zeros, that block can never become : a pivot is missing and . The matrix is not invertible, and you may stop immediately—you do not even need to reach reduced row echelon form, since the gap already shows at the row-echelon stage.
Always check your answer
Row reduction has many arithmetic steps, so verify the result by multiplying: a correct inverse satisfies (and then automatically). This single matrix product catches almost every slip, and the course notes recommend doing it every time.
A square matrix is invertible if and only if ; equivalently, if and only if .
If an invertible matrix is transformed into the identity matrix by a sequence of elementary row operations, then applying those same operations, in the same order, to yields .
Each elementary row operation on an matrix equals left-multiplication by the corresponding elementary matrix, obtained by applying that operation to .
Elementary row transformations do not change the (row) rank of a matrix.
Worked examples
Find the inverse of by row reduction.
- 1
Augment with the identity: .
- 2
Clear below the first pivot, : .
- 3
Clear above the second pivot, : .
- 4
The left block is , so the right block is the inverse.
- 5
Check: . ✓
(Example 5.5) Find the inverse of .
(Example 5.6) Determine whether is invertible.