The inverse of a matrix

A $2 \times 2$ matrix has an inverse exactly when its determinant isn't zero, and the inverse swaps the diagonal entries, negates the others and divides by the determinant.

From AP Precalculus.