Procedure for computing an inverse matrix
1Introduction
The standard computation of uses row reduction on the
2Terms and definitions
Let be a
is called the
For computation, form the
and aim, by
3Strategy
Check whether can be transformed into . If it can, applying the same row operations to the right block gives . If it cannot, then is not
4Intuitive explanation
An
Therefore . Applying the same operations to the right-side reveals , so the right block becomes .
5Precise explanation
Applying row operations to
is the same as multiplying on the left by an invertible matrix. If the product of the elementary matrices is , then
If the left block becomes , then . For square matrices, the existence of a left inverse implies invertibility, and . Hence
The key facts are that elementary row operations are invertible left multiplications and that the identity matrix is the neutral element for composition.
data/lecture/math/linear-algebra/elementary-row-operations.lecture.n.md data/lecture/math/linear-algebra/identity-zero-and-transpose-matrices.lecture.n.md6Why the procedure works
Each row operation is left multiplication by an
When , we have . Thus the right block is exactly the inverse.
7Worked example
Let
Start with the
Subtract three times the first row from the second row:
Then subtract two times the second row from the first row:
Therefore
8Failure check
If a row of zeros appears on the left before the identity can be formed, the columns of are dependent and is not
9Common misunderstandings
- Row operations must be applied to both blocks of .
- The right block is not the inverse until the left block is exactly .
- Column operations are not the standard inverse algorithm unless variable changes are also tracked.
10Scope
This procedure computes the inverse matrix of a