The determinant is a scalar value computed from a square matrix. It tells us:
For 2×2 matrix:
\[ \det \begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc \]Example: det \(\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} = 1·4 - 2·3 = 4 - 6 = -2\)
If \(det(A) = 0\), the matrix is singular (not invertible):
If \(det(A) \not= 0\), A has an inverse \(A^{-1}\) such that \(A A^{-1} = I\).
Formula for \(2×2\):
\[ A^{-1} = \frac{1}{\det(A)} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix} \]Example:\( A = \begin{pmatrix} 4 & 3 \\ 2 & 1 \end{pmatrix},\, det(A) = 4·1 - 3·2 = -2\)
\[ A^{-1} = \frac{1}{-2} \begin{pmatrix} 1 & -3 \\ -2 & 4 \end{pmatrix} = \begin{pmatrix} -1/2 & 3/2 \\ 1 & -2 \end{pmatrix} \]