Matrix Inverses and Elementary Matrices
Computing
Definition
A square matrix
Elementary matrices. Each row operation on an
| Operation | Elementary matrix | Its inverse |
|---|---|---|
| swap rows | itself | |
| scale row | scale by | |
| add | add |
Every elementary matrix is invertible, because every row operation is reversible by another of the same kind.
Why Gauss–Jordan computes the inverse. If row operations
Applying the same operations to
Consequences.
Order reversal.
LU factorisation. When
Assumptions and scope
Only square matrices have inverses. A rectangular matrix may have a one-sided inverse or a pseudoinverse, neither of which satisfies both identities.
One-sided invertibility is two-sided for square matrices over a field:
forces . This follows from rank–nullity and fails for infinite-dimensional operators.A reduction that stalls proves non-invertibility rather than indicating an error. A zero row on the left of the augmented array means the columns are dependent.
LU without row swaps requires every pivot to be nonzero as elimination proceeds. Otherwise a permutation is needed, giving
, and numerical implementations swap for stability even when a pivot is merely small.The adjugate formula
is correct and impractical beyond , since it requirescofactors each of size .Inverting a matrix to solve a single system is wasteful and numerically worse than elimination. The inverse is for derivations; factorisations are for computation.
Worked material
Example
Inverses read off structure
Diagonal.
Elementary. Each is inverted by undoing its operation:
Orthogonal.
Triangular. The inverse of an invertible triangular matrix is triangular of the same kind, and its diagonal entries are the reciprocals. For
the diagonal holds
A
Singular cases.
What the pattern shows. For a structured matrix the inverse is usually structured the same way and readable without elimination. Recognising the structure first is what saves the computation, and it is also what tells you the answer is wrong when a triangular matrix produces a full inverse.
Non-example
Five errors with inverses
Preserving the order. Writing
Inverting entrywise. Replacing each entry by its reciprocal. For
Negating the LU multipliers. After
Treating a stalled reduction as a dead end. Reaching a zero row on the left of
Cancelling a singular matrix. From
What unites them. The first and last forget that matrix multiplication is neither commutative nor cancellative without invertibility. The middle three treat a matrix as a container of numbers rather than as a map, which is the habit the elementary-matrix reading is meant to displace.
Common errors
Common misconception
The inverse of a product is the product of the inverses in the same order, so
Related units
Requires
Connected
- Matrices as Operators (related)
- The Revised Simplex Method (related)