For \(\begin{pmatrix}a&b\\c&d\end{pmatrix}\), the determinant equals \(ad-bc\). A zero result indicates a singular square matrix.
A minor removes the row and column of the entry. Multiply that minor by \((-1)^{i+j}\) for the cofactor. Expand using a row or column with zeros when possible.
Swapping rows reverses the sign. Multiplying one row by a scalar multiplies the determinant by that scalar. Adding a multiple of one row to another preserves the determinant.