Maths WorkshopMaths problems with full solutions
Exercise 1632Linear algebra › DeterminantsL1Added 3 Nov 2026

The cofactor formula for the inverse

#cofactor#comatrix#inverse formula

Statement

Let AA be invertible. Define the cofactor Cij=(−1)i+jdet⁡MijC_{ij}=(-1)^{i+j}\det M_{ij}, where MijM_{ij} is the minor obtained by deleting row ii and column jj. Define the comatrix com⁡(A)=(Cij)T\operatorname{com}(A)=(C_{ij})^T (transpose of the cofactor matrix). Show that
A−1=1det⁡Acom⁡(A).A^{-1}=\frac{1}{\det A}\operatorname{com}(A).

Hint

Show that A⋅com⁡(A)=det⁡(A)⋅IA\cdot\operatorname{com}(A)=\det(A)\cdot I, using the expansion of the determinant along a row.

Show solutionHide solution

Solution

Entry (i,j)(i,j) of A⋅com⁡(A)A\cdot\operatorname{com}(A).
(A⋅com⁡(A))ij=∑kaikCjk.(A\cdot\operatorname{com}(A))_{ij}=\sum_k a_{ik}C_{jk}.

Case i=ji=j. ∑kaikCik=det⁡A\sum_k a_{ik}C_{ik}=\det A by expansion along row ii (each term is a cofactor times its entry).

Case i≠ji\neq j. ∑kaikCjk\sum_k a_{ik}C_{jk} is the determinant of the matrix obtained from AA by replacing row jj with row ii. This matrix has two equal rows, so its determinant is zero.

Conclusion. A⋅com⁡(A)=det⁡(A)⋅IA\cdot\operatorname{com}(A)=\det(A)\cdot I, so A−1=com⁡(A)/det⁡AA^{-1}=\operatorname{com}(A)/\det A.