Computing Inverses

Definition

The inverse of an invertible square matrix satisfies . It can be computed by reducing the augmented matrix to via Reduced Row Echelon Form.

Intuition

is the matrix whose columns solve for each standard basis vector . Augmenting with the full identity and row-reducing solves all systems simultaneously in a single pass.

Formal Description

Let the columns of be and the columns of be . Then for each . Solving all systems simultaneously via row reduction on the augmented matrix and continuing until yields on the right-hand side.

Example. Starting from

row reduction proceeds:

Hence,

exists if and only if (equivalently, ). If is not invertible, the reduction will produce a zero row on the left side before reaching .

Applications

  • Used when the inverse itself is needed explicitly (e.g., symbolic manipulation, deriving normal equations in statistics).
  • Confirms invertibility: if reduction fails to reach on the left, is singular.

Trade-offs

  • Computing explicitly costs and requires storage; for solving it is numerically less stable and no faster than LU factorisation.
  • In floating-point arithmetic, the inverse accumulates rounding errors; solving via LU is preferred whenever the inverse is only needed to apply to vectors.
  • Only applicable to square, non-singular matrices.