User Rating 0.0
Total Usage 0 times
Input Matrix A
[
]
Is this tool helpful?

Your feedback helps us improve.

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.

adjoint matrix adjugate matrix cofactor matrix matrix calculator linear algebra determinant matrix inverse

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:

Cij = (1)i+j Mij

Step 3. The adjoint is the transpose of the cofactor matrix:

adj(A) = CT

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:

det(A) = nj=1 a1j C1j

For a 2×2 matrix, the adjoint has a closed form:

adj abcd = dbca

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 SizeNumber of MinorsMinor SizeCofactor Sign Pattern (Row 1)Max Recursive Depth
2×241×1+ 1
3×392×2+ +2
4×4163×3+ + 3
5×5254×4+ + +4
6×6365×5+ + + 5
Key Properties of the Adjoint Matrix
Identity relationA adj(A) = det(A) I
Adjoint of identityadj(I) = I
Adjoint of transposeadj(AT) = (adj(A))T
Adjoint of productadj(AB) = adj(B) adj(A)
Determinant of adjointdet(adj(A)) = (det(A))n1
Scalar multipleadj(kA) = kn1 adj(A)
Adjoint of adjointadj(adj(A)) = (det(A))n2 A (for n 2)
Rank when det = 0rank(adj(A)) 1
Inverse formulaA−1 = 1det(A) adj(A), det(A) 0

Frequently Asked Questions

The adjoint (adjugate) is the transpose of the cofactor matrix and always exists for any square matrix. The inverse exists only when the determinant is non-zero. The inverse is computed as A−1 = (1 / det(A)) adj(A). For singular matrices (det(A) = 0), the adjoint still exists but the inverse does not.
For matrices up to 6×6, IEEE 754 double-precision provides approximately 15-16 significant digits, which is more than sufficient. Errors compound with each recursive determinant call, but at n 6 the maximum recursion depth is 5, keeping accumulated error well below 10−10 for typical inputs. Results are displayed rounded to 6 significant figures.
Yes. If the rank of A is less than n 1 (where n is the matrix dimension), then every (n 1) × (n 1) minor is zero. This means the entire cofactor matrix is zero, and therefore adj(A) is the zero matrix. For example, any 3×3 matrix of rank 1 or 0 has a zero adjoint.
Laplace cofactor expansion is the natural algorithm when you need every individual cofactor (not just the determinant). LU decomposition computes the determinant in O(n3) but does not directly yield the cofactor matrix. Since this tool must output all n2 cofactors, and n 6, the factorial complexity of Laplace expansion is acceptable (at most 720 operations per minor).
Yes. For any square matrix A, both A adj(A) and adj(A) A equal det(A) I, where I is the identity matrix. This holds regardless of whether A is invertible.
The calculator validates every cell before computing. Non-numeric entries, empty cells, or special values like Infinity and NaN are rejected with a specific error toast indicating which cell is invalid. The calculation will not proceed until all entries are valid real numbers.