What is a Cofactor?

A cofactor is a number that is obtained by eliminating the row and column of a particular element which is in the form of a square or rectangle. The cofactor is preceded by a negative or positive sign based on the element’s position.

How to find cofactor?

Let’s consider the following matrix:

\(\begin{bmatrix} 6 & 4 & 3 \\ 9 & 2 & 5 \\ 1 & 7 & 8 \end{bmatrix}\)

To find the cofactor of 2, we put blinders across the 2 and remove the row and column that involve 2, like below:

\(\begin{bmatrix} 6 & 3 \\ 1 & 8 \end{bmatrix}\)

Now we have the matrix that does not have 2. We can easily find the determinant of the matrix of which will be the cofactor of 2. Multiplying the diagonal of the matrix, we get.

- 6 x 8 = 48
- 3 x 1 = 3

Now subtract the value of the second diagonal from the first, i.e, 48 – 3 = 45.

Check the sign that is assigned to the number. Every 3 x 3 determinant carries a sign based on the position of the eliminated element.

The Matrix sign can be represented as-

\(\begin{bmatrix} + & – & + \\ – & + & – \\ + & – & + \\ \end{bmatrix}\)

Check the actual location of the 2. You can note that the positive sign is in the previous place of the 2. Hence, the resultant value is +3, or 3.

Minors & Cofactors:

A minor is defined as the determinant of a square matrix that is formed when a row and a column is deleted from a square matrix. The minors are based on the columns and rows that are deleted. For instance, if you eliminate the fourth column and the second row of the matrix, the determinant of the matrix is *M*2,4 .

So cofactors are the number you get when you eliminate the row and column of a designated element in a matrix, which is just a grid in the form of a square or a rectangle. The cofactor is always preceded by a negative (-) or a positive (+) sign, depending on whether the number is in a + or – position.

Learn more on the topics like Matrices, operation on matrices, determinants, inverse matrices etc. with Byju’s.