Cofactor and Adjoint Calculator
Calculate the matrix of minors, cofactor matrix, and adjugate (classical adjoint) matrix step by step with exact fraction arithmetic.
Understanding Minors, Cofactors, and the Adjugate Matrix
In linear algebra, the cofactor matrix and adjugate matrix (also known as the classical adjoint) are the mathematical machinery behind computing matrix inverses and solving linear systems using Cramer's rule.
\(\text{Minor: } M_{ij} = \det(\text{Submatrix deleting row } i \text{ and column } j)\)
\(\text{Cofactor: } C_{ij} = (-1)^{i+j} M_{ij}\)
\(\text{Adjugate: } \text{adj}(A) = C^T \quad \text{where } (\text{adj}(A))_{ij} = C_{ji}\)
Sign Checkerboard Pattern
The sign term \((-1)^{i+j}\) produces a repeating checkerboard pattern of alternating signs:
\(\begin{bmatrix} + & - & + \\ - & + & - \\ + & - & + \end{bmatrix}\)
Connection to the Matrix Inverse
The fundamental adjugate theorem states that:
\(A \cdot \text{adj}(A) = \det(A) \cdot I\)
Whenever \(\det(A) \neq 0\), dividing both sides by the scalar determinant yields the famous formula for the inverse matrix:
\(A^{-1} = \frac{1}{\det(A)} \text{adj}(A)\)
Solved Examples with Detailed Steps
Find the cofactor and adjugate matrices of \(A = \begin{bmatrix} 4 & -2 \\ 3 & 5 \end{bmatrix}\):
- Minors: Deleting row and column leaves the remaining single element:
- \(M_{11} = 5\)
- \(M_{12} = 3\)
- \(M_{21} = -2\)
- \(M_{22} = 4\)
- Cofactors: Apply alternating signs:
- \(C_{11} = (+1)(5) = 5\)
- \(C_{12} = (-1)(3) = -3\)
- \(C_{21} = (-1)(-2) = 2\)
- \(C_{22} = (+1)(4) = 4\)
\(C = \begin{bmatrix} 5 & -3 \\ 2 & 4 \end{bmatrix}\)
Transpose \(C\) to find the adjugate:
\(\text{adj}(A) = C^T = \begin{bmatrix} 5 & 2 \\ -3 & 4 \end{bmatrix}\)
Let \(B = \begin{bmatrix} 1 & 0 & 2 \\ 2 & -1 & 3 \\ 4 & 1 & 8 \end{bmatrix}\):
Compute minors of the first row:
- \(M_{11} = \det\begin{bmatrix} -1 & 3 \\ 1 & 8 \end{bmatrix} = (-1)(8) - (3)(1) = -11 \implies C_{11} = -11\)
- \(M_{12} = \det\begin{bmatrix} 2 & 3 \\ 4 & 8 \end{bmatrix} = (2)(8) - (3)(4) = 4 \implies C_{12} = -4\)
- \(M_{13} = \det\begin{bmatrix} 2 & -1 \\ 4 & 1 \end{bmatrix} = (2)(1) - (-1)(4) = 6 \implies C_{13} = 6\)
Repeating for Rows 2 and 3 produces the complete cofactor matrix \(C\), and its transpose \(\text{adj}(B) = C^T\).
Matrix Inversion Tutorial
See how the adjugate matrix combines with the determinant to form the complete two-sided matrix inverse.
Read our step-by-step tutorial: How to Find the Inverse of a Matrix →