MathorynMathematical Formula Database

Linear Algebra

Inverse via the Adjugate

The inverse of any invertible square matrix equals its adjugate (the transposed matrix of cofactors) divided by the determinant. It is used for 3×33\times3 inverses by hand, in proofs and to show that inverses of integer matrices with determinant ±1\pm1 are integer matrices.

A−1=1det⁡Aadj⁡A,(adj⁡A)ij=(−1)i+jMjiA^{-1}=\frac{1}{\det A}\operatorname{adj}A,\qquad (\operatorname{adj}A)_{ij}=(-1)^{i+j}M_{ji}
LaTeXA^{-1}=\frac{1}{\det A}\operatorname{adj}A,\qquad (\operatorname{adj}A)_{ij}=(-1)^{i+j}M_{ji}

Variables

AA
invertible square matrix
adj⁡A\operatorname{adj}A
adjugate (transpose of the cofactor matrix)
MjiM_{ji}
minor: determinant with row j and column i removed

Example

Invert A=(123014001)A=\begin{pmatrix}1&2&3\\0&1&4\\0&0&1\end{pmatrix}.

  1. det⁡A=1\det A=1 (product of the diagonal).
  2. Cofactors give adj⁡A=(1−2501−4001)\operatorname{adj}A=\begin{pmatrix}1&-2&5\\0&1&-4\\0&0&1\end{pmatrix}.
  3. Check: AA−1=IAA^{-1}=I.

Answer: A−1=(1−2501−4001)A^{-1}=\begin{pmatrix}1&-2&5\\0&1&-4\\0&0&1\end{pmatrix}.

Related formulas