Inverse Matrix — How to Find the Inverse of a Matrix
Learn how to compute the inverse of a matrix using Gauss-Jordan elimination. Understand when an inverse exists and what it means geometrically.
Detailed Explanation
Finding the Inverse of a Matrix
The inverse of a square matrix A, written A^(-1), satisfies:
A * A^(-1) = A^(-1) * A = I (identity matrix)
When Does an Inverse Exist?
A matrix is invertible (non-singular) if and only if:
- Its determinant is non-zero
- Its rows (and columns) are linearly independent
- Its rank equals its size
- It has no zero eigenvalues
2x2 Inverse Formula
A = | a b | A^(-1) = (1/(ad-bc)) * | d -b |
| c d | | -c a |
Gauss-Jordan Method (General)
For larger matrices, augment A with the identity matrix and perform row operations until the left side becomes the identity. The right side is then A^(-1):
[A | I] → row operations → [I | A^(-1)]
Example: 2x2 Inverse
A = | 4 7 |
| 2 6 |
det(A) = 24 - 14 = 10
A^(-1) = (1/10) * | 6 -7 | = | 0.6 -0.7 |
| -2 4 | | -0.2 0.4 |
Verify: A * A^(-1) = I
Properties of Inverse
- (A^(-1))^(-1) = A
- (AB)^(-1) = B^(-1) * A^(-1) (note the reversal)
- (A^T)^(-1) = (A^(-1))^T
- det(A^(-1)) = 1/det(A)
Use Case
Matrix inversion is used to solve linear systems (x = A^(-1) * b), undo transformations in computer graphics, compute the covariance matrix in statistics, and implement encryption algorithms. In practice, direct inversion is often avoided in favor of more numerically stable decomposition methods like LU or QR factorization.