Determinants and inverses
The determinant of a square matrix is a single number. It tells you how the matrix scales area (or volume) and whether it can be undone. If the determinant is not zero, the matrix has an inverse. The inverse solves matrix equations and reverses transformations.
Key facts
- det [[a, b], [c, d]] = ad − bc.
- |det| is the area scale factor. A negative determinant means the orientation is reversed (a reflection is involved).
- det = 0: the matrix is singular and has no inverse. It squashes the plane onto a line or a point.
- The inverse of [[a, b], [c, d]] is 1/(ad − bc) [[d, −b], [−c, a]].
- det(AB) = det A × det B, and (AB)^(−1) = B^(−1)A^(−1).
- 3 × 3: expand along a row with the sign pattern + − +: a(ei − fh) − b(di − fg) + c(dh − eg).
Worked examples
Example 1
Find the determinant and the inverse of [[4, 3], [2, 2]].
- Determinant: 4 × 2 − 3 × 2 = 2
- Swap a and d and change the signs of b and c. Then divide by the determinant, 2. 1/2 [[2, −3], [−2, 4]] = [[1, −1.5], [−1, 2]]
Answer: det = 2, inverse [[1, −1.5], [−1, 2]]
Example 2
A triangle of area 5 cm² is transformed by [[3, 1], [−2, 2]]. Find the area of its image.
- Determinant: 3 × 2 − 1 × (−2) = 8
- Multiply the area by 8. 8 × 5 = 40 cm²
Answer: 40 cm²
Example 3
Find the determinant of [[2, 1, 0], [3, −1, 2], [1, 4, 1]].
- Use the top row. 2 × det[[−1, 2], [4, 1]] − 1 × det[[3, 2], [1, 1]] + 0
- Work out the minors. 2(−1 − 8) − 1(3 − 2) = −18 − 1
- Add. det = −18 − 1 = −19
Answer: −19
Example 4
Find the determinant of [[5, 2], [3, 4]].
- Multiply the diagonals and subtract. 5 × 4 − 2 × 3 = 20 − 6 = 14
Answer: 14