Previous article, you learned about minors of a square matrix which are determinant of smaller 2 x 2 matrix obtained by excluding row and column of a selected element from the original matrix. These minors are arranged in matrix form called matrix of minors.

However, matrix of minors is not useful in finding the adjoint as well as determinant of the original matrix. To make this point clear , let be a square matrix and its matrix of minors is which is useless unless we find cofactor matrix that assignes positive or negative signs to each minor.

The other way to look at assigning positive or negative sign is basically process of finding the odd or even class for each minor element. To know more about odd and even class read: Introduction to determinants.

### How To Find Cofactor Of A Square Matrix

There are two ways to find the cofactors of a given matrix – *the easy way and the hard way.* Let us look at the *hard way* first and then move on to the *easy way. *

**Hard Way To Find Cofactors**

The steps to find the cofactor of a square matrix is

- Given a square matrix of size , find the matrix of minors for .
- From the matrix of minors for find all cofactors using the following formula.

```
Suppose , then its minor is
The cofactor of is given by formula.
```

- Arrange all the cofactors in matrix form according to their subscript value.

**Example #1 **

Find the cofactors of square matrix of order .

.

**Solution:**

```
Given the matrix of order , let us find all the minors.
Minors are as follows.
We can arrange the minor in matrix form
Compute the cofactors from minors
The matrix of cofactors is
```

**Easy Way To Find Cofactors**

The easy way to find cofactor is to simply assign + or – based on the position of the minors in the matrix of minors. Each position is known to have a sign depending on and value.

```
Next use the sign matrix as reference change the sign for each minor.
will be
and finally gives you cofactor matrix.
```

### Finding The Determinant Of Matrix Using Cofactor

Finding the determinant of a matrix is easy when you have the cofactor matrix. There are only 3 steps.

- Pick a row or a column from original matrix
- Pick the corresponding row or column from cofactor matrix of
- Multiply corresponding terms and add them together to get the single determinant value.

**Example #2**

Find the determinant of the following matrix whose cofactor matrix is given.

```
```

**Solution:**

```
Let us choose row 1 from both matrix A and cofactor matrix and multiply each corresponding element.
$latex = 8 + 110 - 10
Let us see another example, we choose column 2 and corresponding column 2 from cofactor matrix.
Multiply each corresponding elements.
$latex|A| = 108&s=1$
```

We encourage you to try some more examples to understand the method completely. In the next, we will discuss about deriving adjoint of a matrix for finding inverse of a matrix.