Cofactor matrix 2026-10-07
The cofactor matrix consists of the signed minors of a matrix. It is the transpose of the adjugate matrix. The inverse expression applies to invertible matrices; the definition by minors also applies to singular matrices. Cofactors transform oriented hypersurface area vectors in a change of variables formula.
The adjugate matrix is the transpose of the cofactor matrix: . Cofactor expansion gives the adjugate identity
For an invertible matrix this yields . Integer entries of imply integer cofactors, so makes its inverse integral. Conversely, if and both have integer entries, their determinants are integers and . The only integer units are . Hence an invertible integer matrix has an integer inverse exactly when it is a unimodular matrix, with determinant . Invertibility is implicit whenever is used.
The adjugate matrix is the transpose of the cofactor matrix, and it satisfies
Put and substitute the two given expansions into this identity:
Comparing coefficients of powers of gives
Here because the characteristic polynomial is monic.
Let . Expanding the determinant along row shows that
where is the corresponding cofactor. Since a diagonal entry of the adjugate matrix is that same cofactor, the multivariable chain rule along the diagonal yields
Therefore
The rank of a matrix is the dimension of its column space, equivalently the dimension of the image of a linear map represented by the matrix. For , the rank-nullity theorem gives
An injective endomorphism of a finite-dimensional vector space is surjective, hence invertible. By the adjugate matrix identity
is invertible when ; conversely, multiplicativity of the determinant shows that an invertible has nonzero determinant. Therefore
Let be the matrix unit with its only nonzero entry at . The following matrices are all nonsingular:
Indeed, is an elementary shear when , while is diagonal with one diagonal entry equal to two. Their linear span contains every except initially , because , and it then contains
Thus spans the -dimensional space and, having members, is a basis. This also covers , when .
Now let be a nonsingular zero-one matrix. If it had fewer than zero entries, at least two rows would contain no zero at all. Those two rows would both be the all-one row, contradicting linear independence. Hence every such matrix has at most
ones. The bound is attained. Let be the all-one matrix and set
where there are initial diagonal ones. If and , the first row equations give , while the last gives . Hence every , so is nonsingular and has exactly ones. Therefore
If denotes the matrix obtained by deleting row and column , then the adjugate matrix is
For nonsingular ,
Therefore, when and are nonsingular,