Cofactor expansion is a way to directly calculate without row operations. The cofactor of is the determinant of a smaller matrix where the -th row and -th column of is removed. In addition, the cofactor needs to be negated if is odd. In other words, .
To calculate , choose a row or column with the most zeros and the greatest elements (this is to make calculation by hand easier), iterate over each row or column element , calculate , then sum them together. If the cofactor matrix is not 2x2, repeat cofactor expansion recursively.