Mathematics · Ch 2 — Matrices
Inverse of a Nonsingular Matrix by Elementary Transformation
Inverse of a Nonsingular Matrix by Elementary Transformation
By the definition of inverse, if exists then . Consider the equation : here is the given matrix of order , is the identity matrix of order , and the only unknown is . So to find , the strategy is to convert into using elementary transformations -- and whatever happens to must happen, in step, to the matrix standing in for .
Why the same row transformation can be applied to both sides. Whenever an elementary row transformation is applied to the product of two matrices, it is enough to apply it only to the prefactor -- stays unchanged -- and to apply the identical transformation to as well; the equation remains true. For example, if and , then . Transforming by gives . Applying the same transformation to alone (leaving unchanged) gives , and now -- exactly the already-transformed , confirming the shortcut is valid.
Hence the equation can be transformed into by applying the same series of row transformations to both sides of the equation. Symbolically:
If, instead, one starts from the equally-valid equation , the transformations used must be column transformations, applied to the postfactor and to the right-hand , while the prefactor -slot stays put:
A row-only derivation and a column-only derivation must never be mixed inside a single computation of -- pick one system and stay in it throughout.
Standard pivoting order for a matrix. For , reducing to by row transformations typically proceeds: (1) reduce to ; (2) then reduce and to ; (3) reduce to ; (4) then reduce and to ; (5) reduce to ; (6) then reduce and to . A similar (but not identical) working order is used for column transformations. This is a convenient default order, not a rigid law -- any valid sequence of elementary transformations that reaches the identity is an acceptable derivation.
Worked Example (checking invertibility first). Before computing an inverse it is standard to confirm . For : , so is singular and not invertible. For : , so is non-singular and invertible. For : expanding along row 1, , so is non-singular and invertible.
Worked Example -- inverse of a matrix by row transformations. For : , so exists. Starting from (row transformations only): . Using : . Using : . Using : . Hence . …
Worked out. A concrete numeric product AB=C is transformed by a chosen row operation; applying that operation to A alone (leaving B fixed) and recomputing AB is shown to reproduce exactly the already-transformed C, justifying why the identity-matrix side of the AA^-1=I bookkeeping can be transformed in step with A without breaking the equation. …
Worked out. Four fully worked examples: Example 1 tests invertibility of a 2x2 numeric matrix, a 2x2 trigonometric (cos/sin) matrix, and a 3x3 numeric matrix by evaluating each determinant; Example 2 finds the inverse of a 2x2 matrix by row transformations, ending with a verified closed-form 2x2 inverse; Example 3 finds the inverse of a 3x3 matrix by a sequence of five row transformations; Example 4 finds the inverse of a different 3x3 matrix using column transformations instead, applied to the equation . …