Inverse Matrix Calculator: Cofactors & Adjoint Method (2x2 and 3x3)

Definitions: Cofactor Matrix and Adjoint

For a square matrix \( A \), the cofactor of element \( a_{ij} \) is:

\[ C_{ij} = (-1)^{i+j} \cdot M_{ij} \]

where \( M_{ij} \) is the minor (determinant of the submatrix after removing row i and column j).

The factor \((-1)^{i+j}\) determines the sign of the cofactor: positive if \(i+j\) is even, negative if \(i+j\) is odd.

The cofactor matrix \( \mathbf{C} \) is the matrix of all cofactors \( C_{ij} \).

The adjoint matrix (or adjugate) is the transpose of the cofactor matrix:

\[ \text{adj}(A) = \mathbf{C}^T \quad \text{so that} \quad [\text{adj}(A)]_{ij} = C_{ji} \]

The inverse matrix is then:

\[ A^{-1} = \frac{1}{\det(A)} \cdot \text{adj}(A) \]

Click on any cofactor value in the results to see the visual representation with the deleted row and column highlighted in red, and the remaining determinant calculated step by step. The sign factor is shown in red.

Matrix Inverse (Cofactor/Adjoint)

Choose 2x2 or 3x3. Enter fractions (like 2/3), decimals, or integers.
Enter Matrix A

Results

det(A) =
Matrix of Cofactors (C) click any cell for visual details !
Adjoint Matrix (adj(A) = CT)
Inverse Matrix (Exact fractions)

Step-by-Step: How the Inverse is Calculated

Further Resources