Determinant of a 2 x 2 Matrix


Details

For the following matrix:

a = [
a11    a12
a21    a22
]

The determinant of a, denoted by det(a), is:

det(a) = |
a11    a12
a21    a22
| = a11a22a21a12

As indicated above, the determinant of a (2 x 2) matrix is the difference of the products of the diagonal entries and the off-diagonal entries. A (2 x 2) matrix A is singular if and only if det(A) = 0. Notice the determinant is designated by the vertical bars.