The matrix of cofactors is an important step in finding the adjoint and inverse of a square matrix. It's constructed by replacing each element of the original matrix with its corresponding cofactor.
Definition
Given a square matrix A, the cofactor of an element aij (located in the i-th row and j-th column) is denoted as Cij and is defined as:
Cij=(−1)i+jMij
Where Mij is the minor of the element aij. The minor Mij is the determinant of the submatrix formed by deleting the i-th row and j-th column of A.
Steps to find the matrix of cofactors
Find the Minors: For each element aij in the matrix A, find its minor Mij by deleting the i-th row and j-th column and calculating the determinant of the resulting submatrix.
Apply the Sign: Multiply each minor Mij by (−1)i+j. This alternating sign pattern is often visualized as a checkerboard pattern:
+−+−+−+−+
(for a 3x3 matrix).
3. Construct the Cofactor Matrix: Arrange the calculated cofactors Cij into a matrix of the same size as the original matrix A.
Example: finding the matrix of cofactors for a 3x3 matrix