Cofactor Matrix Calculator

Find all nine signed minors of a 3×3 matrix and its determinant for adjugate and inverse calculations.

Calculate a 3×3 cofactor matrix
Enter every matrix value to compute its complete signed-minor matrix.

About cofactor matrices

The cofactor matrix replaces every entry of a square matrix with its signed minor. For an entry in row i and column j, first delete that row and column and calculate the determinant of what remains. Then apply a positive or negative sign according to the entry's checkerboard position. In a 3×3 matrix, this process creates nine 2×2 determinant calculations arranged in a new 3×3 matrix. The sign pattern begins positive in the upper-left corner and alternates across every row and column. Thus the first row uses plus, minus, plus; the second uses minus, plus, minus; and the third again uses plus, minus, plus. Applying the sign after evaluating each minor is essential. A frequent hand-calculation error is to report the matrix of minors while overlooking the four negative checkerboard positions. Cofactor matrices connect several central linear-algebra operations. Transposing the cofactor matrix produces the adjugate. If the original determinant is nonzero, dividing the adjugate by that determinant gives the inverse matrix. The dot product of any original row with the matching cofactor row yields the determinant, while pairing it with a different cofactor row yields zero. These identities provide useful checks on a result. The determinant displayed below the matrix is evaluated from the same cofactors. If it is zero, an inverse does not exist even though the cofactor matrix itself remains well-defined. Some singular matrices have nonzero cofactors, while matrices with sufficiently low rank can have an entirely zero cofactor matrix. Decimal entries are supported and all values are calculated before display rounding. Cofactors are used in solving linear systems with Cramer's rule, deriving inverse formulas, finding plane normals, studying eigenvalue polynomials, and proving determinant properties. For large numerical systems, row reduction and matrix factorizations are generally more efficient and stable. For a 3×3 exercise, however, the full cofactor matrix offers a transparent view of the structure. This calculator lists every signed result in its corresponding position, allowing you to transpose it directly when an adjugate is needed and to compare individual entries with handwritten work.

Cofactor matrix examples

These examples show how matrix structure affects signed minors.

Matrix rowsCofactor rowsObservation
[1 2 3], [0 1 4], [5 6 0][-24 20 -5], [18 -15 4], [5 -4 1]The original determinant is 1.
[2 0 0], [0 3 0], [0 0 4][12 0 0], [0 8 0], [0 0 6]A diagonal matrix produces a diagonal cofactor matrix.
[1 0 0], [0 1 0], [0 0 1][1 0 0], [0 1 0], [0 0 1]The identity matrix is its own cofactor matrix.

How to calculate a cofactor matrix

  1. Enter the nine matrix entries row by row.
  2. Select Calculate Cofactor Matrix.
  3. Read each signed minor in the same position as its original entry.
  4. Transpose the displayed matrix if you need the adjugate.

Cofactor matrix FAQ

Is the cofactor matrix the same as the adjugate?

No, the adjugate is the transpose of the cofactor matrix. Rows and columns must be exchanged before using it in the inverse formula.

How is each cofactor calculated?

Delete the entry's row and column, calculate the remaining 2×2 determinant, and apply the alternating sign. The result occupies the original entry's position.

Can a singular matrix have cofactors?

Yes, cofactors are defined whether or not the original determinant is zero. A zero determinant prevents inversion but does not prevent calculating signed minors.

What sign pattern does a 3×3 cofactor matrix use?

The pattern alternates from a positive upper-left entry like a checkerboard. Its rows are plus-minus-plus, minus-plus-minus, and plus-minus-plus.

How do cofactors produce an inverse?

Transpose the cofactor matrix to form the adjugate, then divide every entry by the original determinant. This works only when that determinant is nonzero.