What is a Matrix Inverse?
In scalar algebra, every non-zero number x has a multiplicative inverse (or reciprocal) 1/x, such that x × (1/x) = 1. In matrix algebra, the concept is similar. For a square matrix A, its multiplicative inverse is another square matrix, denoted as A-1, that satisfies the following equation:
A × A-1 = A-1 × A = I
where I is the Identity matrix of the same size. If a matrix has an inverse, it is said to be invertible (or non-singular). If it does not, it is called singular.
Conditions for Invertibility
Not every square matrix has an inverse. A matrix A is invertible if and only if it satisfies the following equivalent conditions:
- The determinant of A is not equal to zero: det(A) ≠ 0. If det(A) = 0, the matrix collapses space into a lower dimension, making it impossible to undo the transformation.
- The matrix has full rank, meaning its RREF is the Identity matrix.
- The columns of A are linearly independent, meaning the only solution to Av = 0 is the zero vector.
Calculating the Inverse via Gauss-Jordan Elimination
The most standard and numerically stable way to compute the inverse of a matrix by hand is using Gauss-Jordan elimination on an augmented matrix. The process works as follows:
- Create an augmented matrix by placing the Identity matrix next to your original matrix: [A | I].
- Perform elementary row operations on the entire augmented matrix to reduce the left side (A) to the Identity matrix (I).
- Once the left side becomes the Identity matrix, the right side will have transformed into the inverse matrix: [I | A-1].
If you perform row reduction and obtain a row of zeros on the left side, the matrix cannot be reduced to the Identity matrix. This means the matrix is singular and does not have an inverse.
Worked Numeric Example
Let's find the inverse of the following 2x2 matrix A:
| 1 | 2 |
| 3 | 4 |
We set up the augmented matrix [A | I]:
| 1 | 2 | 1 | 0 | |
| 3 | 4 | 0 | 1 |
Step 1: Eliminate the entry below the first pivot (Row 2, Column 1).
We perform: Row 2 → Row 2 - 3 × Row 1. The augmented matrix becomes:
| 1 | 2 | 1 | 0 | |
| 0 | -2 | -3 | 1 |
Step 2: Scale the second pivot to 1.
We perform: Row 2 → -1/2 × Row 2. The augmented matrix becomes:
| 1 | 2 | 1 | 0 | |
| 0 | 1 | 3/2 | -1/2 |
Step 3: Eliminate the entry above the second pivot (Row 1, Column 2).
We perform: Row 1 → Row 1 - 2 × Row 2. The augmented matrix becomes:
| 1 | 0 | -2 | 1 | |
| 0 | 1 | 3/2 | -1/2 |
Since the left side is now the Identity matrix, the right side is our inverse matrix A-1:
| -2 | 1 |
| 3/2 | -1/2 |