Cofactor expansion is a method used to calculate the Determinant of an matrix . It works by reducing the determinant of the matrix to a sum of determinants of submatrices. It is a recursive definition.

where is the determinant of the submatrix of obtained by deleting the -th row and -th column

The signs for each term of the expansion are determined solely by the position and follow a checkerboard pattern, starting with in the top-left corner

The determinant of a matrix can be calculated by cofactor expansion along any single row or any single column .

Expansion Along Row :

Expansion Along Column :

Strategy: To simplify calculations, it is generally best to choose the row or column with the most zeros.