Matrix determinant

The determinant is an important numerical value that can be computed from a square matrix. The determinant of a matrix \(A\) is usually denoted by \(\det(A)\) or \(|A|\). One geometric interpretation of determinant is the signed scaling factor of the transformation represented by the matrix.

2x2 cases

For a 2x2 matrix, we have simple formula for its determinant:

\[ \det \begin{bmatrix} a & b \\ c & d \end{bmatrix} = ad - bc. \]

It is easy to verify that the absolute value of the determinant is exactly the area of the parallelogram spanned by the two column vectors. The sign of the determinant tells us about the “orientation” of this parallelogram (homework).

3x3 cases

For a 3x3 matrix, the formula is much more complicated:

\[ \det \begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \end{bmatrix} = aei + bfg + cdh - ceg - bdi - afh. \]

This looks rather complicated. I would not recommend anyone to spend much energy memorizing this formula. Instead, we should use the cofactor expansion:

\[ \det \begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \end{bmatrix} = a \det \begin{bmatrix} e & f \\ h & i \end{bmatrix} - b \det \begin{bmatrix} d & f \\ g & i \end{bmatrix} + c \det \begin{bmatrix} d & e \\ g & h \end{bmatrix} \]

In this formula, each 2x2 determinant is called a minor. Similar to the 2x2 cases, we have a nice geometric interpretation for the 3x3 matrix determinant: It is the “signed volume” of the parallelepiped spanned by the three column vectors.