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.