Adjoint Matrix Calculator
Calculate the adjoint (adjugate) matrix instantly. Supports 2×2 to 6×6 matrices with cofactor matrix, minors, and determinant.
About
The adjoint (or adjugate) of a square matrix A is the transpose of its cofactor matrix. It appears directly in the formula for the matrix inverse: A−1 = 1det(A) ⋅ adj(A). An error in computing any single cofactor propagates through the entire adjugate and corrupts the inverse. This tool computes the minor for every element, applies the sign factor (−1)i+j, transposes to produce adj(A), and returns the determinant det(A) as a side result. It handles matrices from 2×2 up to 6×6.
The computation uses Laplace cofactor expansion recursively. Floating-point rounding is applied at display time to 6 significant digits. Note: for singular matrices (det(A) = 0), the adjoint still exists but the inverse does not. This tool approximates real-valued entries; it does not handle symbolic or complex inputs.
Formulas
The adjoint of an n × n matrix A is computed in three steps.
Step 1. For each element aij, compute the minor Mij as the determinant of the submatrix formed by deleting row i and column j.
Step 2. Compute the cofactor:
Step 3. The adjoint is the transpose of the cofactor matrix:
That is, the element at row i, column j of the adjoint equals Cji.
The determinant is computed via Laplace expansion along the first row:
For a 2×2 matrix, the adjoint has a closed form:
Where a, b, c, d are the elements of the original 2×2 matrix. Mij = minor of element at row i, column j. Cij = cofactor of element at row i, column j. n = dimension of the square matrix.
Reference Data
| Matrix Size | Number of Minors | Minor Size | Cofactor Sign Pattern (Row 1) | Max Recursive Depth |
|---|---|---|---|---|
| 2×2 | 4 | 1×1 | + − | 1 |
| 3×3 | 9 | 2×2 | + − + | 2 |
| 4×4 | 16 | 3×3 | + − + − | 3 |
| 5×5 | 25 | 4×4 | + − + − + | 4 |
| 6×6 | 36 | 5×5 | + − + − + − | 5 |
| Key Properties of the Adjoint Matrix | ||||
| Identity relation | A ⋅ adj(A) = det(A) ⋅ I | |||
| Adjoint of identity | adj(I) = I | |||
| Adjoint of transpose | adj(AT) = (adj(A))T | |||
| Adjoint of product | adj(AB) = adj(B) ⋅ adj(A) | |||
| Determinant of adjoint | det(adj(A)) = (det(A))n−1 | |||
| Scalar multiple | adj(kA) = kn−1 adj(A) | |||
| Adjoint of adjoint | adj(adj(A)) = (det(A))n−2 ⋅ A (for n ≥ 2) | |||
| Rank when det = 0 | rank(adj(A)) ≤ 1 | |||
| Inverse formula | A−1 = 1det(A) adj(A), det(A) ≠ 0 | |||