The Inverse and Determinant of a Matrix
The identity matrix plays the role of 1, and an inverse matrix undoes a matrix the way division undoes multiplication. This guide computes determinants and inverses of 2 × 2 matrices, reads the determinant as an area, and uses inverses to solve systems.
The identity matrix \(I\) has 1s down the main diagonal and 0s elsewhere, and \(AI = IA = A\). The inverse \(A^{-1}\), when it exists, satisfies \(AA^{-1} = A^{-1}A = I\). For \(A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}\), the determinant is \(\det A = ad - bc\), and \(A\) has an inverse if and only if \(\det A \ne 0\). The absolute value of the determinant is the area of the parallelogram spanned by the columns (or rows); a determinant of 0 means those vectors are parallel.
1The identity matrix
Show that \(IA = AI = A\).
- 1Row 1 of \(I\) times column 1 of \(A\): \(1(2) + 0(5) = 2\). Each entry works the same way, picking out one entry of \(A\).
- 2\(I\) does for matrices what 1 does for numbers.
2Determinant and inverse
Find \(\det A\) and \(A^{-1}\) for \(A = \begin{bmatrix} 2 & 1 \\ 5 & 3 \end{bmatrix}\), and check.
- 1\(\det A = 2(3) - 1(5) = 1\). Not 0, so the inverse exists.
- 2Swap the diagonal entries, change the signs of the other two, divide by 1: \(A^{-1} = \begin{bmatrix} 3 & -1 \\ -5 & 2 \end{bmatrix}\).
- 3Check: \(AA^{-1} = \begin{bmatrix} 6 - 5 & -2 + 2 \\ 15 - 15 & -5 + 6 \end{bmatrix} = I\).
Find the inverse of \(B = \begin{bmatrix} 4 & 2 \\ 3 & 1 \end{bmatrix}\).
- 1\(\det B = 4(1) - 2(3) = -2\).
- 2\(B^{-1} = \dfrac{1}{-2}\begin{bmatrix} 1 & -2 \\ -3 & 4 \end{bmatrix} = \begin{bmatrix} -0.5 & 1 \\ 1.5 & -2 \end{bmatrix}\).
- 3Check one entry of \(BB^{-1}\): row 1 · column 1 \(= 4(-0.5) + 2(1.5) = 1\).
“Since \(\det A = 1 \ne 0\), \(A\) is invertible, and \(A^{-1} = \begin{bmatrix} 3 & -1 \\ -5 & 2 \end{bmatrix}\).”
Swap \(a\) and \(d\) (the main diagonal) and negate \(b\) and \(c\). Negating the diagonal instead, or swapping \(b\) and \(c\), gives a matrix that fails the check \(AA^{-1} = I\).
For \(B\), \(\begin{bmatrix} 1 & -2 \\ -3 & 4 \end{bmatrix}\) still has to be multiplied by \(\frac{1}{-2}\). Only when \(\det = 1\) does that step change nothing.
3When no inverse exists
Does \(S = \begin{bmatrix} 2 & 4 \\ 1 & 2 \end{bmatrix}\) have an inverse?
- 1\(\det S = 2(2) - 4(1) = 0\). The formula would divide by 0.
- 2Its columns \(\langle 2, 1\rangle\) and \(\langle 4, 2\rangle\) are parallel (one is twice the other), so they span no area.
4Determinant as area
Find the area of the parallelogram spanned by \(\langle 3, 1\rangle\) and \(\langle 1, 2\rangle\). What about \(\langle 1, 2\rangle\) and \(\langle 3, 1\rangle\) in that order?
- 1Put them in as columns: \(\det\begin{bmatrix} 3 & 1 \\ 1 & 2 \end{bmatrix} = 6 - 1 = 5\).
- 2Swapping the columns gives \(\det\begin{bmatrix} 1 & 3 \\ 2 & 1 \end{bmatrix} = 1 - 6 = -5\). The area is the absolute value: still 5.
5Solving systems
Solve \(2x + y = 7\), \(5x + 3y = 19\).
- 1Write it as \(A\begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 7 \\ 19 \end{bmatrix}\) with \(A = \begin{bmatrix} 2 & 1 \\ 5 & 3 \end{bmatrix}\).
- 2Multiply both sides on the left by \(A^{-1}\): \(\begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 3 & -1 \\ -5 & 2 \end{bmatrix}\begin{bmatrix} 7 \\ 19 \end{bmatrix} = \begin{bmatrix} 21 - 19 \\ -35 + 38 \end{bmatrix}\).
- 3Check: \(2(2) + 3 = 7\) and \(5(2) + 3(3) = 19\).
From \(A\vec x = \vec b\), the solution is \(\vec x = A^{-1}\vec b\), with \(A^{-1}\) on the left. \(\vec b A^{-1}\) is not even defined for a column \(\vec b\).
Quick reference
| Fact | Formula |
|---|---|
| Identity | \(AI = IA = A\) |
| Determinant | \(\det\begin{bmatrix} a & b \\ c & d \end{bmatrix} = ad - bc\) |
| Inverse exists | if and only if \(\det A \ne 0\) |
| Inverse | \(\frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}\) |
| Area | \(|\det A|\) = area spanned by the columns |
| System | \(A\vec x = \vec b \Rightarrow \vec x = A^{-1}\vec b\) |