Here we explain how to compute the determinant of a matrix using cofactor expansion. First you will find what minors and cofactors are (necessary to apply the cofactor expansion method), then what the cofactor expansion is about, and finally an example of the calculation of a 3×3 determinant by cofactor expansion.

Table of Contents

## Minor and Cofactor

Before seeing how to find the determinant of a matrix by cofactor expansion, we must first define what a minor and a cofactor are. Since these two mathematical operations are necessary to use the cofactor expansion method.

The i, j **minor** of the matrix, denoted by M_{i,j}, is the determinant that results from deleting the i-th row and the j-th column of the matrix.

For example, let A be the following 3×3 square matrix:

The minor of 1 is the determinant of the matrix that we obtain by eliminating the row and the column where the 1 is. That is, removing the first row and the second column:

On the other hand, the formula to find a cofactor of a matrix is as follows:

The i, j **cofactor of the matrix** is defined by:

Where M_{ij} is the i, j minor of the matrix.

Continuing with the previous example, the cofactor of 1 would be:

Therefore, the sign of a cofactor depends on the location of the element of the matrix.

See also: how to find the cofactor matrix

## How to compute the determinant of a matrix by cofactor expansion

The **cofactor expansion** theorem, also called Laplace expansion, states that any determinant can be computed by adding the products of the elements of a column or row by their respective cofactors.

Thus, let A be a *K×K* dimension matrix, the cofactor expansion along the i-th row is defined with the following formula:

Similarly, the mathematical formula for the cofactor expansion along the j-th column is as follows:

Where A_{ij} is the entry in the i-th row and j-th column, and C_{ij} is the i,j cofactor.

## Example of cofactor expansion

Let’s see and example of how to solve the determinant of a 3×3 matrix using cofactor expansion:

First of all, we must choose a column or a row of the determinant. In this case, we choose to apply the cofactor expansion method to the first column, since it has a zero and therefore it will be easier to compute. So we have to multiply the elements of the first column by their respective cofactors:

The cofactor of 0 does not need to be calculated, because any number multiplied by 0 equals to 0:

Now we calculate the cofactors:

And, finally, we compute the 2×2 determinants and all the calculations:

However, this is not the only method to compute 3×3 determinants. See how to find the determinant of 3×3 matrix using the shortcut method.

Moreover, the cofactor expansion method is not only to evaluate determinants of 3×3 matrices, but also to solve determinants of 4×4 matrices. See how to find the determinant of a 4×4 matrix using cofactor expansion.

Madalitso JackWell explained and am much glad been helped

[email protected]Glad to be of help!