The **determinant** of a matrix is a value computed from the elements of a square matrix. Determinants are very useful mathematically, such as for finding inverses and eigenvalues and eigenvectors of a matrix and diagonalization, among other things. Determinants are denoted as or . A matrix that does not have a determinant of zero is called a nonsingular or nondegenerate matrix. Such a matrix will always be invertable and can be row-reduced to the identity matrix.

## Computing the determinant

Determinants can only be computed if the matrix is square. If a matrix is 1×1, the determinant is simply equal to that element. If it is 2×2, such as

The determinant is equal to

For a 3×3 matrix, the determinant is taken by multiplying each element in a row or column by the determinant of the matrix left when removing all elements in the same row and column as the one we are multiplying by. For example:

Any row or column will give the same result. Because of this, if any row or column is all zeros, the determinant will be zero. Note that the second term is negative. This is because the matrix can be thought of as a "checkerboard" of positives and negatives.

Say we want to take the determinant around the second column. The expression would become

This can be extended to square matrices of any dimensions. Choosing a particular row or column can be a useful shortcut, as the more zeros there are the less terms have to be computed. For example, given a triangular or diagonal matrix, the determinant will be

In general, the determinant of any triangular matrix is

## Properties of determinants

- Given a square matrix of dimension ,
- If two rows of columns of are swapped to produce ,
- If any two rows or columns of are identical,
- If any row or column of is multiplied by a scalar to produce ,
- Given a square matrix of dimension and its adjugate adj(A),
- , where is the identity matrix with the same dimensions as .
- If any non-zero scalar multiple of a row or column is added to another row or column of to produce ,
- If any row or column has no non-zero entries,
- Given the matrices ,
- , where is the transpose of
- , where is the inverse of .
- , for an matrix where is the -th eigenvalue of